@abtnode/core 1.8.69-beta-54faead3 → 1.8.69-beta-b0bb2d67
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.
|
@@ -167,6 +167,12 @@ class SpacesBackup {
|
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
async syncToSpaces() {
|
|
170
|
+
/**
|
|
171
|
+
* @type {import('@abtnode/client').NodeState}
|
|
172
|
+
*/
|
|
173
|
+
const node = await states.node.read();
|
|
174
|
+
const nodeDid = node.did;
|
|
175
|
+
|
|
170
176
|
const spaceClient = new SpaceClient({
|
|
171
177
|
endpoint: this.spaceEndpoint,
|
|
172
178
|
wallet: this.securityContext.signer,
|
|
@@ -180,6 +186,8 @@ class SpacesBackup {
|
|
|
180
186
|
appDescription: getAppDescription(this.blocklet),
|
|
181
187
|
userDid: this.input.userDid,
|
|
182
188
|
referrer: this.input.referrer,
|
|
189
|
+
nodeDid,
|
|
190
|
+
|
|
183
191
|
source: join(this.backupDir, '/'),
|
|
184
192
|
debug: true,
|
|
185
193
|
concurrency: 32,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.8.69-beta-
|
|
6
|
+
"version": "1.8.69-beta-b0bb2d67",
|
|
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": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@abtnode/auth": "1.8.69-beta-
|
|
23
|
-
"@abtnode/certificate-manager": "1.8.69-beta-
|
|
24
|
-
"@abtnode/constant": "1.8.69-beta-
|
|
25
|
-
"@abtnode/cron": "1.8.69-beta-
|
|
26
|
-
"@abtnode/db": "1.8.69-beta-
|
|
27
|
-
"@abtnode/logger": "1.8.69-beta-
|
|
28
|
-
"@abtnode/queue": "1.8.69-beta-
|
|
29
|
-
"@abtnode/rbac": "1.8.69-beta-
|
|
30
|
-
"@abtnode/router-provider": "1.8.69-beta-
|
|
31
|
-
"@abtnode/static-server": "1.8.69-beta-
|
|
32
|
-
"@abtnode/timemachine": "1.8.69-beta-
|
|
33
|
-
"@abtnode/util": "1.8.69-beta-
|
|
22
|
+
"@abtnode/auth": "1.8.69-beta-b0bb2d67",
|
|
23
|
+
"@abtnode/certificate-manager": "1.8.69-beta-b0bb2d67",
|
|
24
|
+
"@abtnode/constant": "1.8.69-beta-b0bb2d67",
|
|
25
|
+
"@abtnode/cron": "1.8.69-beta-b0bb2d67",
|
|
26
|
+
"@abtnode/db": "1.8.69-beta-b0bb2d67",
|
|
27
|
+
"@abtnode/logger": "1.8.69-beta-b0bb2d67",
|
|
28
|
+
"@abtnode/queue": "1.8.69-beta-b0bb2d67",
|
|
29
|
+
"@abtnode/rbac": "1.8.69-beta-b0bb2d67",
|
|
30
|
+
"@abtnode/router-provider": "1.8.69-beta-b0bb2d67",
|
|
31
|
+
"@abtnode/static-server": "1.8.69-beta-b0bb2d67",
|
|
32
|
+
"@abtnode/timemachine": "1.8.69-beta-b0bb2d67",
|
|
33
|
+
"@abtnode/util": "1.8.69-beta-b0bb2d67",
|
|
34
34
|
"@arcblock/did": "1.18.57",
|
|
35
35
|
"@arcblock/did-motif": "^1.1.10",
|
|
36
36
|
"@arcblock/did-util": "1.18.57",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"@arcblock/jwt": "^1.18.57",
|
|
39
39
|
"@arcblock/pm2-events": "^0.0.5",
|
|
40
40
|
"@arcblock/vc": "1.18.57",
|
|
41
|
-
"@blocklet/constant": "1.8.69-beta-
|
|
42
|
-
"@blocklet/meta": "1.8.69-beta-
|
|
43
|
-
"@blocklet/sdk": "1.8.69-beta-
|
|
44
|
-
"@did-space/client": "0.2.
|
|
41
|
+
"@blocklet/constant": "1.8.69-beta-b0bb2d67",
|
|
42
|
+
"@blocklet/meta": "1.8.69-beta-b0bb2d67",
|
|
43
|
+
"@blocklet/sdk": "1.8.69-beta-b0bb2d67",
|
|
44
|
+
"@did-space/client": "^0.2.29",
|
|
45
45
|
"@fidm/x509": "^1.2.1",
|
|
46
46
|
"@ocap/mcrypto": "1.18.57",
|
|
47
47
|
"@ocap/util": "1.18.57",
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
"express": "^4.18.2",
|
|
90
90
|
"jest": "^27.5.1"
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "d6853c4b55a67526748017268257b869a5092cb1"
|
|
93
93
|
}
|