@aptos-labs/wallet-adapter-core 0.2.2 → 1.0.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @aptos-labs/wallet-adapter-core
2
2
 
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - e10ea7b: Add ANS support
8
+
9
+ ## 0.2.3
10
+
11
+ ### Patch Changes
12
+
13
+ - 017556c: connect() to simply return if wallet is not installed
14
+
3
15
  ## 0.2.2
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -38,6 +38,7 @@ declare type AccountInfo = {
38
38
  address: string;
39
39
  publicKey: string | string[];
40
40
  minKeysRequired?: number;
41
+ ansName?: string | null;
41
42
  };
42
43
  interface AptosWalletErrorResult {
43
44
  code: number;
@@ -122,6 +123,7 @@ declare class WalletCore extends EventEmitter<WalletCoreEvents> {
122
123
  private scopePollingDetectionStrategy;
123
124
  private doesWalletExist;
124
125
  private clearData;
126
+ private setAnsName;
125
127
  setWallet(wallet: Wallet | null): void;
126
128
  setAccount(account: AccountInfo | null): void;
127
129
  setNetwork(network: NetworkInfo | null): void;