@blocklet/sdk 1.16.33-beta-20241029-115916-f749f0cc → 1.16.33-beta-20241030-102817-90ad7cd5

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.
@@ -61,6 +61,7 @@ export interface TMessage {
61
61
  }
62
62
  export interface TNotification {
63
63
  actions?: TNotificationAction[];
64
+ appInfo?: object;
64
65
  attachments?: TNotificationAttachment[];
65
66
  blocks?: TNotificationAttachment[];
66
67
  body?: string;
@@ -68,6 +69,7 @@ export interface TNotification {
68
69
  data?: object;
69
70
  feedType?: string;
70
71
  passthroughType?: string;
72
+ poweredBy?: object;
71
73
  severity?: 'normal' | 'success' | 'error' | 'warning';
72
74
  source?: string;
73
75
  title?: string;
@@ -179,6 +179,8 @@ const notificationSchema = Joi.object({
179
179
  blocks: Joi.array().items(attachmentSchema).default([]),
180
180
  attachments: Joi.array().items(attachmentSchema).default([]),
181
181
  actions: Joi.array().items(actionSchema).default([]),
182
+ appInfo: Joi.object().optional(),
183
+ poweredBy: Joi.object().optional(),
182
184
  })
183
185
  .required()
184
186
  .meta({ className: 'TNotification' });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.33-beta-20241029-115916-f749f0cc",
6
+ "version": "1.16.33-beta-20241030-102817-90ad7cd5",
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,15 +27,15 @@
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.33-beta-20241029-115916-f749f0cc",
31
- "@abtnode/constant": "1.16.33-beta-20241029-115916-f749f0cc",
30
+ "@abtnode/client": "1.16.33-beta-20241030-102817-90ad7cd5",
31
+ "@abtnode/constant": "1.16.33-beta-20241030-102817-90ad7cd5",
32
32
  "@arcblock/did": "1.18.136",
33
33
  "@arcblock/did-auth": "1.18.136",
34
34
  "@arcblock/jwt": "1.18.136",
35
35
  "@arcblock/ws": "1.18.136",
36
- "@blocklet/constant": "1.16.33-beta-20241029-115916-f749f0cc",
37
- "@blocklet/env": "1.16.33-beta-20241029-115916-f749f0cc",
38
- "@blocklet/meta": "1.16.33-beta-20241029-115916-f749f0cc",
36
+ "@blocklet/constant": "1.16.33-beta-20241030-102817-90ad7cd5",
37
+ "@blocklet/env": "1.16.33-beta-20241030-102817-90ad7cd5",
38
+ "@blocklet/meta": "1.16.33-beta-20241030-102817-90ad7cd5",
39
39
  "@did-connect/authenticator": "^2.2.4",
40
40
  "@did-connect/handler": "^2.2.4",
41
41
  "@nedb/core": "^2.1.5",
@@ -77,5 +77,5 @@
77
77
  "ts-node": "^10.9.1",
78
78
  "typescript": "^5.6.3"
79
79
  },
80
- "gitHead": "5c5fe0e1634f3eb6c0ecfc2c103de7b45d8d594a"
80
+ "gitHead": "13346a64f33be7432253dc7735f3d6f52878e9ac"
81
81
  }