@unicitylabs/sphere-sdk 0.16.0-dev.1 → 0.16.0

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.
@@ -339,7 +339,7 @@ var NETWORKS = {
339
339
  // old goggregator testnet spoke the removed v1 protocol — a v2 engine cannot
340
340
  // run against it. 'testnet2' stays as an alias of the same configuration.
341
341
  testnet: {
342
- name: "Testnet2",
342
+ name: "Testnet",
343
343
  networkId: 4,
344
344
  // v2 state-transition gateway (networkId 4 comes from the trust base). apiKey is env-injected.
345
345
  aggregatorUrl: "https://gateway.testnet2.unicity.network",
@@ -349,7 +349,7 @@ var NETWORKS = {
349
349
  tokenRegistryUrl: "https://raw.githubusercontent.com/unicitynetwork/unicity-ids/refs/heads/main/unicity-ids.testnet2.json"
350
350
  },
351
351
  testnet2: {
352
- name: "Testnet2",
352
+ name: "Testnet",
353
353
  networkId: 4,
354
354
  // v2 state-transition gateway (networkId 4 comes from the trust base). apiKey is env-injected.
355
355
  aggregatorUrl: "https://gateway.testnet2.unicity.network",
@@ -671,7 +671,7 @@ var IndexedDBStorageProvider = class {
671
671
  name = "IndexedDB Storage";
672
672
  type = "local";
673
673
  description = "Browser IndexedDB for large-capacity persistence";
674
- /** The database + prefix pair — two providers over one pair share erasure (#766). */
674
+ /** The DATABASE — the unit clear() erases, so the unit that shares a fate (#766). */
675
675
  backingStoreId;
676
676
  prefix;
677
677
  dbName;
@@ -687,7 +687,7 @@ var IndexedDBStorageProvider = class {
687
687
  this.dbName = config?.dbName ?? DB_NAME;
688
688
  this.network = config?.network;
689
689
  this.debug = config?.debug ?? false;
690
- this.backingStoreId = `indexeddb:${encodeURIComponent(this.dbName)}:${encodeURIComponent(this.prefix)}`;
690
+ this.backingStoreId = `indexeddb:${encodeURIComponent(this.dbName)}`;
691
691
  }
692
692
  // ===========================================================================
693
693
  // BaseProvider Implementation