@abtnode/core 1.17.1 → 1.17.2-beta-20251111-010532-4bb3b162

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.
@@ -2061,7 +2061,7 @@ class DiskBlockletManager extends BaseBlockletManager {
2061
2061
  }
2062
2062
  }
2063
2063
 
2064
- const receiverUsers = await this.teamManager.getOwnerAndAdminUsers(newState.appPid, 1);
2064
+ const receiverUsers = await this.teamManager.getOwnerAndAdminUsers(newState.appPid, true);
2065
2065
  const receivers = receiverUsers.map((x) => x.did);
2066
2066
 
2067
2067
  if (shouldSendWalletNotification && receivers.length) {
@@ -3980,7 +3980,7 @@ class DiskBlockletManager extends BaseBlockletManager {
3980
3980
 
3981
3981
  const action = `/blocklets/${did}/components?checkUpdate=1`;
3982
3982
  const blockletDashboardAction = `${WELLKNOWN_SERVICE_PATH_PREFIX}/admin/components?checkUpdate=1`;
3983
- const users = await this.teamManager.getOwnerAndAdminUsers(did, 1);
3983
+ const users = await this.teamManager.getOwnerAndAdminUsers(did, true);
3984
3984
  const nodeInfo = await states.node.read();
3985
3985
  const { wallet } = getBlockletInfo(blocklet, nodeInfo.sk);
3986
3986
 
@@ -39024,7 +39024,7 @@ module.exports = require("zlib");
39024
39024
  /***/ ((module) => {
39025
39025
 
39026
39026
  "use strict";
39027
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@abtnode/core","publishConfig":{"access":"public"},"version":"1.17.0","description":"","main":"lib/index.js","files":["lib"],"scripts":{"lint":"eslint tests lib --ignore-pattern \'tests/assets/*\'","lint:fix":"eslint --fix tests lib"},"keywords":[],"author":"wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)","license":"Apache-2.0","dependencies":{"@abtnode/analytics":"1.17.0","@abtnode/auth":"1.17.0","@abtnode/certificate-manager":"1.17.0","@abtnode/constant":"1.17.0","@abtnode/cron":"1.17.0","@abtnode/db-cache":"1.17.0","@abtnode/docker-utils":"1.17.0","@abtnode/logger":"1.17.0","@abtnode/models":"1.17.0","@abtnode/queue":"1.17.0","@abtnode/rbac":"1.17.0","@abtnode/router-provider":"1.17.0","@abtnode/static-server":"1.17.0","@abtnode/timemachine":"1.17.0","@abtnode/util":"1.17.0","@aigne/aigne-hub":"^0.10.4","@arcblock/did":"^1.27.3","@arcblock/did-connect-js":"^1.27.3","@arcblock/did-ext":"^1.27.3","@arcblock/did-motif":"^1.1.14","@arcblock/did-util":"^1.27.3","@arcblock/event-hub":"^1.27.3","@arcblock/jwt":"^1.27.3","@arcblock/pm2-events":"^0.0.5","@arcblock/validator":"^1.27.3","@arcblock/vc":"^1.27.3","@blocklet/constant":"1.17.0","@blocklet/did-space-js":"^1.2.1","@blocklet/env":"1.17.0","@blocklet/error":"^0.3.2","@blocklet/meta":"1.17.0","@blocklet/resolver":"1.17.0","@blocklet/sdk":"1.17.0","@blocklet/server-js":"1.17.0","@blocklet/store":"1.17.0","@blocklet/theme":"^3.2.0","@fidm/x509":"^1.2.1","@ocap/mcrypto":"^1.27.3","@ocap/util":"^1.27.3","@ocap/wallet":"^1.27.3","@slack/webhook":"^5.0.4","archiver":"^7.0.1","axios":"^1.7.9","axon":"^2.0.3","chalk":"^4.1.2","cross-spawn":"^7.0.3","dayjs":"^1.11.13","deep-diff":"^1.0.2","detect-port":"^1.5.1","envfile":"^7.1.0","escape-string-regexp":"^4.0.0","fast-glob":"^3.3.2","filesize":"^10.1.1","flat":"^5.0.2","fs-extra":"^11.2.0","get-port":"^5.1.1","hasha":"^5.2.2","is-base64":"^1.1.0","is-cidr":"4","is-ip":"3","is-url":"^1.2.4","joi":"17.12.2","joi-extension-semver":"^5.0.0","js-yaml":"^4.1.0","kill-port":"^2.0.1","lodash":"^4.17.21","node-stream-zip":"^1.15.0","p-all":"^3.0.0","p-limit":"^3.1.0","p-map":"^4.0.0","p-retry":"^4.6.2","p-wait-for":"^3.2.0","private-ip":"^2.3.4","rate-limiter-flexible":"^5.0.5","read-last-lines":"^1.8.0","semver":"^7.6.3","sequelize":"^6.35.0","shelljs":"^0.8.5","slugify":"^1.6.6","ssri":"^8.0.1","stream-throttle":"^0.1.3","stream-to-promise":"^3.0.0","systeminformation":"^5.23.3","tail":"^2.2.4","tar":"^6.1.11","transliteration":"^2.3.5","ua-parser-js":"^1.0.2","ufo":"^1.5.3","uuid":"^11.1.0","valid-url":"^1.0.9","which":"^2.0.2","xbytes":"^1.8.0"},"devDependencies":{"axios-mock-adapter":"^2.1.0","expand-tilde":"^2.0.2","express":"^4.18.2","unzipper":"^0.10.11"},"gitHead":"e5764f753181ed6a7c615cd4fc6682aacf0cb7cd"}');
39027
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@abtnode/core","publishConfig":{"access":"public"},"version":"1.17.1","description":"","main":"lib/index.js","files":["lib"],"scripts":{"lint":"eslint tests lib --ignore-pattern \'tests/assets/*\'","lint:fix":"eslint --fix tests lib"},"keywords":[],"author":"wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)","license":"Apache-2.0","dependencies":{"@abtnode/analytics":"1.17.1","@abtnode/auth":"1.17.1","@abtnode/certificate-manager":"1.17.1","@abtnode/constant":"1.17.1","@abtnode/cron":"1.17.1","@abtnode/db-cache":"1.17.1","@abtnode/docker-utils":"1.17.1","@abtnode/logger":"1.17.1","@abtnode/models":"1.17.1","@abtnode/queue":"1.17.1","@abtnode/rbac":"1.17.1","@abtnode/router-provider":"1.17.1","@abtnode/static-server":"1.17.1","@abtnode/timemachine":"1.17.1","@abtnode/util":"1.17.1","@aigne/aigne-hub":"^0.10.5","@arcblock/did":"^1.27.4","@arcblock/did-connect-js":"^1.27.4","@arcblock/did-ext":"^1.27.4","@arcblock/did-motif":"^1.1.14","@arcblock/did-util":"^1.27.4","@arcblock/event-hub":"^1.27.4","@arcblock/jwt":"^1.27.4","@arcblock/pm2-events":"^0.0.5","@arcblock/validator":"^1.27.4","@arcblock/vc":"^1.27.4","@blocklet/constant":"1.17.1","@blocklet/did-space-js":"^1.2.2","@blocklet/env":"1.17.1","@blocklet/error":"^0.3.2","@blocklet/meta":"1.17.1","@blocklet/resolver":"1.17.1","@blocklet/sdk":"1.17.1","@blocklet/server-js":"1.17.1","@blocklet/store":"1.17.1","@blocklet/theme":"^3.2.2","@fidm/x509":"^1.2.1","@ocap/mcrypto":"^1.27.4","@ocap/util":"^1.27.4","@ocap/wallet":"^1.27.4","@slack/webhook":"^5.0.4","archiver":"^7.0.1","axios":"^1.7.9","axon":"^2.0.3","chalk":"^4.1.2","cross-spawn":"^7.0.3","dayjs":"^1.11.13","deep-diff":"^1.0.2","detect-port":"^1.5.1","envfile":"^7.1.0","escape-string-regexp":"^4.0.0","fast-glob":"^3.3.2","filesize":"^10.1.1","flat":"^5.0.2","fs-extra":"^11.2.0","get-port":"^5.1.1","hasha":"^5.2.2","is-base64":"^1.1.0","is-cidr":"4","is-ip":"3","is-url":"^1.2.4","joi":"17.12.2","joi-extension-semver":"^5.0.0","js-yaml":"^4.1.0","kill-port":"^2.0.1","lodash":"^4.17.21","node-stream-zip":"^1.15.0","p-all":"^3.0.0","p-limit":"^3.1.0","p-map":"^4.0.0","p-retry":"^4.6.2","p-wait-for":"^3.2.0","private-ip":"^2.3.4","rate-limiter-flexible":"^5.0.5","read-last-lines":"^1.8.0","semver":"^7.6.3","sequelize":"^6.35.0","shelljs":"^0.8.5","slugify":"^1.6.6","ssri":"^8.0.1","stream-throttle":"^0.1.3","stream-to-promise":"^3.0.0","systeminformation":"^5.23.3","tail":"^2.2.4","tar":"^6.1.11","transliteration":"^2.3.5","ua-parser-js":"^1.0.2","ufo":"^1.5.3","uuid":"^11.1.0","valid-url":"^1.0.9","which":"^2.0.2","xbytes":"^1.8.0"},"devDependencies":{"axios-mock-adapter":"^2.1.0","expand-tilde":"^2.0.2","express":"^4.18.2","unzipper":"^0.10.11"},"gitHead":"e5764f753181ed6a7c615cd4fc6682aacf0cb7cd"}');
39028
39028
 
39029
39029
  /***/ }),
39030
39030
 
@@ -954,7 +954,7 @@ class TeamManager extends EventEmitter {
954
954
 
955
955
  const userState = await this.getUserState(did);
956
956
  const users = await userState.find({
957
- where: { did: userDids, approved },
957
+ where: { did: userDids, approved: !!approved },
958
958
  attributes: ['did', 'locale'],
959
959
  });
960
960
  return users;
@@ -188,7 +188,7 @@ const getComponentsAggregate = async () => {
188
188
  const sendServerlessHeartbeat = async () => {
189
189
  logger.info('send serverless heartbeat');
190
190
  const nodeInfo = await states.node.read();
191
- const launcherUrl = nodeInfo?.launcher?.url;
191
+ const launcherUrl = nodeInfo?.registerUrl;
192
192
  if (!launcherUrl) {
193
193
  logger.error('skip heartbeat: launcher url not configured', {
194
194
  launcher: nodeInfo?.launcher,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.17.1",
6
+ "version": "1.17.2-beta-20251111-010532-4bb3b162",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -17,46 +17,46 @@
17
17
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@abtnode/analytics": "1.17.1",
21
- "@abtnode/auth": "1.17.1",
22
- "@abtnode/certificate-manager": "1.17.1",
23
- "@abtnode/constant": "1.17.1",
24
- "@abtnode/cron": "1.17.1",
25
- "@abtnode/db-cache": "1.17.1",
26
- "@abtnode/docker-utils": "1.17.1",
27
- "@abtnode/logger": "1.17.1",
28
- "@abtnode/models": "1.17.1",
29
- "@abtnode/queue": "1.17.1",
30
- "@abtnode/rbac": "1.17.1",
31
- "@abtnode/router-provider": "1.17.1",
32
- "@abtnode/static-server": "1.17.1",
33
- "@abtnode/timemachine": "1.17.1",
34
- "@abtnode/util": "1.17.1",
35
- "@aigne/aigne-hub": "^0.10.4",
36
- "@arcblock/did": "^1.27.3",
37
- "@arcblock/did-connect-js": "^1.27.3",
38
- "@arcblock/did-ext": "^1.27.3",
20
+ "@abtnode/analytics": "1.17.2-beta-20251111-010532-4bb3b162",
21
+ "@abtnode/auth": "1.17.2-beta-20251111-010532-4bb3b162",
22
+ "@abtnode/certificate-manager": "1.17.2-beta-20251111-010532-4bb3b162",
23
+ "@abtnode/constant": "1.17.2-beta-20251111-010532-4bb3b162",
24
+ "@abtnode/cron": "1.17.2-beta-20251111-010532-4bb3b162",
25
+ "@abtnode/db-cache": "1.17.2-beta-20251111-010532-4bb3b162",
26
+ "@abtnode/docker-utils": "1.17.2-beta-20251111-010532-4bb3b162",
27
+ "@abtnode/logger": "1.17.2-beta-20251111-010532-4bb3b162",
28
+ "@abtnode/models": "1.17.2-beta-20251111-010532-4bb3b162",
29
+ "@abtnode/queue": "1.17.2-beta-20251111-010532-4bb3b162",
30
+ "@abtnode/rbac": "1.17.2-beta-20251111-010532-4bb3b162",
31
+ "@abtnode/router-provider": "1.17.2-beta-20251111-010532-4bb3b162",
32
+ "@abtnode/static-server": "1.17.2-beta-20251111-010532-4bb3b162",
33
+ "@abtnode/timemachine": "1.17.2-beta-20251111-010532-4bb3b162",
34
+ "@abtnode/util": "1.17.2-beta-20251111-010532-4bb3b162",
35
+ "@aigne/aigne-hub": "^0.10.5",
36
+ "@arcblock/did": "^1.27.4",
37
+ "@arcblock/did-connect-js": "^1.27.4",
38
+ "@arcblock/did-ext": "^1.27.4",
39
39
  "@arcblock/did-motif": "^1.1.14",
40
- "@arcblock/did-util": "^1.27.3",
41
- "@arcblock/event-hub": "^1.27.3",
42
- "@arcblock/jwt": "^1.27.3",
40
+ "@arcblock/did-util": "^1.27.4",
41
+ "@arcblock/event-hub": "^1.27.4",
42
+ "@arcblock/jwt": "^1.27.4",
43
43
  "@arcblock/pm2-events": "^0.0.5",
44
- "@arcblock/validator": "^1.27.3",
45
- "@arcblock/vc": "^1.27.3",
46
- "@blocklet/constant": "1.17.1",
47
- "@blocklet/did-space-js": "^1.2.1",
48
- "@blocklet/env": "1.17.1",
44
+ "@arcblock/validator": "^1.27.4",
45
+ "@arcblock/vc": "^1.27.4",
46
+ "@blocklet/constant": "1.17.2-beta-20251111-010532-4bb3b162",
47
+ "@blocklet/did-space-js": "^1.2.2",
48
+ "@blocklet/env": "1.17.2-beta-20251111-010532-4bb3b162",
49
49
  "@blocklet/error": "^0.3.2",
50
- "@blocklet/meta": "1.17.1",
51
- "@blocklet/resolver": "1.17.1",
52
- "@blocklet/sdk": "1.17.1",
53
- "@blocklet/server-js": "1.17.1",
54
- "@blocklet/store": "1.17.1",
55
- "@blocklet/theme": "^3.2.0",
50
+ "@blocklet/meta": "1.17.2-beta-20251111-010532-4bb3b162",
51
+ "@blocklet/resolver": "1.17.2-beta-20251111-010532-4bb3b162",
52
+ "@blocklet/sdk": "1.17.2-beta-20251111-010532-4bb3b162",
53
+ "@blocklet/server-js": "1.17.2-beta-20251111-010532-4bb3b162",
54
+ "@blocklet/store": "1.17.2-beta-20251111-010532-4bb3b162",
55
+ "@blocklet/theme": "^3.2.2",
56
56
  "@fidm/x509": "^1.2.1",
57
- "@ocap/mcrypto": "^1.27.3",
58
- "@ocap/util": "^1.27.3",
59
- "@ocap/wallet": "^1.27.3",
57
+ "@ocap/mcrypto": "^1.27.4",
58
+ "@ocap/util": "^1.27.4",
59
+ "@ocap/wallet": "^1.27.4",
60
60
  "@slack/webhook": "^5.0.4",
61
61
  "archiver": "^7.0.1",
62
62
  "axios": "^1.7.9",
@@ -116,5 +116,5 @@
116
116
  "express": "^4.18.2",
117
117
  "unzipper": "^0.10.11"
118
118
  },
119
- "gitHead": "0d57fbc64a22fd09267166b26af46dd84e545287"
119
+ "gitHead": "59e53bd8b3b07701f258919b7349f162b895c8d2"
120
120
  }