@abtnode/core 1.16.51-beta-20250905-023351-70af144b → 1.16.51

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.
@@ -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 = { ...event.data, $eventName: type };
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-023351-70af144b",
6
+ "version": "1.16.51",
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-023351-70af144b",
23
- "@abtnode/auth": "1.16.51-beta-20250905-023351-70af144b",
24
- "@abtnode/certificate-manager": "1.16.51-beta-20250905-023351-70af144b",
25
- "@abtnode/constant": "1.16.51-beta-20250905-023351-70af144b",
26
- "@abtnode/cron": "1.16.51-beta-20250905-023351-70af144b",
27
- "@abtnode/db-cache": "1.16.51-beta-20250905-023351-70af144b",
28
- "@abtnode/docker-utils": "1.16.51-beta-20250905-023351-70af144b",
29
- "@abtnode/logger": "1.16.51-beta-20250905-023351-70af144b",
30
- "@abtnode/models": "1.16.51-beta-20250905-023351-70af144b",
31
- "@abtnode/queue": "1.16.51-beta-20250905-023351-70af144b",
32
- "@abtnode/rbac": "1.16.51-beta-20250905-023351-70af144b",
33
- "@abtnode/router-provider": "1.16.51-beta-20250905-023351-70af144b",
34
- "@abtnode/static-server": "1.16.51-beta-20250905-023351-70af144b",
35
- "@abtnode/timemachine": "1.16.51-beta-20250905-023351-70af144b",
36
- "@abtnode/util": "1.16.51-beta-20250905-023351-70af144b",
22
+ "@abtnode/analytics": "1.16.51",
23
+ "@abtnode/auth": "1.16.51",
24
+ "@abtnode/certificate-manager": "1.16.51",
25
+ "@abtnode/constant": "1.16.51",
26
+ "@abtnode/cron": "1.16.51",
27
+ "@abtnode/db-cache": "1.16.51",
28
+ "@abtnode/docker-utils": "1.16.51",
29
+ "@abtnode/logger": "1.16.51",
30
+ "@abtnode/models": "1.16.51",
31
+ "@abtnode/queue": "1.16.51",
32
+ "@abtnode/rbac": "1.16.51",
33
+ "@abtnode/router-provider": "1.16.51",
34
+ "@abtnode/static-server": "1.16.51",
35
+ "@abtnode/timemachine": "1.16.51",
36
+ "@abtnode/util": "1.16.51",
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-023351-70af144b",
48
+ "@blocklet/constant": "1.16.51",
49
49
  "@blocklet/did-space-js": "^1.1.22",
50
- "@blocklet/env": "1.16.51-beta-20250905-023351-70af144b",
50
+ "@blocklet/env": "1.16.51",
51
51
  "@blocklet/error": "^0.2.5",
52
- "@blocklet/meta": "1.16.51-beta-20250905-023351-70af144b",
53
- "@blocklet/resolver": "1.16.51-beta-20250905-023351-70af144b",
54
- "@blocklet/sdk": "1.16.51-beta-20250905-023351-70af144b",
55
- "@blocklet/server-js": "1.16.51-beta-20250905-023351-70af144b",
56
- "@blocklet/store": "1.16.51-beta-20250905-023351-70af144b",
52
+ "@blocklet/meta": "1.16.51",
53
+ "@blocklet/resolver": "1.16.51",
54
+ "@blocklet/sdk": "1.16.51",
55
+ "@blocklet/server-js": "1.16.51",
56
+ "@blocklet/store": "1.16.51",
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": "d19892df7ce4f08a4a7a3ce96dff3bc6b01925ad"
121
+ "gitHead": "32897dd6a5e92368f1870bba34cbbb38da95da89"
122
122
  }