@blocklet/meta 1.16.33-beta-20241028-005826-60afb7c4 → 1.16.33-beta-20241029-014847-2937778a

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 +2 -2
  2. package/package.json +4 -4
package/lib/util.js CHANGED
@@ -740,8 +740,8 @@ const checkPublicAccess = (securityConfig) => {
740
740
  return true;
741
741
  }
742
742
  const accessRoles = securityConfig?.accessPolicy?.roles ?? null;
743
- const accessRevert = securityConfig?.accessPolicy?.revert ?? false;
744
- if (accessRoles === null && accessRevert === false) {
743
+ const accessReverse = securityConfig?.accessPolicy?.reverse ?? false;
744
+ if (accessRoles === null && accessReverse === false) {
745
745
  return true;
746
746
  }
747
747
  return false;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.33-beta-20241028-005826-60afb7c4",
6
+ "version": "1.16.33-beta-20241029-014847-2937778a",
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.33-beta-20241028-005826-60afb7c4",
28
+ "@abtnode/constant": "1.16.33-beta-20241029-014847-2937778a",
29
29
  "@arcblock/did": "1.18.136",
30
30
  "@arcblock/did-ext": "1.18.136",
31
31
  "@arcblock/did-util": "1.18.136",
32
32
  "@arcblock/jwt": "1.18.136",
33
- "@blocklet/constant": "1.16.33-beta-20241028-005826-60afb7c4",
33
+ "@blocklet/constant": "1.16.33-beta-20241029-014847-2937778a",
34
34
  "@ocap/asset": "1.18.136",
35
35
  "@ocap/mcrypto": "1.18.136",
36
36
  "@ocap/types": "1.18.136",
@@ -79,5 +79,5 @@
79
79
  "ts-node": "^10.9.1",
80
80
  "typescript": "^5.6.3"
81
81
  },
82
- "gitHead": "12b595141a023fe3c3fdb2d7083b3f11624601e8"
82
+ "gitHead": "d0d238bb840a4a87b94da852a0ab2a306e30da70"
83
83
  }