@tetherto/wdk-wallet-evm 1.0.0-beta.25 → 1.0.0-beta.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tetherto/wdk-wallet-evm",
3
- "version": "1.0.0-beta.25",
3
+ "version": "1.0.0-beta.27",
4
4
  "description": "EVM wallet module for WDK (Wallet Development Kit) by Tether.",
5
5
  "homepage": "https://docs.wdk.tether.io/sdk/wallet-modules/wallet-evm/",
6
6
  "keywords": [
@@ -33,7 +33,7 @@
33
33
  "@noble/hashes": "1.8.0",
34
34
  "@noble/secp256k1": "2.2.3",
35
35
  "@tetherto/wdk-failover-provider": "1.0.0-beta.2",
36
- "@tetherto/wdk-wallet": "1.0.0-beta.22",
36
+ "@tetherto/wdk-wallet": "1.0.0-beta.26",
37
37
  "bare-node-runtime": "^1.5.2",
38
38
  "bip39": "3.1.0",
39
39
  "ethers": "6.17.0",
@@ -108,7 +108,7 @@ export default class WalletAccountReadOnlyEvm extends WalletAccountReadOnly {
108
108
  * @param {Omit<EvmWalletConfig, 'transferMaxFee' | 'transactionMaxFee'>} [config] - The configuration object.
109
109
  */
110
110
  constructor (address, config = { }) {
111
- super(address)
111
+ super(address, config)
112
112
 
113
113
  /**
114
114
  * The read-only wallet account configuration.
@@ -234,7 +234,11 @@ export default class WalletManagerEvm extends WalletManager {
234
234
  }
235
235
 
236
236
  /**
237
- * Disposes all the wallet accounts, erasing their private keys from the memory.
237
+ * Disposes the wallet accounts, erasing their private keys from memory, and the default
238
+ * signer if the manager created it from a seed. Signers you supplied are never disposed, so
239
+ * an account created directly on one with getAccount(signerName) keeps its key. The seed you
240
+ * passed in is never wiped (a seed phrase string stays in memory until it is garbage
241
+ * collected).
238
242
  */
239
243
  dispose () {
240
244
  if (this._shouldWipeDefaultSignerOnDisposal) {
@@ -115,10 +115,11 @@ export default class WalletManagerEvm extends WalletManager<ISignerEvm> {
115
115
  */
116
116
  getFeeRates(): Promise<FeeRates>;
117
117
  /**
118
- * Disposes all the wallet accounts, erasing their private keys from the memory. If the
119
- * manager was created from a seed, the internally created default signer is wiped too;
120
- * a default signer supplied at construction is left untouched, as are signers registered
121
- * via {@link addSigner}.
118
+ * Disposes the wallet accounts, erasing their private keys from memory, and the default
119
+ * signer if the manager created it from a seed. Signers you supplied are never disposed, so
120
+ * an account created directly on one with getAccount(signerName) keeps its key. The seed
121
+ * you passed in is never wiped (a seed phrase string stays in memory until it is garbage
122
+ * collected).
122
123
  */
123
124
  dispose(): void;
124
125
  }