@abtnode/core 1.16.51-beta-20250905-023351-70af144b → 1.16.51-beta-20250905-051437-fe05adb2
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/blocklet/webhook/event-bus.js +11 -2
- package/package.json +24 -24
|
@@ -48,10 +48,19 @@ const init = ({ states, teamManager }) => {
|
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
const { event } = data;
|
|
51
|
+
const { event, appInfo } = data;
|
|
52
52
|
const { type, source, object_id: objectId, object_type: objectType } = event;
|
|
53
53
|
|
|
54
|
-
const request = {
|
|
54
|
+
const request = {
|
|
55
|
+
...event.data,
|
|
56
|
+
$eventName: type,
|
|
57
|
+
$sender: {
|
|
58
|
+
did: appInfo?.did || blocklet?.appPid,
|
|
59
|
+
pk: appInfo?.pk,
|
|
60
|
+
url: appInfo?.appUrl,
|
|
61
|
+
name: appInfo?.name || blocklet?.meta?.title,
|
|
62
|
+
},
|
|
63
|
+
};
|
|
55
64
|
logger.info('create webhook event', { type, source, request });
|
|
56
65
|
|
|
57
66
|
const { webhookEventState } = await teamManager.getWebhookState(appDid);
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.51-beta-20250905-
|
|
6
|
+
"version": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -19,21 +19,21 @@
|
|
|
19
19
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@abtnode/analytics": "1.16.51-beta-20250905-
|
|
23
|
-
"@abtnode/auth": "1.16.51-beta-20250905-
|
|
24
|
-
"@abtnode/certificate-manager": "1.16.51-beta-20250905-
|
|
25
|
-
"@abtnode/constant": "1.16.51-beta-20250905-
|
|
26
|
-
"@abtnode/cron": "1.16.51-beta-20250905-
|
|
27
|
-
"@abtnode/db-cache": "1.16.51-beta-20250905-
|
|
28
|
-
"@abtnode/docker-utils": "1.16.51-beta-20250905-
|
|
29
|
-
"@abtnode/logger": "1.16.51-beta-20250905-
|
|
30
|
-
"@abtnode/models": "1.16.51-beta-20250905-
|
|
31
|
-
"@abtnode/queue": "1.16.51-beta-20250905-
|
|
32
|
-
"@abtnode/rbac": "1.16.51-beta-20250905-
|
|
33
|
-
"@abtnode/router-provider": "1.16.51-beta-20250905-
|
|
34
|
-
"@abtnode/static-server": "1.16.51-beta-20250905-
|
|
35
|
-
"@abtnode/timemachine": "1.16.51-beta-20250905-
|
|
36
|
-
"@abtnode/util": "1.16.51-beta-20250905-
|
|
22
|
+
"@abtnode/analytics": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
23
|
+
"@abtnode/auth": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
24
|
+
"@abtnode/certificate-manager": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
25
|
+
"@abtnode/constant": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
26
|
+
"@abtnode/cron": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
27
|
+
"@abtnode/db-cache": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
28
|
+
"@abtnode/docker-utils": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
29
|
+
"@abtnode/logger": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
30
|
+
"@abtnode/models": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
31
|
+
"@abtnode/queue": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
32
|
+
"@abtnode/rbac": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
33
|
+
"@abtnode/router-provider": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
34
|
+
"@abtnode/static-server": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
35
|
+
"@abtnode/timemachine": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
36
|
+
"@abtnode/util": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
37
37
|
"@aigne/aigne-hub": "^0.8.6",
|
|
38
38
|
"@arcblock/did": "1.24.0",
|
|
39
39
|
"@arcblock/did-connect-js": "1.24.0",
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"@arcblock/pm2-events": "^0.0.5",
|
|
46
46
|
"@arcblock/validator": "1.24.0",
|
|
47
47
|
"@arcblock/vc": "1.24.0",
|
|
48
|
-
"@blocklet/constant": "1.16.51-beta-20250905-
|
|
48
|
+
"@blocklet/constant": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
49
49
|
"@blocklet/did-space-js": "^1.1.22",
|
|
50
|
-
"@blocklet/env": "1.16.51-beta-20250905-
|
|
50
|
+
"@blocklet/env": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
51
51
|
"@blocklet/error": "^0.2.5",
|
|
52
|
-
"@blocklet/meta": "1.16.51-beta-20250905-
|
|
53
|
-
"@blocklet/resolver": "1.16.51-beta-20250905-
|
|
54
|
-
"@blocklet/sdk": "1.16.51-beta-20250905-
|
|
55
|
-
"@blocklet/server-js": "1.16.51-beta-20250905-
|
|
56
|
-
"@blocklet/store": "1.16.51-beta-20250905-
|
|
52
|
+
"@blocklet/meta": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
53
|
+
"@blocklet/resolver": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
54
|
+
"@blocklet/sdk": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
55
|
+
"@blocklet/server-js": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
56
|
+
"@blocklet/store": "1.16.51-beta-20250905-051437-fe05adb2",
|
|
57
57
|
"@blocklet/theme": "^3.1.34",
|
|
58
58
|
"@fidm/x509": "^1.2.1",
|
|
59
59
|
"@ocap/mcrypto": "1.24.0",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
"jest": "^29.7.0",
|
|
119
119
|
"unzipper": "^0.10.11"
|
|
120
120
|
},
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "cadff492e3858895a3e0565b0b1778f166fb34f7"
|
|
122
122
|
}
|