@btc-vision/walletconnect 1.9.9 → 1.9.11

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.
@@ -1,5 +1,6 @@
1
1
  import { networks } from '@btc-vision/bitcoin';
2
2
  import {
3
+ type MLDSASignature,
3
4
  type Unisat,
4
5
  type UnisatChainInfo,
5
6
  UnisatChainType,
@@ -201,6 +202,20 @@ class UnisatWallet implements WalletBase {
201
202
  this.chainChangedHookWrapper = undefined;
202
203
  }
203
204
  }
205
+
206
+ // Unisat doesn't support MLDSA so these methods return null or false
207
+ getMLDSAPublicKey(): Promise<string | null> {
208
+ return Promise.resolve(null);
209
+ }
210
+ getHashedMLDSAKey(): Promise<string | null> {
211
+ return Promise.resolve(null);
212
+ }
213
+ signMLDSAMessage(_message: string): Promise<MLDSASignature | null> {
214
+ return Promise.resolve(null);
215
+ }
216
+ verifyMLDSASignature(_message: string, _signature: MLDSASignature): Promise<boolean> {
217
+ return Promise.resolve(false);
218
+ }
204
219
  }
205
220
 
206
221
  export default UnisatWallet;