@imtbl/checkout-sdk 2.0.0-alpha.3 → 2.0.0-alpha.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.
@@ -789,7 +789,7 @@ var it = {
789
789
  };
790
790
 
791
791
  // src/env/env.ts
792
- var Do = "2.0.0-alpha.3";
792
+ var Do = "2.0.0-alpha.4";
793
793
  var at = () => false;
794
794
  var ie = () => Do;
795
795
 
@@ -6377,9 +6377,9 @@ var Bt = class {
6377
6377
  );
6378
6378
  }
6379
6379
  /**
6380
- * Checks if the given object is a Web3 provider.
6380
+ * Checks if the given object is a WrappedBrowserProvider.
6381
6381
  * @param {BrowserProvider} browserProvider - The object to check.
6382
- * @returns {boolean} - True if the object is a Web3 provider, false otherwise.
6382
+ * @returns {boolean} - True if the object is a WrappedBrowserProvider, false otherwise.
6383
6383
  */
6384
6384
  static isWrappedBrowserProvider(e) {
6385
6385
  return pr(e);
@@ -789,7 +789,7 @@ var nt = {
789
789
  };
790
790
 
791
791
  // src/env/env.ts
792
- var bn = "2.0.0-alpha.3";
792
+ var bn = "2.0.0-alpha.4";
793
793
  var ot = () => false;
794
794
  var ne = () => bn;
795
795
 
@@ -6377,9 +6377,9 @@ var Ot = class {
6377
6377
  );
6378
6378
  }
6379
6379
  /**
6380
- * Checks if the given object is a Web3 provider.
6380
+ * Checks if the given object is a WrappedBrowserProvider.
6381
6381
  * @param {BrowserProvider} browserProvider - The object to check.
6382
- * @returns {boolean} - True if the object is a Web3 provider, false otherwise.
6382
+ * @returns {boolean} - True if the object is a WrappedBrowserProvider, false otherwise.
6383
6383
  */
6384
6384
  static isWrappedBrowserProvider(e) {
6385
6385
  return dr(e);
@@ -789,7 +789,7 @@ var nt = {
789
789
  };
790
790
 
791
791
  // src/env/env.ts
792
- var bn = "2.0.0-alpha.3";
792
+ var bn = "2.0.0-alpha.4";
793
793
  var ot = () => false;
794
794
  var ne = () => bn;
795
795
 
@@ -6377,9 +6377,9 @@ var Ot = class {
6377
6377
  );
6378
6378
  }
6379
6379
  /**
6380
- * Checks if the given object is a Web3 provider.
6380
+ * Checks if the given object is a WrappedBrowserProvider.
6381
6381
  * @param {BrowserProvider} browserProvider - The object to check.
6382
- * @returns {boolean} - True if the object is a Web3 provider, false otherwise.
6382
+ * @returns {boolean} - True if the object is a WrappedBrowserProvider, false otherwise.
6383
6383
  */
6384
6384
  static isWrappedBrowserProvider(e) {
6385
6385
  return dr(e);
@@ -174,9 +174,9 @@ export declare class Checkout {
174
174
  */
175
175
  smartCheckout(params: SmartCheckoutParams): Promise<SmartCheckoutResult>;
176
176
  /**
177
- * Checks if the given object is a Web3 provider.
177
+ * Checks if the given object is a WrappedBrowserProvider.
178
178
  * @param {BrowserProvider} browserProvider - The object to check.
179
- * @returns {boolean} - True if the object is a Web3 provider, false otherwise.
179
+ * @returns {boolean} - True if the object is a WrappedBrowserProvider, false otherwise.
180
180
  */
181
181
  static isWrappedBrowserProvider(browserProvider: WrappedBrowserProvider): boolean;
182
182
  /**
@@ -25,7 +25,7 @@ export interface CheckConnectionParams {
25
25
  }
26
26
  /**
27
27
  * Interface representing the result of {@link Checkout.checkIsWalletConnected}.
28
- * @property {boolean} isConnected - A boolean indicating the connection status of the Web3 provider.
28
+ * @property {boolean} isConnected - A boolean indicating the connection status of the WrappedBrowserProvider.
29
29
  * @property {string} walletAddress - The wallet address used to check the connection.
30
30
  */
31
31
  export interface CheckConnectionResult {
@@ -25,7 +25,7 @@ export interface SwitchNetworkParams {
25
25
  * Represents the result of switching the network in a Web3 application {@link Checkout.switchNetwork}.
26
26
  * @interface SwitchNetworkResult
27
27
  * @property {NetworkInfo} network - The information about the switched network.
28
- * @property {WrappedBrowserProvider} provider - The Web3 provider for the switched network.
28
+ * @property {WrappedBrowserProvider} provider - The WrappedBrowserProvider for the switched network.
29
29
  */
30
30
  export interface SwitchNetworkResult {
31
31
  network: NetworkInfo;
@@ -25,7 +25,7 @@ export interface CreateProviderParams {
25
25
  walletProviderName: WalletProviderName;
26
26
  }
27
27
  /**
28
- * Represents the result of creating a Web3 provider {@link Checkout.createProvider}.
28
+ * Represents the result of creating a WrappedBrowserProvider {@link Checkout.createProvider}.
29
29
  * @property {WrappedBrowserProvider} provider - The created Browser provider.
30
30
  * @property {WalletProviderName} walletProviderName - The wallet provider name of the provider that was created.
31
31
  */
@@ -19,7 +19,7 @@ export type WalletNetworkSwitch = {
19
19
  network: string;
20
20
  /** The chain ID of the network that the user switched to. */
21
21
  chainId: number;
22
- /** The Web3 provider object for the switched network. */
22
+ /** The WrappedBrowserProvider object for the switched network. */
23
23
  provider: WrappedBrowserProvider;
24
24
  };
25
25
  /**
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@imtbl/checkout-sdk",
3
3
  "description": "Immutable Checkout SDK",
4
- "version": "2.0.0-alpha.3",
4
+ "version": "2.0.0-alpha.4",
5
5
  "author": "immutable",
6
6
  "bugs": "https://github.com/immutable/ts-immutable-sdk/issues",
7
7
  "dependencies": {
8
- "@imtbl/blockchain-data": "2.0.0-alpha.3",
9
- "@imtbl/bridge-sdk": "2.0.0-alpha.3",
10
- "@imtbl/config": "2.0.0-alpha.3",
11
- "@imtbl/dex-sdk": "2.0.0-alpha.3",
12
- "@imtbl/generated-clients": "2.0.0-alpha.3",
13
- "@imtbl/metrics": "2.0.0-alpha.3",
14
- "@imtbl/orderbook": "2.0.0-alpha.3",
15
- "@imtbl/passport": "2.0.0-alpha.3",
8
+ "@imtbl/blockchain-data": "2.0.0-alpha.4",
9
+ "@imtbl/bridge-sdk": "2.0.0-alpha.4",
10
+ "@imtbl/config": "2.0.0-alpha.4",
11
+ "@imtbl/dex-sdk": "2.0.0-alpha.4",
12
+ "@imtbl/generated-clients": "2.0.0-alpha.4",
13
+ "@imtbl/metrics": "2.0.0-alpha.4",
14
+ "@imtbl/orderbook": "2.0.0-alpha.4",
15
+ "@imtbl/passport": "2.0.0-alpha.4",
16
16
  "@metamask/detect-provider": "^2.0.0",
17
17
  "axios": "^1.6.5",
18
18
  "ethers": "^6.13.4",