@arcblock/nft 1.25.5 → 1.26.0

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/factory.js +1 -1
  2. package/package.json +9 -9
package/lib/factory.js CHANGED
@@ -288,7 +288,7 @@ class NFTFactory {
288
288
  }
289
289
 
290
290
  async createSignedAsset(payload, attributes) {
291
- const signature = toBase58(this.wallet.sign(stringify(payload)));
291
+ const signature = toBase58(await this.wallet.sign(stringify(payload)));
292
292
  payload.signature = signature;
293
293
  const moniker = get(payload, 'data.name') || get(payload, 'credentialSubject.name') || 'signed_asset';
294
294
  const asset = {
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.25.5",
4
+ "version": "1.26.0",
5
5
  "author": {
6
6
  "name": "wangshijun",
7
7
  "email": "shijun@arcblock.io",
@@ -22,19 +22,19 @@
22
22
  "json-stable-stringify": "^1.0.1",
23
23
  "lodash": "^4.17.21",
24
24
  "pako": "^1.0.11",
25
- "@arcblock/did-util": "1.25.5",
26
- "@ocap/client": "1.25.5",
27
- "@ocap/tx-protocols": "1.25.5",
28
- "@ocap/tx-util": "1.25.5",
29
- "@arcblock/vc": "1.25.5",
30
- "@ocap/util": "1.25.5",
31
- "@ocap/wallet": "1.25.5"
25
+ "@arcblock/did-util": "1.26.0",
26
+ "@arcblock/vc": "1.26.0",
27
+ "@ocap/client": "1.26.0",
28
+ "@ocap/tx-protocols": "1.26.0",
29
+ "@ocap/tx-util": "1.26.0",
30
+ "@ocap/util": "1.26.0",
31
+ "@ocap/wallet": "1.26.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "jest": "^29.7.0",
35
35
  "remark-cli": "^10.0.1",
36
36
  "remark-preset-github": "^4.0.4",
37
- "@ocap/e2e-test": "1.25.5"
37
+ "@ocap/e2e-test": "1.26.0"
38
38
  },
39
39
  "remarkConfig": {
40
40
  "plugins": [