@manahippo/aptos-wallet-adapter 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -21,13 +21,13 @@ interface IAptosWallet {
|
|
21
21
|
}>;
|
22
22
|
disconnect(): Promise<void>;
|
23
23
|
}
|
24
|
-
export declare const AptosWalletName: WalletName<"
|
24
|
+
export declare const AptosWalletName: WalletName<"Petra">;
|
25
25
|
export interface AptosWalletAdapterConfig {
|
26
26
|
provider?: IAptosWallet;
|
27
27
|
timeout?: number;
|
28
28
|
}
|
29
29
|
export declare class AptosWalletAdapter extends BaseWalletAdapter {
|
30
|
-
name: WalletName<"
|
30
|
+
name: WalletName<"Petra">;
|
31
31
|
url: string;
|
32
32
|
icon: string;
|
33
33
|
protected _provider: IAptosWallet | undefined;
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AptosWalletAdapter = exports.AptosWalletName = void 0;
|
13
13
|
const errors_1 = require("../WalletProviders/errors");
|
14
14
|
const BaseAdapter_1 = require("./BaseAdapter");
|
15
|
-
exports.AptosWalletName = '
|
15
|
+
exports.AptosWalletName = 'Petra';
|
16
16
|
class AptosWalletAdapter extends BaseAdapter_1.BaseWalletAdapter {
|
17
17
|
constructor({
|
18
18
|
// provider,
|
package/package.json
CHANGED
@@ -39,7 +39,7 @@ interface AptosWindow extends Window {
|
|
39
39
|
|
40
40
|
declare const window: AptosWindow;
|
41
41
|
|
42
|
-
export const AptosWalletName = '
|
42
|
+
export const AptosWalletName = 'Petra' as WalletName<'Petra'>;
|
43
43
|
|
44
44
|
export interface AptosWalletAdapterConfig {
|
45
45
|
provider?: IAptosWallet;
|