@schematichq/schematic-react 1.2.14 → 1.2.15
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.
|
@@ -799,7 +799,7 @@ function contextString(context) {
|
|
|
799
799
|
}, {});
|
|
800
800
|
return JSON.stringify(sortedContext);
|
|
801
801
|
}
|
|
802
|
-
var version = "1.2.
|
|
802
|
+
var version = "1.2.15";
|
|
803
803
|
var anonymousIdKey = "schematicId";
|
|
804
804
|
var Schematic = class {
|
|
805
805
|
additionalHeaders = {};
|
|
@@ -1280,14 +1280,12 @@ var Schematic = class {
|
|
|
1280
1280
|
*/
|
|
1281
1281
|
identify = (body) => {
|
|
1282
1282
|
this.debug(`identify:`, body);
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
});
|
|
1288
|
-
} catch (error) {
|
|
1283
|
+
this.setContext({
|
|
1284
|
+
company: body.company?.keys,
|
|
1285
|
+
user: body.keys
|
|
1286
|
+
}).catch((error) => {
|
|
1289
1287
|
console.warn("Error setting context:", error);
|
|
1290
|
-
}
|
|
1288
|
+
});
|
|
1291
1289
|
return this.handleEvent("identify", body);
|
|
1292
1290
|
};
|
|
1293
1291
|
/**
|
|
@@ -2199,7 +2197,7 @@ var notifyFlagValueListener = (listener, value) => {
|
|
|
2199
2197
|
var import_react = __toESM(require("react"));
|
|
2200
2198
|
|
|
2201
2199
|
// src/version.ts
|
|
2202
|
-
var version2 = "1.2.
|
|
2200
|
+
var version2 = "1.2.15";
|
|
2203
2201
|
|
|
2204
2202
|
// src/context/schematic.tsx
|
|
2205
2203
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -754,7 +754,7 @@ function contextString(context) {
|
|
|
754
754
|
}, {});
|
|
755
755
|
return JSON.stringify(sortedContext);
|
|
756
756
|
}
|
|
757
|
-
var version = "1.2.
|
|
757
|
+
var version = "1.2.15";
|
|
758
758
|
var anonymousIdKey = "schematicId";
|
|
759
759
|
var Schematic = class {
|
|
760
760
|
additionalHeaders = {};
|
|
@@ -1235,14 +1235,12 @@ var Schematic = class {
|
|
|
1235
1235
|
*/
|
|
1236
1236
|
identify = (body) => {
|
|
1237
1237
|
this.debug(`identify:`, body);
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
});
|
|
1243
|
-
} catch (error) {
|
|
1238
|
+
this.setContext({
|
|
1239
|
+
company: body.company?.keys,
|
|
1240
|
+
user: body.keys
|
|
1241
|
+
}).catch((error) => {
|
|
1244
1242
|
console.warn("Error setting context:", error);
|
|
1245
|
-
}
|
|
1243
|
+
});
|
|
1246
1244
|
return this.handleEvent("identify", body);
|
|
1247
1245
|
};
|
|
1248
1246
|
/**
|
|
@@ -2154,7 +2152,7 @@ var notifyFlagValueListener = (listener, value) => {
|
|
|
2154
2152
|
import React, { createContext, useEffect, useMemo, useRef } from "react";
|
|
2155
2153
|
|
|
2156
2154
|
// src/version.ts
|
|
2157
|
-
var version2 = "1.2.
|
|
2155
|
+
var version2 = "1.2.15";
|
|
2158
2156
|
|
|
2159
2157
|
// src/context/schematic.tsx
|
|
2160
2158
|
import { jsx } from "react/jsx-runtime";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematichq/schematic-react",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.15",
|
|
4
4
|
"main": "dist/schematic-react.cjs.js",
|
|
5
5
|
"module": "dist/schematic-react.esm.js",
|
|
6
6
|
"types": "dist/schematic-react.d.ts",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"prepare": "husky"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@schematichq/schematic-js": "^1.2.
|
|
34
|
+
"@schematichq/schematic-js": "^1.2.15"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@eslint/js": "^9.39.
|
|
37
|
+
"@eslint/js": "^9.39.2",
|
|
38
38
|
"@microsoft/api-extractor": "^7.55.0",
|
|
39
39
|
"@testing-library/dom": "^10.4.1",
|
|
40
40
|
"@testing-library/jest-dom": "^6.9.1",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@types/react": "^19.2.6",
|
|
43
43
|
"@vitest/browser": "^4.0.8",
|
|
44
44
|
"esbuild": "^0.27.0",
|
|
45
|
-
"eslint": "^9.39.
|
|
45
|
+
"eslint": "^9.39.2",
|
|
46
46
|
"eslint-plugin-import": "^2.32.0",
|
|
47
47
|
"eslint-plugin-react": "^7.37.5",
|
|
48
48
|
"eslint-plugin-react-hooks": "^7.0.1",
|