@statsig/statsig-node-core 0.0.10-beta.5 → 0.1.0-beta.1

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/index.js +2 -0
  2. package/package.json +9 -9
package/index.js CHANGED
@@ -28,6 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Statsig = void 0;
30
30
  const node_fetch_1 = __importDefault(require("node-fetch"));
31
+ const error_boundary_1 = require("./error_boundary");
31
32
  const statsig_generated_1 = require("./statsig-generated");
32
33
  __exportStar(require("./statsig-generated"), exports);
33
34
  const FETCH_FUNC = (method, url, headers, body) => __awaiter(void 0, void 0, void 0, function* () {
@@ -53,6 +54,7 @@ const FETCH_FUNC = (method, url, headers, body) => __awaiter(void 0, void 0, voi
53
54
  class Statsig extends statsig_generated_1.StatsigNapiInternal {
54
55
  constructor(sdkKey, options) {
55
56
  super(FETCH_FUNC, sdkKey, options);
57
+ error_boundary_1.ErrorBoundary.wrap(this);
56
58
  }
57
59
  }
58
60
  exports.Statsig = Statsig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statsig/statsig-node-core",
3
- "version": "0.0.10-beta.5",
3
+ "version": "0.1.0-beta.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "jest --colors",
@@ -44,13 +44,13 @@
44
44
  ]
45
45
  },
46
46
  "optionalDependencies": {
47
- "@statsig/statsig-node-core-linux-x64-musl": "0.0.10-beta.5",
48
- "@statsig/statsig-node-core-linux-x64-gnu": "0.0.10-beta.5",
49
- "@statsig/statsig-node-core-win32-x64-msvc": "0.0.10-beta.5",
50
- "@statsig/statsig-node-core-darwin-x64": "0.0.10-beta.5",
51
- "@statsig/statsig-node-core-win32-ia32-msvc": "0.0.10-beta.5",
52
- "@statsig/statsig-node-core-linux-arm64-musl": "0.0.10-beta.5",
53
- "@statsig/statsig-node-core-linux-arm64-gnu": "0.0.10-beta.5",
54
- "@statsig/statsig-node-core-darwin-arm64": "0.0.10-beta.5"
47
+ "@statsig/statsig-node-core-linux-x64-musl": "0.1.0-beta.1",
48
+ "@statsig/statsig-node-core-linux-x64-gnu": "0.1.0-beta.1",
49
+ "@statsig/statsig-node-core-win32-x64-msvc": "0.1.0-beta.1",
50
+ "@statsig/statsig-node-core-darwin-x64": "0.1.0-beta.1",
51
+ "@statsig/statsig-node-core-win32-ia32-msvc": "0.1.0-beta.1",
52
+ "@statsig/statsig-node-core-linux-arm64-musl": "0.1.0-beta.1",
53
+ "@statsig/statsig-node-core-linux-arm64-gnu": "0.1.0-beta.1",
54
+ "@statsig/statsig-node-core-darwin-arm64": "0.1.0-beta.1"
55
55
  }
56
56
  }