@imtbl/sdk 1.5.3-alpha.1 → 1.5.3-alpha.2

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/checkout.js CHANGED
@@ -139,7 +139,7 @@ const flattenProperties$1 = (properties) => {
139
139
  };
140
140
 
141
141
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
142
- const SDK_VERSION$1 = '1.5.3-alpha.1';
142
+ const SDK_VERSION$1 = '1.5.3-alpha.2';
143
143
  const getReferrer$1 = () => {
144
144
  if (isNode$1()) {
145
145
  return '';
@@ -17478,7 +17478,7 @@ const flattenProperties = (properties) => {
17478
17478
  };
17479
17479
 
17480
17480
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
17481
- const SDK_VERSION = '1.5.3-alpha.1';
17481
+ const SDK_VERSION = '1.5.3-alpha.2';
17482
17482
  const getReferrer = () => {
17483
17483
  if (isNode()) {
17484
17484
  return '';
@@ -27715,7 +27715,7 @@ class APIError extends Error {
27715
27715
 
27716
27716
  /* eslint-disable implicit-arrow-linebreak */
27717
27717
  const defaultHeaders = {
27718
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.5.3-alpha.1',
27718
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.5.3-alpha.2',
27719
27719
  };
27720
27720
  /**
27721
27721
  * createAPIConfiguration to create a custom Configuration
@@ -29082,7 +29082,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
29082
29082
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
29083
29083
  };
29084
29084
 
29085
- const SDK_VERSION_MARKER = '1.5.3-alpha.1';
29085
+ const SDK_VERSION_MARKER = '1.5.3-alpha.2';
29086
29086
  // This SDK version is replaced by the `yarn build` command ran on the root level
29087
29087
  const globalPackageVersion = () => SDK_VERSION_MARKER;
29088
29088
 
@@ -32712,10 +32712,11 @@ function loadUnresolved(version) {
32712
32712
  if (initScript)
32713
32713
  return { loaded: true, element: initScript };
32714
32714
  const tag = document.createElement('script');
32715
- let cdnUrl = `https://cdn.jsdelivr.net/npm/@imtbl/sdk@${validVersion}/dist/browser/checkout/widgets.js`;
32715
+ let cdnUrl = 'https://cdn.jsdelivr.net/npm/@imtbl/sdk@1.5.3-alpha.1/dist/browser/checkout/widgets.js';
32716
32716
  tag.setAttribute('id', scriptId);
32717
32717
  tag.setAttribute('data-version', validVersion);
32718
32718
  tag.setAttribute('src', cdnUrl);
32719
+ tag.setAttribute('type', 'module');
32719
32720
  document.head.appendChild(tag);
32720
32721
  return { loaded: false, element: tag };
32721
32722
  }
package/dist/config.js CHANGED
@@ -128,7 +128,7 @@ const flattenProperties = (properties) => {
128
128
  };
129
129
 
130
130
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
131
- const SDK_VERSION = '1.5.3-alpha.1';
131
+ const SDK_VERSION = '1.5.3-alpha.2';
132
132
  const getReferrer = () => {
133
133
  if (isNode()) {
134
134
  return '';