@blocklet/meta 1.16.25 → 1.16.26-beta-e0056285

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.
Files changed (2) hide show
  1. package/lib/util.js +6 -0
  2. package/package.json +5 -5
package/lib/util.js CHANGED
@@ -404,6 +404,12 @@ const wipeSensitiveData = (blocklet) => {
404
404
  delete blocklet.configObj;
405
405
  // @ts-ignore
406
406
  delete blocklet.environmentObj;
407
+ if (blocklet.settings?.connectedStores) {
408
+ blocklet.settings.connectedStores.forEach((store) => {
409
+ store.accessToken = store.accessToken ? '__encrypted__' : '';
410
+ store.developerDid = store.developerDid ? '__encrypted__' : '';
411
+ });
412
+ }
407
413
  }, { sync: true });
408
414
  return blocklet;
409
415
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.25",
6
+ "version": "1.16.26-beta-e0056285",
7
7
  "description": "Library to parse/validate/fix blocklet meta",
8
8
  "main": "./lib/index.js",
9
9
  "typings": "./lib/index.d.ts",
@@ -25,12 +25,12 @@
25
25
  "author": "wangshijun <wangshijun2020@gmail.com> (http://github.com/wangshijun)",
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@abtnode/constant": "1.16.25",
28
+ "@abtnode/constant": "1.16.26-beta-e0056285",
29
29
  "@arcblock/did": "1.18.113",
30
30
  "@arcblock/did-ext": "1.18.113",
31
31
  "@arcblock/did-util": "1.18.113",
32
32
  "@arcblock/jwt": "1.18.113",
33
- "@blocklet/constant": "1.16.25",
33
+ "@blocklet/constant": "1.16.26-beta-e0056285",
34
34
  "@ocap/asset": "1.18.113",
35
35
  "@ocap/mcrypto": "1.18.113",
36
36
  "@ocap/types": "1.18.113",
@@ -46,7 +46,7 @@
46
46
  "is-absolute-url": "^3.0.3",
47
47
  "is-glob": "^4.0.3",
48
48
  "is-var-name": "^2.0.0",
49
- "joi": "17.11.0",
49
+ "joi": "17.12.2",
50
50
  "joi-extension-semver": "^5.0.0",
51
51
  "js-yaml": "^4.1.0",
52
52
  "json-stable-stringify": "^1.0.1",
@@ -79,5 +79,5 @@
79
79
  "ts-node": "^10.9.1",
80
80
  "typescript": "^5.0.4"
81
81
  },
82
- "gitHead": "8752b9a0caa8745e16e1de8db4ef696b713ffb4d"
82
+ "gitHead": "a79b8637ad50d136e7c5d91bfb41dc7a7c337485"
83
83
  }