@wagmi/connectors 1.0.0-next.1 → 1.0.0-next.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.
- package/dist/safe.d.ts +16 -16
- package/dist/walletConnect.d.ts +16 -16
- package/dist/walletConnectLegacy.d.ts +16 -16
- package/package.json +3 -3
package/dist/safe.d.ts
CHANGED
|
@@ -136,7 +136,7 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
136
136
|
logIndex: `0x${string}` | null;
|
|
137
137
|
transactionHash: `0x${string}` | null;
|
|
138
138
|
transactionIndex: `0x${string}` | null;
|
|
139
|
-
topics: [
|
|
139
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
140
140
|
removed: boolean;
|
|
141
141
|
}[] | `0x${string}`[]>;
|
|
142
142
|
(args: {
|
|
@@ -150,7 +150,7 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
150
150
|
logIndex: `0x${string}` | null;
|
|
151
151
|
transactionHash: `0x${string}` | null;
|
|
152
152
|
transactionIndex: `0x${string}` | null;
|
|
153
|
-
topics: [
|
|
153
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
154
154
|
removed: boolean;
|
|
155
155
|
}[]>;
|
|
156
156
|
(args: {
|
|
@@ -175,7 +175,7 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
175
175
|
logIndex: `0x${string}` | null;
|
|
176
176
|
transactionHash: `0x${string}` | null;
|
|
177
177
|
transactionIndex: `0x${string}` | null;
|
|
178
|
-
topics: [
|
|
178
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
179
179
|
removed: boolean;
|
|
180
180
|
}[]>;
|
|
181
181
|
(args: {
|
|
@@ -394,7 +394,7 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
394
394
|
logIndex: `0x${string}` | null;
|
|
395
395
|
transactionHash: `0x${string}` | null;
|
|
396
396
|
transactionIndex: `0x${string}` | null;
|
|
397
|
-
topics: [
|
|
397
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
398
398
|
removed: boolean;
|
|
399
399
|
}[] | `0x${string}`[]>;
|
|
400
400
|
(args: {
|
|
@@ -408,7 +408,7 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
408
408
|
logIndex: `0x${string}` | null;
|
|
409
409
|
transactionHash: `0x${string}` | null;
|
|
410
410
|
transactionIndex: `0x${string}` | null;
|
|
411
|
-
topics: [
|
|
411
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
412
412
|
removed: boolean;
|
|
413
413
|
}[]>;
|
|
414
414
|
(args: {
|
|
@@ -433,7 +433,7 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
433
433
|
logIndex: `0x${string}` | null;
|
|
434
434
|
transactionHash: `0x${string}` | null;
|
|
435
435
|
transactionIndex: `0x${string}` | null;
|
|
436
|
-
topics: [
|
|
436
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
437
437
|
removed: boolean;
|
|
438
438
|
}[]>;
|
|
439
439
|
(args: {
|
|
@@ -571,7 +571,7 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
571
571
|
type: string;
|
|
572
572
|
uid: string;
|
|
573
573
|
addChain: (args: viem.AddChainParameters) => Promise<void>;
|
|
574
|
-
deployContract: <TAbi extends readonly unknown[]
|
|
574
|
+
deployContract: <TAbi extends abitype_dist_abi_7aa1f183.l | readonly unknown[], TChainOverride extends viem.Chain<viem_dist_types_types.Formatters> | undefined>(args: viem.DeployContractParameters<TAbi, Chain, {
|
|
575
575
|
address: `0x${string}`;
|
|
576
576
|
type: "json-rpc";
|
|
577
577
|
}, TChainOverride>) => Promise<`0x${string}`>;
|
|
@@ -599,6 +599,8 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
599
599
|
[x: `bool[${string}]`]: undefined;
|
|
600
600
|
[x: `bytes[${string}]`]: undefined;
|
|
601
601
|
[x: `bytes2[${string}]`]: undefined;
|
|
602
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
603
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
602
604
|
[x: `bytes1[${string}]`]: undefined;
|
|
603
605
|
[x: `bytes3[${string}]`]: undefined;
|
|
604
606
|
[x: `bytes4[${string}]`]: undefined;
|
|
@@ -607,13 +609,11 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
607
609
|
[x: `bytes7[${string}]`]: undefined;
|
|
608
610
|
[x: `bytes8[${string}]`]: undefined;
|
|
609
611
|
[x: `bytes9[${string}]`]: undefined;
|
|
610
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
611
612
|
[x: `bytes11[${string}]`]: undefined;
|
|
612
613
|
[x: `bytes12[${string}]`]: undefined;
|
|
613
614
|
[x: `bytes13[${string}]`]: undefined;
|
|
614
615
|
[x: `bytes14[${string}]`]: undefined;
|
|
615
616
|
[x: `bytes15[${string}]`]: undefined;
|
|
616
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
617
617
|
[x: `bytes17[${string}]`]: undefined;
|
|
618
618
|
[x: `bytes18[${string}]`]: undefined;
|
|
619
619
|
[x: `bytes19[${string}]`]: undefined;
|
|
@@ -631,8 +631,8 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
631
631
|
[x: `bytes31[${string}]`]: undefined;
|
|
632
632
|
[x: `bytes32[${string}]`]: undefined;
|
|
633
633
|
[x: `int[${string}]`]: undefined;
|
|
634
|
-
[x: `int8[${string}]`]: undefined;
|
|
635
634
|
[x: `int16[${string}]`]: undefined;
|
|
635
|
+
[x: `int8[${string}]`]: undefined;
|
|
636
636
|
[x: `int24[${string}]`]: undefined;
|
|
637
637
|
[x: `int32[${string}]`]: undefined;
|
|
638
638
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -664,8 +664,8 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
664
664
|
[x: `int248[${string}]`]: undefined;
|
|
665
665
|
[x: `int256[${string}]`]: undefined;
|
|
666
666
|
[x: `uint[${string}]`]: undefined;
|
|
667
|
-
[x: `uint8[${string}]`]: undefined;
|
|
668
667
|
[x: `uint16[${string}]`]: undefined;
|
|
668
|
+
[x: `uint8[${string}]`]: undefined;
|
|
669
669
|
[x: `uint24[${string}]`]: undefined;
|
|
670
670
|
[x: `uint32[${string}]`]: undefined;
|
|
671
671
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -701,6 +701,8 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
701
701
|
bool?: undefined;
|
|
702
702
|
bytes?: undefined;
|
|
703
703
|
bytes2?: undefined;
|
|
704
|
+
bytes16?: undefined;
|
|
705
|
+
bytes10?: undefined;
|
|
704
706
|
bytes1?: undefined;
|
|
705
707
|
bytes3?: undefined;
|
|
706
708
|
bytes4?: undefined;
|
|
@@ -709,13 +711,11 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
709
711
|
bytes7?: undefined;
|
|
710
712
|
bytes8?: undefined;
|
|
711
713
|
bytes9?: undefined;
|
|
712
|
-
bytes10?: undefined;
|
|
713
714
|
bytes11?: undefined;
|
|
714
715
|
bytes12?: undefined;
|
|
715
716
|
bytes13?: undefined;
|
|
716
717
|
bytes14?: undefined;
|
|
717
718
|
bytes15?: undefined;
|
|
718
|
-
bytes16?: undefined;
|
|
719
719
|
bytes17?: undefined;
|
|
720
720
|
bytes18?: undefined;
|
|
721
721
|
bytes19?: undefined;
|
|
@@ -732,8 +732,8 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
732
732
|
bytes30?: undefined;
|
|
733
733
|
bytes31?: undefined;
|
|
734
734
|
bytes32?: undefined;
|
|
735
|
-
int8?: undefined;
|
|
736
735
|
int16?: undefined;
|
|
736
|
+
int8?: undefined;
|
|
737
737
|
int24?: undefined;
|
|
738
738
|
int32?: undefined;
|
|
739
739
|
int40?: undefined;
|
|
@@ -764,8 +764,8 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
764
764
|
int240?: undefined;
|
|
765
765
|
int248?: undefined;
|
|
766
766
|
int256?: undefined;
|
|
767
|
-
uint8?: undefined;
|
|
768
767
|
uint16?: undefined;
|
|
768
|
+
uint8?: undefined;
|
|
769
769
|
uint24?: undefined;
|
|
770
770
|
uint32?: undefined;
|
|
771
771
|
uint40?: undefined;
|
|
@@ -804,7 +804,7 @@ declare class SafeConnector extends Connector<SafeConnectorProvider, SafeConnect
|
|
|
804
804
|
}>) => Promise<`0x${string}`>;
|
|
805
805
|
switchChain: (args: viem.SwitchChainParameters) => Promise<void>;
|
|
806
806
|
watchAsset: (args: viem_dist_types_types_eip1193.WatchAssetParams) => Promise<boolean>;
|
|
807
|
-
writeContract: <TAbi_1 extends readonly unknown[]
|
|
807
|
+
writeContract: <TAbi_1 extends abitype_dist_abi_7aa1f183.l | readonly unknown[], TFunctionName extends string, TChainOverride_2 extends viem.Chain<viem_dist_types_types.Formatters> | undefined>(args: viem.WriteContractParameters<TAbi_1, TFunctionName, Chain, {
|
|
808
808
|
address: `0x${string}`;
|
|
809
809
|
type: "json-rpc";
|
|
810
810
|
}, TChainOverride_2>) => Promise<`0x${string}`>;
|
package/dist/walletConnect.d.ts
CHANGED
|
@@ -184,7 +184,7 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
184
184
|
logIndex: `0x${string}` | null;
|
|
185
185
|
transactionHash: `0x${string}` | null;
|
|
186
186
|
transactionIndex: `0x${string}` | null;
|
|
187
|
-
topics: [
|
|
187
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
188
188
|
removed: boolean;
|
|
189
189
|
}[] | `0x${string}`[]>;
|
|
190
190
|
(args: {
|
|
@@ -198,7 +198,7 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
198
198
|
logIndex: `0x${string}` | null;
|
|
199
199
|
transactionHash: `0x${string}` | null;
|
|
200
200
|
transactionIndex: `0x${string}` | null;
|
|
201
|
-
topics: [
|
|
201
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
202
202
|
removed: boolean;
|
|
203
203
|
}[]>;
|
|
204
204
|
(args: {
|
|
@@ -223,7 +223,7 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
223
223
|
logIndex: `0x${string}` | null;
|
|
224
224
|
transactionHash: `0x${string}` | null;
|
|
225
225
|
transactionIndex: `0x${string}` | null;
|
|
226
|
-
topics: [
|
|
226
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
227
227
|
removed: boolean;
|
|
228
228
|
}[]>;
|
|
229
229
|
(args: {
|
|
@@ -442,7 +442,7 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
442
442
|
logIndex: `0x${string}` | null;
|
|
443
443
|
transactionHash: `0x${string}` | null;
|
|
444
444
|
transactionIndex: `0x${string}` | null;
|
|
445
|
-
topics: [
|
|
445
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
446
446
|
removed: boolean;
|
|
447
447
|
}[] | `0x${string}`[]>;
|
|
448
448
|
(args: {
|
|
@@ -456,7 +456,7 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
456
456
|
logIndex: `0x${string}` | null;
|
|
457
457
|
transactionHash: `0x${string}` | null;
|
|
458
458
|
transactionIndex: `0x${string}` | null;
|
|
459
|
-
topics: [
|
|
459
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
460
460
|
removed: boolean;
|
|
461
461
|
}[]>;
|
|
462
462
|
(args: {
|
|
@@ -481,7 +481,7 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
481
481
|
logIndex: `0x${string}` | null;
|
|
482
482
|
transactionHash: `0x${string}` | null;
|
|
483
483
|
transactionIndex: `0x${string}` | null;
|
|
484
|
-
topics: [
|
|
484
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
485
485
|
removed: boolean;
|
|
486
486
|
}[]>;
|
|
487
487
|
(args: {
|
|
@@ -619,7 +619,7 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
619
619
|
type: string;
|
|
620
620
|
uid: string;
|
|
621
621
|
addChain: (args: viem.AddChainParameters) => Promise<void>;
|
|
622
|
-
deployContract: <TAbi extends readonly unknown[]
|
|
622
|
+
deployContract: <TAbi extends abitype_dist_abi_7aa1f183.l | readonly unknown[], TChainOverride extends viem.Chain<viem_dist_types_types.Formatters> | undefined>(args: viem.DeployContractParameters<TAbi, Chain, {
|
|
623
623
|
address: `0x${string}`;
|
|
624
624
|
type: "json-rpc";
|
|
625
625
|
}, TChainOverride>) => Promise<`0x${string}`>;
|
|
@@ -647,6 +647,8 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
647
647
|
[x: `bool[${string}]`]: undefined;
|
|
648
648
|
[x: `bytes[${string}]`]: undefined;
|
|
649
649
|
[x: `bytes2[${string}]`]: undefined;
|
|
650
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
651
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
650
652
|
[x: `bytes1[${string}]`]: undefined;
|
|
651
653
|
[x: `bytes3[${string}]`]: undefined;
|
|
652
654
|
[x: `bytes4[${string}]`]: undefined;
|
|
@@ -655,13 +657,11 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
655
657
|
[x: `bytes7[${string}]`]: undefined;
|
|
656
658
|
[x: `bytes8[${string}]`]: undefined;
|
|
657
659
|
[x: `bytes9[${string}]`]: undefined;
|
|
658
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
659
660
|
[x: `bytes11[${string}]`]: undefined;
|
|
660
661
|
[x: `bytes12[${string}]`]: undefined;
|
|
661
662
|
[x: `bytes13[${string}]`]: undefined;
|
|
662
663
|
[x: `bytes14[${string}]`]: undefined;
|
|
663
664
|
[x: `bytes15[${string}]`]: undefined;
|
|
664
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
665
665
|
[x: `bytes17[${string}]`]: undefined;
|
|
666
666
|
[x: `bytes18[${string}]`]: undefined;
|
|
667
667
|
[x: `bytes19[${string}]`]: undefined;
|
|
@@ -679,8 +679,8 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
679
679
|
[x: `bytes31[${string}]`]: undefined;
|
|
680
680
|
[x: `bytes32[${string}]`]: undefined;
|
|
681
681
|
[x: `int[${string}]`]: undefined;
|
|
682
|
-
[x: `int8[${string}]`]: undefined;
|
|
683
682
|
[x: `int16[${string}]`]: undefined;
|
|
683
|
+
[x: `int8[${string}]`]: undefined;
|
|
684
684
|
[x: `int24[${string}]`]: undefined;
|
|
685
685
|
[x: `int32[${string}]`]: undefined;
|
|
686
686
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -712,8 +712,8 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
712
712
|
[x: `int248[${string}]`]: undefined;
|
|
713
713
|
[x: `int256[${string}]`]: undefined;
|
|
714
714
|
[x: `uint[${string}]`]: undefined;
|
|
715
|
-
[x: `uint8[${string}]`]: undefined;
|
|
716
715
|
[x: `uint16[${string}]`]: undefined;
|
|
716
|
+
[x: `uint8[${string}]`]: undefined;
|
|
717
717
|
[x: `uint24[${string}]`]: undefined;
|
|
718
718
|
[x: `uint32[${string}]`]: undefined;
|
|
719
719
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -749,6 +749,8 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
749
749
|
bool?: undefined;
|
|
750
750
|
bytes?: undefined;
|
|
751
751
|
bytes2?: undefined;
|
|
752
|
+
bytes16?: undefined;
|
|
753
|
+
bytes10?: undefined;
|
|
752
754
|
bytes1?: undefined;
|
|
753
755
|
bytes3?: undefined;
|
|
754
756
|
bytes4?: undefined;
|
|
@@ -757,13 +759,11 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
757
759
|
bytes7?: undefined;
|
|
758
760
|
bytes8?: undefined;
|
|
759
761
|
bytes9?: undefined;
|
|
760
|
-
bytes10?: undefined;
|
|
761
762
|
bytes11?: undefined;
|
|
762
763
|
bytes12?: undefined;
|
|
763
764
|
bytes13?: undefined;
|
|
764
765
|
bytes14?: undefined;
|
|
765
766
|
bytes15?: undefined;
|
|
766
|
-
bytes16?: undefined;
|
|
767
767
|
bytes17?: undefined;
|
|
768
768
|
bytes18?: undefined;
|
|
769
769
|
bytes19?: undefined;
|
|
@@ -780,8 +780,8 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
780
780
|
bytes30?: undefined;
|
|
781
781
|
bytes31?: undefined;
|
|
782
782
|
bytes32?: undefined;
|
|
783
|
-
int8?: undefined;
|
|
784
783
|
int16?: undefined;
|
|
784
|
+
int8?: undefined;
|
|
785
785
|
int24?: undefined;
|
|
786
786
|
int32?: undefined;
|
|
787
787
|
int40?: undefined;
|
|
@@ -812,8 +812,8 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
812
812
|
int240?: undefined;
|
|
813
813
|
int248?: undefined;
|
|
814
814
|
int256?: undefined;
|
|
815
|
-
uint8?: undefined;
|
|
816
815
|
uint16?: undefined;
|
|
816
|
+
uint8?: undefined;
|
|
817
817
|
uint24?: undefined;
|
|
818
818
|
uint32?: undefined;
|
|
819
819
|
uint40?: undefined;
|
|
@@ -852,7 +852,7 @@ declare class WalletConnectConnector extends Connector<WalletConnectProvider, Wa
|
|
|
852
852
|
}>) => Promise<`0x${string}`>;
|
|
853
853
|
switchChain: (args: viem.SwitchChainParameters) => Promise<void>;
|
|
854
854
|
watchAsset: (args: viem_dist_types_types_eip1193.WatchAssetParams) => Promise<boolean>;
|
|
855
|
-
writeContract: <TAbi_1 extends readonly unknown[]
|
|
855
|
+
writeContract: <TAbi_1 extends abitype_dist_abi_7aa1f183.l | readonly unknown[], TFunctionName extends string, TChainOverride_2 extends viem.Chain<viem_dist_types_types.Formatters> | undefined>(args: viem.WriteContractParameters<TAbi_1, TFunctionName, Chain, {
|
|
856
856
|
address: `0x${string}`;
|
|
857
857
|
type: "json-rpc";
|
|
858
858
|
}, TChainOverride_2>) => Promise<`0x${string}`>;
|
|
@@ -125,7 +125,7 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
125
125
|
logIndex: `0x${string}` | null;
|
|
126
126
|
transactionHash: `0x${string}` | null;
|
|
127
127
|
transactionIndex: `0x${string}` | null;
|
|
128
|
-
topics: [
|
|
128
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
129
129
|
removed: boolean;
|
|
130
130
|
}[] | `0x${string}`[]>;
|
|
131
131
|
(args: {
|
|
@@ -139,7 +139,7 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
139
139
|
logIndex: `0x${string}` | null;
|
|
140
140
|
transactionHash: `0x${string}` | null;
|
|
141
141
|
transactionIndex: `0x${string}` | null;
|
|
142
|
-
topics: [
|
|
142
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
143
143
|
removed: boolean;
|
|
144
144
|
}[]>;
|
|
145
145
|
(args: {
|
|
@@ -164,7 +164,7 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
164
164
|
logIndex: `0x${string}` | null;
|
|
165
165
|
transactionHash: `0x${string}` | null;
|
|
166
166
|
transactionIndex: `0x${string}` | null;
|
|
167
|
-
topics: [
|
|
167
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
168
168
|
removed: boolean;
|
|
169
169
|
}[]>;
|
|
170
170
|
(args: {
|
|
@@ -383,7 +383,7 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
383
383
|
logIndex: `0x${string}` | null;
|
|
384
384
|
transactionHash: `0x${string}` | null;
|
|
385
385
|
transactionIndex: `0x${string}` | null;
|
|
386
|
-
topics: [
|
|
386
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
387
387
|
removed: boolean;
|
|
388
388
|
}[] | `0x${string}`[]>;
|
|
389
389
|
(args: {
|
|
@@ -397,7 +397,7 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
397
397
|
logIndex: `0x${string}` | null;
|
|
398
398
|
transactionHash: `0x${string}` | null;
|
|
399
399
|
transactionIndex: `0x${string}` | null;
|
|
400
|
-
topics: [
|
|
400
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
401
401
|
removed: boolean;
|
|
402
402
|
}[]>;
|
|
403
403
|
(args: {
|
|
@@ -422,7 +422,7 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
422
422
|
logIndex: `0x${string}` | null;
|
|
423
423
|
transactionHash: `0x${string}` | null;
|
|
424
424
|
transactionIndex: `0x${string}` | null;
|
|
425
|
-
topics: [
|
|
425
|
+
topics: [`0x${string}`, ...`0x${string}`[]] | [];
|
|
426
426
|
removed: boolean;
|
|
427
427
|
}[]>;
|
|
428
428
|
(args: {
|
|
@@ -560,7 +560,7 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
560
560
|
type: string;
|
|
561
561
|
uid: string;
|
|
562
562
|
addChain: (args: viem.AddChainParameters) => Promise<void>;
|
|
563
|
-
deployContract: <TAbi extends readonly unknown[]
|
|
563
|
+
deployContract: <TAbi extends abitype_dist_abi_7aa1f183.l | readonly unknown[], TChainOverride extends viem.Chain<viem_dist_types_types.Formatters> | undefined>(args: viem.DeployContractParameters<TAbi, Chain, {
|
|
564
564
|
address: `0x${string}`;
|
|
565
565
|
type: "json-rpc";
|
|
566
566
|
}, TChainOverride>) => Promise<`0x${string}`>;
|
|
@@ -588,6 +588,8 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
588
588
|
[x: `bool[${string}]`]: undefined;
|
|
589
589
|
[x: `bytes[${string}]`]: undefined;
|
|
590
590
|
[x: `bytes2[${string}]`]: undefined;
|
|
591
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
592
|
+
[x: `bytes10[${string}]`]: undefined;
|
|
591
593
|
[x: `bytes1[${string}]`]: undefined;
|
|
592
594
|
[x: `bytes3[${string}]`]: undefined;
|
|
593
595
|
[x: `bytes4[${string}]`]: undefined;
|
|
@@ -596,13 +598,11 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
596
598
|
[x: `bytes7[${string}]`]: undefined;
|
|
597
599
|
[x: `bytes8[${string}]`]: undefined;
|
|
598
600
|
[x: `bytes9[${string}]`]: undefined;
|
|
599
|
-
[x: `bytes10[${string}]`]: undefined;
|
|
600
601
|
[x: `bytes11[${string}]`]: undefined;
|
|
601
602
|
[x: `bytes12[${string}]`]: undefined;
|
|
602
603
|
[x: `bytes13[${string}]`]: undefined;
|
|
603
604
|
[x: `bytes14[${string}]`]: undefined;
|
|
604
605
|
[x: `bytes15[${string}]`]: undefined;
|
|
605
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
606
606
|
[x: `bytes17[${string}]`]: undefined;
|
|
607
607
|
[x: `bytes18[${string}]`]: undefined;
|
|
608
608
|
[x: `bytes19[${string}]`]: undefined;
|
|
@@ -620,8 +620,8 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
620
620
|
[x: `bytes31[${string}]`]: undefined;
|
|
621
621
|
[x: `bytes32[${string}]`]: undefined;
|
|
622
622
|
[x: `int[${string}]`]: undefined;
|
|
623
|
-
[x: `int8[${string}]`]: undefined;
|
|
624
623
|
[x: `int16[${string}]`]: undefined;
|
|
624
|
+
[x: `int8[${string}]`]: undefined;
|
|
625
625
|
[x: `int24[${string}]`]: undefined;
|
|
626
626
|
[x: `int32[${string}]`]: undefined;
|
|
627
627
|
[x: `int40[${string}]`]: undefined;
|
|
@@ -653,8 +653,8 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
653
653
|
[x: `int248[${string}]`]: undefined;
|
|
654
654
|
[x: `int256[${string}]`]: undefined;
|
|
655
655
|
[x: `uint[${string}]`]: undefined;
|
|
656
|
-
[x: `uint8[${string}]`]: undefined;
|
|
657
656
|
[x: `uint16[${string}]`]: undefined;
|
|
657
|
+
[x: `uint8[${string}]`]: undefined;
|
|
658
658
|
[x: `uint24[${string}]`]: undefined;
|
|
659
659
|
[x: `uint32[${string}]`]: undefined;
|
|
660
660
|
[x: `uint40[${string}]`]: undefined;
|
|
@@ -690,6 +690,8 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
690
690
|
bool?: undefined;
|
|
691
691
|
bytes?: undefined;
|
|
692
692
|
bytes2?: undefined;
|
|
693
|
+
bytes16?: undefined;
|
|
694
|
+
bytes10?: undefined;
|
|
693
695
|
bytes1?: undefined;
|
|
694
696
|
bytes3?: undefined;
|
|
695
697
|
bytes4?: undefined;
|
|
@@ -698,13 +700,11 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
698
700
|
bytes7?: undefined;
|
|
699
701
|
bytes8?: undefined;
|
|
700
702
|
bytes9?: undefined;
|
|
701
|
-
bytes10?: undefined;
|
|
702
703
|
bytes11?: undefined;
|
|
703
704
|
bytes12?: undefined;
|
|
704
705
|
bytes13?: undefined;
|
|
705
706
|
bytes14?: undefined;
|
|
706
707
|
bytes15?: undefined;
|
|
707
|
-
bytes16?: undefined;
|
|
708
708
|
bytes17?: undefined;
|
|
709
709
|
bytes18?: undefined;
|
|
710
710
|
bytes19?: undefined;
|
|
@@ -721,8 +721,8 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
721
721
|
bytes30?: undefined;
|
|
722
722
|
bytes31?: undefined;
|
|
723
723
|
bytes32?: undefined;
|
|
724
|
-
int8?: undefined;
|
|
725
724
|
int16?: undefined;
|
|
725
|
+
int8?: undefined;
|
|
726
726
|
int24?: undefined;
|
|
727
727
|
int32?: undefined;
|
|
728
728
|
int40?: undefined;
|
|
@@ -753,8 +753,8 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
753
753
|
int240?: undefined;
|
|
754
754
|
int248?: undefined;
|
|
755
755
|
int256?: undefined;
|
|
756
|
-
uint8?: undefined;
|
|
757
756
|
uint16?: undefined;
|
|
757
|
+
uint8?: undefined;
|
|
758
758
|
uint24?: undefined;
|
|
759
759
|
uint32?: undefined;
|
|
760
760
|
uint40?: undefined;
|
|
@@ -793,7 +793,7 @@ declare class WalletConnectLegacyConnector extends Connector<WalletConnectProvid
|
|
|
793
793
|
}>) => Promise<`0x${string}`>;
|
|
794
794
|
switchChain: (args: viem.SwitchChainParameters) => Promise<void>;
|
|
795
795
|
watchAsset: (args: viem_dist_types_types_eip1193.WatchAssetParams) => Promise<boolean>;
|
|
796
|
-
writeContract: <TAbi_1 extends readonly unknown[]
|
|
796
|
+
writeContract: <TAbi_1 extends abitype_dist_abi_7aa1f183.l | readonly unknown[], TFunctionName extends string, TChainOverride_2 extends viem.Chain<viem_dist_types_types.Formatters> | undefined>(args: viem.WriteContractParameters<TAbi_1, TFunctionName, Chain, {
|
|
797
797
|
address: `0x${string}`;
|
|
798
798
|
type: "json-rpc";
|
|
799
799
|
}, TChainOverride_2>) => Promise<`0x${string}`>;
|
package/package.json
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"name": "@wagmi/connectors",
|
|
3
3
|
"description": "A collection of connectors for wagmi",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "1.0.0-next.
|
|
5
|
+
"version": "1.0.0-next.2",
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@wagmi/chains": ">=0.2.0",
|
|
8
8
|
"typescript": ">=4.9.4",
|
|
9
|
-
"viem": "~0.3.
|
|
9
|
+
"viem": "~0.3.16"
|
|
10
10
|
},
|
|
11
11
|
"peerDependenciesMeta": {
|
|
12
12
|
"@wagmi/chains": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"eventemitter3": "^4.0.7"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"viem": "0.3.
|
|
31
|
+
"viem": "0.3.16",
|
|
32
32
|
"@wagmi/chains": "0.2.18"
|
|
33
33
|
},
|
|
34
34
|
"type": "module",
|