@getpara/web-sdk 2.14.0 → 2.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.
@@ -108,6 +108,8 @@ function ed25519Sign(ctx, share, userId, walletId, base64Bytes) {
108
108
  }();
109
109
  const { pendingTransactionId } = yield preSignMessageRes;
110
110
  if (pendingTransactionId) {
111
+ signRes.catch(() => {
112
+ });
111
113
  return { pendingTransactionId };
112
114
  }
113
115
  return yield signRes;
@@ -220,6 +222,8 @@ function signMessage(ctx, share, walletId, userId, message, cosmosSignDoc) {
220
222
  }();
221
223
  const { pendingTransactionId } = yield preSignMessageRes;
222
224
  if (pendingTransactionId) {
225
+ signMessageRes.catch(() => {
226
+ });
223
227
  return { pendingTransactionId };
224
228
  }
225
229
  return yield signMessageRes;
@@ -259,6 +263,8 @@ function signTransaction(ctx, share, walletId, userId, tx, chainId) {
259
263
  data: { pendingTransactionId }
260
264
  } = yield signTransactionRes;
261
265
  if (pendingTransactionId) {
266
+ signTxRes.catch(() => {
267
+ });
262
268
  return { pendingTransactionId };
263
269
  }
264
270
  return yield signTxRes;
@@ -298,6 +304,8 @@ function sendTransaction(ctx, share, walletId, userId, tx, chainId) {
298
304
  data: { pendingTransactionId }
299
305
  } = yield sendTransactionRes;
300
306
  if (pendingTransactionId) {
307
+ sendTxRes.catch(() => {
308
+ });
301
309
  return { pendingTransactionId };
302
310
  }
303
311
  return yield sendTxRes;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@getpara/web-sdk",
3
- "version": "2.14.0",
3
+ "version": "2.16.0",
4
4
  "dependencies": {
5
- "@getpara/core-sdk": "2.14.0",
6
- "@getpara/user-management-client": "2.14.0",
5
+ "@getpara/core-sdk": "2.16.0",
6
+ "@getpara/user-management-client": "2.16.0",
7
7
  "base64url": "^3.0.1",
8
8
  "buffer": "6.0.3",
9
9
  "cbor-web": "^9.0.2",
@@ -28,7 +28,7 @@
28
28
  "dist",
29
29
  "package.json"
30
30
  ],
31
- "gitHead": "8ac7cfbe3b106a42e53f6e5439f484ab11b0e1f3",
31
+ "gitHead": "fbe96a062b308d04105213378c12c38ee973c798",
32
32
  "main": "dist/index.js",
33
33
  "scripts": {
34
34
  "build": "rm -rf dist && yarn typegen && node ./scripts/build.mjs && yarn post-build",