@blocklet/sdk 1.16.26-beta-5251ab18 → 1.16.26-beta-351de484

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.
@@ -67,10 +67,11 @@ export interface TNotification {
67
67
  checkUrl?: string;
68
68
  data?: object;
69
69
  feedType?: string;
70
+ passthroughType?: string;
70
71
  severity?: 'normal' | 'success' | 'error' | 'warning';
71
72
  source?: string;
72
73
  title?: string;
73
- type?: 'notification' | 'connect' | 'feed' | 'hi';
74
+ type?: 'notification' | 'connect' | 'feed' | 'hi' | 'passthrough';
74
75
  url?: string;
75
76
  }
76
77
  export interface TNotificationAction {
@@ -4,6 +4,7 @@ declare const TYPES: {
4
4
  CONNECT: string;
5
5
  FEED: string;
6
6
  HI: string;
7
+ PASSTHROUGH: string;
7
8
  };
8
9
  declare const assetSchema: JOI.ObjectSchema<any>;
9
10
  declare const vcSchema: JOI.ObjectSchema<any>;
@@ -70,6 +71,7 @@ declare const _default: {
70
71
  CONNECT: string;
71
72
  FEED: string;
72
73
  HI: string;
74
+ PASSTHROUGH: string;
73
75
  };
74
76
  };
75
77
  export default _default;
@@ -12,6 +12,7 @@ const TYPES = {
12
12
  CONNECT: 'connect',
13
13
  FEED: 'feed',
14
14
  HI: 'hi',
15
+ PASSTHROUGH: 'passthrough',
15
16
  };
16
17
  exports.NOTIFICATION_TYPES = TYPES;
17
18
  const SEVERITIES = {
@@ -165,6 +166,7 @@ const notificationSchema = Joi.object({
165
166
  type: Joi.string().valid(...Object.values(TYPES)),
166
167
  // feed type
167
168
  feedType: Joi.string(),
169
+ passthroughType: Joi.string(),
168
170
  data: Joi.object(),
169
171
  // connect type
170
172
  url: Joi.string().uri(),
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.26-beta-5251ab18",
6
+ "version": "1.16.26-beta-351de484",
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,17 +27,17 @@
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.26-beta-5251ab18",
31
- "@abtnode/constant": "1.16.26-beta-5251ab18",
30
+ "@abtnode/client": "1.16.26-beta-351de484",
31
+ "@abtnode/constant": "1.16.26-beta-351de484",
32
32
  "@arcblock/did": "1.18.115",
33
33
  "@arcblock/did-auth": "1.18.115",
34
34
  "@arcblock/jwt": "1.18.115",
35
35
  "@arcblock/ws": "1.18.115",
36
- "@blocklet/constant": "1.16.26-beta-5251ab18",
37
- "@blocklet/env": "1.16.26-beta-5251ab18",
38
- "@blocklet/meta": "1.16.26-beta-5251ab18",
39
- "@did-connect/authenticator": "^2.2.1",
40
- "@did-connect/handler": "^2.2.1",
36
+ "@blocklet/constant": "1.16.26-beta-351de484",
37
+ "@blocklet/env": "1.16.26-beta-351de484",
38
+ "@blocklet/meta": "1.16.26-beta-351de484",
39
+ "@did-connect/authenticator": "^2.2.4",
40
+ "@did-connect/handler": "^2.2.4",
41
41
  "@nedb/core": "^2.1.5",
42
42
  "@ocap/mcrypto": "1.18.115",
43
43
  "@ocap/wallet": "1.18.115",
@@ -76,5 +76,5 @@
76
76
  "ts-node": "^10.9.1",
77
77
  "typescript": "^5.0.4"
78
78
  },
79
- "gitHead": "759e8dbab81a3ae2fa02f32776fe388d13337da7"
79
+ "gitHead": "00eba435a21506382c7823ea804abea196390a0f"
80
80
  }