@blocklet/meta 1.16.15-beta-9318a201 → 1.16.15-beta-ed0db59e
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/util.d.ts +2 -2
- package/package.json +5 -5
package/lib/util.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ declare const findComponentByIdV2: (app: TApp, componentId: string | Array<strin
|
|
|
86
86
|
declare const filterComponentsV2: (app: TApp, isEqualFn: (component: TComponent, app: TApp) => boolean) => any[];
|
|
87
87
|
declare const isEnvShareable: (env?: TConfig) => boolean;
|
|
88
88
|
declare const getSharedConfigObj: (component: BlockletState, ancestors?: any[]) => any;
|
|
89
|
-
declare const isPreferenceKey: (x: TConfig) => Boolean;
|
|
89
|
+
declare const isPreferenceKey: (x: Partial<TConfig>) => Boolean;
|
|
90
90
|
declare const getAppMissingConfigs: (blocklet?: any) => any[];
|
|
91
91
|
declare const getComponentMissingConfigs: (component?: any, ancestors?: any[]) => any[];
|
|
92
92
|
declare const isFreeBlocklet: (meta: TBlockletMeta) => boolean;
|
|
@@ -236,7 +236,7 @@ declare const _default: {
|
|
|
236
236
|
getChainInfo: (env: Record<string, string>) => ChainInfo;
|
|
237
237
|
getBlockletChainInfo: (blocklet?: TComponentPro) => ChainInfo;
|
|
238
238
|
isExternalBlocklet: (blocklet?: BlockletState) => boolean;
|
|
239
|
-
isPreferenceKey: (x: TConfig) => Boolean;
|
|
239
|
+
isPreferenceKey: (x: Partial<TConfig>) => Boolean;
|
|
240
240
|
getRolesFromAuthConfig: (config: {
|
|
241
241
|
whoCanAccess: string;
|
|
242
242
|
}) => string[];
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.15-beta-
|
|
6
|
+
"version": "1.16.15-beta-ed0db59e",
|
|
7
7
|
"description": "Library to parse/validate/fix blocklet meta",
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"typings": "./lib/index.d.ts",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"author": "wangshijun <wangshijun2020@gmail.com> (http://github.com/wangshijun)",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@abtnode/constant": "1.16.15-beta-
|
|
28
|
-
"@abtnode/util": "1.16.15-beta-
|
|
27
|
+
"@abtnode/constant": "1.16.15-beta-ed0db59e",
|
|
28
|
+
"@abtnode/util": "1.16.15-beta-ed0db59e",
|
|
29
29
|
"@arcblock/did": "1.18.89",
|
|
30
30
|
"@arcblock/did-ext": "1.18.89",
|
|
31
31
|
"@arcblock/did-util": "1.18.89",
|
|
32
32
|
"@arcblock/jwt": "1.18.89",
|
|
33
|
-
"@blocklet/constant": "1.16.15-beta-
|
|
33
|
+
"@blocklet/constant": "1.16.15-beta-ed0db59e",
|
|
34
34
|
"@ocap/asset": "1.18.89",
|
|
35
35
|
"@ocap/mcrypto": "1.18.89",
|
|
36
36
|
"@ocap/types": "1.18.89",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"ts-node": "^10.9.1",
|
|
79
79
|
"typescript": "^5.0.4"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "647ebe45f6214ea5c284c9234f1319b6ff72f915"
|
|
82
82
|
}
|