@ocap/state 1.18.146 → 1.18.148

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.
Files changed (2) hide show
  1. package/lib/states/tx.js +1 -1
  2. package/package.json +9 -9
package/lib/states/tx.js CHANGED
@@ -314,7 +314,7 @@ const getRetrieveSwapReceipts = (tx) => [
314
314
  },
315
315
  ];
316
316
  const getRevokeWithdrawReceipts = (tx, { withdrawTx }) => {
317
- const receipt = withdrawTx.receipts?.find((x) => x.address === withdrawTx.tx.from);
317
+ const receipt = withdrawTx?.receipts?.find((x) => x.address === withdrawTx.tx.from);
318
318
  const change = receipt?.changes?.find((x) => x.action === 'burn');
319
319
 
320
320
  if (!change) return [];
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.18.146",
6
+ "version": "1.18.148",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -18,13 +18,13 @@
18
18
  "coverage": "start-server-and-test start http://127.0.0.1:4001 test:ci"
19
19
  },
20
20
  "dependencies": {
21
- "@arcblock/did": "1.18.146",
22
- "@arcblock/validator": "1.18.146",
23
- "@ocap/contract": "1.18.146",
24
- "@ocap/mcrypto": "1.18.146",
25
- "@ocap/message": "1.18.146",
26
- "@ocap/util": "1.18.146",
27
- "@ocap/wallet": "1.18.146",
21
+ "@arcblock/did": "1.18.148",
22
+ "@arcblock/validator": "1.18.148",
23
+ "@ocap/contract": "1.18.148",
24
+ "@ocap/mcrypto": "1.18.148",
25
+ "@ocap/message": "1.18.148",
26
+ "@ocap/util": "1.18.148",
27
+ "@ocap/wallet": "1.18.148",
28
28
  "bloom-filters": "^1.3.9",
29
29
  "lodash": "^4.17.21"
30
30
  },
@@ -35,5 +35,5 @@
35
35
  "keywords": [],
36
36
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
37
37
  "license": "MIT",
38
- "gitHead": "ea7f3d1ad606f277b89c390364f20bf295d9e4f9"
38
+ "gitHead": "5ba096b17be4f24fb47efce520525c96f8ff9660"
39
39
  }