@abtnode/util 1.16.45-beta-20250625-064956-91b0fb8f → 1.16.45-beta-20250626-115702-00b49b4c

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.
@@ -13,9 +13,9 @@ function parseBooleanString(obj, keys) {
13
13
  const newObj = { ...obj };
14
14
 
15
15
  (keys || Object.keys(newObj)).forEach((key) => {
16
- if (newObj[key] === 'true') {
16
+ if ([true, 1, 'true', '1'].includes(newObj[key])) {
17
17
  newObj[key] = true;
18
- } else if (newObj[key] === 'false') {
18
+ } else if ([false, 0, 'false', '0'].includes(newObj[key])) {
19
19
  newObj[key] = false;
20
20
  }
21
21
  });
@@ -225,6 +225,9 @@ const generateBlockletMeta = async (destDir, baseName, indexPath, user) => {
225
225
  proxyBehavior: 'service',
226
226
  },
227
227
  ],
228
+ capabilities: {
229
+ navigation: false,
230
+ },
228
231
  };
229
232
 
230
233
  const metaPath = path.join(destDir, BLOCKLET_BUNDLE_FOLDER_NAME, BLOCKLET_META_FILE);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.45-beta-20250625-064956-91b0fb8f",
6
+ "version": "1.16.45-beta-20250626-115702-00b49b4c",
7
7
  "description": "ArcBlock's JavaScript utility",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -18,13 +18,13 @@
18
18
  "author": "polunzh <polunzh@gmail.com> (http://github.com/polunzh)",
19
19
  "license": "Apache-2.0",
20
20
  "dependencies": {
21
- "@abtnode/constant": "1.16.45-beta-20250625-064956-91b0fb8f",
22
- "@abtnode/db-cache": "1.16.45-beta-20250625-064956-91b0fb8f",
21
+ "@abtnode/constant": "1.16.45-beta-20250626-115702-00b49b4c",
22
+ "@abtnode/db-cache": "1.16.45-beta-20250626-115702-00b49b4c",
23
23
  "@arcblock/did": "1.20.14",
24
24
  "@arcblock/pm2": "^5.4.0",
25
- "@blocklet/constant": "1.16.45-beta-20250625-064956-91b0fb8f",
25
+ "@blocklet/constant": "1.16.45-beta-20250626-115702-00b49b4c",
26
26
  "@blocklet/error": "^0.2.5",
27
- "@blocklet/meta": "1.16.45-beta-20250625-064956-91b0fb8f",
27
+ "@blocklet/meta": "1.16.45-beta-20250626-115702-00b49b4c",
28
28
  "@blocklet/xss": "^0.1.36",
29
29
  "@ocap/client": "1.20.14",
30
30
  "@ocap/mcrypto": "1.20.14",
@@ -89,5 +89,5 @@
89
89
  "fs-extra": "^11.2.0",
90
90
  "jest": "^29.7.0"
91
91
  },
92
- "gitHead": "90b9c4c9352f9ae33139f4e376b97b3be43698fa"
92
+ "gitHead": "8a70f88f034e2926185d4d0b9503ab8430a772a1"
93
93
  }