@blocklet/sdk 1.16.54-beta-20251029-230008-54c9843b → 1.16.54-beta-20251030-092518-0e109845
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/notification.js +2 -2
- package/lib/util/test-setup.js +1 -1
- package/package.json +18 -18
|
@@ -54,12 +54,12 @@ const parse_docker_endpoint_1 = require("../util/parse-docker-endpoint");
|
|
|
54
54
|
const debug = (0, debug_1.default)('@blocklet/sdk:notification');
|
|
55
55
|
const getSender = () => {
|
|
56
56
|
const wallet = (0, wallet_1.getWallet)();
|
|
57
|
-
const
|
|
57
|
+
const accessWallet = (0, wallet_1.getAccessWallet)();
|
|
58
58
|
return {
|
|
59
59
|
// appDid is used by the server to identify the blocklet
|
|
60
60
|
appDid: wallet.address,
|
|
61
61
|
// wallet is used for signing on the client side and verification on the server side
|
|
62
|
-
wallet:
|
|
62
|
+
wallet: accessWallet,
|
|
63
63
|
};
|
|
64
64
|
};
|
|
65
65
|
exports.getSender = getSender;
|
package/lib/util/test-setup.js
CHANGED
|
@@ -40,7 +40,7 @@ function testSetup() {
|
|
|
40
40
|
process.env.BLOCKLET_APP_NAME = meta.title;
|
|
41
41
|
process.env.BLOCKLET_APP_DESCRIPTION = meta.description;
|
|
42
42
|
process.env.BLOCKLET_APP_EK = (0, did_ext_1.fromAppDid)(meta.did, process.env.ABT_NODE_PK, undefined, 1).secretKey;
|
|
43
|
-
process.env.BLOCKLET_APP_ASK = (0, did_ext_1.fromAppDid)(meta.did, process.env.ABT_NODE_PK, undefined,
|
|
43
|
+
process.env.BLOCKLET_APP_ASK = (0, did_ext_1.fromAppDid)(meta.did, process.env.ABT_NODE_PK, undefined, 2).secretKey;
|
|
44
44
|
process.env.BLOCKLET_APP_URL = 'http://192.168.0.10:3030';
|
|
45
45
|
process.env.BLOCKLET_MOUNT_POINTS = JSON.stringify([
|
|
46
46
|
{
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.54-beta-
|
|
6
|
+
"version": "1.16.54-beta-20251030-092518-0e109845",
|
|
7
7
|
"description": "graphql client to read/write data on abt node",
|
|
8
8
|
"homepage": "https://www.arcblock.io/docs/blocklet-sdk-nodejs",
|
|
9
9
|
"main": "lib/index.js",
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
"author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@abtnode/constant": "1.16.54-beta-
|
|
32
|
-
"@abtnode/db-cache": "1.16.54-beta-
|
|
33
|
-
"@abtnode/util": "1.16.54-beta-
|
|
34
|
-
"@arcblock/did": "^1.
|
|
35
|
-
"@arcblock/did-connect-js": "^1.
|
|
36
|
-
"@arcblock/did-ext": "^1.
|
|
37
|
-
"@arcblock/jwt": "^1.
|
|
38
|
-
"@arcblock/ws": "^1.
|
|
39
|
-
"@blocklet/constant": "1.16.54-beta-
|
|
40
|
-
"@blocklet/env": "1.16.54-beta-
|
|
31
|
+
"@abtnode/constant": "1.16.54-beta-20251030-092518-0e109845",
|
|
32
|
+
"@abtnode/db-cache": "1.16.54-beta-20251030-092518-0e109845",
|
|
33
|
+
"@abtnode/util": "1.16.54-beta-20251030-092518-0e109845",
|
|
34
|
+
"@arcblock/did": "^1.27.0",
|
|
35
|
+
"@arcblock/did-connect-js": "^1.27.0",
|
|
36
|
+
"@arcblock/did-ext": "^1.27.0",
|
|
37
|
+
"@arcblock/jwt": "^1.27.0",
|
|
38
|
+
"@arcblock/ws": "^1.27.0",
|
|
39
|
+
"@blocklet/constant": "1.16.54-beta-20251030-092518-0e109845",
|
|
40
|
+
"@blocklet/env": "1.16.54-beta-20251030-092518-0e109845",
|
|
41
41
|
"@blocklet/error": "^0.2.5",
|
|
42
|
-
"@blocklet/meta": "1.16.54-beta-
|
|
43
|
-
"@blocklet/server-js": "1.16.54-beta-
|
|
44
|
-
"@blocklet/theme": "^3.1.
|
|
42
|
+
"@blocklet/meta": "1.16.54-beta-20251030-092518-0e109845",
|
|
43
|
+
"@blocklet/server-js": "1.16.54-beta-20251030-092518-0e109845",
|
|
44
|
+
"@blocklet/theme": "^3.1.54",
|
|
45
45
|
"@did-connect/authenticator": "^2.2.8",
|
|
46
46
|
"@did-connect/handler": "^2.2.8",
|
|
47
47
|
"@nedb/core": "^2.1.5",
|
|
48
|
-
"@ocap/mcrypto": "^1.
|
|
49
|
-
"@ocap/util": "^1.
|
|
50
|
-
"@ocap/wallet": "^1.
|
|
48
|
+
"@ocap/mcrypto": "^1.27.0",
|
|
49
|
+
"@ocap/util": "^1.27.0",
|
|
50
|
+
"@ocap/wallet": "^1.27.0",
|
|
51
51
|
"axios": "^1.7.9",
|
|
52
52
|
"cheerio": "1.0.0-rc.12",
|
|
53
53
|
"debug": "^4.4.1",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"ts-node": "^10.9.1",
|
|
85
85
|
"typescript": "^5.6.3"
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "431bc01b2abde0a41abe300cf3eef94476add035"
|
|
88
88
|
}
|