@farcaster/frame-wagmi-connector 0.0.34 → 0.0.36
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/dist/connector.d.ts +50 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
package/dist/connector.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare function farcasterFrame(): import("@wagmi/core").CreateConnectorF
|
|
|
20
20
|
} | {
|
|
21
21
|
Request: {
|
|
22
22
|
method: "eth_call";
|
|
23
|
-
params: [transaction: import("ox/TransactionRequest").Rpc] | [transaction: import("ox/TransactionRequest").Rpc, block: import("ox/Block").Number<import("ox/Hex").Hex> | import("ox/Block").Tag | import("ox/Block").Hash | import("ox/Block").Identifier] | [transaction: import("ox/TransactionRequest").Rpc, block: import("ox/Block").Number<import("ox/Hex").Hex> | import("ox/Block").Tag | import("ox/Block").Hash | import("ox/Block").Identifier,
|
|
23
|
+
params: [transaction: import("ox/TransactionRequest").Rpc] | [transaction: import("ox/TransactionRequest").Rpc, block: import("ox/Block").Number<import("ox/Hex").Hex> | import("ox/Block").Tag | import("ox/Block").Hash | import("ox/Block").Identifier] | [transaction: import("ox/TransactionRequest").Rpc, block: import("ox/Block").Number<import("ox/Hex").Hex> | import("ox/Block").Tag | import("ox/Block").Hash | import("ox/Block").Identifier, stateOverrides: import("ox/StateOverrides").Rpc];
|
|
24
24
|
};
|
|
25
25
|
ReturnType: import("ox/Hex").Hex;
|
|
26
26
|
} | {
|
|
@@ -38,7 +38,7 @@ export declare function farcasterFrame(): import("@wagmi/core").CreateConnectorF
|
|
|
38
38
|
} | {
|
|
39
39
|
Request: {
|
|
40
40
|
method: "eth_estimateGas";
|
|
41
|
-
params: [transaction: import("ox/TransactionRequest").Rpc] | [transaction: import("ox/TransactionRequest").Rpc, block: import("ox/Block").Number<import("ox/Hex").Hex> | import("ox/Block").Tag | import("ox/Block").Hash | import("ox/Block").Identifier] | [transaction: import("ox/TransactionRequest").Rpc, block: import("ox/Block").Number<import("ox/Hex").Hex> | import("ox/Block").Tag | import("ox/Block").Hash | import("ox/Block").Identifier,
|
|
41
|
+
params: [transaction: import("ox/TransactionRequest").Rpc] | [transaction: import("ox/TransactionRequest").Rpc, block: import("ox/Block").Number<import("ox/Hex").Hex> | import("ox/Block").Tag | import("ox/Block").Hash | import("ox/Block").Identifier] | [transaction: import("ox/TransactionRequest").Rpc, block: import("ox/Block").Number<import("ox/Hex").Hex> | import("ox/Block").Tag | import("ox/Block").Hash | import("ox/Block").Identifier, stateOverrides: import("ox/StateOverrides").Rpc];
|
|
42
42
|
};
|
|
43
43
|
ReturnType: import("ox/Hex").Hex;
|
|
44
44
|
} | {
|
|
@@ -209,6 +209,33 @@ export declare function farcasterFrame(): import("@wagmi/core").CreateConnectorF
|
|
|
209
209
|
params: [transaction: import("ox/TransactionRequest").Rpc];
|
|
210
210
|
};
|
|
211
211
|
ReturnType: import("ox/Hex").Hex;
|
|
212
|
+
} | {
|
|
213
|
+
Request: {
|
|
214
|
+
method: "eth_simulateV1";
|
|
215
|
+
params: [{
|
|
216
|
+
blockStateCalls: readonly {
|
|
217
|
+
blockOverrides?: import("ox/BlockOverrides").Rpc | undefined;
|
|
218
|
+
calls?: readonly import("ox/TransactionRequest").Rpc[] | undefined;
|
|
219
|
+
stateOverrides?: import("ox/StateOverrides").Rpc | undefined;
|
|
220
|
+
}[];
|
|
221
|
+
returnFullTransactions?: boolean | undefined;
|
|
222
|
+
traceTransfers?: boolean | undefined;
|
|
223
|
+
validation?: boolean | undefined;
|
|
224
|
+
}, block: import("ox/Block").Number<import("ox/Hex").Hex> | import("ox/Block").Tag | import("ox/Block").Hash | import("ox/Block").Identifier];
|
|
225
|
+
};
|
|
226
|
+
ReturnType: readonly (import("ox/Block").Rpc & {
|
|
227
|
+
calls?: readonly {
|
|
228
|
+
error?: {
|
|
229
|
+
data?: import("ox/Hex").Hex | undefined;
|
|
230
|
+
code: number;
|
|
231
|
+
message: string;
|
|
232
|
+
} | undefined;
|
|
233
|
+
logs?: readonly import("ox/Log").Rpc[] | undefined;
|
|
234
|
+
gasUsed: import("ox/Hex").Hex;
|
|
235
|
+
returnData: import("ox/Hex").Hex;
|
|
236
|
+
status: import("ox/Hex").Hex;
|
|
237
|
+
}[] | undefined;
|
|
238
|
+
})[];
|
|
212
239
|
} | {
|
|
213
240
|
Request: {
|
|
214
241
|
method: "eth_signTransaction";
|
|
@@ -286,7 +313,12 @@ export declare function farcasterFrame(): import("@wagmi/core").CreateConnectorF
|
|
|
286
313
|
params?: [string];
|
|
287
314
|
};
|
|
288
315
|
ReturnType: {
|
|
289
|
-
|
|
316
|
+
atomic: boolean;
|
|
317
|
+
capabilities?: {
|
|
318
|
+
[capability: string]: any;
|
|
319
|
+
} | undefined;
|
|
320
|
+
chainId: import("ox/Hex").Hex;
|
|
321
|
+
id: string;
|
|
290
322
|
receipts?: readonly {
|
|
291
323
|
logs: {
|
|
292
324
|
address: import("ox/Hex").Hex;
|
|
@@ -299,11 +331,13 @@ export declare function farcasterFrame(): import("@wagmi/core").CreateConnectorF
|
|
|
299
331
|
gasUsed: import("ox/Hex").Hex;
|
|
300
332
|
transactionHash: import("ox/Hex").Hex;
|
|
301
333
|
}[] | undefined;
|
|
334
|
+
status: number;
|
|
335
|
+
version: string;
|
|
302
336
|
};
|
|
303
337
|
} | {
|
|
304
338
|
Request: {
|
|
305
339
|
method: "wallet_getCapabilities";
|
|
306
|
-
params?: [import("ox/Address").Address];
|
|
340
|
+
params?: readonly [] | readonly [import("ox/Address").Address | undefined] | readonly [import("ox/Address").Address | undefined, readonly import("ox/Hex").Hex[] | undefined] | undefined;
|
|
307
341
|
};
|
|
308
342
|
ReturnType: {
|
|
309
343
|
[x: `0x${string}`]: {
|
|
@@ -393,7 +427,11 @@ export declare function farcasterFrame(): import("@wagmi/core").CreateConnectorF
|
|
|
393
427
|
Request: {
|
|
394
428
|
method: "wallet_sendCalls";
|
|
395
429
|
params: [{
|
|
430
|
+
atomicRequired: boolean;
|
|
396
431
|
calls: readonly {
|
|
432
|
+
capabilities?: {
|
|
433
|
+
[capability: string]: any;
|
|
434
|
+
} | undefined;
|
|
397
435
|
to?: import("ox/Address").Address | undefined;
|
|
398
436
|
data?: import("ox/Hex").Hex | undefined;
|
|
399
437
|
value?: import("ox/Hex").Hex | undefined;
|
|
@@ -402,11 +440,17 @@ export declare function farcasterFrame(): import("@wagmi/core").CreateConnectorF
|
|
|
402
440
|
[capability: string]: any;
|
|
403
441
|
} | undefined;
|
|
404
442
|
chainId?: import("ox/Hex").Hex | undefined;
|
|
405
|
-
|
|
443
|
+
id?: string | undefined;
|
|
444
|
+
from?: import("ox/Address").Address | undefined;
|
|
406
445
|
version: string;
|
|
407
446
|
}];
|
|
408
447
|
};
|
|
409
|
-
ReturnType:
|
|
448
|
+
ReturnType: {
|
|
449
|
+
capabilities?: {
|
|
450
|
+
[capability: string]: any;
|
|
451
|
+
} | undefined;
|
|
452
|
+
id: string;
|
|
453
|
+
};
|
|
410
454
|
} | {
|
|
411
455
|
Request: {
|
|
412
456
|
method: "wallet_showCallsStatus";
|