@imtbl/sdk 0.27.6 → 0.27.7

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
@@ -3631,7 +3631,7 @@ class MultiRollupApiClients {
3631
3631
  }
3632
3632
 
3633
3633
  // eslint-disable-next-line @typescript-eslint/naming-convention
3634
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.6' };
3634
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.7' };
3635
3635
  const createConfig = ({ basePath, headers, }) => {
3636
3636
  if (!basePath.trim()) {
3637
3637
  throw Error('basePath can not be empty');
@@ -3691,7 +3691,7 @@ class APIError extends Error {
3691
3691
 
3692
3692
  /* eslint-disable implicit-arrow-linebreak */
3693
3693
  const defaultHeaders = {
3694
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.6',
3694
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.7',
3695
3695
  };
3696
3696
  /**
3697
3697
  * createAPIConfiguration to create a custom Configuration
@@ -4102,7 +4102,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
4102
4102
  chainID,
4103
4103
  coreContractAddress,
4104
4104
  registrationContractAddress,
4105
- sdkVersion: 'ts-immutable-sdk-0.27.6',
4105
+ sdkVersion: 'ts-immutable-sdk-0.27.7',
4106
4106
  });
4107
4107
  /**
4108
4108
  * Sets `sdkVersion` at the time of build
@@ -28712,7 +28712,7 @@ const CONTRACTS_FOR_CHAIN_ID = {
28712
28712
  multicall: '0xD17c98b38bA28c7eA1080317EB9AB2b9663BEd92',
28713
28713
  coreFactory: '0x8AC26EfCbf5D700b37A27aA00E6934e6904e7B8e',
28714
28714
  quoterV2: '0x0Afe6F5f4DC34461A801420634239FFaD50A2e44',
28715
- peripheryRouter: '0x5893A5c7bc615Dfd36D7383366d00FFFca5f7178',
28715
+ peripheryRouter: '0x57c73281f2697a632AEF1A48CD6ff600f49ee344',
28716
28716
  secondaryFee: '0x5893A5c7bc615Dfd36D7383366d00FFFca5f7178',
28717
28717
  },
28718
28718
  };
@@ -32923,9 +32923,6 @@ class $a8cb37a3fc8eb863$export$1f60ba4ec72508a0 {
32923
32923
  * Determines the requirements for performing a buy.
32924
32924
  * @param {BuyParams} params - The parameters for the buy.
32925
32925
  */ async buy(params) {
32926
- if (this.config.isProduction) throw new Error("This endpoint is not currently available.");
32927
- // eslint-disable-next-line no-console
32928
- console.warn("This endpoint is currently under construction.");
32929
32926
  if (params.orders.length > 1) // eslint-disable-next-line no-console
32930
32927
  console.warn("This endpoint currently only processes the first order in the array.");
32931
32928
  const web3Provider = await $bb88265fe45a0393$export$9e1fd9cc88c637a0(this.config, params.provider);
@@ -32937,9 +32934,6 @@ class $a8cb37a3fc8eb863$export$1f60ba4ec72508a0 {
32937
32934
  * Only currently actions the first order in the array until we support batch processing.
32938
32935
  * Only currently actions the first fee in the fees array of each order until we support multiple fees.
32939
32936
  */ async sell(params) {
32940
- if (this.config.isProduction) throw new Error("This endpoint is not currently available.");
32941
- // eslint-disable-next-line no-console
32942
- console.warn("This endpoint is currently under construction.");
32943
32937
  if (params.orders.length > 1) // eslint-disable-next-line no-console
32944
32938
  console.warn("This endpoint currently only processes the first order in the array.");
32945
32939
  const web3Provider = await $bb88265fe45a0393$export$9e1fd9cc88c637a0(this.config, params.provider);
@@ -32949,9 +32943,6 @@ class $a8cb37a3fc8eb863$export$1f60ba4ec72508a0 {
32949
32943
  * Cancels a sell.
32950
32944
  * @param {CancelParams} params - The parameters for the cancel.
32951
32945
  */ async cancel(params) {
32952
- if (this.config.isProduction) throw new Error("This endpoint is not currently available.");
32953
- // eslint-disable-next-line no-console
32954
- console.warn("This endpoint is currently under construction.");
32955
32946
  // eslint-disable-next-line no-console
32956
32947
  console.warn("This endpoint currently only processes the first order in the array.");
32957
32948
  const web3Provider = await $bb88265fe45a0393$export$9e1fd9cc88c637a0(this.config, params.provider);
@@ -32961,9 +32952,6 @@ class $a8cb37a3fc8eb863$export$1f60ba4ec72508a0 {
32961
32952
  * Determines the transaction requirements to complete a purchase.
32962
32953
  * @params {SmartCheckoutParams} params - The parameters for smart checkout.
32963
32954
  */ async smartCheckout(params) {
32964
- if (this.config.isProduction) throw new Error("This endpoint is not currently available.");
32965
- // eslint-disable-next-line no-console
32966
- console.warn("This endpoint is currently under construction.");
32967
32955
  const web3Provider = await $bb88265fe45a0393$export$9e1fd9cc88c637a0(this.config, params.provider);
32968
32956
  let itemRequirements = [];
32969
32957
  try {
@@ -33078,7 +33066,7 @@ var $045213b18e9f1f94$export$75be0f6af9650f2c;
33078
33066
  })($045213b18e9f1f94$export$75be0f6af9650f2c || ($045213b18e9f1f94$export$75be0f6af9650f2c = {}));
33079
33067
 
33080
33068
 
33081
- const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.6";
33069
+ const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.7";
33082
33070
  const $d663162fd5a0853f$export$83bf90b30cdfd29f = ()=>false;
33083
33071
  const $d663162fd5a0853f$export$1169f5475725171b = ()=>$d663162fd5a0853f$export$38a083d9fb5551ca;
33084
33072
 
package/dist/index.js CHANGED
@@ -3609,7 +3609,7 @@ class MultiRollupApiClients {
3609
3609
  }
3610
3610
 
3611
3611
  // eslint-disable-next-line @typescript-eslint/naming-convention
3612
- const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.6' };
3612
+ const defaultHeaders$1 = { 'x-sdk-version': 'ts-immutable-sdk-0.27.7' };
3613
3613
  const createConfig = ({ basePath, headers, }) => {
3614
3614
  if (!basePath.trim()) {
3615
3615
  throw Error('basePath can not be empty');
@@ -3669,7 +3669,7 @@ class APIError extends Error {
3669
3669
 
3670
3670
  /* eslint-disable implicit-arrow-linebreak */
3671
3671
  const defaultHeaders = {
3672
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.6',
3672
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-0.27.7',
3673
3673
  };
3674
3674
  /**
3675
3675
  * createAPIConfiguration to create a custom Configuration
@@ -4080,7 +4080,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
4080
4080
  chainID,
4081
4081
  coreContractAddress,
4082
4082
  registrationContractAddress,
4083
- sdkVersion: 'ts-immutable-sdk-0.27.6',
4083
+ sdkVersion: 'ts-immutable-sdk-0.27.7',
4084
4084
  });
4085
4085
  /**
4086
4086
  * Sets `sdkVersion` at the time of build
@@ -28690,7 +28690,7 @@ const CONTRACTS_FOR_CHAIN_ID = {
28690
28690
  multicall: '0xD17c98b38bA28c7eA1080317EB9AB2b9663BEd92',
28691
28691
  coreFactory: '0x8AC26EfCbf5D700b37A27aA00E6934e6904e7B8e',
28692
28692
  quoterV2: '0x0Afe6F5f4DC34461A801420634239FFaD50A2e44',
28693
- peripheryRouter: '0x5893A5c7bc615Dfd36D7383366d00FFFca5f7178',
28693
+ peripheryRouter: '0x57c73281f2697a632AEF1A48CD6ff600f49ee344',
28694
28694
  secondaryFee: '0x5893A5c7bc615Dfd36D7383366d00FFFca5f7178',
28695
28695
  },
28696
28696
  };
@@ -32901,9 +32901,6 @@ class $a8cb37a3fc8eb863$export$1f60ba4ec72508a0 {
32901
32901
  * Determines the requirements for performing a buy.
32902
32902
  * @param {BuyParams} params - The parameters for the buy.
32903
32903
  */ async buy(params) {
32904
- if (this.config.isProduction) throw new Error("This endpoint is not currently available.");
32905
- // eslint-disable-next-line no-console
32906
- console.warn("This endpoint is currently under construction.");
32907
32904
  if (params.orders.length > 1) // eslint-disable-next-line no-console
32908
32905
  console.warn("This endpoint currently only processes the first order in the array.");
32909
32906
  const web3Provider = await $bb88265fe45a0393$export$9e1fd9cc88c637a0(this.config, params.provider);
@@ -32915,9 +32912,6 @@ class $a8cb37a3fc8eb863$export$1f60ba4ec72508a0 {
32915
32912
  * Only currently actions the first order in the array until we support batch processing.
32916
32913
  * Only currently actions the first fee in the fees array of each order until we support multiple fees.
32917
32914
  */ async sell(params) {
32918
- if (this.config.isProduction) throw new Error("This endpoint is not currently available.");
32919
- // eslint-disable-next-line no-console
32920
- console.warn("This endpoint is currently under construction.");
32921
32915
  if (params.orders.length > 1) // eslint-disable-next-line no-console
32922
32916
  console.warn("This endpoint currently only processes the first order in the array.");
32923
32917
  const web3Provider = await $bb88265fe45a0393$export$9e1fd9cc88c637a0(this.config, params.provider);
@@ -32927,9 +32921,6 @@ class $a8cb37a3fc8eb863$export$1f60ba4ec72508a0 {
32927
32921
  * Cancels a sell.
32928
32922
  * @param {CancelParams} params - The parameters for the cancel.
32929
32923
  */ async cancel(params) {
32930
- if (this.config.isProduction) throw new Error("This endpoint is not currently available.");
32931
- // eslint-disable-next-line no-console
32932
- console.warn("This endpoint is currently under construction.");
32933
32924
  // eslint-disable-next-line no-console
32934
32925
  console.warn("This endpoint currently only processes the first order in the array.");
32935
32926
  const web3Provider = await $bb88265fe45a0393$export$9e1fd9cc88c637a0(this.config, params.provider);
@@ -32939,9 +32930,6 @@ class $a8cb37a3fc8eb863$export$1f60ba4ec72508a0 {
32939
32930
  * Determines the transaction requirements to complete a purchase.
32940
32931
  * @params {SmartCheckoutParams} params - The parameters for smart checkout.
32941
32932
  */ async smartCheckout(params) {
32942
- if (this.config.isProduction) throw new Error("This endpoint is not currently available.");
32943
- // eslint-disable-next-line no-console
32944
- console.warn("This endpoint is currently under construction.");
32945
32933
  const web3Provider = await $bb88265fe45a0393$export$9e1fd9cc88c637a0(this.config, params.provider);
32946
32934
  let itemRequirements = [];
32947
32935
  try {
@@ -33056,7 +33044,7 @@ var $045213b18e9f1f94$export$75be0f6af9650f2c;
33056
33044
  })($045213b18e9f1f94$export$75be0f6af9650f2c || ($045213b18e9f1f94$export$75be0f6af9650f2c = {}));
33057
33045
 
33058
33046
 
33059
- const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.6";
33047
+ const $d663162fd5a0853f$export$38a083d9fb5551ca = "0.27.7";
33060
33048
  const $d663162fd5a0853f$export$83bf90b30cdfd29f = ()=>false;
33061
33049
  const $d663162fd5a0853f$export$1169f5475725171b = ()=>$d663162fd5a0853f$export$38a083d9fb5551ca;
33062
33050
 
package/dist/passport.js CHANGED
@@ -2072,7 +2072,7 @@ class MultiRollupApiClients {
2072
2072
  }
2073
2073
 
2074
2074
  // eslint-disable-next-line @typescript-eslint/naming-convention
2075
- const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.27.6' };
2075
+ const defaultHeaders = { 'x-sdk-version': 'ts-immutable-sdk-0.27.7' };
2076
2076
  const createConfig = ({ basePath, headers, }) => {
2077
2077
  if (!basePath.trim()) {
2078
2078
  throw Error('basePath can not be empty');
@@ -2128,7 +2128,7 @@ const createImmutableXConfiguration = ({ basePath, chainID, coreContractAddress,
2128
2128
  chainID,
2129
2129
  coreContractAddress,
2130
2130
  registrationContractAddress,
2131
- sdkVersion: 'ts-immutable-sdk-0.27.6',
2131
+ sdkVersion: 'ts-immutable-sdk-0.27.7',
2132
2132
  });
2133
2133
  /**
2134
2134
  * 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": "0.27.6",
4
+ "version": "0.27.7",
5
5
  "author": "Immutable",
6
6
  "browser": "./dist/index.browser.js",
7
7
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",