@imtbl/sdk 1.1.3 → 1.2.0-alpha.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.
@@ -23150,8 +23150,10 @@ type SaleSuccess = {
23150
23150
  * @property {Array} transactions
23151
23151
  */
23152
23152
  type SaleFailed = {
23153
- /** The reason why the swap failed. */
23153
+ /** The reason why sale transaction failed. */
23154
23154
  reason: string;
23155
+ /** The error object. */
23156
+ error: Record<string, unknown>;
23155
23157
  /** The timestamp of the failed swap. */
23156
23158
  timestamp: number;
23157
23159
  /** Chosen payment method */
package/dist/checkout.js CHANGED
@@ -138,7 +138,7 @@ const flattenProperties$1 = (properties) => {
138
138
  };
139
139
 
140
140
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
141
- const SDK_VERSION$1 = '1.1.3';
141
+ const SDK_VERSION$1 = '1.2.0-alpha.1';
142
142
  let initialised$1 = false;
143
143
  const isInitialised$1 = () => initialised$1;
144
144
  const getReferrer$1 = () => {
@@ -17088,7 +17088,7 @@ const flattenProperties = (properties) => {
17088
17088
  };
17089
17089
 
17090
17090
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
17091
- const SDK_VERSION = '1.1.3';
17091
+ const SDK_VERSION = '1.2.0-alpha.1';
17092
17092
  let initialised = false;
17093
17093
  const isInitialised = () => initialised;
17094
17094
  const getReferrer = () => {
@@ -26853,7 +26853,7 @@ class APIError extends Error {
26853
26853
 
26854
26854
  /* eslint-disable implicit-arrow-linebreak */
26855
26855
  const defaultHeaders = {
26856
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.1.3',
26856
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.2.0-alpha.1',
26857
26857
  };
26858
26858
  /**
26859
26859
  * createAPIConfiguration to create a custom Configuration
@@ -28215,7 +28215,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
28215
28215
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
28216
28216
  };
28217
28217
 
28218
- const SDK_VERSION_MARKER = '1.1.3';
28218
+ const SDK_VERSION_MARKER = '1.2.0-alpha.1';
28219
28219
  // This SDK version is replaced by the `yarn build` command ran on the root level
28220
28220
  const globalPackageVersion = () => SDK_VERSION_MARKER;
28221
28221
 
package/dist/config.js CHANGED
@@ -127,7 +127,7 @@ const flattenProperties = (properties) => {
127
127
  };
128
128
 
129
129
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
130
- const SDK_VERSION = '1.1.3';
130
+ const SDK_VERSION = '1.2.0-alpha.1';
131
131
  let initialised = false;
132
132
  const isInitialised = () => initialised;
133
133
  const getReferrer = () => {