@enclave-hq/wallet-sdk 1.1.4 → 1.1.5

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.
@@ -113,6 +113,17 @@ var WalletAdapter = class extends EventEmitter {
113
113
  this.state = "disconnected" /* DISCONNECTED */;
114
114
  this.currentAccount = null;
115
115
  }
116
+ /**
117
+ * Get the signer's address (implements ISigner interface)
118
+ * Returns the native address of the current account
119
+ */
120
+ async getAddress() {
121
+ this.ensureConnected();
122
+ if (!this.currentAccount) {
123
+ throw new WalletNotConnectedError(this.type);
124
+ }
125
+ return this.currentAccount.nativeAddress;
126
+ }
116
127
  signTransaction(_transaction) {
117
128
  throw new MethodNotSupportedError("signTransaction", this.type);
118
129
  }