@ocap/asset 1.18.3 → 1.18.5

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/index.js +1 -1
  2. package/package.json +11 -11
package/lib/index.js CHANGED
@@ -153,8 +153,8 @@ const mintFromFactory = ({ factory, inputs, owner, issuer, }) => {
153
153
  data: data.value || data,
154
154
  ctx: { factory: factoryAddress, id: numMinted + 1, owner, issuer },
155
155
  }));
156
- debug('mintFromFactory.result', JSON.stringify(asset, null, 2));
157
156
  const address = (0, did_util_1.toAssetAddress)(asset);
157
+ debug('mintFromFactory.result', JSON.stringify({ asset, address }, null, 2));
158
158
  return { asset, address };
159
159
  };
160
160
  exports.mintFromFactory = mintFromFactory;
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.3",
4
+ "version": "1.18.5",
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.3",
22
- "@arcblock/did-util": "1.18.3",
23
- "@arcblock/validator": "1.18.3",
24
- "@arcblock/vc": "1.18.3",
25
- "@ocap/contract": "1.18.3",
26
- "@ocap/mcrypto": "1.18.3",
27
- "@ocap/types": "1.18.3",
28
- "@ocap/util": "1.18.3",
29
- "@ocap/wallet": "1.18.3",
21
+ "@arcblock/did": "1.18.5",
22
+ "@arcblock/did-util": "1.18.5",
23
+ "@arcblock/validator": "1.18.5",
24
+ "@arcblock/vc": "1.18.5",
25
+ "@ocap/contract": "1.18.5",
26
+ "@ocap/mcrypto": "1.18.5",
27
+ "@ocap/types": "1.18.5",
28
+ "@ocap/util": "1.18.5",
29
+ "@ocap/wallet": "1.18.5",
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": "31b77b9c7247a28dc16f23b2404f08581688ac9e"
77
+ "gitHead": "427ced35db09b28201f9cb9b65abe009bd511606"
78
78
  }