@arcblock/nft 1.30.3 → 1.30.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.
- package/esm/factory.mjs +1 -1
- package/lib/factory.cjs +1 -1
- package/package.json +8 -8
package/esm/factory.mjs
CHANGED
|
@@ -235,7 +235,7 @@ var NFTFactory = class {
|
|
|
235
235
|
},
|
|
236
236
|
...attributes
|
|
237
237
|
};
|
|
238
|
-
asset.address = toAssetAddress(asset);
|
|
238
|
+
asset.address = toAssetAddress(asset, "cbor");
|
|
239
239
|
return [asset, await this.client.sendCreateAssetTx({
|
|
240
240
|
tx: { itx: asset },
|
|
241
241
|
wallet: this.wallet
|
package/lib/factory.cjs
CHANGED
|
@@ -244,7 +244,7 @@ var NFTFactory = class {
|
|
|
244
244
|
},
|
|
245
245
|
...attributes
|
|
246
246
|
};
|
|
247
|
-
asset.address = (0, _arcblock_did_util.toAssetAddress)(asset);
|
|
247
|
+
asset.address = (0, _arcblock_did_util.toAssetAddress)(asset, "cbor");
|
|
248
248
|
return [asset, await this.client.sendCreateAssetTx({
|
|
249
249
|
tx: { itx: asset },
|
|
250
250
|
wallet: this.wallet
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcblock/nft",
|
|
3
3
|
"description": "Utility to create standard asset on forge powered blockchain",
|
|
4
|
-
"version": "1.30.
|
|
4
|
+
"version": "1.30.5",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "wangshijun",
|
|
7
7
|
"email": "shijun@arcblock.io",
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"esm"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@arcblock/did-util": "1.30.
|
|
47
|
-
"@arcblock/vc": "1.30.
|
|
48
|
-
"@ocap/client": "1.30.
|
|
49
|
-
"@ocap/tx-protocols": "1.30.
|
|
50
|
-
"@ocap/tx-util": "1.30.
|
|
51
|
-
"@ocap/util": "1.30.
|
|
52
|
-
"@ocap/wallet": "1.30.
|
|
46
|
+
"@arcblock/did-util": "1.30.5",
|
|
47
|
+
"@arcblock/vc": "1.30.5",
|
|
48
|
+
"@ocap/client": "1.30.5",
|
|
49
|
+
"@ocap/tx-protocols": "1.30.5",
|
|
50
|
+
"@ocap/tx-util": "1.30.5",
|
|
51
|
+
"@ocap/util": "1.30.5",
|
|
52
|
+
"@ocap/wallet": "1.30.5",
|
|
53
53
|
"debug": "^4.4.3",
|
|
54
54
|
"fast-json-stable-stringify": "^2.1.0",
|
|
55
55
|
"lodash": "^4.17.23",
|