@blocklet/sdk 1.8.67 → 1.8.68-beta-500af7e5
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/component/index.js +5 -14
- package/lib/connect/authenticator.js +5 -2
- package/lib/connect/handler.js +4 -13
- package/lib/connect/shared.d.ts +8 -2
- package/lib/connect/shared.js +70 -14
- package/lib/database/index.js +18 -25
- package/lib/embed/adapters/express.d.ts +3 -0
- package/lib/embed/adapters/express.js +13 -0
- package/lib/embed/generate.d.ts +6 -0
- package/lib/embed/generate.js +30 -0
- package/lib/embed/get-embed-url.d.ts +1 -0
- package/lib/embed/get-embed-url.js +55 -0
- package/lib/embed/get-embed.d.ts +1 -0
- package/lib/embed/get-embed.js +32 -0
- package/lib/embed/index.d.ts +10 -0
- package/lib/embed/index.js +13 -0
- package/lib/embed/message.d.ts +26 -0
- package/lib/embed/message.js +134 -0
- package/lib/index.d.ts +0 -2
- package/lib/index.js +1 -3
- package/lib/middlewares/auth.d.ts +6 -1
- package/lib/middlewares/auth.js +21 -24
- package/lib/middlewares/index.d.ts +5 -1
- package/lib/middlewares/user.js +2 -11
- package/lib/service/auth.d.ts +1 -1
- package/lib/service/auth.js +10 -19
- package/lib/service/notification.d.ts +3 -0
- package/lib/service/notification.js +11 -14
- package/lib/util/env.js +1 -1
- package/lib/util/send-notification.d.ts +3 -2
- package/lib/util/send-notification.js +45 -21
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/wallet-authenticator.js +5 -2
- package/lib/wallet-handler.d.ts +7 -5
- package/lib/wallet-handler.js +28 -40
- package/package.json +17 -14
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.8.
|
|
6
|
+
"version": "1.8.68-beta-500af7e5",
|
|
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",
|
|
@@ -26,24 +26,27 @@
|
|
|
26
26
|
"author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@abtnode/client": "1.8.
|
|
30
|
-
"@abtnode/constant": "1.8.
|
|
31
|
-
"@
|
|
32
|
-
"@arcblock/
|
|
33
|
-
"@arcblock/
|
|
34
|
-
"@
|
|
35
|
-
"@blocklet/
|
|
36
|
-
"@
|
|
37
|
-
"@did-connect/
|
|
29
|
+
"@abtnode/client": "1.8.68-beta-500af7e5",
|
|
30
|
+
"@abtnode/constant": "1.8.68-beta-500af7e5",
|
|
31
|
+
"@abtnode/util": "1.8.68-beta-500af7e5",
|
|
32
|
+
"@arcblock/did-auth": "1.18.57",
|
|
33
|
+
"@arcblock/jwt": "1.18.57",
|
|
34
|
+
"@arcblock/ws": "1.18.57",
|
|
35
|
+
"@blocklet/constant": "1.8.68-beta-500af7e5",
|
|
36
|
+
"@blocklet/meta": "1.8.68-beta-500af7e5",
|
|
37
|
+
"@did-connect/authenticator": "^2.1.41",
|
|
38
|
+
"@did-connect/handler": "^2.1.41",
|
|
38
39
|
"@nedb/core": "^2.1.5",
|
|
39
|
-
"@ocap/mcrypto": "1.18.
|
|
40
|
-
"@ocap/wallet": "1.18.
|
|
40
|
+
"@ocap/mcrypto": "1.18.57",
|
|
41
|
+
"@ocap/wallet": "1.18.57",
|
|
41
42
|
"axios": "^0.27.2",
|
|
43
|
+
"cheerio": "^1.0.0-rc.12",
|
|
42
44
|
"fs-extra": "^10.1.0",
|
|
43
45
|
"joi": "17.7.0",
|
|
44
46
|
"json-stable-stringify": "^1.0.1",
|
|
45
47
|
"lodash": "^4.17.21",
|
|
46
48
|
"lru-cache": "^6.0.0",
|
|
49
|
+
"ufo": "^1.1.1",
|
|
47
50
|
"url-join": "^4.0.1"
|
|
48
51
|
},
|
|
49
52
|
"resolutions": {
|
|
@@ -61,12 +64,12 @@
|
|
|
61
64
|
"detect-port": "^1.5.1",
|
|
62
65
|
"eslint": "^8.25.0",
|
|
63
66
|
"jest": "^29.2.0",
|
|
64
|
-
"joi-to-typescript": "^4.0.
|
|
67
|
+
"joi-to-typescript": "^4.0.7",
|
|
65
68
|
"json-stable-stringify": "^1.0.1",
|
|
66
69
|
"prettier": "^2.7.1",
|
|
67
70
|
"ts-jest": "^29.0.3",
|
|
68
71
|
"ts-node": "^10.9.1",
|
|
69
72
|
"typescript": "^4.8.4"
|
|
70
73
|
},
|
|
71
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "9070621373f317a10ff0d289323bf725e30d3521"
|
|
72
75
|
}
|