@ocap/asset 1.18.4 → 1.18.6
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/index.js +1 -1
- 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.
|
4
|
+
"version": "1.18.6",
|
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.
|
22
|
-
"@arcblock/did-util": "1.18.
|
23
|
-
"@arcblock/validator": "1.18.
|
24
|
-
"@arcblock/vc": "1.18.
|
25
|
-
"@ocap/contract": "1.18.
|
26
|
-
"@ocap/mcrypto": "1.18.
|
27
|
-
"@ocap/types": "1.18.
|
28
|
-
"@ocap/util": "1.18.
|
29
|
-
"@ocap/wallet": "1.18.
|
21
|
+
"@arcblock/did": "1.18.6",
|
22
|
+
"@arcblock/did-util": "1.18.6",
|
23
|
+
"@arcblock/validator": "1.18.6",
|
24
|
+
"@arcblock/vc": "1.18.6",
|
25
|
+
"@ocap/contract": "1.18.6",
|
26
|
+
"@ocap/mcrypto": "1.18.6",
|
27
|
+
"@ocap/types": "1.18.6",
|
28
|
+
"@ocap/util": "1.18.6",
|
29
|
+
"@ocap/wallet": "1.18.6",
|
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": "
|
77
|
+
"gitHead": "48fb40b565d9cba2b67f181d9c312ba779fd750b"
|
78
78
|
}
|