@blocklet/sdk 1.16.40-beta-20250314-125842-4252b590 → 1.16.40
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/lib/service/auth.js +2 -1
- package/package.json +8 -8
package/lib/service/auth.js
CHANGED
|
@@ -195,8 +195,9 @@ class AuthService {
|
|
|
195
195
|
return (0, util_2.findComponentByIdV2)(blocklet, did);
|
|
196
196
|
};
|
|
197
197
|
this.getVault = async () => {
|
|
198
|
+
const wallet = wallet_1.default.getPermanentWallet();
|
|
198
199
|
const { blocklet } = await this.getBlocklet();
|
|
199
|
-
return (0, security_1.verifyVault)(blocklet.vaults,
|
|
200
|
+
return (0, security_1.verifyVault)(blocklet.vaults, wallet.address);
|
|
200
201
|
};
|
|
201
202
|
// eslint-disable-next-line no-constructor-return
|
|
202
203
|
return new Proxy(this, {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.40
|
|
6
|
+
"version": "1.16.40",
|
|
7
7
|
"description": "graphql client to read/write data on abt node",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"typings": "lib/index.d.ts",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@abtnode/client": "1.16.40
|
|
31
|
-
"@abtnode/constant": "1.16.40
|
|
32
|
-
"@abtnode/util": "1.16.40
|
|
30
|
+
"@abtnode/client": "1.16.40",
|
|
31
|
+
"@abtnode/constant": "1.16.40",
|
|
32
|
+
"@abtnode/util": "1.16.40",
|
|
33
33
|
"@arcblock/did": "1.19.15",
|
|
34
34
|
"@arcblock/did-auth": "1.19.15",
|
|
35
35
|
"@arcblock/jwt": "1.19.15",
|
|
36
36
|
"@arcblock/ws": "1.19.15",
|
|
37
|
-
"@blocklet/constant": "1.16.40
|
|
38
|
-
"@blocklet/env": "1.16.40
|
|
39
|
-
"@blocklet/meta": "1.16.40
|
|
37
|
+
"@blocklet/constant": "1.16.40",
|
|
38
|
+
"@blocklet/env": "1.16.40",
|
|
39
|
+
"@blocklet/meta": "1.16.40",
|
|
40
40
|
"@did-connect/authenticator": "^2.2.7",
|
|
41
41
|
"@did-connect/handler": "^2.2.7",
|
|
42
42
|
"@nedb/core": "^2.1.5",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"ts-node": "^10.9.1",
|
|
83
83
|
"typescript": "^5.6.3"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "f05e89c1f02e51f88d28b45225487d3241fc3636"
|
|
86
86
|
}
|