@getpara/core-sdk 3.9.0 → 3.10.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/cjs/constants.js
CHANGED
|
@@ -46,7 +46,7 @@ __export(constants_exports, {
|
|
|
46
46
|
TRANSACTION_REVIEW_TIMEOUT_MS: () => TRANSACTION_REVIEW_TIMEOUT_MS
|
|
47
47
|
});
|
|
48
48
|
module.exports = __toCommonJS(constants_exports);
|
|
49
|
-
const PARA_CORE_VERSION = "3.
|
|
49
|
+
const PARA_CORE_VERSION = "3.10.0";
|
|
50
50
|
const PREFIX = "@CAPSULE/";
|
|
51
51
|
const PARA_PREFIX = "@PARA/";
|
|
52
52
|
const LOCAL_STORAGE_AUTH_INFO = `${PREFIX}authInfo`;
|
|
@@ -236,6 +236,10 @@ class PregenWalletService {
|
|
|
236
236
|
walletIds: claimable.map((w) => w.id)
|
|
237
237
|
});
|
|
238
238
|
for (const walletId of walletIds) {
|
|
239
|
+
const entity = claimable.find((w) => w.id === walletId);
|
|
240
|
+
if (entity) {
|
|
241
|
+
__privateGet(this, _walletService).wallets[walletId] = __spreadValues(__spreadValues({}, (0, import_wallet2.entityToWallet)(entity)), __privateGet(this, _walletService).wallets[walletId]);
|
|
242
|
+
}
|
|
239
243
|
const wallet = __privateGet(this, _walletService).wallets[walletId];
|
|
240
244
|
let refreshedShare;
|
|
241
245
|
if (wallet.scheme === "ED25519") {
|
package/dist/esm/constants.js
CHANGED
|
@@ -188,6 +188,10 @@ class PregenWalletService {
|
|
|
188
188
|
walletIds: claimable.map((w) => w.id)
|
|
189
189
|
});
|
|
190
190
|
for (const walletId of walletIds) {
|
|
191
|
+
const entity = claimable.find((w) => w.id === walletId);
|
|
192
|
+
if (entity) {
|
|
193
|
+
__privateGet(this, _walletService).wallets[walletId] = __spreadValues(__spreadValues({}, entityToWallet(entity)), __privateGet(this, _walletService).wallets[walletId]);
|
|
194
|
+
}
|
|
191
195
|
const wallet = __privateGet(this, _walletService).wallets[walletId];
|
|
192
196
|
let refreshedShare;
|
|
193
197
|
if (wallet.scheme === "ED25519") {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/core-sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@celo/utils": "^8.0.2",
|
|
6
6
|
"@cosmjs/encoding": "^0.32.4",
|
|
7
7
|
"@ethereumjs/util": "^9.1.0",
|
|
8
|
-
"@getpara/user-management-client": "3.
|
|
8
|
+
"@getpara/user-management-client": "3.10.0",
|
|
9
9
|
"@noble/hashes": "^1.5.0",
|
|
10
10
|
"@opentelemetry/api": "^1.9.1",
|
|
11
11
|
"@opentelemetry/context-zone": "^2.9.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dist",
|
|
42
42
|
"package.json"
|
|
43
43
|
],
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "b8d31e75e7cade96cd0302fc56c2d4b9fd8e15a3",
|
|
45
45
|
"main": "dist/cjs/index.js",
|
|
46
46
|
"module": "dist/esm/index.js",
|
|
47
47
|
"scripts": {
|