@imtbl/sdk 1.7.0 → 1.7.1

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
@@ -107,7 +107,7 @@ const storeDetail$1 = (key, value) => {
107
107
  };
108
108
  setItem$1(Store$1.RUNTIME, RUNTIME_DETAILS$1);
109
109
  };
110
- const getDetail$1$1 = (key) => {
110
+ const getDetail$1 = (key) => {
111
111
  // Handle the scenario where detail is a falsy value
112
112
  if (RUNTIME_DETAILS$1[key] === undefined) {
113
113
  return undefined;
@@ -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.7.0';
142
+ const SDK_VERSION$1 = '1.7.1';
143
143
  const getReferrer$1 = () => {
144
144
  if (isNode$1()) {
145
145
  return '';
@@ -182,7 +182,7 @@ const initialise$2 = async () => {
182
182
  initialised$1 = true;
183
183
  try {
184
184
  const runtimeDetails = flattenProperties$1(getRuntimeDetails$1());
185
- const existingRuntimeId = getDetail$1$1(Detail$1.RUNTIME_ID);
185
+ const existingRuntimeId = getDetail$1(Detail$1.RUNTIME_ID);
186
186
  const body = {
187
187
  version: 1,
188
188
  data: {
@@ -314,7 +314,6 @@ const setPublishableApiKeyFn$1 = (publishableApiKey) => {
314
314
  storeDetail$1(Detail$1.PUBLISHABLE_API_KEY, publishableApiKey);
315
315
  };
316
316
  errorBoundary$1(getGlobalisedValue$2('setPublishableApiKey', setPublishableApiKeyFn$1));
317
- errorBoundary$1(getGlobalisedValue$2('getDetail', getDetail$1$1));
318
317
 
319
318
  var Environment$1;
320
319
  (function (Environment) {
@@ -17447,7 +17446,7 @@ const storeDetail = (key, value) => {
17447
17446
  };
17448
17447
  setItem(Store.RUNTIME, RUNTIME_DETAILS);
17449
17448
  };
17450
- const getDetail$1 = (key) => {
17449
+ const getDetail = (key) => {
17451
17450
  // Handle the scenario where detail is a falsy value
17452
17451
  if (RUNTIME_DETAILS[key] === undefined) {
17453
17452
  return undefined;
@@ -17479,7 +17478,7 @@ const flattenProperties = (properties) => {
17479
17478
  };
17480
17479
 
17481
17480
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
17482
- const SDK_VERSION = '1.7.0';
17481
+ const SDK_VERSION = '1.7.1';
17483
17482
  const getReferrer = () => {
17484
17483
  if (isNode()) {
17485
17484
  return '';
@@ -17522,7 +17521,7 @@ const initialise = async () => {
17522
17521
  initialised = true;
17523
17522
  try {
17524
17523
  const runtimeDetails = flattenProperties(getRuntimeDetails());
17525
- const existingRuntimeId = getDetail$1(Detail.RUNTIME_ID);
17524
+ const existingRuntimeId = getDetail(Detail.RUNTIME_ID);
17526
17525
  const body = {
17527
17526
  version: 1,
17528
17527
  data: {
@@ -17654,7 +17653,6 @@ const setPublishableApiKeyFn = (publishableApiKey) => {
17654
17653
  storeDetail(Detail.PUBLISHABLE_API_KEY, publishableApiKey);
17655
17654
  };
17656
17655
  errorBoundary(getGlobalisedValue('setPublishableApiKey', setPublishableApiKeyFn));
17657
- errorBoundary(getGlobalisedValue('getDetail', getDetail$1));
17658
17656
 
17659
17657
  var Environment;
17660
17658
  (function (Environment) {
@@ -27725,7 +27723,7 @@ class APIError extends Error {
27725
27723
 
27726
27724
  /* eslint-disable implicit-arrow-linebreak */
27727
27725
  const defaultHeaders = {
27728
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.0',
27726
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.7.1',
27729
27727
  };
27730
27728
  /**
27731
27729
  * createAPIConfiguration to create a custom Configuration
@@ -29092,7 +29090,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
29092
29090
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
29093
29091
  };
29094
29092
 
29095
- const SDK_VERSION_MARKER = '1.7.0';
29093
+ const SDK_VERSION_MARKER = '1.7.1';
29096
29094
  // This SDK version is replaced by the `yarn build` command ran on the root level
29097
29095
  const globalPackageVersion = () => SDK_VERSION_MARKER;
29098
29096
 
package/dist/config.js CHANGED
@@ -96,7 +96,7 @@ const storeDetail = (key, value) => {
96
96
  };
97
97
  setItem(Store.RUNTIME, RUNTIME_DETAILS);
98
98
  };
99
- const getDetail$1 = (key) => {
99
+ const getDetail = (key) => {
100
100
  // Handle the scenario where detail is a falsy value
101
101
  if (RUNTIME_DETAILS[key] === undefined) {
102
102
  return undefined;
@@ -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.7.0';
131
+ const SDK_VERSION = '1.7.1';
132
132
  const getReferrer = () => {
133
133
  if (isNode()) {
134
134
  return '';
@@ -171,7 +171,7 @@ const initialise = async () => {
171
171
  initialised = true;
172
172
  try {
173
173
  const runtimeDetails = flattenProperties(getRuntimeDetails());
174
- const existingRuntimeId = getDetail$1(Detail.RUNTIME_ID);
174
+ const existingRuntimeId = getDetail(Detail.RUNTIME_ID);
175
175
  const body = {
176
176
  version: 1,
177
177
  data: {
@@ -303,7 +303,6 @@ const setPublishableApiKeyFn = (publishableApiKey) => {
303
303
  storeDetail(Detail.PUBLISHABLE_API_KEY, publishableApiKey);
304
304
  };
305
305
  const setPublishableApiKey = errorBoundary(getGlobalisedValue('setPublishableApiKey', setPublishableApiKeyFn));
306
- errorBoundary(getGlobalisedValue('getDetail', getDetail$1));
307
306
 
308
307
  var Environment;
309
308
  (function (Environment) {