cryptique-sdk 1.2.10 → 1.2.11
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/cjs/index.js +3 -3
- package/lib/esm/index.js +3 -3
- package/lib/umd/index.js +3 -3
- package/package.json +1 -1
package/lib/cjs/index.js
CHANGED
|
@@ -5254,8 +5254,8 @@ if (window.Cryptique && window.Cryptique.initialized) ; else {
|
|
|
5254
5254
|
* NOTE:
|
|
5255
5255
|
* We intentionally do NOT wrap window.fetch here, to avoid confusing
|
|
5256
5256
|
* browser DevTools attribution for third‑party requests. All SDK
|
|
5257
|
-
* fetch-based calls to backend.cryptique.io are already
|
|
5258
|
-
* inside APIClient.send(), so fetch wrapping is redundant.
|
|
5257
|
+
* fetch-based calls to the SDK API backend (sdkapi.cryptique.io) are already
|
|
5258
|
+
* error-handled inside APIClient.send(), so fetch wrapping is redundant.
|
|
5259
5259
|
*/
|
|
5260
5260
|
startNetworkTracking() {
|
|
5261
5261
|
try {
|
|
@@ -5274,7 +5274,7 @@ if (window.Cryptique && window.Cryptique.initialized) ; else {
|
|
|
5274
5274
|
const xhr = this;
|
|
5275
5275
|
|
|
5276
5276
|
// Pass third-party XHR requests through completely untouched
|
|
5277
|
-
if (!xhr._cryptiqueUrl || !xhr._cryptiqueUrl.includes('
|
|
5277
|
+
if (!xhr._cryptiqueUrl || !xhr._cryptiqueUrl.includes('sdkapi.cryptique.io')) {
|
|
5278
5278
|
return originalXHRSend.apply(this, args);
|
|
5279
5279
|
}
|
|
5280
5280
|
|
package/lib/esm/index.js
CHANGED
|
@@ -5252,8 +5252,8 @@ if (window.Cryptique && window.Cryptique.initialized) ; else {
|
|
|
5252
5252
|
* NOTE:
|
|
5253
5253
|
* We intentionally do NOT wrap window.fetch here, to avoid confusing
|
|
5254
5254
|
* browser DevTools attribution for third‑party requests. All SDK
|
|
5255
|
-
* fetch-based calls to backend.cryptique.io are already
|
|
5256
|
-
* inside APIClient.send(), so fetch wrapping is redundant.
|
|
5255
|
+
* fetch-based calls to the SDK API backend (sdkapi.cryptique.io) are already
|
|
5256
|
+
* error-handled inside APIClient.send(), so fetch wrapping is redundant.
|
|
5257
5257
|
*/
|
|
5258
5258
|
startNetworkTracking() {
|
|
5259
5259
|
try {
|
|
@@ -5272,7 +5272,7 @@ if (window.Cryptique && window.Cryptique.initialized) ; else {
|
|
|
5272
5272
|
const xhr = this;
|
|
5273
5273
|
|
|
5274
5274
|
// Pass third-party XHR requests through completely untouched
|
|
5275
|
-
if (!xhr._cryptiqueUrl || !xhr._cryptiqueUrl.includes('
|
|
5275
|
+
if (!xhr._cryptiqueUrl || !xhr._cryptiqueUrl.includes('sdkapi.cryptique.io')) {
|
|
5276
5276
|
return originalXHRSend.apply(this, args);
|
|
5277
5277
|
}
|
|
5278
5278
|
|
package/lib/umd/index.js
CHANGED
|
@@ -5258,8 +5258,8 @@
|
|
|
5258
5258
|
* NOTE:
|
|
5259
5259
|
* We intentionally do NOT wrap window.fetch here, to avoid confusing
|
|
5260
5260
|
* browser DevTools attribution for third‑party requests. All SDK
|
|
5261
|
-
* fetch-based calls to backend.cryptique.io are already
|
|
5262
|
-
* inside APIClient.send(), so fetch wrapping is redundant.
|
|
5261
|
+
* fetch-based calls to the SDK API backend (sdkapi.cryptique.io) are already
|
|
5262
|
+
* error-handled inside APIClient.send(), so fetch wrapping is redundant.
|
|
5263
5263
|
*/
|
|
5264
5264
|
startNetworkTracking() {
|
|
5265
5265
|
try {
|
|
@@ -5278,7 +5278,7 @@
|
|
|
5278
5278
|
const xhr = this;
|
|
5279
5279
|
|
|
5280
5280
|
// Pass third-party XHR requests through completely untouched
|
|
5281
|
-
if (!xhr._cryptiqueUrl || !xhr._cryptiqueUrl.includes('
|
|
5281
|
+
if (!xhr._cryptiqueUrl || !xhr._cryptiqueUrl.includes('sdkapi.cryptique.io')) {
|
|
5282
5282
|
return originalXHRSend.apply(this, args);
|
|
5283
5283
|
}
|
|
5284
5284
|
|
package/package.json
CHANGED