@blocklet/sdk 1.16.54-beta-20251028-092308-569763e6 → 1.16.54-beta-20251029-055649-a9143beb

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/config.js CHANGED
@@ -384,7 +384,7 @@ const runInServer = (fn, type) =>
384
384
  return fn(...args);
385
385
  }
386
386
  };
387
- const inRuntimeEnv = !!process.env.BLOCKLET_APP_SK;
387
+ const inRuntimeEnv = !!process.env.BLOCKLET_APP_ASK || !!process.env.BLOCKLET_APP_SK;
388
388
  if (inRuntimeEnv && !process.env.BLOCKLET_HOOK_NAME && process.env.BLOCKLET_MODE !== 'test') {
389
389
  notification_1.default.on(constant_1.BlockletInternalEvents.appConfigChanged, _handleAppConfigUpdate);
390
390
  notification_1.default.on(constant_1.BlockletInternalEvents.appSettingChanged, _handleAppSettingUpdate);
@@ -0,0 +1,2 @@
1
+ import testSetup from './test-setup';
2
+ export default testSetup;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const test_setup_1 = __importDefault(require("./test-setup"));
7
+ exports.default = test_setup_1.default;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.54-beta-20251028-092308-569763e6",
6
+ "version": "1.16.54-beta-20251029-055649-a9143beb",
7
7
  "description": "graphql client to read/write data on abt node",
8
8
  "homepage": "https://www.arcblock.io/docs/blocklet-sdk-nodejs",
9
9
  "main": "lib/index.js",
@@ -28,20 +28,20 @@
28
28
  "author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@abtnode/constant": "1.16.54-beta-20251028-092308-569763e6",
32
- "@abtnode/db-cache": "1.16.54-beta-20251028-092308-569763e6",
33
- "@abtnode/util": "1.16.54-beta-20251028-092308-569763e6",
31
+ "@abtnode/constant": "1.16.54-beta-20251029-055649-a9143beb",
32
+ "@abtnode/db-cache": "1.16.54-beta-20251029-055649-a9143beb",
33
+ "@abtnode/util": "1.16.54-beta-20251029-055649-a9143beb",
34
34
  "@arcblock/did": "^1.26.3",
35
35
  "@arcblock/did-connect-js": "^1.26.3",
36
36
  "@arcblock/did-ext": "^1.26.3",
37
37
  "@arcblock/jwt": "^1.26.3",
38
38
  "@arcblock/ws": "^1.26.3",
39
- "@blocklet/constant": "1.16.54-beta-20251028-092308-569763e6",
40
- "@blocklet/env": "1.16.54-beta-20251028-092308-569763e6",
39
+ "@blocklet/constant": "1.16.54-beta-20251029-055649-a9143beb",
40
+ "@blocklet/env": "1.16.54-beta-20251029-055649-a9143beb",
41
41
  "@blocklet/error": "^0.2.5",
42
- "@blocklet/meta": "1.16.54-beta-20251028-092308-569763e6",
43
- "@blocklet/server-js": "1.16.54-beta-20251028-092308-569763e6",
44
- "@blocklet/theme": "^3.1.51",
42
+ "@blocklet/meta": "1.16.54-beta-20251029-055649-a9143beb",
43
+ "@blocklet/server-js": "1.16.54-beta-20251029-055649-a9143beb",
44
+ "@blocklet/theme": "^3.1.53",
45
45
  "@did-connect/authenticator": "^2.2.8",
46
46
  "@did-connect/handler": "^2.2.8",
47
47
  "@nedb/core": "^2.1.5",
@@ -84,5 +84,5 @@
84
84
  "ts-node": "^10.9.1",
85
85
  "typescript": "^5.6.3"
86
86
  },
87
- "gitHead": "6143a5fe06862e017da9a2dca2b0ff18c318587b"
87
+ "gitHead": "4ac4eebb4ade000c0fca21b1d542054a9dafd776"
88
88
  }