@imtbl/sdk 1.24.0-alpha.5 → 1.24.2-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.
Files changed (36) hide show
  1. package/dist/blockchain_data.js +2 -2
  2. package/dist/browser/checkout/{BridgeWidget-8db70117.js → BridgeWidget-a31fb781.js} +1 -1
  3. package/dist/browser/checkout/{HorizontalMenu-actual-bef1c559.js → HorizontalMenu-actual-0380c8b3.js} +1 -1
  4. package/dist/browser/checkout/{OnRampWidget-d2d13054.js → OnRampWidget-c9d33ef1.js} +1 -1
  5. package/dist/browser/checkout/SaleWidget-556de6ab.js +2 -0
  6. package/dist/browser/checkout/{SpendingCapHero-0f1afad3.js → SpendingCapHero-2aa7209b.js} +1 -1
  7. package/dist/browser/checkout/{SwapWidget-9ad0a2fe.js → SwapWidget-766dea42.js} +1 -1
  8. package/dist/browser/checkout/{TopUpView-76057a65.js → TopUpView-531716f6.js} +1 -1
  9. package/dist/browser/checkout/{WalletWidget-f5f31573.js → WalletWidget-2b096988.js} +1 -1
  10. package/dist/browser/checkout/{auto-track-815238c0.js → auto-track-60e6f692.js} +1 -1
  11. package/dist/browser/checkout/{balance-a5e2ad2b.js → balance-e98308d6.js} +1 -1
  12. package/dist/browser/checkout/index-0bf70f20.js +1 -0
  13. package/dist/browser/checkout/{index-6dda1875.js → index-1fe8caec.js} +1 -1
  14. package/dist/browser/checkout/{index-864a7bcd.js → index-3dff25cd.js} +2 -2
  15. package/dist/browser/checkout/{index-ec907090.js → index-4c97d9cf.js} +1 -1
  16. package/dist/browser/checkout/{index-c39af457.js → index-a02a3952.js} +1 -1
  17. package/dist/browser/checkout/{index-e5c6179d.js → index-a21d7ffc.js} +1 -1
  18. package/dist/browser/checkout/{index-2c393714.js → index-c479d02d.js} +1 -1
  19. package/dist/browser/checkout/{index-396ebf31.js → index-f3df613d.js} +1 -1
  20. package/dist/browser/checkout/{index.umd-19063f98.js → index.umd-49444988.js} +1 -1
  21. package/dist/browser/checkout/{retry-691c6c05.js → retry-b8f005b9.js} +1 -1
  22. package/dist/browser/checkout/sdk.js +4 -4
  23. package/dist/browser/checkout/widgets-esm.js +1 -1
  24. package/dist/browser/checkout/widgets.js +4 -4
  25. package/dist/checkout.js +4 -21
  26. package/dist/config.js +1 -1
  27. package/dist/index.browser.js +5 -5
  28. package/dist/index.browser.js.map +1 -1
  29. package/dist/index.cjs +7 -24
  30. package/dist/index.js +7 -24
  31. package/dist/orderbook.js +1 -18
  32. package/dist/passport.js +4 -4
  33. package/dist/x.js +3 -3
  34. package/package.json +1 -1
  35. package/dist/browser/checkout/SaleWidget-44d633c4.js +0 -2
  36. package/dist/browser/checkout/index-a817b5d3.js +0 -1
package/dist/checkout.js CHANGED
@@ -140,7 +140,7 @@ const flattenProperties$1 = (properties) => {
140
140
  };
141
141
 
142
142
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
143
- const SDK_VERSION$1 = '1.24.0-alpha.5';
143
+ const SDK_VERSION$1 = '1.24.2-alpha.1';
144
144
  const getReferrer$1 = () => {
145
145
  if (isNode$1()) {
146
146
  return '';
@@ -17551,7 +17551,7 @@ const flattenProperties = (properties) => {
17551
17551
  };
17552
17552
 
17553
17553
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
17554
- const SDK_VERSION = '1.24.0-alpha.5';
17554
+ const SDK_VERSION = '1.24.2-alpha.1';
17555
17555
  const getReferrer = () => {
17556
17556
  if (isNode()) {
17557
17557
  return '';
@@ -22785,15 +22785,6 @@ class Seaport {
22785
22785
  async fulfillOrder(order, account, extraData) {
22786
22786
  const { orderComponents, tips } = this.mapImmutableOrderToSeaportOrderComponents(order);
22787
22787
  const seaportLib = this.getSeaportLib(order);
22788
- try {
22789
- const signer = await this.provider.getSigner(account);
22790
- const address = await signer.getAddress();
22791
- // eslint-disable-next-line no-console
22792
- console.log(`Fulfiller address: ${address}`);
22793
- }
22794
- catch {
22795
- // no-op - this is for temporary debugging
22796
- }
22797
22788
  const { actions: seaportActions } = await seaportLib.fulfillOrders({
22798
22789
  accountAddress: account,
22799
22790
  fulfillOrderDetails: [
@@ -23098,14 +23089,6 @@ function getOrderbookConfig(environment) {
23098
23089
  // safely instantiate a V6 provider for the V5 provider URL.
23099
23090
  function convertToV6Provider(provider) {
23100
23091
  const overwrittenProvider = new JsonRpcProvider(provider.connection.url);
23101
- // eslint-disable-next-line no-console
23102
- console.log('Overwritten provider getSigner method');
23103
- // eslint-disable-next-line no-console
23104
- console.log(overwrittenProvider.getSigner);
23105
- // eslint-disable-next-line no-console
23106
- console.log('Overwriter provider methods');
23107
- // eslint-disable-next-line no-console
23108
- console.log(JSON.stringify(Object.keys(overwrittenProvider), null, 2));
23109
23092
  // Need to override the getSigner method to mimic V5 behaviour
23110
23093
  overwrittenProvider.getSigner = async function getSigner(address) {
23111
23094
  if (address == null) {
@@ -28273,7 +28256,7 @@ class APIError extends Error {
28273
28256
 
28274
28257
  /* eslint-disable implicit-arrow-linebreak */
28275
28258
  const defaultHeaders = {
28276
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.24.0-alpha.5',
28259
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.24.2-alpha.1',
28277
28260
  };
28278
28261
  /**
28279
28262
  * createAPIConfiguration to create a custom Configuration
@@ -29704,7 +29687,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
29704
29687
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
29705
29688
  };
29706
29689
 
29707
- const SDK_VERSION_MARKER = '1.24.0-alpha.5';
29690
+ const SDK_VERSION_MARKER = '1.24.2-alpha.1';
29708
29691
  // This SDK version is replaced by the `yarn build` command ran on the root level
29709
29692
  const globalPackageVersion = () => SDK_VERSION_MARKER;
29710
29693
 
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.24.0-alpha.5';
131
+ const SDK_VERSION = '1.24.2-alpha.1';
132
132
  const getReferrer = () => {
133
133
  if (isNode()) {
134
134
  return '';