@uniformdev/context 20.7.1-alpha.63 → 20.7.1-alpha.67
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/LICENSE.txt +1 -1
- package/dist/index.esm.js +5 -3
- package/dist/index.js +5 -3
- package/dist/index.mjs +5 -3
- package/package.json +3 -4
package/LICENSE.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
©
|
1
|
+
© 2025 Uniform Systems, Inc. All Rights Reserved.
|
2
2
|
See details of Uniform Systems, Inc. Master Subscription Agreement here: https://uniform.dev/eula
|
package/dist/index.esm.js
CHANGED
@@ -2258,7 +2258,6 @@ var ScriptType = /* @__PURE__ */ ((ScriptType2) => {
|
|
2258
2258
|
var EdgeNodeTagName = "nesitag";
|
2259
2259
|
|
2260
2260
|
// src/insights/index.ts
|
2261
|
-
import { v4 } from "uuid";
|
2262
2261
|
var getBasePayload = () => {
|
2263
2262
|
const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
2264
2263
|
const locale = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.userLanguage || navigator.language || navigator.browserLanguage || "en";
|
@@ -2597,8 +2596,11 @@ var enableUniformInsights = (options) => {
|
|
2597
2596
|
};
|
2598
2597
|
};
|
2599
2598
|
var generalRandomId = () => {
|
2600
|
-
|
2601
|
-
|
2599
|
+
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
2600
|
+
const id = crypto.randomUUID();
|
2601
|
+
return id.replaceAll("-", "").toLowerCase();
|
2602
|
+
}
|
2603
|
+
return Math.random().toString(32).substring(2);
|
2602
2604
|
};
|
2603
2605
|
|
2604
2606
|
// src/logging/enableConsoleLogDrain.ts
|
package/dist/index.js
CHANGED
@@ -2352,7 +2352,6 @@ var ScriptType = /* @__PURE__ */ ((ScriptType2) => {
|
|
2352
2352
|
var EdgeNodeTagName = "nesitag";
|
2353
2353
|
|
2354
2354
|
// src/insights/index.ts
|
2355
|
-
var import_uuid = require("uuid");
|
2356
2355
|
var getBasePayload = () => {
|
2357
2356
|
const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
2358
2357
|
const locale = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.userLanguage || navigator.language || navigator.browserLanguage || "en";
|
@@ -2691,8 +2690,11 @@ var enableUniformInsights = (options) => {
|
|
2691
2690
|
};
|
2692
2691
|
};
|
2693
2692
|
var generalRandomId = () => {
|
2694
|
-
|
2695
|
-
|
2693
|
+
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
2694
|
+
const id = crypto.randomUUID();
|
2695
|
+
return id.replaceAll("-", "").toLowerCase();
|
2696
|
+
}
|
2697
|
+
return Math.random().toString(32).substring(2);
|
2696
2698
|
};
|
2697
2699
|
|
2698
2700
|
// src/logging/enableConsoleLogDrain.ts
|
package/dist/index.mjs
CHANGED
@@ -2258,7 +2258,6 @@ var ScriptType = /* @__PURE__ */ ((ScriptType2) => {
|
|
2258
2258
|
var EdgeNodeTagName = "nesitag";
|
2259
2259
|
|
2260
2260
|
// src/insights/index.ts
|
2261
|
-
import { v4 } from "uuid";
|
2262
2261
|
var getBasePayload = () => {
|
2263
2262
|
const timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
2264
2263
|
const locale = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.userLanguage || navigator.language || navigator.browserLanguage || "en";
|
@@ -2597,8 +2596,11 @@ var enableUniformInsights = (options) => {
|
|
2597
2596
|
};
|
2598
2597
|
};
|
2599
2598
|
var generalRandomId = () => {
|
2600
|
-
|
2601
|
-
|
2599
|
+
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
2600
|
+
const id = crypto.randomUUID();
|
2601
|
+
return id.replaceAll("-", "").toLowerCase();
|
2602
|
+
}
|
2603
|
+
return Math.random().toString(32).substring(2);
|
2602
2604
|
};
|
2603
2605
|
|
2604
2606
|
// src/logging/enableConsoleLogDrain.ts
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@uniformdev/context",
|
3
|
-
"version": "20.7.1-alpha.
|
3
|
+
"version": "20.7.1-alpha.67+918070a68e",
|
4
4
|
"description": "Uniform Context core package",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
6
6
|
"main": "./dist/index.js",
|
@@ -59,8 +59,7 @@
|
|
59
59
|
"js-cookie": "3.0.5",
|
60
60
|
"mitt": "^3.0.1",
|
61
61
|
"p-limit": "^3.1.0",
|
62
|
-
"rfdc": "^1.4.1"
|
63
|
-
"uuid": "9.0.1"
|
62
|
+
"rfdc": "^1.4.1"
|
64
63
|
},
|
65
64
|
"files": [
|
66
65
|
"/dist"
|
@@ -68,5 +67,5 @@
|
|
68
67
|
"publishConfig": {
|
69
68
|
"access": "public"
|
70
69
|
},
|
71
|
-
"gitHead": "
|
70
|
+
"gitHead": "918070a68e7170a76f4f1ae4ac0c94cf87441bcf"
|
72
71
|
}
|