@metamask/keyring-api 17.5.0 → 18.0.0
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 +17 -1
- package/dist/api/account.cjs +6 -0
- package/dist/api/account.cjs.map +1 -1
- package/dist/api/account.d.cts +10 -4
- package/dist/api/account.d.cts.map +1 -1
- package/dist/api/account.d.mts +10 -4
- package/dist/api/account.d.mts.map +1 -1
- package/dist/api/account.mjs +6 -0
- package/dist/api/account.mjs.map +1 -1
- package/dist/api/request.cjs +4 -0
- package/dist/api/request.cjs.map +1 -1
- package/dist/api/request.d.cts +5 -0
- package/dist/api/request.d.cts.map +1 -1
- package/dist/api/request.d.mts +5 -0
- package/dist/api/request.d.mts.map +1 -1
- package/dist/api/request.mjs +4 -0
- package/dist/api/request.mjs.map +1 -1
- package/dist/btc/types.cjs +63 -14
- package/dist/btc/types.cjs.map +1 -1
- package/dist/btc/types.d.cts +95 -4
- package/dist/btc/types.d.cts.map +1 -1
- package/dist/btc/types.d.mts +95 -4
- package/dist/btc/types.d.mts.map +1 -1
- package/dist/btc/types.mjs +64 -15
- package/dist/btc/types.mjs.map +1 -1
- package/dist/events.d.cts +14 -8
- package/dist/events.d.cts.map +1 -1
- package/dist/events.d.mts +14 -8
- package/dist/events.d.mts.map +1 -1
- package/dist/rpc.d.cts +31 -11
- package/dist/rpc.d.cts.map +1 -1
- package/dist/rpc.d.mts +31 -11
- package/dist/rpc.d.mts.map +1 -1
- package/package.json +2 -2
package/dist/rpc.d.cts
CHANGED
@@ -39,14 +39,14 @@ export declare const ListAccountsRequestStruct: import("@metamask/superstruct").
|
|
39
39
|
}>;
|
40
40
|
export type ListAccountsRequest = Infer<typeof ListAccountsRequestStruct>;
|
41
41
|
export declare const ListAccountsResponseStruct: import("@metamask/superstruct").Struct<{
|
42
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
42
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
43
43
|
id: string;
|
44
44
|
options: Record<string, import("@metamask/utils").Json>;
|
45
45
|
address: string;
|
46
46
|
scopes: `${string}:${string}`[];
|
47
47
|
methods: string[];
|
48
48
|
}[], import("@metamask/superstruct").Struct<{
|
49
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
49
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
50
50
|
id: string;
|
51
51
|
options: Record<string, import("@metamask/utils").Json>;
|
52
52
|
address: string;
|
@@ -54,10 +54,13 @@ export declare const ListAccountsResponseStruct: import("@metamask/superstruct")
|
|
54
54
|
methods: string[];
|
55
55
|
}, {
|
56
56
|
id: import("@metamask/superstruct").Struct<string, null>;
|
57
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account", {
|
57
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account", {
|
58
58
|
"eip155:eoa": "eip155:eoa";
|
59
59
|
"eip155:erc4337": "eip155:erc4337";
|
60
|
+
"bip122:p2pkh": "bip122:p2pkh";
|
61
|
+
"bip122:p2sh": "bip122:p2sh";
|
60
62
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
63
|
+
"bip122:p2tr": "bip122:p2tr";
|
61
64
|
"solana:data-account": "solana:data-account";
|
62
65
|
}>;
|
63
66
|
address: import("@metamask/superstruct").Struct<string, null>;
|
@@ -85,7 +88,7 @@ export declare const GetAccountRequestStruct: import("@metamask/superstruct").St
|
|
85
88
|
}>;
|
86
89
|
export type GetAccountRequest = Infer<typeof GetAccountRequestStruct>;
|
87
90
|
export declare const GetAccountResponseStruct: import("@metamask/superstruct").Struct<{
|
88
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
91
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
89
92
|
id: string;
|
90
93
|
options: Record<string, import("@metamask/utils").Json>;
|
91
94
|
address: string;
|
@@ -93,10 +96,13 @@ export declare const GetAccountResponseStruct: import("@metamask/superstruct").S
|
|
93
96
|
methods: string[];
|
94
97
|
}, {
|
95
98
|
id: import("@metamask/superstruct").Struct<string, null>;
|
96
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account", {
|
99
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account", {
|
97
100
|
"eip155:eoa": "eip155:eoa";
|
98
101
|
"eip155:erc4337": "eip155:erc4337";
|
102
|
+
"bip122:p2pkh": "bip122:p2pkh";
|
103
|
+
"bip122:p2sh": "bip122:p2sh";
|
99
104
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
105
|
+
"bip122:p2tr": "bip122:p2tr";
|
100
106
|
"solana:data-account": "solana:data-account";
|
101
107
|
}>;
|
102
108
|
address: import("@metamask/superstruct").Struct<string, null>;
|
@@ -124,7 +130,7 @@ export declare const CreateAccountRequestStruct: import("@metamask/superstruct")
|
|
124
130
|
}>;
|
125
131
|
export type CreateAccountRequest = Infer<typeof CreateAccountRequestStruct>;
|
126
132
|
export declare const CreateAccountResponseStruct: import("@metamask/superstruct").Struct<{
|
127
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
133
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
128
134
|
id: string;
|
129
135
|
options: Record<string, import("@metamask/utils").Json>;
|
130
136
|
address: string;
|
@@ -132,10 +138,13 @@ export declare const CreateAccountResponseStruct: import("@metamask/superstruct"
|
|
132
138
|
methods: string[];
|
133
139
|
}, {
|
134
140
|
id: import("@metamask/superstruct").Struct<string, null>;
|
135
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account", {
|
141
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account", {
|
136
142
|
"eip155:eoa": "eip155:eoa";
|
137
143
|
"eip155:erc4337": "eip155:erc4337";
|
144
|
+
"bip122:p2pkh": "bip122:p2pkh";
|
145
|
+
"bip122:p2sh": "bip122:p2sh";
|
138
146
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
147
|
+
"bip122:p2tr": "bip122:p2tr";
|
139
148
|
"solana:data-account": "solana:data-account";
|
140
149
|
}>;
|
141
150
|
address: import("@metamask/superstruct").Struct<string, null>;
|
@@ -625,7 +634,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
625
634
|
jsonrpc: "2.0";
|
626
635
|
params: {
|
627
636
|
account: {
|
628
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
637
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
629
638
|
id: string;
|
630
639
|
options: Record<string, import("@metamask/utils").Json>;
|
631
640
|
address: string;
|
@@ -637,7 +646,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
637
646
|
method: import("@metamask/superstruct").Struct<"keyring_updateAccount", "keyring_updateAccount">;
|
638
647
|
params: import("@metamask/superstruct").Struct<{
|
639
648
|
account: {
|
640
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
649
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
641
650
|
id: string;
|
642
651
|
options: Record<string, import("@metamask/utils").Json>;
|
643
652
|
address: string;
|
@@ -646,7 +655,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
646
655
|
};
|
647
656
|
}, {
|
648
657
|
account: import("@metamask/superstruct").Struct<{
|
649
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
658
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
650
659
|
id: string;
|
651
660
|
options: Record<string, import("@metamask/utils").Json>;
|
652
661
|
address: string;
|
@@ -654,10 +663,13 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
654
663
|
methods: string[];
|
655
664
|
}, {
|
656
665
|
id: import("@metamask/superstruct").Struct<string, null>;
|
657
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account", {
|
666
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account", {
|
658
667
|
"eip155:eoa": "eip155:eoa";
|
659
668
|
"eip155:erc4337": "eip155:erc4337";
|
669
|
+
"bip122:p2pkh": "bip122:p2pkh";
|
670
|
+
"bip122:p2sh": "bip122:p2sh";
|
660
671
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
672
|
+
"bip122:p2tr": "bip122:p2tr";
|
661
673
|
"solana:data-account": "solana:data-account";
|
662
674
|
}>;
|
663
675
|
address: import("@metamask/superstruct").Struct<string, null>;
|
@@ -724,6 +736,7 @@ export declare const ListRequestsRequestStruct: import("@metamask/superstruct").
|
|
724
736
|
export type ListRequestsRequest = Infer<typeof ListRequestsRequestStruct>;
|
725
737
|
export declare const ListRequestsResponseStruct: import("@metamask/superstruct").Struct<{
|
726
738
|
id: string;
|
739
|
+
origin: string;
|
727
740
|
request: {
|
728
741
|
method: string;
|
729
742
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
@@ -732,6 +745,7 @@ export declare const ListRequestsResponseStruct: import("@metamask/superstruct")
|
|
732
745
|
account: string;
|
733
746
|
}[], import("@metamask/superstruct").Struct<{
|
734
747
|
id: string;
|
748
|
+
origin: string;
|
735
749
|
request: {
|
736
750
|
method: string;
|
737
751
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
@@ -742,6 +756,7 @@ export declare const ListRequestsResponseStruct: import("@metamask/superstruct")
|
|
742
756
|
id: import("@metamask/superstruct").Struct<string, null>;
|
743
757
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
744
758
|
account: import("@metamask/superstruct").Struct<string, null>;
|
759
|
+
origin: import("@metamask/superstruct").Struct<string, null>;
|
745
760
|
request: import("@metamask/superstruct").Struct<{
|
746
761
|
method: string;
|
747
762
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
@@ -771,6 +786,7 @@ export declare const GetRequestRequestStruct: import("@metamask/superstruct").St
|
|
771
786
|
export type GetRequestRequest = Infer<typeof GetRequestRequestStruct>;
|
772
787
|
export declare const GetRequestResponseStruct: import("@metamask/superstruct").Struct<{
|
773
788
|
id: string;
|
789
|
+
origin: string;
|
774
790
|
request: {
|
775
791
|
method: string;
|
776
792
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
@@ -781,6 +797,7 @@ export declare const GetRequestResponseStruct: import("@metamask/superstruct").S
|
|
781
797
|
id: import("@metamask/superstruct").Struct<string, null>;
|
782
798
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
783
799
|
account: import("@metamask/superstruct").Struct<string, null>;
|
800
|
+
origin: import("@metamask/superstruct").Struct<string, null>;
|
784
801
|
request: import("@metamask/superstruct").Struct<{
|
785
802
|
method: string;
|
786
803
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
@@ -796,6 +813,7 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
796
813
|
jsonrpc: "2.0";
|
797
814
|
params: {
|
798
815
|
id: string;
|
816
|
+
origin: string;
|
799
817
|
request: {
|
800
818
|
method: string;
|
801
819
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
@@ -807,6 +825,7 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
807
825
|
method: import("@metamask/superstruct").Struct<"keyring_submitRequest", "keyring_submitRequest">;
|
808
826
|
params: import("@metamask/superstruct").Struct<{
|
809
827
|
id: string;
|
828
|
+
origin: string;
|
810
829
|
request: {
|
811
830
|
method: string;
|
812
831
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
@@ -817,6 +836,7 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
817
836
|
id: import("@metamask/superstruct").Struct<string, null>;
|
818
837
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
819
838
|
account: import("@metamask/superstruct").Struct<string, null>;
|
839
|
+
origin: import("@metamask/superstruct").Struct<string, null>;
|
820
840
|
request: import("@metamask/superstruct").Struct<{
|
821
841
|
method: string;
|
822
842
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
package/dist/rpc.d.cts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"rpc.d.cts","sourceRoot":"","sources":["../src/rpc.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,KAAK,EAAE,8BAA8B;AA2BnD;;GAEG;AACH,oBAAY,gBAAgB;IAC1B,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C;AAK5E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;EAMlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEtE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;EAAuB,CAAC;AAE7D,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAKxE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE5E,eAAO,MAAM,2BAA2B;;;;;;;;;QAAwB,CAAC;AAEjE,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAK9E,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;EAOtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAE9E,eAAO,MAAM,4BAA4B,oDAAgB,CAAC;AAE1D,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAKhF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;EAMrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE5E,eAAO,MAAM,2BAA2B,oDAAgB,CAAC;AAEzD,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
package/dist/rpc.d.mts
CHANGED
@@ -39,14 +39,14 @@ export declare const ListAccountsRequestStruct: import("@metamask/superstruct").
|
|
39
39
|
}>;
|
40
40
|
export type ListAccountsRequest = Infer<typeof ListAccountsRequestStruct>;
|
41
41
|
export declare const ListAccountsResponseStruct: import("@metamask/superstruct").Struct<{
|
42
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
42
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
43
43
|
id: string;
|
44
44
|
options: Record<string, import("@metamask/utils").Json>;
|
45
45
|
address: string;
|
46
46
|
scopes: `${string}:${string}`[];
|
47
47
|
methods: string[];
|
48
48
|
}[], import("@metamask/superstruct").Struct<{
|
49
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
49
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
50
50
|
id: string;
|
51
51
|
options: Record<string, import("@metamask/utils").Json>;
|
52
52
|
address: string;
|
@@ -54,10 +54,13 @@ export declare const ListAccountsResponseStruct: import("@metamask/superstruct")
|
|
54
54
|
methods: string[];
|
55
55
|
}, {
|
56
56
|
id: import("@metamask/superstruct").Struct<string, null>;
|
57
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account", {
|
57
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account", {
|
58
58
|
"eip155:eoa": "eip155:eoa";
|
59
59
|
"eip155:erc4337": "eip155:erc4337";
|
60
|
+
"bip122:p2pkh": "bip122:p2pkh";
|
61
|
+
"bip122:p2sh": "bip122:p2sh";
|
60
62
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
63
|
+
"bip122:p2tr": "bip122:p2tr";
|
61
64
|
"solana:data-account": "solana:data-account";
|
62
65
|
}>;
|
63
66
|
address: import("@metamask/superstruct").Struct<string, null>;
|
@@ -85,7 +88,7 @@ export declare const GetAccountRequestStruct: import("@metamask/superstruct").St
|
|
85
88
|
}>;
|
86
89
|
export type GetAccountRequest = Infer<typeof GetAccountRequestStruct>;
|
87
90
|
export declare const GetAccountResponseStruct: import("@metamask/superstruct").Struct<{
|
88
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
91
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
89
92
|
id: string;
|
90
93
|
options: Record<string, import("@metamask/utils").Json>;
|
91
94
|
address: string;
|
@@ -93,10 +96,13 @@ export declare const GetAccountResponseStruct: import("@metamask/superstruct").S
|
|
93
96
|
methods: string[];
|
94
97
|
}, {
|
95
98
|
id: import("@metamask/superstruct").Struct<string, null>;
|
96
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account", {
|
99
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account", {
|
97
100
|
"eip155:eoa": "eip155:eoa";
|
98
101
|
"eip155:erc4337": "eip155:erc4337";
|
102
|
+
"bip122:p2pkh": "bip122:p2pkh";
|
103
|
+
"bip122:p2sh": "bip122:p2sh";
|
99
104
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
105
|
+
"bip122:p2tr": "bip122:p2tr";
|
100
106
|
"solana:data-account": "solana:data-account";
|
101
107
|
}>;
|
102
108
|
address: import("@metamask/superstruct").Struct<string, null>;
|
@@ -124,7 +130,7 @@ export declare const CreateAccountRequestStruct: import("@metamask/superstruct")
|
|
124
130
|
}>;
|
125
131
|
export type CreateAccountRequest = Infer<typeof CreateAccountRequestStruct>;
|
126
132
|
export declare const CreateAccountResponseStruct: import("@metamask/superstruct").Struct<{
|
127
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
133
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
128
134
|
id: string;
|
129
135
|
options: Record<string, import("@metamask/utils").Json>;
|
130
136
|
address: string;
|
@@ -132,10 +138,13 @@ export declare const CreateAccountResponseStruct: import("@metamask/superstruct"
|
|
132
138
|
methods: string[];
|
133
139
|
}, {
|
134
140
|
id: import("@metamask/superstruct").Struct<string, null>;
|
135
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account", {
|
141
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account", {
|
136
142
|
"eip155:eoa": "eip155:eoa";
|
137
143
|
"eip155:erc4337": "eip155:erc4337";
|
144
|
+
"bip122:p2pkh": "bip122:p2pkh";
|
145
|
+
"bip122:p2sh": "bip122:p2sh";
|
138
146
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
147
|
+
"bip122:p2tr": "bip122:p2tr";
|
139
148
|
"solana:data-account": "solana:data-account";
|
140
149
|
}>;
|
141
150
|
address: import("@metamask/superstruct").Struct<string, null>;
|
@@ -625,7 +634,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
625
634
|
jsonrpc: "2.0";
|
626
635
|
params: {
|
627
636
|
account: {
|
628
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
637
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
629
638
|
id: string;
|
630
639
|
options: Record<string, import("@metamask/utils").Json>;
|
631
640
|
address: string;
|
@@ -637,7 +646,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
637
646
|
method: import("@metamask/superstruct").Struct<"keyring_updateAccount", "keyring_updateAccount">;
|
638
647
|
params: import("@metamask/superstruct").Struct<{
|
639
648
|
account: {
|
640
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
649
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
641
650
|
id: string;
|
642
651
|
options: Record<string, import("@metamask/utils").Json>;
|
643
652
|
address: string;
|
@@ -646,7 +655,7 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
646
655
|
};
|
647
656
|
}, {
|
648
657
|
account: import("@metamask/superstruct").Struct<{
|
649
|
-
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account";
|
658
|
+
type: "eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account";
|
650
659
|
id: string;
|
651
660
|
options: Record<string, import("@metamask/utils").Json>;
|
652
661
|
address: string;
|
@@ -654,10 +663,13 @@ export declare const UpdateAccountRequestStruct: import("@metamask/superstruct")
|
|
654
663
|
methods: string[];
|
655
664
|
}, {
|
656
665
|
id: import("@metamask/superstruct").Struct<string, null>;
|
657
|
-
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2wpkh" | "solana:data-account", {
|
666
|
+
type: import("@metamask/superstruct").Struct<"eip155:eoa" | "eip155:erc4337" | "bip122:p2pkh" | "bip122:p2sh" | "bip122:p2wpkh" | "bip122:p2tr" | "solana:data-account", {
|
658
667
|
"eip155:eoa": "eip155:eoa";
|
659
668
|
"eip155:erc4337": "eip155:erc4337";
|
669
|
+
"bip122:p2pkh": "bip122:p2pkh";
|
670
|
+
"bip122:p2sh": "bip122:p2sh";
|
660
671
|
"bip122:p2wpkh": "bip122:p2wpkh";
|
672
|
+
"bip122:p2tr": "bip122:p2tr";
|
661
673
|
"solana:data-account": "solana:data-account";
|
662
674
|
}>;
|
663
675
|
address: import("@metamask/superstruct").Struct<string, null>;
|
@@ -724,6 +736,7 @@ export declare const ListRequestsRequestStruct: import("@metamask/superstruct").
|
|
724
736
|
export type ListRequestsRequest = Infer<typeof ListRequestsRequestStruct>;
|
725
737
|
export declare const ListRequestsResponseStruct: import("@metamask/superstruct").Struct<{
|
726
738
|
id: string;
|
739
|
+
origin: string;
|
727
740
|
request: {
|
728
741
|
method: string;
|
729
742
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
@@ -732,6 +745,7 @@ export declare const ListRequestsResponseStruct: import("@metamask/superstruct")
|
|
732
745
|
account: string;
|
733
746
|
}[], import("@metamask/superstruct").Struct<{
|
734
747
|
id: string;
|
748
|
+
origin: string;
|
735
749
|
request: {
|
736
750
|
method: string;
|
737
751
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
@@ -742,6 +756,7 @@ export declare const ListRequestsResponseStruct: import("@metamask/superstruct")
|
|
742
756
|
id: import("@metamask/superstruct").Struct<string, null>;
|
743
757
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
744
758
|
account: import("@metamask/superstruct").Struct<string, null>;
|
759
|
+
origin: import("@metamask/superstruct").Struct<string, null>;
|
745
760
|
request: import("@metamask/superstruct").Struct<{
|
746
761
|
method: string;
|
747
762
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
@@ -771,6 +786,7 @@ export declare const GetRequestRequestStruct: import("@metamask/superstruct").St
|
|
771
786
|
export type GetRequestRequest = Infer<typeof GetRequestRequestStruct>;
|
772
787
|
export declare const GetRequestResponseStruct: import("@metamask/superstruct").Struct<{
|
773
788
|
id: string;
|
789
|
+
origin: string;
|
774
790
|
request: {
|
775
791
|
method: string;
|
776
792
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
@@ -781,6 +797,7 @@ export declare const GetRequestResponseStruct: import("@metamask/superstruct").S
|
|
781
797
|
id: import("@metamask/superstruct").Struct<string, null>;
|
782
798
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
783
799
|
account: import("@metamask/superstruct").Struct<string, null>;
|
800
|
+
origin: import("@metamask/superstruct").Struct<string, null>;
|
784
801
|
request: import("@metamask/superstruct").Struct<{
|
785
802
|
method: string;
|
786
803
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
@@ -796,6 +813,7 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
796
813
|
jsonrpc: "2.0";
|
797
814
|
params: {
|
798
815
|
id: string;
|
816
|
+
origin: string;
|
799
817
|
request: {
|
800
818
|
method: string;
|
801
819
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
@@ -807,6 +825,7 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
807
825
|
method: import("@metamask/superstruct").Struct<"keyring_submitRequest", "keyring_submitRequest">;
|
808
826
|
params: import("@metamask/superstruct").Struct<{
|
809
827
|
id: string;
|
828
|
+
origin: string;
|
810
829
|
request: {
|
811
830
|
method: string;
|
812
831
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
@@ -817,6 +836,7 @@ export declare const SubmitRequestRequestStruct: import("@metamask/superstruct")
|
|
817
836
|
id: import("@metamask/superstruct").Struct<string, null>;
|
818
837
|
scope: import("@metamask/superstruct").Struct<string, null>;
|
819
838
|
account: import("@metamask/superstruct").Struct<string, null>;
|
839
|
+
origin: import("@metamask/superstruct").Struct<string, null>;
|
820
840
|
request: import("@metamask/superstruct").Struct<{
|
821
841
|
method: string;
|
822
842
|
params?: Record<string, import("@metamask/utils").Json> | import("@metamask/utils").Json[];
|
package/dist/rpc.d.mts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"rpc.d.mts","sourceRoot":"","sources":["../src/rpc.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3
|
-
"version": "
|
3
|
+
"version": "18.0.0",
|
4
4
|
"description": "MetaMask Keyring API",
|
5
5
|
"keywords": [
|
6
6
|
"metamask",
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"@metamask/keyring-utils": "^3.0.0",
|
50
50
|
"@metamask/superstruct": "^3.1.0",
|
51
51
|
"@metamask/utils": "^11.1.0",
|
52
|
-
"
|
52
|
+
"bitcoin-address-validation": "^2.2.3"
|
53
53
|
},
|
54
54
|
"devDependencies": {
|
55
55
|
"@lavamoat/allow-scripts": "^3.2.1",
|