@d13co/use-wallet 4.5.14 → 4.5.15

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.d.cts CHANGED
@@ -481,11 +481,11 @@ interface AlgoXEvmOptions {
481
481
  };
482
482
  }
483
483
  /**
484
- * Abstract base class for EVM-based wallets that use the Algo x EVM system
484
+ * Abstract base class for EVM-based wallets that use the xChain EVM system
485
485
  * to derive Algorand addresses from EVM addresses.
486
486
  *
487
487
  * This class provides common functionality for:
488
- * - Initializing the Algo x EVM SDK
488
+ * - Initializing the xChain EVM SDK
489
489
  * - Deriving Algorand accounts from EVM addresses
490
490
  * - Signing Algorand transactions using EVM signatures
491
491
  * - Managing the mapping between EVM and Algorand addresses
@@ -503,7 +503,7 @@ declare abstract class AlgoXEvmBaseWallet extends BaseWallet {
503
503
  protected store: Store<State>;
504
504
  constructor(params: WalletConstructor<any>);
505
505
  /**
506
- * Default metadata for Algo x EVM wallets.
506
+ * Default metadata for xChain EVM wallets.
507
507
  * Subclasses MUST override this with their own metadata including isAlgoXEvm: "EVM"
508
508
  */
509
509
  static defaultMetadata: AlgoXEvmMetadata;
@@ -530,7 +530,7 @@ declare abstract class AlgoXEvmBaseWallet extends BaseWallet {
530
530
  */
531
531
  protected abstract signWithProvider(typedData: SignTypedDataParams, evmAddress: string): Promise<string>;
532
532
  /**
533
- * Initialize the Algo x EVM SDK for deriving Algorand addresses
533
+ * Initialize the xChain EVM SDK for deriving Algorand addresses
534
534
  */
535
535
  protected initializeEvmSdk(): Promise<AlgoXEvmSdk>;
536
536
  /**
package/dist/index.d.ts CHANGED
@@ -481,11 +481,11 @@ interface AlgoXEvmOptions {
481
481
  };
482
482
  }
483
483
  /**
484
- * Abstract base class for EVM-based wallets that use the Algo x EVM system
484
+ * Abstract base class for EVM-based wallets that use the xChain EVM system
485
485
  * to derive Algorand addresses from EVM addresses.
486
486
  *
487
487
  * This class provides common functionality for:
488
- * - Initializing the Algo x EVM SDK
488
+ * - Initializing the xChain EVM SDK
489
489
  * - Deriving Algorand accounts from EVM addresses
490
490
  * - Signing Algorand transactions using EVM signatures
491
491
  * - Managing the mapping between EVM and Algorand addresses
@@ -503,7 +503,7 @@ declare abstract class AlgoXEvmBaseWallet extends BaseWallet {
503
503
  protected store: Store<State>;
504
504
  constructor(params: WalletConstructor<any>);
505
505
  /**
506
- * Default metadata for Algo x EVM wallets.
506
+ * Default metadata for xChain EVM wallets.
507
507
  * Subclasses MUST override this with their own metadata including isAlgoXEvm: "EVM"
508
508
  */
509
509
  static defaultMetadata: AlgoXEvmMetadata;
@@ -530,7 +530,7 @@ declare abstract class AlgoXEvmBaseWallet extends BaseWallet {
530
530
  */
531
531
  protected abstract signWithProvider(typedData: SignTypedDataParams, evmAddress: string): Promise<string>;
532
532
  /**
533
- * Initialize the Algo x EVM SDK for deriving Algorand addresses
533
+ * Initialize the xChain EVM SDK for deriving Algorand addresses
534
534
  */
535
535
  protected initializeEvmSdk(): Promise<AlgoXEvmSdk>;
536
536
  /**
package/dist/index.js CHANGED
@@ -8608,16 +8608,16 @@ var AlgoXEvmBaseWallet = class extends BaseWallet {
8608
8608
  this.store = params.store;
8609
8609
  }
8610
8610
  /**
8611
- * Default metadata for Algo x EVM wallets.
8611
+ * Default metadata for xChain EVM wallets.
8612
8612
  * Subclasses MUST override this with their own metadata including isAlgoXEvm: "EVM"
8613
8613
  */
8614
8614
  static defaultMetadata;
8615
8615
  /**
8616
- * Initialize the Algo x EVM SDK for deriving Algorand addresses
8616
+ * Initialize the xChain EVM SDK for deriving Algorand addresses
8617
8617
  */
8618
8618
  async initializeEvmSdk() {
8619
8619
  if (!this.algoXEvmSdk) {
8620
- this.logger.info("Initializing Algo x EVM SDK...");
8620
+ this.logger.info("Initializing xChain EVM SDK...");
8621
8621
  if (!this.algorandClient) {
8622
8622
  const { AlgorandClient } = await import("@algorandfoundation/algokit-utils");
8623
8623
  const algodClient = this.getAlgodClient();
@@ -8627,7 +8627,7 @@ var AlgoXEvmBaseWallet = class extends BaseWallet {
8627
8627
  }
8628
8628
  const { AlgoXEvmSdk } = await import("algo-x-evm-sdk");
8629
8629
  this.algoXEvmSdk = new AlgoXEvmSdk({ algorand: this.algorandClient });
8630
- this.logger.info("Algo x EVM SDK initialized");
8630
+ this.logger.info("xChain EVM SDK initialized");
8631
8631
  }
8632
8632
  return this.algoXEvmSdk;
8633
8633
  }