web & sdk: improved sdk (better failover and batching)

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-01-12 11:31:46 +01:00
parent 8e7558790e
commit 5b5ad23f66
26 changed files with 1266 additions and 377 deletions

View File

@@ -6,15 +6,8 @@ export class MixanNative extends Mixan {
super(options);
}
async properties() {
return {
ip: await super.ip(),
};
}
async init(properties: Record<string, unknown>) {
init(properties?: Record<string, unknown>) {
super.init({
...(await this.properties()),
...(properties ?? {}),
});
}