@keplr-wallet/provider 0.11.64 → 0.12.0-alpha.2

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,230 +0,0 @@
1
- import { Message } from "@keplr-wallet/router";
2
- import { ChainInfo, EthSignType, KeplrSignOptions, Key, AminoSignResponse, StdSignature, StdSignDoc, ChainInfoWithoutEndpoints } from "@keplr-wallet/types";
3
- export declare class EnableAccessMsg extends Message<void> {
4
- readonly chainIds: string[];
5
- static type(): string;
6
- constructor(chainIds: string[]);
7
- validateBasic(): void;
8
- route(): string;
9
- type(): string;
10
- }
11
- export declare class DisableAccessMsg extends Message<void> {
12
- readonly chainIds: string[];
13
- static type(): string;
14
- constructor(chainIds: string[]);
15
- validateBasic(): void;
16
- route(): string;
17
- type(): string;
18
- }
19
- export declare class GetKeyMsg extends Message<Key> {
20
- readonly chainId: string;
21
- static type(): string;
22
- constructor(chainId: string);
23
- validateBasic(): void;
24
- route(): string;
25
- type(): string;
26
- }
27
- export declare class SuggestChainInfoMsg extends Message<void> {
28
- readonly chainInfo: ChainInfo;
29
- static type(): string;
30
- constructor(chainInfo: ChainInfo);
31
- validateBasic(): void;
32
- route(): string;
33
- type(): string;
34
- }
35
- export declare class SuggestTokenMsg extends Message<void> {
36
- readonly chainId: string;
37
- readonly contractAddress: string;
38
- readonly viewingKey?: string | undefined;
39
- static type(): string;
40
- constructor(chainId: string, contractAddress: string, viewingKey?: string | undefined);
41
- validateBasic(): void;
42
- route(): string;
43
- type(): string;
44
- }
45
- export declare class SendTxMsg extends Message<Uint8Array> {
46
- readonly chainId: string;
47
- readonly tx: unknown;
48
- readonly mode: "async" | "sync" | "block";
49
- static type(): string;
50
- constructor(chainId: string, tx: unknown, mode: "async" | "sync" | "block");
51
- validateBasic(): void;
52
- route(): string;
53
- type(): string;
54
- }
55
- export declare class GetSecret20ViewingKey extends Message<string> {
56
- readonly chainId: string;
57
- readonly contractAddress: string;
58
- static type(): string;
59
- constructor(chainId: string, contractAddress: string);
60
- validateBasic(): void;
61
- route(): string;
62
- type(): string;
63
- }
64
- export declare class RequestSignAminoMsg extends Message<AminoSignResponse> {
65
- readonly chainId: string;
66
- readonly signer: string;
67
- readonly signDoc: StdSignDoc;
68
- readonly signOptions: KeplrSignOptions & {
69
- isADR36WithString?: boolean;
70
- ethSignType?: EthSignType;
71
- };
72
- static type(): string;
73
- constructor(chainId: string, signer: string, signDoc: StdSignDoc, signOptions?: KeplrSignOptions & {
74
- isADR36WithString?: boolean;
75
- ethSignType?: EthSignType;
76
- });
77
- validateBasic(): void;
78
- route(): string;
79
- type(): string;
80
- }
81
- export declare class RequestSignEIP712CosmosTxMsg_v0 extends Message<AminoSignResponse> {
82
- readonly chainId: string;
83
- readonly signer: string;
84
- readonly eip712: {
85
- types: Record<string, {
86
- name: string;
87
- type: string;
88
- }[] | undefined>;
89
- domain: Record<string, any>;
90
- primaryType: string;
91
- };
92
- readonly signDoc: StdSignDoc;
93
- readonly signOptions: KeplrSignOptions;
94
- static type(): string;
95
- constructor(chainId: string, signer: string, eip712: {
96
- types: Record<string, {
97
- name: string;
98
- type: string;
99
- }[] | undefined>;
100
- domain: Record<string, any>;
101
- primaryType: string;
102
- }, signDoc: StdSignDoc, signOptions: KeplrSignOptions);
103
- validateBasic(): void;
104
- approveExternal(): boolean;
105
- route(): string;
106
- type(): string;
107
- }
108
- export declare class RequestICNSAdr36SignaturesMsg extends Message<{
109
- chainId: string;
110
- bech32Prefix: string;
111
- bech32Address: string;
112
- addressHash: "cosmos" | "ethereum";
113
- pubKey: Uint8Array;
114
- signatureSalt: number;
115
- signature: Uint8Array;
116
- }[]> {
117
- readonly chainId: string;
118
- readonly contractAddress: string;
119
- readonly owner: string;
120
- readonly username: string;
121
- readonly addressChainIds: string[];
122
- static type(): string;
123
- constructor(chainId: string, contractAddress: string, owner: string, username: string, addressChainIds: string[]);
124
- validateBasic(): void;
125
- approveExternal(): boolean;
126
- route(): string;
127
- type(): string;
128
- }
129
- export declare class RequestVerifyADR36AminoSignDoc extends Message<boolean> {
130
- readonly chainId: string;
131
- readonly signer: string;
132
- readonly data: Uint8Array;
133
- readonly signature: StdSignature;
134
- static type(): string;
135
- constructor(chainId: string, signer: string, data: Uint8Array, signature: StdSignature);
136
- validateBasic(): void;
137
- route(): string;
138
- type(): string;
139
- }
140
- export declare class RequestSignDirectMsg extends Message<{
141
- readonly signed: {
142
- bodyBytes: Uint8Array;
143
- authInfoBytes: Uint8Array;
144
- chainId: string;
145
- accountNumber: string;
146
- };
147
- readonly signature: StdSignature;
148
- }> {
149
- readonly chainId: string;
150
- readonly signer: string;
151
- readonly signDoc: {
152
- bodyBytes?: Uint8Array | null;
153
- authInfoBytes?: Uint8Array | null;
154
- chainId?: string | null;
155
- accountNumber?: string | null;
156
- };
157
- readonly signOptions: KeplrSignOptions;
158
- static type(): string;
159
- constructor(chainId: string, signer: string, signDoc: {
160
- bodyBytes?: Uint8Array | null;
161
- authInfoBytes?: Uint8Array | null;
162
- chainId?: string | null;
163
- accountNumber?: string | null;
164
- }, signOptions?: KeplrSignOptions);
165
- validateBasic(): void;
166
- route(): string;
167
- type(): string;
168
- }
169
- export declare class GetPubkeyMsg extends Message<Uint8Array> {
170
- readonly chainId: string;
171
- static type(): string;
172
- constructor(chainId: string);
173
- validateBasic(): void;
174
- route(): string;
175
- type(): string;
176
- }
177
- export declare class ReqeustEncryptMsg extends Message<Uint8Array> {
178
- readonly chainId: string;
179
- readonly contractCodeHash: string;
180
- readonly msg: object;
181
- static type(): string;
182
- constructor(chainId: string, contractCodeHash: string, msg: object);
183
- validateBasic(): void;
184
- route(): string;
185
- type(): string;
186
- }
187
- export declare class RequestDecryptMsg extends Message<Uint8Array> {
188
- readonly chainId: string;
189
- readonly cipherText: Uint8Array;
190
- readonly nonce: Uint8Array;
191
- static type(): string;
192
- constructor(chainId: string, cipherText: Uint8Array, nonce: Uint8Array);
193
- validateBasic(): void;
194
- route(): string;
195
- type(): string;
196
- }
197
- export declare class GetTxEncryptionKeyMsg extends Message<Uint8Array> {
198
- readonly chainId: string;
199
- readonly nonce: Uint8Array;
200
- static type(): string;
201
- constructor(chainId: string, nonce: Uint8Array);
202
- validateBasic(): void;
203
- route(): string;
204
- type(): string;
205
- }
206
- export declare class GetChainInfosWithoutEndpointsMsg extends Message<{
207
- chainInfos: ChainInfoWithoutEndpoints[];
208
- }> {
209
- static type(): string;
210
- validateBasic(): void;
211
- route(): string;
212
- type(): string;
213
- }
214
- export declare class GetAnalyticsIdMsg extends Message<string> {
215
- static type(): string;
216
- constructor();
217
- validateBasic(): void;
218
- approveExternal(): boolean;
219
- route(): string;
220
- type(): string;
221
- }
222
- export declare class ChangeKeyRingNameMsg extends Message<string> {
223
- readonly defaultName: string;
224
- readonly editable: boolean;
225
- static type(): string;
226
- constructor(defaultName: string, editable: boolean);
227
- validateBasic(): void;
228
- route(): string;
229
- type(): string;
230
- }