@imtbl/sdk 1.21.2-alpha → 1.23.0

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
@@ -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.21.2-alpha';
142
+ const SDK_VERSION$1 = '1.23.0';
143
143
  const getReferrer$1 = () => {
144
144
  if (isNode$1()) {
145
145
  return '';
@@ -17550,7 +17550,7 @@ const flattenProperties = (properties) => {
17550
17550
  };
17551
17551
 
17552
17552
  // WARNING: DO NOT CHANGE THE STRING BELOW. IT GETS REPLACED AT BUILD TIME.
17553
- const SDK_VERSION = '1.21.2-alpha';
17553
+ const SDK_VERSION = '1.23.0';
17554
17554
  const getReferrer = () => {
17555
17555
  if (isNode()) {
17556
17556
  return '';
@@ -28211,7 +28211,7 @@ class APIError extends Error {
28211
28211
 
28212
28212
  /* eslint-disable implicit-arrow-linebreak */
28213
28213
  const defaultHeaders = {
28214
- sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.21.2-alpha',
28214
+ sdkVersion: 'ts-immutable-sdk-multi-rollup-api-client-1.23.0',
28215
28215
  };
28216
28216
  /**
28217
28217
  * createAPIConfiguration to create a custom Configuration
@@ -29642,7 +29642,7 @@ const IMMUTABLE_ZKVEM_GAS_OVERRIDES = {
29642
29642
  maxPriorityFeePerGas: BigNumber$1.from(10e9),
29643
29643
  };
29644
29644
 
29645
- const SDK_VERSION_MARKER = '1.21.2-alpha';
29645
+ const SDK_VERSION_MARKER = '1.23.0';
29646
29646
  // This SDK version is replaced by the `yarn build` command ran on the root level
29647
29647
  const globalPackageVersion = () => SDK_VERSION_MARKER;
29648
29648
 
@@ -33165,6 +33165,8 @@ class FiatRampService {
33165
33165
  exchangeScreenTitle: 'Buy',
33166
33166
  themeColor: '0D0D0D',
33167
33167
  defaultFiatCurrency: 'usd',
33168
+ defaultFiatAmount: '50',
33169
+ defaultCryptoCurrency: params.tokenSymbol || 'IMX',
33168
33170
  };
33169
33171
  if (params.isPassport && params.email) {
33170
33172
  widgetParams = {
@@ -33181,13 +33183,6 @@ class FiatRampService {
33181
33183
  cryptoCurrencyCode: params.tokenSymbol,
33182
33184
  };
33183
33185
  }
33184
- else {
33185
- widgetParams = {
33186
- ...widgetParams,
33187
- defaultFiatAmount: '50',
33188
- defaultCryptoCurrency: 'IMX',
33189
- };
33190
- }
33191
33186
  if (params.walletAddress) {
33192
33187
  widgetParams = {
33193
33188
  ...widgetParams,
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.21.2-alpha';
131
+ const SDK_VERSION = '1.23.0';
132
132
  const getReferrer = () => {
133
133
  if (isNode()) {
134
134
  return '';