@abtnode/core 1.7.21 → 1.7.22

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/api/node.js +1 -1
  2. package/package.json +14 -14
package/lib/api/node.js CHANGED
@@ -166,7 +166,7 @@ class NodeAPI {
166
166
  async getDelegationState() {
167
167
  const info = await this.state.read();
168
168
 
169
- const { ownerNft } = info;
169
+ const ownerNft = info.ownerNft || {};
170
170
  if (!ownerNft.did) {
171
171
  throw new Error('Invalid owner NFT');
172
172
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.7.21",
6
+ "version": "1.7.22",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -19,24 +19,24 @@
19
19
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
20
20
  "license": "MIT",
21
21
  "dependencies": {
22
- "@abtnode/certificate-manager": "1.7.21",
23
- "@abtnode/constant": "1.7.21",
24
- "@abtnode/cron": "1.7.21",
25
- "@abtnode/db": "1.7.21",
26
- "@abtnode/logger": "1.7.21",
27
- "@abtnode/queue": "1.7.21",
28
- "@abtnode/rbac": "1.7.21",
29
- "@abtnode/router-provider": "1.7.21",
30
- "@abtnode/static-server": "1.7.21",
31
- "@abtnode/timemachine": "1.7.21",
32
- "@abtnode/util": "1.7.21",
22
+ "@abtnode/certificate-manager": "1.7.22",
23
+ "@abtnode/constant": "1.7.22",
24
+ "@abtnode/cron": "1.7.22",
25
+ "@abtnode/db": "1.7.22",
26
+ "@abtnode/logger": "1.7.22",
27
+ "@abtnode/queue": "1.7.22",
28
+ "@abtnode/rbac": "1.7.22",
29
+ "@abtnode/router-provider": "1.7.22",
30
+ "@abtnode/static-server": "1.7.22",
31
+ "@abtnode/timemachine": "1.7.22",
32
+ "@abtnode/util": "1.7.22",
33
33
  "@arcblock/did": "^1.16.15",
34
34
  "@arcblock/did-motif": "^1.1.9",
35
35
  "@arcblock/did-util": "^1.16.15",
36
36
  "@arcblock/event-hub": "1.16.15",
37
37
  "@arcblock/pm2-events": "^0.0.5",
38
38
  "@arcblock/vc": "^1.16.15",
39
- "@blocklet/meta": "1.7.21",
39
+ "@blocklet/meta": "1.7.22",
40
40
  "@fidm/x509": "^1.2.1",
41
41
  "@nedb/core": "^1.2.2",
42
42
  "@nedb/multi": "^1.2.2",
@@ -80,5 +80,5 @@
80
80
  "express": "^4.17.1",
81
81
  "jest": "^27.4.5"
82
82
  },
83
- "gitHead": "e7b99d9b3f878cc47e54ddfead2ac5284145b6ae"
83
+ "gitHead": "6190972e62b5e6b1039aa71a291b3e2c521df367"
84
84
  }