@arcblock/nft 1.30.2 → 1.30.4

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 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.2",
4
+ "version": "1.30.4",
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.2",
47
- "@arcblock/vc": "1.30.2",
48
- "@ocap/client": "1.30.2",
49
- "@ocap/tx-protocols": "1.30.2",
50
- "@ocap/tx-util": "1.30.2",
51
- "@ocap/util": "1.30.2",
52
- "@ocap/wallet": "1.30.2",
46
+ "@arcblock/did-util": "1.30.4",
47
+ "@arcblock/vc": "1.30.4",
48
+ "@ocap/client": "1.30.4",
49
+ "@ocap/tx-protocols": "1.30.4",
50
+ "@ocap/tx-util": "1.30.4",
51
+ "@ocap/util": "1.30.4",
52
+ "@ocap/wallet": "1.30.4",
53
53
  "debug": "^4.4.3",
54
54
  "fast-json-stable-stringify": "^2.1.0",
55
55
  "lodash": "^4.17.23",