@imtbl/sdk 1.1.3 → 1.1.4

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/index.cjs CHANGED
@@ -173,7 +173,7 @@ const flattenProperties$1 = (properties) => {
173
173
  };
174
174
 
175
175
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
176
- const SDK_VERSION$1 = '1.1.3';
176
+ const SDK_VERSION$1 = '1.1.4';
177
177
  let initialised$1 = false;
178
178
  const isInitialised$1 = () => initialised$1;
179
179
  const getReferrer$1 = () => {
@@ -10940,7 +10940,7 @@ class MultiRollupApiClients {
10940
10940
  }
10941
10941
 
10942
10942
  // eslint-disable-next-line @typescript-eslint/naming-convention
10943
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.1.3' };
10943
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.1.4' };
10944
10944
  const createConfig = ({ basePath, headers, }) => {
10945
10945
  if (!basePath.trim()) {
10946
10946
  throw Error('basePath can not be empty');
@@ -11012,7 +11012,7 @@ class APIError extends Error {
11012
11012
 
11013
11013
  /* eslint-disable implicit-arrow-linebreak */
11014
11014
  const defaultHeaders = {
11015
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.1.3',
11015
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.1.4',
11016
11016
  };
11017
11017
  /**
11018
11018
  * createAPIConfiguration to create a custom Configuration
@@ -11451,7 +11451,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
11451
11451
  chainID,
11452
11452
  coreContractAddress,
11453
11453
  registrationContractAddress,
11454
- sdkVersion: 'ts-immutable-sdk-1.1.3',
11454
+ sdkVersion: 'ts-immutable-sdk-1.1.4',
11455
11455
  });
11456
11456
  /**
11457
11457
  * Sets `sdkVersion` at the time of build
@@ -36716,7 +36716,7 @@ const flattenProperties = (properties) => {
36716
36716
  };
36717
36717
 
36718
36718
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
36719
- const SDK_VERSION = '1.1.3';
36719
+ const SDK_VERSION = '1.1.4';
36720
36720
  let initialised = false;
36721
36721
  const isInitialised = () => initialised;
36722
36722
  const getReferrer = () => {
@@ -41819,7 +41819,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
41819
41819
  maxPriorityFeePerGas: ethers.BigNumber.from(10e9),
41820
41820
  };
41821
41821
 
41822
- const SDK_VERSION_MARKER = '1.1.3';
41822
+ const SDK_VERSION_MARKER = '1.1.4';
41823
41823
  // This SDK version is replaced by the `yarn build` command ran on the root level
41824
41824
  const globalPackageVersion = () => SDK_VERSION_MARKER;
41825
41825
 
package/dist/index.d.ts CHANGED
@@ -29023,8 +29023,10 @@ type SaleSuccess = {
29023
29023
  * @property {Array} transactions
29024
29024
  */
29025
29025
  type SaleFailed = {
29026
- /** The reason why the swap failed. */
29026
+ /** The reason why sale transaction failed. */
29027
29027
  reason: string;
29028
+ /** The error object. */
29029
+ error: Record<string, unknown>;
29028
29030
  /** The timestamp of the failed swap. */
29029
29031
  timestamp: number;
29030
29032
  /** Chosen payment method */
package/dist/index.js CHANGED
@@ -151,7 +151,7 @@ const flattenProperties$1 = (properties) => {
151
151
  };
152
152
 
153
153
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
154
- const SDK_VERSION$1 = '1.1.3';
154
+ const SDK_VERSION$1 = '1.1.4';
155
155
  let initialised$1 = false;
156
156
  const isInitialised$1 = () => initialised$1;
157
157
  const getReferrer$1 = () => {
@@ -10918,7 +10918,7 @@ class MultiRollupApiClients {
10918
10918
  }
10919
10919
 
10920
10920
  // eslint-disable-next-line @typescript-eslint/naming-convention
10921
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.1.3' };
10921
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-1.1.4' };
10922
10922
  const createConfig = ({ basePath, headers, }) => {
10923
10923
  if (!basePath.trim()) {
10924
10924
  throw Error('basePath can not be empty');
@@ -10990,7 +10990,7 @@ class APIError extends Error {
10990
10990
 
10991
10991
  /* eslint-disable implicit-arrow-linebreak */
10992
10992
  const defaultHeaders = {
10993
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.1.3',
10993
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.1.4',
10994
10994
  };
10995
10995
  /**
10996
10996
  * createAPIConfiguration to create a custom Configuration
@@ -11429,7 +11429,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
11429
11429
  chainID,
11430
11430
  coreContractAddress,
11431
11431
  registrationContractAddress,
11432
- sdkVersion: 'ts-immutable-sdk-1.1.3',
11432
+ sdkVersion: 'ts-immutable-sdk-1.1.4',
11433
11433
  });
11434
11434
  /**
11435
11435
  * Sets `sdkVersion` at the time of build
@@ -36694,7 +36694,7 @@ const flattenProperties = (properties) => {
36694
36694
  };
36695
36695
 
36696
36696
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
36697
- const SDK_VERSION = '1.1.3';
36697
+ const SDK_VERSION = '1.1.4';
36698
36698
  let initialised = false;
36699
36699
  const isInitialised = () => initialised;
36700
36700
  const getReferrer = () => {
@@ -41797,7 +41797,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
41797
41797
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
41798
41798
  };
41799
41799
 
41800
- const SDK_VERSION_MARKER = '1.1.3';
41800
+ const SDK_VERSION_MARKER = '1.1.4';
41801
41801
  // This SDK version is replaced by the `yarn build` command ran on the root level
41802
41802
  const globalPackageVersion = () => SDK_VERSION_MARKER;
41803
41803
 
package/dist/orderbook.js CHANGED
@@ -126,7 +126,7 @@ const flattenProperties = (properties) => {
126
126
  };
127
127
 
128
128
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
129
- const SDK_VERSION = '1.1.3';
129
+ const SDK_VERSION = '1.1.4';
130
130
  let initialised = false;
131
131
  const isInitialised = () => initialised;
132
132
  const getReferrer = () => {
package/dist/passport.js CHANGED
@@ -8724,7 +8724,7 @@ class MultiRollupApiClients {
8724
8724
  }
8725
8725
 
8726
8726
  // eslint-disable-next-line @typescript-eslint/naming-convention
8727
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.1.3' };
8727
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-1.1.4' };
8728
8728
  const createConfig = ({ basePath, headers, }) => {
8729
8729
  if (!basePath.trim()) {
8730
8730
  throw Error('basePath can not be empty');
@@ -8904,7 +8904,7 @@ const flattenProperties = (properties) => {
8904
8904
  };
8905
8905
 
8906
8906
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
8907
- const SDK_VERSION = '1.1.3';
8907
+ const SDK_VERSION = '1.1.4';
8908
8908
  let initialised = false;
8909
8909
  const isInitialised = () => initialised;
8910
8910
  const getReferrer = () => {
@@ -9079,7 +9079,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
9079
9079
  chainID,
9080
9080
  coreContractAddress,
9081
9081
  registrationContractAddress,
9082
- sdkVersion: 'ts-immutable-sdk-1.1.3',
9082
+ sdkVersion: 'ts-immutable-sdk-1.1.4',
9083
9083
  });
9084
9084
  /**
9085
9085
  * Sets `sdkVersion` at the time of build
package/dist/x.js CHANGED
@@ -131,7 +131,7 @@ const flattenProperties = (properties) => {
131
131
  };
132
132
 
133
133
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
134
- const SDK_VERSION = '1.1.3';
134
+ const SDK_VERSION = '1.1.4';
135
135
  let initialised = false;
136
136
  const isInitialised = () => initialised;
137
137
  const getReferrer = () => {
@@ -270,7 +270,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
270
270
  chainID,
271
271
  coreContractAddress,
272
272
  registrationContractAddress,
273
- sdkVersion: 'ts-immutable-sdk-1.1.3',
273
+ sdkVersion: 'ts-immutable-sdk-1.1.4',
274
274
  });
275
275
  /**
276
276
  * Sets `sdkVersion` at the time of build
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imtbl/sdk",
3
3
  "description": "Immutable Unified SDK",
4
- "version": "1.1.3",
4
+ "version": "1.1.4",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",