@interncom/diplomatic 0.0.56 → 0.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +3 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -11439,6 +11439,7 @@ var DiplomaticClient = class {
11439
11439
  await this.store.setSeed(bytes);
11440
11440
  }
11441
11441
  await this.loadSeed();
11442
+ this.emitUpdate();
11442
11443
  if (params.hostID && params.hostURL) {
11443
11444
  await this.store.setHostID(params.hostID);
11444
11445
  await this.store.setHostURL(params.hostURL);
@@ -11447,11 +11448,12 @@ var DiplomaticClient = class {
11447
11448
  } else {
11448
11449
  await this.loadHost();
11449
11450
  }
11451
+ this.emitUpdate();
11450
11452
  if (this.hostURL) {
11451
11453
  await this.connect(this.hostURL);
11454
+ this.emitUpdate();
11452
11455
  }
11453
11456
  await this.sync();
11454
- this.emitUpdate();
11455
11457
  this.emitXferUpdate();
11456
11458
  }
11457
11459
  async loadSeed() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interncom/diplomatic",
3
- "version": "0.0.56",
3
+ "version": "0.0.57",
4
4
  "type": "module",
5
5
  "description": "Secure sync layer",
6
6
  "main": "dist/index.mjs",