@getpara/core-sdk 3.9.0 → 3.11.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.
@@ -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.9.0";
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") {
@@ -1,5 +1,5 @@
1
1
  import "./chunk-7B52C2XE.js";
2
- const PARA_CORE_VERSION = "3.9.0";
2
+ const PARA_CORE_VERSION = "3.10.0";
3
3
  const PREFIX = "@CAPSULE/";
4
4
  const PARA_PREFIX = "@PARA/";
5
5
  const LOCAL_STORAGE_AUTH_INFO = `${PREFIX}authInfo`;
@@ -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.9.0",
3
+ "version": "3.11.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.9.0",
8
+ "@getpara/user-management-client": "3.11.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": "0ce96d513e4690451e371054e2e75bdcad379639",
44
+ "gitHead": "5615f9e4661a004ae1f0b90410877901df01880e",
45
45
  "main": "dist/cjs/index.js",
46
46
  "module": "dist/esm/index.js",
47
47
  "scripts": {