@ocap/asset 1.18.126 → 1.18.128

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +11 -11
package/lib/index.js CHANGED
@@ -252,7 +252,7 @@ const formatFactoryState = (state) => {
252
252
  return {
253
253
  address,
254
254
  output: outputX,
255
- data: JSON.parse(data.value),
255
+ data: data.value ? JSON.parse(data.value) : {},
256
256
  numMinted,
257
257
  };
258
258
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocap/asset",
3
3
  "description": "Utility to work with asset and factory on ArcBlock blockchain",
4
- "version": "1.18.126",
4
+ "version": "1.18.128",
5
5
  "author": {
6
6
  "name": "wangshijun",
7
7
  "email": "shijun@arcblock.io",
@@ -18,15 +18,15 @@
18
18
  "wangshijun <shijun@arcblock.io> (https://github.com/wangshijun)"
19
19
  ],
20
20
  "dependencies": {
21
- "@arcblock/did": "1.18.126",
22
- "@arcblock/did-util": "1.18.126",
23
- "@arcblock/validator": "1.18.126",
24
- "@arcblock/vc": "1.18.126",
25
- "@ocap/contract": "1.18.126",
26
- "@ocap/mcrypto": "1.18.126",
27
- "@ocap/types": "1.18.126",
28
- "@ocap/util": "1.18.126",
29
- "@ocap/wallet": "1.18.126",
21
+ "@arcblock/did": "1.18.128",
22
+ "@arcblock/did-util": "1.18.128",
23
+ "@arcblock/validator": "1.18.128",
24
+ "@arcblock/vc": "1.18.128",
25
+ "@ocap/contract": "1.18.128",
26
+ "@ocap/mcrypto": "1.18.128",
27
+ "@ocap/types": "1.18.128",
28
+ "@ocap/util": "1.18.128",
29
+ "@ocap/wallet": "1.18.128",
30
30
  "debug": "^4.3.4",
31
31
  "flat": "^5.0.2",
32
32
  "is-absolute-url": "^3.0.3",
@@ -74,5 +74,5 @@
74
74
  "build": "tsc",
75
75
  "build:watch": "npm run build -- -w"
76
76
  },
77
- "gitHead": "f25463b1fb916131d6cca7077cc12badb4abd52e"
77
+ "gitHead": "97c217e51a0c250f8804c67c893c09d9f4c127c8"
78
78
  }