@abtnode/core 1.16.11-next-56c94c95 → 1.16.11-next-470e8c41

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/index.js CHANGED
@@ -276,6 +276,7 @@ function ABTNode(options) {
276
276
  hasBlocklet: blockletManager.hasBlocklet.bind(blockletManager),
277
277
  updateAllBlockletEnvironment: blockletManager.updateAllBlockletEnvironment.bind(blockletManager),
278
278
  setBlockletInitialized: blockletManager.setInitialized.bind(blockletManager),
279
+ setBlockletOwner: blockletManager.updateOwner.bind(blockletManager),
279
280
  updateBlockletOwner: blockletManager.updateOwner.bind(blockletManager),
280
281
  getBlockletRuntimeHistory: blockletManager.getRuntimeHistory.bind(blockletManager),
281
282
 
@@ -184,6 +184,7 @@ const setupAppOwner = async (node, sessionId) => {
184
184
  expiresIn: '7d',
185
185
  });
186
186
 
187
+ await node.setBlockletOwner({ did: appDid, owner: { did: ownerDid, pk: ownerPk } });
187
188
  await node.endSession({ id: sessionId });
188
189
  logger.info('Complete install for blocklet', { appDid, ownerDid, sessionId });
189
190
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.11-next-56c94c95",
6
+ "version": "1.16.11-next-470e8c41",
7
7
  "description": "",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -19,18 +19,18 @@
19
19
  "author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@abtnode/auth": "1.16.11-next-56c94c95",
23
- "@abtnode/certificate-manager": "1.16.11-next-56c94c95",
24
- "@abtnode/constant": "1.16.11-next-56c94c95",
25
- "@abtnode/cron": "1.16.11-next-56c94c95",
26
- "@abtnode/logger": "1.16.11-next-56c94c95",
27
- "@abtnode/models": "1.16.11-next-56c94c95",
28
- "@abtnode/queue": "1.16.11-next-56c94c95",
29
- "@abtnode/rbac": "1.16.11-next-56c94c95",
30
- "@abtnode/router-provider": "1.16.11-next-56c94c95",
31
- "@abtnode/static-server": "1.16.11-next-56c94c95",
32
- "@abtnode/timemachine": "1.16.11-next-56c94c95",
33
- "@abtnode/util": "1.16.11-next-56c94c95",
22
+ "@abtnode/auth": "1.16.11-next-470e8c41",
23
+ "@abtnode/certificate-manager": "1.16.11-next-470e8c41",
24
+ "@abtnode/constant": "1.16.11-next-470e8c41",
25
+ "@abtnode/cron": "1.16.11-next-470e8c41",
26
+ "@abtnode/logger": "1.16.11-next-470e8c41",
27
+ "@abtnode/models": "1.16.11-next-470e8c41",
28
+ "@abtnode/queue": "1.16.11-next-470e8c41",
29
+ "@abtnode/rbac": "1.16.11-next-470e8c41",
30
+ "@abtnode/router-provider": "1.16.11-next-470e8c41",
31
+ "@abtnode/static-server": "1.16.11-next-470e8c41",
32
+ "@abtnode/timemachine": "1.16.11-next-470e8c41",
33
+ "@abtnode/util": "1.16.11-next-470e8c41",
34
34
  "@arcblock/did": "1.18.80",
35
35
  "@arcblock/did-auth": "1.18.80",
36
36
  "@arcblock/did-ext": "^1.18.80",
@@ -41,9 +41,9 @@
41
41
  "@arcblock/pm2-events": "^0.0.5",
42
42
  "@arcblock/validator": "^1.18.80",
43
43
  "@arcblock/vc": "1.18.80",
44
- "@blocklet/constant": "1.16.11-next-56c94c95",
45
- "@blocklet/meta": "1.16.11-next-56c94c95",
46
- "@blocklet/sdk": "1.16.11-next-56c94c95",
44
+ "@blocklet/constant": "1.16.11-next-470e8c41",
45
+ "@blocklet/meta": "1.16.11-next-470e8c41",
46
+ "@blocklet/sdk": "1.16.11-next-470e8c41",
47
47
  "@did-space/client": "^0.2.113",
48
48
  "@fidm/x509": "^1.2.1",
49
49
  "@ocap/mcrypto": "1.18.80",
@@ -96,5 +96,5 @@
96
96
  "express": "^4.18.2",
97
97
  "jest": "^27.5.1"
98
98
  },
99
- "gitHead": "23ef1be537b8d97e322f0364943f08fc0a7b3247"
99
+ "gitHead": "2f27bfc6522fdf0db1e9b6df717144c98ae30390"
100
100
  }