@blocklet/meta 1.16.33-beta-20241028-164124-17cf3c21 → 1.16.33-beta-20241029-115916-f749f0cc
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/file.d.ts +1 -0
- package/lib/file.js +1 -0
- package/lib/util.js +2 -2
- package/package.json +4 -4
package/lib/file.d.ts
CHANGED
package/lib/file.js
CHANGED
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
|
|
744
|
-
if (accessRoles === null &&
|
|
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-
|
|
6
|
+
"version": "1.16.33-beta-20241029-115916-f749f0cc",
|
|
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-
|
|
28
|
+
"@abtnode/constant": "1.16.33-beta-20241029-115916-f749f0cc",
|
|
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-
|
|
33
|
+
"@blocklet/constant": "1.16.33-beta-20241029-115916-f749f0cc",
|
|
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": "
|
|
82
|
+
"gitHead": "5c5fe0e1634f3eb6c0ecfc2c103de7b45d8d594a"
|
|
83
83
|
}
|