@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 CHANGED
@@ -1,4 +1,4 @@
1
- declare const _default: Readonly<{
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
@@ -1,3 +1,5 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.blockletEnv = void 0;
2
4
  const util_1 = require("./util");
3
- module.exports = (0, util_1.parseEnv)();
5
+ exports.blockletEnv = (0, util_1.parseEnv)();
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.54-beta-20251016-050817-2fc632b8",
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": "jest --forceExit --detectOpenHandles",
18
- "coverage": "npm run test -- --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-20251016-050817-2fc632b8"
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": "6b624f4b7eba2ecee164a57112adda1a93aff513"
41
+ "gitHead": "db517e9013dbad744e38883f56e4eba1fa1615c1"
42
42
  }