@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.
- package/dist/connect/index.cjs +13 -3
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +13 -3
- package/dist/connect/index.js.map +1 -1
- package/dist/core/index.cjs +4 -3
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +4 -3
- package/dist/core/index.js.map +1 -1
- package/dist/impl/browser/connect/index.cjs +3 -3
- package/dist/impl/browser/connect/index.cjs.map +1 -1
- package/dist/impl/browser/connect/index.js +3 -3
- package/dist/impl/browser/connect/index.js.map +1 -1
- package/dist/impl/browser/index.cjs +4 -4
- package/dist/impl/browser/index.cjs.map +1 -1
- package/dist/impl/browser/index.js +4 -4
- package/dist/impl/browser/index.js.map +1 -1
- package/dist/impl/nodejs/connect/index.cjs +2 -2
- package/dist/impl/nodejs/connect/index.cjs.map +1 -1
- package/dist/impl/nodejs/connect/index.js +2 -2
- package/dist/impl/nodejs/connect/index.js.map +1 -1
- package/dist/impl/nodejs/index.cjs +21 -5
- package/dist/impl/nodejs/index.cjs.map +1 -1
- package/dist/impl/nodejs/index.d.cts +2 -2
- package/dist/impl/nodejs/index.d.ts +2 -2
- package/dist/impl/nodejs/index.js +21 -5
- package/dist/impl/nodejs/index.js.map +1 -1
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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: "
|
|
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: "
|
|
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
|
|
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)}
|
|
690
|
+
this.backingStoreId = `indexeddb:${encodeURIComponent(this.dbName)}`;
|
|
691
691
|
}
|
|
692
692
|
// ===========================================================================
|
|
693
693
|
// BaseProvider Implementation
|