@cross-deck/web 1.5.6 → 1.5.7
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/dist/contracts.json +11 -11
- package/dist/crossdeck.umd.min.js +2 -2
- package/dist/crossdeck.umd.min.js.map +1 -1
- package/dist/error-codes.json +1 -1
- package/dist/index.cjs +22 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +22 -14
- package/dist/index.mjs.map +1 -1
- package/dist/react.cjs +12 -4
- package/dist/react.cjs.map +1 -1
- package/dist/react.mjs +12 -4
- package/dist/react.mjs.map +1 -1
- package/dist/vue.cjs +12 -4
- package/dist/vue.cjs.map +1 -1
- package/dist/vue.mjs +12 -4
- package/dist/vue.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vue.mjs
CHANGED
|
@@ -67,7 +67,7 @@ function typeMapForStatus(status) {
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
// src/_version.ts
|
|
70
|
-
var SDK_VERSION = "1.5.
|
|
70
|
+
var SDK_VERSION = "1.5.7";
|
|
71
71
|
var SDK_NAME = "@cross-deck/web";
|
|
72
72
|
|
|
73
73
|
// src/http.ts
|
|
@@ -2374,7 +2374,7 @@ var BreadcrumbBuffer = class {
|
|
|
2374
2374
|
};
|
|
2375
2375
|
|
|
2376
2376
|
// src/_diagnostic-telemetry.ts
|
|
2377
|
-
var DIAGNOSTIC_TELEMETRY_ENDPOINT = "https://api.cross-deck.com/v1/
|
|
2377
|
+
var DIAGNOSTIC_TELEMETRY_ENDPOINT = "https://api.cross-deck.com/v1/events";
|
|
2378
2378
|
var DIAGNOSTIC_TELEMETRY_PUBLISHABLE_KEY = "cd_pub_live_9490e7aa029c432abf";
|
|
2379
2379
|
function isDiagnosticTelemetryEnabled() {
|
|
2380
2380
|
return !DIAGNOSTIC_TELEMETRY_PUBLISHABLE_KEY.startsWith(
|
|
@@ -2412,7 +2412,15 @@ function sendDiagnosticTelemetry(payload) {
|
|
|
2412
2412
|
if (!isDiagnosticTelemetryEnabled()) return;
|
|
2413
2413
|
const filtered = filterDiagnosticPayload(payload);
|
|
2414
2414
|
if (Object.keys(filtered).length === 0) return;
|
|
2415
|
-
const body = JSON.stringify(
|
|
2415
|
+
const body = JSON.stringify({
|
|
2416
|
+
events: [
|
|
2417
|
+
{
|
|
2418
|
+
name: "crossdeck.contract_failed",
|
|
2419
|
+
timestamp: Date.now(),
|
|
2420
|
+
properties: filtered
|
|
2421
|
+
}
|
|
2422
|
+
]
|
|
2423
|
+
});
|
|
2416
2424
|
const f = globalThis.fetch;
|
|
2417
2425
|
if (typeof f !== "function") return;
|
|
2418
2426
|
try {
|
|
@@ -4712,7 +4720,7 @@ var CrossdeckClient = class {
|
|
|
4712
4720
|
callerProperties: validation.properties,
|
|
4713
4721
|
superProperties: supers,
|
|
4714
4722
|
deviceProperties: s.deviceInfo,
|
|
4715
|
-
mergedProperties:
|
|
4723
|
+
mergedProperties: enriched
|
|
4716
4724
|
});
|
|
4717
4725
|
}
|
|
4718
4726
|
if (!isError && !isWebVital) {
|