@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
|
@@ -289,7 +289,7 @@ var NETWORKS = {
|
|
|
289
289
|
// old goggregator testnet spoke the removed v1 protocol — a v2 engine cannot
|
|
290
290
|
// run against it. 'testnet2' stays as an alias of the same configuration.
|
|
291
291
|
testnet: {
|
|
292
|
-
name: "
|
|
292
|
+
name: "Testnet",
|
|
293
293
|
networkId: 4,
|
|
294
294
|
// v2 state-transition gateway (networkId 4 comes from the trust base). apiKey is env-injected.
|
|
295
295
|
aggregatorUrl: "https://gateway.testnet2.unicity.network",
|
|
@@ -299,7 +299,7 @@ var NETWORKS = {
|
|
|
299
299
|
tokenRegistryUrl: "https://raw.githubusercontent.com/unicitynetwork/unicity-ids/refs/heads/main/unicity-ids.testnet2.json"
|
|
300
300
|
},
|
|
301
301
|
testnet2: {
|
|
302
|
-
name: "
|
|
302
|
+
name: "Testnet",
|
|
303
303
|
networkId: 4,
|
|
304
304
|
// v2 state-transition gateway (networkId 4 comes from the trust base). apiKey is env-injected.
|
|
305
305
|
aggregatorUrl: "https://gateway.testnet2.unicity.network",
|
|
@@ -621,7 +621,7 @@ var IndexedDBStorageProvider = class {
|
|
|
621
621
|
name = "IndexedDB Storage";
|
|
622
622
|
type = "local";
|
|
623
623
|
description = "Browser IndexedDB for large-capacity persistence";
|
|
624
|
-
/** The
|
|
624
|
+
/** The DATABASE — the unit clear() erases, so the unit that shares a fate (#766). */
|
|
625
625
|
backingStoreId;
|
|
626
626
|
prefix;
|
|
627
627
|
dbName;
|
|
@@ -637,7 +637,7 @@ var IndexedDBStorageProvider = class {
|
|
|
637
637
|
this.dbName = config?.dbName ?? DB_NAME;
|
|
638
638
|
this.network = config?.network;
|
|
639
639
|
this.debug = config?.debug ?? false;
|
|
640
|
-
this.backingStoreId = `indexeddb:${encodeURIComponent(this.dbName)}
|
|
640
|
+
this.backingStoreId = `indexeddb:${encodeURIComponent(this.dbName)}`;
|
|
641
641
|
}
|
|
642
642
|
// ===========================================================================
|
|
643
643
|
// BaseProvider Implementation
|