@blocklet/meta 1.16.8-beta-186fd5aa → 1.16.8-beta-7d175032

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.d.ts +2 -2
  2. package/package.json +14 -14
package/lib/util.d.ts CHANGED
@@ -115,7 +115,7 @@ type ChainInfo = {
115
115
  host: string;
116
116
  };
117
117
  declare const getChainInfo: (env: Record<string, string>) => ChainInfo;
118
- declare const getBlockletChainInfo: (blocklet: ComponentPro) => ChainInfo;
118
+ declare const getBlockletChainInfo: (blocklet?: ComponentPro) => ChainInfo;
119
119
  declare const isExternalBlocklet: (blocklet?: BlockletState) => boolean;
120
120
  declare const getRolesFromAuthConfig: (config: {
121
121
  whoCanAccess: string;
@@ -211,7 +211,7 @@ declare const _default: {
211
211
  baseUrl: string;
212
212
  }) => string;
213
213
  getChainInfo: (env: Record<string, string>) => ChainInfo;
214
- getBlockletChainInfo: (blocklet: ComponentPro) => ChainInfo;
214
+ getBlockletChainInfo: (blocklet?: ComponentPro) => ChainInfo;
215
215
  isExternalBlocklet: (blocklet?: BlockletState) => boolean;
216
216
  isPreferenceKey: (x: TConfig) => Boolean;
217
217
  getRolesFromAuthConfig: (config: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.8-beta-186fd5aa",
6
+ "version": "1.16.8-beta-7d175032",
7
7
  "description": "Library to parse/validate/fix blocklet meta",
8
8
  "main": "./lib/index.js",
9
9
  "typings": "./lib/index.d.ts",
@@ -24,18 +24,18 @@
24
24
  "author": "wangshijun <wangshijun2020@gmail.com> (http://github.com/wangshijun)",
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
- "@abtnode/constant": "1.16.8-beta-186fd5aa",
28
- "@abtnode/util": "1.16.8-beta-186fd5aa",
29
- "@arcblock/did": "1.18.78",
30
- "@arcblock/did-ext": "1.18.78",
31
- "@arcblock/did-util": "1.18.78",
32
- "@arcblock/jwt": "1.18.78",
33
- "@blocklet/constant": "1.16.8-beta-186fd5aa",
34
- "@ocap/asset": "1.18.78",
35
- "@ocap/mcrypto": "1.18.78",
36
- "@ocap/types": "1.18.78",
37
- "@ocap/util": "1.18.78",
38
- "@ocap/wallet": "1.18.78",
27
+ "@abtnode/constant": "1.16.8-beta-7d175032",
28
+ "@abtnode/util": "1.16.8-beta-7d175032",
29
+ "@arcblock/did": "1.18.80",
30
+ "@arcblock/did-ext": "1.18.80",
31
+ "@arcblock/did-util": "1.18.80",
32
+ "@arcblock/jwt": "1.18.80",
33
+ "@blocklet/constant": "1.16.8-beta-7d175032",
34
+ "@ocap/asset": "1.18.80",
35
+ "@ocap/mcrypto": "1.18.80",
36
+ "@ocap/types": "1.18.80",
37
+ "@ocap/util": "1.18.80",
38
+ "@ocap/wallet": "1.18.80",
39
39
  "ajv": "^8.11.0",
40
40
  "axios": "^0.27.2",
41
41
  "cjk-length": "^1.0.0",
@@ -79,5 +79,5 @@
79
79
  "ts-node": "^10.9.1",
80
80
  "typescript": "^4.8.4"
81
81
  },
82
- "gitHead": "3150c3a5c3e041fe7f5a3902418d9d62adee3173"
82
+ "gitHead": "681bf5cac8fc4c4b90c64ad4c6a4faaa99a81f97"
83
83
  }