@blocklet/sdk 1.8.51 → 1.8.52
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.d.ts +1 -1
- package/lib/env.d.ts +1 -1
- package/lib/middlewares/user.d.ts +1 -1
- package/lib/service/auth.d.ts +2 -2
- package/lib/service/notification.d.ts +1 -1
- package/lib/types/notification.d.ts +3 -3
- package/lib/util/send-notification.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +15 -15
package/lib/component/index.d.ts
CHANGED
package/lib/env.d.ts
CHANGED
package/lib/service/auth.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Client from '@abtnode/client';
|
|
2
|
-
|
|
2
|
+
type PartialDeep<T> = {
|
|
3
3
|
[K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K];
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
type OmitTeamDid<T> = PartialDeep<Omit<T, 'teamDid'>>;
|
|
6
6
|
declare class AuthService {
|
|
7
7
|
constructor(httpEndpoint?: string);
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type TChannelEvent = string;
|
|
2
2
|
export interface TDataAsset {
|
|
3
3
|
chainHost: string;
|
|
4
4
|
did: unknown;
|
|
@@ -32,7 +32,7 @@ export interface TMessage {
|
|
|
32
32
|
};
|
|
33
33
|
type: string;
|
|
34
34
|
}
|
|
35
|
-
export
|
|
35
|
+
export type TNotification = TNotificationItem | TNotificationConnect | TNotificationFeed;
|
|
36
36
|
export interface TNotificationAction {
|
|
37
37
|
bgColor?: string;
|
|
38
38
|
color?: string;
|
|
@@ -54,7 +54,7 @@ export interface TNotificationFeed {
|
|
|
54
54
|
feedType: string;
|
|
55
55
|
type?: 'feed';
|
|
56
56
|
}
|
|
57
|
-
export
|
|
57
|
+
export type TNotificationInput = TNotification[] | TNotification;
|
|
58
58
|
export interface TNotificationItem {
|
|
59
59
|
actions?: TNotificationAction[];
|
|
60
60
|
attachments?: TNotificationAttachment[];
|
package/lib/version.d.ts
CHANGED
package/lib/version.js
CHANGED
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.52",
|
|
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,18 +26,18 @@
|
|
|
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
|
-
"@arcblock/did-auth": "1.18.
|
|
32
|
-
"@arcblock/jwt": "1.18.
|
|
33
|
-
"@arcblock/ws": "1.18.
|
|
34
|
-
"@blocklet/constant": "1.8.
|
|
35
|
-
"@blocklet/meta": "1.8.
|
|
36
|
-
"@did-connect/authenticator": "^2.1.
|
|
37
|
-
"@did-connect/handler": "^2.1.
|
|
38
|
-
"@nedb/core": "^2.0.
|
|
39
|
-
"@ocap/mcrypto": "1.18.
|
|
40
|
-
"@ocap/wallet": "1.18.
|
|
29
|
+
"@abtnode/client": "1.8.52",
|
|
30
|
+
"@abtnode/constant": "1.8.52",
|
|
31
|
+
"@arcblock/did-auth": "1.18.34",
|
|
32
|
+
"@arcblock/jwt": "1.18.34",
|
|
33
|
+
"@arcblock/ws": "1.18.34",
|
|
34
|
+
"@blocklet/constant": "1.8.52",
|
|
35
|
+
"@blocklet/meta": "1.8.52",
|
|
36
|
+
"@did-connect/authenticator": "^2.1.32",
|
|
37
|
+
"@did-connect/handler": "^2.1.32",
|
|
38
|
+
"@nedb/core": "^2.0.7",
|
|
39
|
+
"@ocap/mcrypto": "1.18.34",
|
|
40
|
+
"@ocap/wallet": "1.18.34",
|
|
41
41
|
"axios": "^0.27.2",
|
|
42
42
|
"fs-extra": "^10.1.0",
|
|
43
43
|
"joi": "17.7.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"url-join": "^4.0.1"
|
|
49
49
|
},
|
|
50
50
|
"resolutions": {
|
|
51
|
-
"@nedb/core": "^2.0.
|
|
51
|
+
"@nedb/core": "^2.0.7"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@arcblock/eslint-config-ts": "^0.2.3",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"ts-node": "^10.9.1",
|
|
70
70
|
"typescript": "^4.8.4"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "80217320b7cbd8c815172f8a985584586c32e858"
|
|
73
73
|
}
|