@blocklet/env 1.16.54-beta-20251016-050817-2fc632b8 → 1.16.54-beta-20251021-070951-25e3083c
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/index.d.ts +1 -2
- package/lib/index.js +3 -1
- package/package.json +5 -5
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
export declare const blockletEnv: Readonly<{
|
|
2
2
|
appId: string;
|
|
3
3
|
appPid: string;
|
|
4
4
|
appIds: string[];
|
|
@@ -20,4 +20,3 @@ declare const _default: Readonly<{
|
|
|
20
20
|
preferences: Record<string, any>;
|
|
21
21
|
componentDid: string;
|
|
22
22
|
}>;
|
|
23
|
-
export = _default;
|
package/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.54-beta-
|
|
6
|
+
"version": "1.16.54-beta-20251021-070951-25e3083c",
|
|
7
7
|
"description": "Blocklet environment parser and provider",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"typings": "lib/index.d.ts",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"verify": "npm run lint:fix && npm run test && npm run build",
|
|
15
15
|
"lint": "eslint src tests",
|
|
16
16
|
"lint:fix": "npm run lint -- --fix",
|
|
17
|
-
"test": "
|
|
18
|
-
"coverage": "
|
|
17
|
+
"test": "bun test",
|
|
18
|
+
"coverage": "bun test --coverage",
|
|
19
19
|
"clean": "rm -fr lib",
|
|
20
20
|
"build:blocklet-env": "npm run build",
|
|
21
21
|
"build": "tsc",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@blocklet/constant": "1.16.54-beta-
|
|
27
|
+
"@blocklet/constant": "1.16.54-beta-20251021-070951-25e3083c"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@arcblock/eslint-config-ts": "^0.3.3",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"ts-jest": "^29.2.5",
|
|
39
39
|
"typescript": "^5.6.3"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "db517e9013dbad744e38883f56e4eba1fa1615c1"
|
|
42
42
|
}
|