@zonos/elements 1.3.47 → 1.3.49

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 (83) hide show
  1. package/dist/cjs/{cart-85870c2e.js → cart-8fac8840.js} +3 -3
  2. package/dist/cjs/{createCustomEvent-aacc2833.js → createCustomEvent-21addb75.js} +1 -1
  3. package/dist/cjs/index.cjs.js +7 -7
  4. package/dist/cjs/{paypal-e4428dbf.js → paypal-8d507ea7.js} +1 -1
  5. package/dist/cjs/zonos-address_8.cjs.entry.js +1 -1
  6. package/dist/cjs/zonos-cart-items_12.cjs.entry.js +3 -3
  7. package/dist/cjs/zonos-checkout.cjs.entry.js +3 -3
  8. package/dist/cjs/zonos-controller.cjs.entry.js +1 -1
  9. package/dist/cjs/zonos-country-flag.cjs.entry.js +1 -1
  10. package/dist/cjs/zonos-country-select_4.cjs.entry.js +1 -1
  11. package/dist/cjs/zonos-hello-dialog.cjs.entry.js +1 -1
  12. package/dist/cjs/zonos-hello.cjs.entry.js +1 -1
  13. package/dist/cjs/zonos-language-select_2.cjs.entry.js +1 -1
  14. package/dist/cjs/zonos-notification_3.cjs.entry.js +2 -2
  15. package/dist/collection/components/utils/getNextFallbackApi.js +1 -1
  16. package/dist/collection/components/utils/handleFetch.js +2 -2
  17. package/dist/collection/environment.js +6 -2
  18. package/dist/collection/utils/generateCloudflareDeployUrl.js +2 -1
  19. package/dist/esm/{cart-3aae6236.js → cart-e14f2366.js} +3 -3
  20. package/dist/esm/{createCustomEvent-ccb20b48.js → createCustomEvent-444ddf02.js} +1 -1
  21. package/dist/esm/index.js +7 -7
  22. package/dist/esm/{paypal-b1589e7b.js → paypal-eef2a2a3.js} +1 -1
  23. package/dist/esm/zonos-address_8.entry.js +1 -1
  24. package/dist/esm/zonos-cart-items_12.entry.js +3 -3
  25. package/dist/esm/zonos-checkout.entry.js +3 -3
  26. package/dist/esm/zonos-controller.entry.js +1 -1
  27. package/dist/esm/zonos-country-flag.entry.js +1 -1
  28. package/dist/esm/zonos-country-select_4.entry.js +1 -1
  29. package/dist/esm/zonos-hello-dialog.entry.js +1 -1
  30. package/dist/esm/zonos-hello.entry.js +1 -1
  31. package/dist/esm/zonos-language-select_2.entry.js +1 -1
  32. package/dist/esm/zonos-notification_3.entry.js +2 -2
  33. package/dist/esm-es5/{cart-3aae6236.js → cart-e14f2366.js} +1 -1
  34. package/dist/esm-es5/{createCustomEvent-ccb20b48.js → createCustomEvent-444ddf02.js} +1 -1
  35. package/dist/esm-es5/index.js +1 -1
  36. package/dist/esm-es5/{paypal-b1589e7b.js → paypal-eef2a2a3.js} +1 -1
  37. package/dist/esm-es5/zonos-address_8.entry.js +1 -1
  38. package/dist/esm-es5/zonos-cart-items_12.entry.js +1 -1
  39. package/dist/esm-es5/zonos-checkout.entry.js +1 -1
  40. package/dist/esm-es5/zonos-controller.entry.js +1 -1
  41. package/dist/esm-es5/zonos-country-flag.entry.js +1 -1
  42. package/dist/esm-es5/zonos-country-select_4.entry.js +1 -1
  43. package/dist/esm-es5/zonos-hello-dialog.entry.js +1 -1
  44. package/dist/esm-es5/zonos-hello.entry.js +1 -1
  45. package/dist/esm-es5/zonos-language-select_2.entry.js +1 -1
  46. package/dist/esm-es5/zonos-notification_3.entry.js +1 -1
  47. package/dist/scripts/index.js +1 -1
  48. package/dist/scripts/loadZonos.js +1 -1
  49. package/dist/scripts/zonos.js +1 -1
  50. package/dist/types/components/utils/getNextFallbackApi.d.ts +3 -3
  51. package/dist/types/environment.d.ts +3 -1
  52. package/dist/zonos-elements/assets/RemoveIcon.svg +1 -1
  53. package/dist/zonos-elements/index.esm.js +1 -1
  54. package/dist/zonos-elements/{p-9c9e8288.entry.js → p-0f59fba9.entry.js} +1 -1
  55. package/dist/zonos-elements/{p-3fb9e320.system.js → p-1bc23926.system.js} +1 -1
  56. package/dist/zonos-elements/{p-8949d4a2.system.entry.js → p-3e6d9006.system.entry.js} +1 -1
  57. package/dist/zonos-elements/{p-57c67bbf.entry.js → p-412e5260.entry.js} +1 -1
  58. package/dist/zonos-elements/{p-d5b21512.entry.js → p-46bb8fd1.entry.js} +1 -1
  59. package/dist/zonos-elements/{p-d5741e4e.system.entry.js → p-4d0c5518.system.entry.js} +1 -1
  60. package/dist/zonos-elements/{p-6d613cee.system.entry.js → p-5a2d27cd.system.entry.js} +1 -1
  61. package/dist/zonos-elements/{p-8b02985f.entry.js → p-6058a37a.entry.js} +1 -1
  62. package/dist/zonos-elements/{p-f25559fd.entry.js → p-62db3f69.entry.js} +1 -1
  63. package/dist/zonos-elements/{p-08a43211.js → p-7da895a1.js} +1 -1
  64. package/dist/zonos-elements/{p-f9b50965.system.js → p-7ec264d3.system.js} +1 -1
  65. package/dist/zonos-elements/{p-3fd66f5b.system.entry.js → p-a171d025.system.entry.js} +1 -1
  66. package/dist/zonos-elements/{p-3403a81a.system.entry.js → p-a4a2ccb6.system.entry.js} +1 -1
  67. package/dist/zonos-elements/{p-ea58a4a6.entry.js → p-a6f1a790.entry.js} +1 -1
  68. package/dist/zonos-elements/{p-284520ae.js → p-b0d100bc.js} +1 -1
  69. package/dist/zonos-elements/{p-c035c64f.system.entry.js → p-b4963e20.system.entry.js} +1 -1
  70. package/dist/zonos-elements/{p-a576cbb8.system.js → p-b5c47b6d.system.js} +1 -1
  71. package/dist/zonos-elements/{p-3225705b.entry.js → p-b5ef10aa.entry.js} +1 -1
  72. package/dist/zonos-elements/{p-aa0127b3.system.js → p-baa03426.system.js} +1 -1
  73. package/dist/zonos-elements/{p-1738fe3f.entry.js → p-c024a9b3.entry.js} +1 -1
  74. package/dist/zonos-elements/p-c78dd680.system.js +1 -1
  75. package/dist/zonos-elements/{p-ed496e98.entry.js → p-c8393dae.entry.js} +1 -1
  76. package/dist/zonos-elements/{p-c3ca9e48.system.entry.js → p-ca508c67.system.entry.js} +1 -1
  77. package/dist/zonos-elements/{p-7d0663ab.system.entry.js → p-d5268ba8.system.entry.js} +1 -1
  78. package/dist/zonos-elements/{p-eefeab02.js → p-da3edde8.js} +1 -1
  79. package/dist/zonos-elements/{p-b9815df4.entry.js → p-ec21c7f0.entry.js} +1 -1
  80. package/dist/zonos-elements/{p-e4033aa7.system.entry.js → p-ee05c6c1.system.entry.js} +1 -1
  81. package/dist/zonos-elements/{p-90935326.system.entry.js → p-ef664d5a.system.entry.js} +1 -1
  82. package/dist/zonos-elements/zonos-elements.esm.js +1 -1
  83. package/package.json +1 -1
@@ -7173,7 +7173,7 @@ const translate = (...[key, replacement]) => {
7173
7173
  return ((_b = translationStore.translatedChunks[key]) === null || _b === void 0 ? void 0 : _b.value) || key;
7174
7174
  };
7175
7175
 
7176
- const fallbackApiType = ['vercel', 'cloudflare'];
7176
+ const fallbackApiType = ['cloudflare', 'vercel'];
7177
7177
  const MAIN_BASE_API_TYPE = fallbackApiType[0];
7178
7178
  const fallbackApiList = {
7179
7179
  cloudflare: "https://route.elements.zonos.com",
@@ -7391,8 +7391,8 @@ const handleRequestWithFallback = async ({ basePathType, options, path, }) => {
7391
7391
  status: response === null || response === void 0 ? void 0 : response.status,
7392
7392
  statusText: response === null || response === void 0 ? void 0 : response.statusText,
7393
7393
  },
7394
- // When the error is unknown, error reporting should be enabled for period of time after release, so we can monitor the error. We should always report error for the last fallback API fails
7395
- shouldPostReleaseErrorReporting: !!nextFallbackApiType,
7394
+ // When the error is unknown, error reporting should be enabled for period of time after release, so we can monitor the error.
7395
+ shouldPostReleaseErrorReporting: true,
7396
7396
  });
7397
7397
  }
7398
7398
  if (shouldCallFallback) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const cart = require('./cart-85870c2e.js');
3
+ const cart = require('./cart-8fac8840.js');
4
4
  const zonosStore = require('./zonosStore-56401fdb.js');
5
5
 
6
6
  const trackConversionEvent = async (eventName, metadata) => {
@@ -94,7 +94,7 @@ const getZonosQaUrl = () => {
94
94
  return null;
95
95
  }
96
96
  const qaUrl = extractZonosQaUrl(window.location.href);
97
- const cdnUrl = "https://v1.3.47.js.zonos.com";
97
+ const cdnUrl = "https://v1.3.49.js.zonos.com";
98
98
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
99
99
  if (!qaUrl &&
100
100
  (cdnUrl.includes('test.') ||
@@ -268,10 +268,10 @@ const zonosLoadUrl = (() => {
268
268
  }
269
269
  return null;
270
270
  })();
271
- const ZONOS_URL = "https://v1.3.47.js.zonos.com";
272
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.47";
273
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.47";
274
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.47";
271
+ const ZONOS_URL = "https://v1.3.49.js.zonos.com";
272
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.49";
273
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.49";
274
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.49";
275
275
  const MAIN_LOAD_CDN_TYPE = 'jsdelivr';
276
276
  const INTER_FONT_URL = 'https://rsms.me';
277
277
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
@@ -287,13 +287,13 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
287
287
  !!window.location.search.match(/\?.*(&*)zonosConversionTest/);
288
288
  Zonos._paypalMockResponse = null;
289
289
  Zonos.isBigCommerce = false;
290
- Zonos.releaseDate = "1726091038924";
290
+ Zonos.releaseDate = "1726500921881";
291
291
  /**
292
292
  * By default, the package will load from npm
293
293
  */
294
294
  Zonos.isNpm = true;
295
295
  Zonos.zonosQaUrl = null;
296
- Zonos.version = `v${"1.3.47"}`;
296
+ Zonos.version = `v${"1.3.49"}`;
297
297
  Zonos.modeAlerted = false;
298
298
  Zonos.tempCartData = null;
299
299
  Zonos.paypal = null;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const zonosStore = require('./zonosStore-56401fdb.js');
4
- const cart = require('./cart-85870c2e.js');
4
+ const cart = require('./cart-8fac8840.js');
5
5
  const isDarkColor = require('./isDarkColor-4eb96a1e.js');
6
6
  const logError = require('./logError-4e2f2020.js');
7
7
 
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-85870c2e.js');
6
+ const cart = require('./cart-8fac8840.js');
7
7
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
8
8
  const logError = require('./logError-4e2f2020.js');
9
9
  const containsNonLatinChars = require('./containsNonLatinChars-2be5129b.js');
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-85870c2e.js');
6
+ const cart = require('./cart-8fac8840.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const paypal = require('./paypal-e4428dbf.js');
8
+ const paypal = require('./paypal-8d507ea7.js');
9
9
  const zonosStore = require('./zonosStore-56401fdb.js');
10
- const createCustomEvent = require('./createCustomEvent-aacc2833.js');
10
+ const createCustomEvent = require('./createCustomEvent-21addb75.js');
11
11
  const getBorderRadius = require('./getBorderRadius-4413e191.js');
12
12
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
13
13
  const ILanguage = require('./ILanguage-98b04442.js');
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-85870c2e.js');
7
- const paypal = require('./paypal-e4428dbf.js');
6
+ const cart = require('./cart-8fac8840.js');
7
+ const paypal = require('./paypal-8d507ea7.js');
8
8
  const zonosStore = require('./zonosStore-56401fdb.js');
9
- const createCustomEvent = require('./createCustomEvent-aacc2833.js');
9
+ const createCustomEvent = require('./createCustomEvent-21addb75.js');
10
10
  const isCheckoutMobile = require('./isCheckoutMobile-f491ca7c.js');
11
11
  const logError = require('./logError-4e2f2020.js');
12
12
  const classes = require('./classes-b7918f56.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-85870c2e.js');
6
+ const cart = require('./cart-8fac8840.js');
7
7
  const zonosStore = require('./zonosStore-56401fdb.js');
8
8
  const logError = require('./logError-4e2f2020.js');
9
9
  require('./isDarkColor-4eb96a1e.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-85870c2e.js');
6
+ const cart = require('./cart-8fac8840.js');
7
7
  const zonosStore = require('./zonosStore-56401fdb.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  require('./logError-4e2f2020.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-85870c2e.js');
6
+ const cart = require('./cart-8fac8840.js');
7
7
  const zonosStore = require('./zonosStore-56401fdb.js');
8
8
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
9
9
  const isDarkColor = require('./isDarkColor-4eb96a1e.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-85870c2e.js');
6
+ const cart = require('./cart-8fac8840.js');
7
7
  const zonosStore = require('./zonosStore-56401fdb.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const formatStringWithLinks = require('./formatStringWithLinks-52341fc7.js');
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
6
  const zonosStore = require('./zonosStore-56401fdb.js');
7
- const cart = require('./cart-85870c2e.js');
7
+ const cart = require('./cart-8fac8840.js');
8
8
  const classes = require('./classes-b7918f56.js');
9
9
  const logError = require('./logError-4e2f2020.js');
10
10
  const getHasMoreSpaceOnRight = require('./getHasMoreSpaceOnRight-4c94667f.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-d56e0a8b.js');
6
- const cart = require('./cart-85870c2e.js');
6
+ const cart = require('./cart-8fac8840.js');
7
7
  const zonosStore = require('./zonosStore-56401fdb.js');
8
8
  const ILanguage = require('./ILanguage-98b04442.js');
9
9
  require('./logError-4e2f2020.js');
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-d56e0a8b.js');
6
6
  const zonosStore = require('./zonosStore-56401fdb.js');
7
7
  const classes = require('./classes-b7918f56.js');
8
- const cart = require('./cart-85870c2e.js');
8
+ const cart = require('./cart-8fac8840.js');
9
9
  const logError = require('./logError-4e2f2020.js');
10
- const paypal = require('./paypal-e4428dbf.js');
10
+ const paypal = require('./paypal-8d507ea7.js');
11
11
  require('./isDarkColor-4eb96a1e.js');
12
12
  require('./getBorderRadius-4413e191.js');
13
13
 
@@ -1,4 +1,4 @@
1
- const fallbackApiType = ['vercel', 'cloudflare'];
1
+ const fallbackApiType = ['cloudflare', 'vercel'];
2
2
  export const MAIN_BASE_API_TYPE = fallbackApiType[0];
3
3
  export const fallbackApiList = {
4
4
  cloudflare: process.env.NEXT_PUBLIC_ZONOS_CLOUDFLARE_URL,
@@ -143,8 +143,8 @@ const handleRequestWithFallback = async ({ basePathType, options, path, }) => {
143
143
  status: response === null || response === void 0 ? void 0 : response.status,
144
144
  statusText: response === null || response === void 0 ? void 0 : response.statusText,
145
145
  },
146
- // When the error is unknown, error reporting should be enabled for period of time after release, so we can monitor the error. We should always report error for the last fallback API fails
147
- shouldPostReleaseErrorReporting: !!nextFallbackApiType,
146
+ // When the error is unknown, error reporting should be enabled for period of time after release, so we can monitor the error.
147
+ shouldPostReleaseErrorReporting: true,
148
148
  });
149
149
  }
150
150
  if (shouldCallFallback) {
@@ -13,8 +13,10 @@ export const isClientSide = typeof window !== 'undefined';
13
13
  export const inProdEnvironment = process.env.NODE_ENV === 'production';
14
14
  export const inTestEnvironment = process.env.NODE_ENV === 'test';
15
15
  export const inStorybook = !!process.env.IS_STORYBOOK;
16
- export const inVercel = !!process.env.VERCEL;
17
16
  export const inCI = !!process.env.CI;
17
+ export const inGithubActions = process.env.BUILD_ENV === 'github_actions';
18
+ export const inCloudflare = process.env.BUILD_ENV === 'cloudflare';
19
+ export const inVercel = process.env.BUILD_ENV === 'vercel';
18
20
  const isVercelPreview = inVercel && process.env.VERCEL_ENV === 'preview';
19
21
  export const isVercelProd = inVercel && process.env.VERCEL_ENV === 'production';
20
22
  const packageVersion = `${process.env.npm_package_version}` ||
@@ -28,7 +30,9 @@ const UNPKG_ZONOS_URL = `https://unpkg.com/@zonos/elements@${packageVersion}`;
28
30
  * @example https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.41/dist/scripts/loadZonos.js
29
31
  */
30
32
  const CDNJS_ZONOS_URL = `https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/${packageVersion}`;
31
- const currentBranch = process.env.VERCEL_GIT_COMMIT_REF || process.env.BRANCH_NAME;
33
+ const currentBranch = process.env.VERCEL_GIT_COMMIT_REF ||
34
+ process.env.BRANCH_NAME ||
35
+ process.env.CF_PAGES_BRANCH;
32
36
  if (typeof window === 'undefined') {
33
37
  // storybook can't access to any "node" modules
34
38
  config();
@@ -13,7 +13,8 @@ export const generateCloudflareDeployUrl = ({ branchName, projectName, }) => {
13
13
  .replace(/\//g, '-') // Replace slashes with hyphens
14
14
  .replace(/[^a-z0-9-_]/g, '') // Remove any characters that aren't alphanumeric, hyphens, or underscores
15
15
  .replace(/-+/g, '-') // Collapse multiple hyphens into a single hyphen
16
- .replace(/^-+|-+$/g, ''); // Trim hyphens from start and end
16
+ .replace(/^-+|-+$/g, '') // Trim hyphens from start and end
17
+ .slice(0, 28); // truncate to 28 characters;
17
18
  if (!normalizedProjectName || !normalizedBranchName) {
18
19
  return null;
19
20
  }
@@ -7171,7 +7171,7 @@ const translate = (...[key, replacement]) => {
7171
7171
  return ((_b = translationStore.translatedChunks[key]) === null || _b === void 0 ? void 0 : _b.value) || key;
7172
7172
  };
7173
7173
 
7174
- const fallbackApiType = ['vercel', 'cloudflare'];
7174
+ const fallbackApiType = ['cloudflare', 'vercel'];
7175
7175
  const MAIN_BASE_API_TYPE = fallbackApiType[0];
7176
7176
  const fallbackApiList = {
7177
7177
  cloudflare: "https://route.elements.zonos.com",
@@ -7389,8 +7389,8 @@ const handleRequestWithFallback = async ({ basePathType, options, path, }) => {
7389
7389
  status: response === null || response === void 0 ? void 0 : response.status,
7390
7390
  statusText: response === null || response === void 0 ? void 0 : response.statusText,
7391
7391
  },
7392
- // When the error is unknown, error reporting should be enabled for period of time after release, so we can monitor the error. We should always report error for the last fallback API fails
7393
- shouldPostReleaseErrorReporting: !!nextFallbackApiType,
7392
+ // When the error is unknown, error reporting should be enabled for period of time after release, so we can monitor the error.
7393
+ shouldPostReleaseErrorReporting: true,
7394
7394
  });
7395
7395
  }
7396
7396
  if (shouldCallFallback) {
@@ -1,4 +1,4 @@
1
- import { x as handleFetch, e as cartStore, l as localizationStore } from './cart-3aae6236.js';
1
+ import { x as handleFetch, e as cartStore, l as localizationStore } from './cart-e14f2366.js';
2
2
  import { z as zonosStore } from './zonosStore-8fc9ceb2.js';
3
3
 
4
4
  const trackConversionEvent = async (eventName, metadata) => {
package/dist/esm/index.js CHANGED
@@ -90,7 +90,7 @@ const getZonosQaUrl = () => {
90
90
  return null;
91
91
  }
92
92
  const qaUrl = extractZonosQaUrl(window.location.href);
93
- const cdnUrl = "https://v1.3.47.js.zonos.com";
93
+ const cdnUrl = "https://v1.3.49.js.zonos.com";
94
94
  // when the qaUrl is not set and the built URL is from the test domain, use the test domain for testing
95
95
  if (!qaUrl &&
96
96
  (cdnUrl.includes('test.') ||
@@ -264,10 +264,10 @@ const zonosLoadUrl = (() => {
264
264
  }
265
265
  return null;
266
266
  })();
267
- const ZONOS_URL = "https://v1.3.47.js.zonos.com";
268
- const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.47";
269
- const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.47";
270
- const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.47";
267
+ const ZONOS_URL = "https://v1.3.49.js.zonos.com";
268
+ const JS_DELIVR_ZONOS_URL = zonosLoadUrl || "https://cdn.jsdelivr.net/npm/@zonos/elements@1.3.49";
269
+ const UNPKG_ZONOS_URL = "https://unpkg.com/@zonos/elements@1.3.49";
270
+ const CDNJS_ZONOS_URL = "https://cdnjs.cloudflare.com/ajax/libs/zonos-elements/1.3.49";
271
271
  const MAIN_LOAD_CDN_TYPE = 'jsdelivr';
272
272
  const INTER_FONT_URL = 'https://rsms.me';
273
273
  const GOOGLE_FONT_URL = 'https://fonts.googleapis.com';
@@ -283,13 +283,13 @@ Zonos.zonosConversionTest = typeof window !== 'undefined' &&
283
283
  !!window.location.search.match(/\?.*(&*)zonosConversionTest/);
284
284
  Zonos._paypalMockResponse = null;
285
285
  Zonos.isBigCommerce = false;
286
- Zonos.releaseDate = "1726091038924";
286
+ Zonos.releaseDate = "1726500921881";
287
287
  /**
288
288
  * By default, the package will load from npm
289
289
  */
290
290
  Zonos.isNpm = true;
291
291
  Zonos.zonosQaUrl = null;
292
- Zonos.version = `v${"1.3.47"}`;
292
+ Zonos.version = `v${"1.3.49"}`;
293
293
  Zonos.modeAlerted = false;
294
294
  Zonos.tempCartData = null;
295
295
  Zonos.paypal = null;
@@ -1,5 +1,5 @@
1
1
  import { z as zonosStore, c as createStore } from './zonosStore-8fc9ceb2.js';
2
- import { x as handleFetch, e as cartStore, r as stripeStoreHandleInventoryCheck, t as translate, q as cartStoreNextStep, j as cartStoreClearCheckoutInterval, y as jsonParse } from './cart-3aae6236.js';
2
+ import { x as handleFetch, e as cartStore, r as stripeStoreHandleInventoryCheck, t as translate, q as cartStoreNextStep, j as cartStoreClearCheckoutInterval, y as jsonParse } from './cart-e14f2366.js';
3
3
  import { t as tinycolor } from './isDarkColor-3119e351.js';
4
4
  import { l as log, a as logError } from './logError-c456c092.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { k as stripeStore, l as localizationStore, t as translate } from './cart-3aae6236.js';
2
+ import { k as stripeStore, l as localizationStore, t as translate } from './cart-e14f2366.js';
3
3
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
4
4
  import { a as logError } from './logError-c456c092.js';
5
5
  import { i as isTextContainsNonLatinChars, c as containsNonLatinChars } from './containsNonLatinChars-2d8810c3.js';
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, a as getAssetPath, h, H as Host, F as Fragment, c as createEvent, d as getElement } from './index-86b8247e.js';
2
- import { e as cartStore, G as currencyFormat, H as cartStoreHasOneEligibleItem, t as translate, x as handleFetch, v as stripeStoreReset, c as sendErrorLog, k as stripeStore, I as stripeStoreRetrievePayment, J as stripeStoreMessageBasedOnStatus, l as localizationStore, K as stripeStoreTranslateAddressToLatin, L as cartStoreUpdateSelectedShippingOption, M as cartStoreGetShippingTransitInfo } from './cart-3aae6236.js';
2
+ import { e as cartStore, G as currencyFormat, H as cartStoreHasOneEligibleItem, t as translate, x as handleFetch, v as stripeStoreReset, c as sendErrorLog, k as stripeStore, I as stripeStoreRetrievePayment, J as stripeStoreMessageBasedOnStatus, l as localizationStore, K as stripeStoreTranslateAddressToLatin, L as cartStoreUpdateSelectedShippingOption, M as cartStoreGetShippingTransitInfo } from './cart-e14f2366.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { s as submitGtag, a as paypalStore, b as paypalStoreReset, c as paypalStoreHasPaypalEnabled, i as isContrastColor } from './paypal-b1589e7b.js';
4
+ import { s as submitGtag, a as paypalStore, b as paypalStoreReset, c as paypalStoreHasPaypalEnabled, i as isContrastColor } from './paypal-eef2a2a3.js';
5
5
  import { z as zonosStore, g as getZonosStoreTheme, d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
6
- import { t as trackConversionEvent, c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-ccb20b48.js';
6
+ import { t as trackConversionEvent, c as createCustomEvent, g as getIsTestMode } from './createCustomEvent-444ddf02.js';
7
7
  import { g as getBorderRadius } from './getBorderRadius-3ba98361.js';
8
8
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
9
9
  import { l as languages } from './ILanguage-cd6acb72.js';
@@ -1,8 +1,8 @@
1
1
  import { r as registerInstance, h, H as Host, F as Fragment } from './index-86b8247e.js';
2
- import { l as localizationStore, s as stripeStoreGetDomesticShippingSession, a as localizationStoreUpdateSelectedCountryCode, b as stripeStoreCleanupDomesticShippingSession, c as sendErrorLog, d as stripeStoreSaveDomesticShippingSession, i as initStripeElements, e as cartStore, f as cartStoreUpdateItems, g as cartStoreReset, h as cartStoreResetTabItems, j as cartStoreClearCheckoutInterval, k as stripeStore, m as stripeStoreInitCheckoutSession, n as cartStoreStartCheckoutInterval, o as cartStoreUpdateToErrorState, t as translate, p as stripeStorePrefetchLandedCost, q as cartStoreNextStep, r as stripeStoreHandleInventoryCheck, u as stripeStoreConfirmPayment, v as stripeStoreReset, w as localizationStoreOnUpdate } from './cart-3aae6236.js';
3
- import { s as submitGtag, p as paypalInitScript } from './paypal-b1589e7b.js';
2
+ import { l as localizationStore, s as stripeStoreGetDomesticShippingSession, a as localizationStoreUpdateSelectedCountryCode, b as stripeStoreCleanupDomesticShippingSession, c as sendErrorLog, d as stripeStoreSaveDomesticShippingSession, i as initStripeElements, e as cartStore, f as cartStoreUpdateItems, g as cartStoreReset, h as cartStoreResetTabItems, j as cartStoreClearCheckoutInterval, k as stripeStore, m as stripeStoreInitCheckoutSession, n as cartStoreStartCheckoutInterval, o as cartStoreUpdateToErrorState, t as translate, p as stripeStorePrefetchLandedCost, q as cartStoreNextStep, r as stripeStoreHandleInventoryCheck, u as stripeStoreConfirmPayment, v as stripeStoreReset, w as localizationStoreOnUpdate } from './cart-e14f2366.js';
3
+ import { s as submitGtag, p as paypalInitScript } from './paypal-eef2a2a3.js';
4
4
  import { z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-8fc9ceb2.js';
5
- import { c as createCustomEvent, t as trackConversionEvent, g as getIsTestMode } from './createCustomEvent-ccb20b48.js';
5
+ import { c as createCustomEvent, t as trackConversionEvent, g as getIsTestMode } from './createCustomEvent-444ddf02.js';
6
6
  import { i as isCheckoutMobile } from './isCheckoutMobile-8846dccb.js';
7
7
  import { l as log, a as logError } from './logError-c456c092.js';
8
8
  import { c as classes } from './classes-0d95c529.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-86b8247e.js';
2
- import { x as handleFetch, z as isValidSelector, k as stripeStore, A as initLocalizationStore, e as cartStore, a as localizationStoreUpdateSelectedCountryCode } from './cart-3aae6236.js';
2
+ import { x as handleFetch, z as isValidSelector, k as stripeStore, A as initLocalizationStore, e as cartStore, a as localizationStoreUpdateSelectedCountryCode } from './cart-e14f2366.js';
3
3
  import { z as zonosStore, b as zonosStoreInitSetting, d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
4
4
  import { a as logError, l as log } from './logError-c456c092.js';
5
5
  import './isDarkColor-3119e351.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { l as localizationStore } from './cart-3aae6236.js';
2
+ import { l as localizationStore } from './cart-e14f2366.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import './logError-c456c092.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement } from './index-86b8247e.js';
2
- import { a as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './cart-3aae6236.js';
2
+ import { a as localizationStoreUpdateSelectedCountryCode, t as translate, l as localizationStore } from './cart-e14f2366.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
4
4
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
5
5
  import { i as isDarkColor } from './isDarkColor-3119e351.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host } from './index-86b8247e.js';
2
- import { t as translate, l as localizationStore, G as currencyFormat } from './cart-3aae6236.js';
2
+ import { t as translate, l as localizationStore, G as currencyFormat } from './cart-e14f2366.js';
3
3
  import { z as zonosStore } from './zonosStore-8fc9ceb2.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { f as formatStringWithLinks } from './formatStringWithLinks-9e819405.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
2
  import { _ as _root, e as _baseGetTag, i as isObjectLike_1, f as isObject_1, z as zonosStore, g as getZonosStoreTheme, m as mergeConfig } from './zonosStore-8fc9ceb2.js';
3
- import { x as handleFetch, l as localizationStore, z as isValidSelector, t as translate, B as getZCountryUrlParam, C as setZCountryUrlParam, D as currencyDisplay, E as currencyConvertAndFormat, F as currencyConvert, G as currencyFormat } from './cart-3aae6236.js';
3
+ import { x as handleFetch, l as localizationStore, z as isValidSelector, t as translate, B as getZCountryUrlParam, C as setZCountryUrlParam, D as currencyDisplay, E as currencyConvertAndFormat, F as currencyConvert, G as currencyFormat } from './cart-e14f2366.js';
4
4
  import { c as classes } from './classes-0d95c529.js';
5
5
  import { a as logError, l as log } from './logError-c456c092.js';
6
6
  import { g as getHasMoreSpaceOnRight } from './getHasMoreSpaceOnRight-70eb913a.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-86b8247e.js';
2
- import { N as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-3aae6236.js';
2
+ import { N as localizationStoreUpdateSelectedLocale, t as translate, l as localizationStore } from './cart-e14f2366.js';
3
3
  import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
4
4
  import { l as languages } from './ILanguage-cd6acb72.js';
5
5
  import './logError-c456c092.js';
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, H as Host, d as getElement, c as createEvent } from './index-86b8247e.js';
2
2
  import { d as zonosStoreFontFamily } from './zonosStore-8fc9ceb2.js';
3
3
  import { c as classes } from './classes-0d95c529.js';
4
- import { k as stripeStore } from './cart-3aae6236.js';
4
+ import { k as stripeStore } from './cart-e14f2366.js';
5
5
  import { a as logError, l as log } from './logError-c456c092.js';
6
- import { d as paypalStoreInitButtons } from './paypal-b1589e7b.js';
6
+ import { d as paypalStoreInitButtons } from './paypal-eef2a2a3.js';
7
7
  import './isDarkColor-3119e351.js';
8
8
  import './getBorderRadius-3ba98361.js';
9
9