@sats-connect/core 0.4.0-590a696 → 0.4.0-6fc961d
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/index.d.mts +354 -528
- package/dist/index.d.ts +1627 -0
- package/dist/index.js +1845 -0
- package/dist/index.mjs +87 -46
- package/package.json +9 -12
package/dist/index.d.mts
CHANGED
|
@@ -42,15 +42,15 @@ type SignMessageOptions = RequestOptions<SignMessagePayload, SignMessageResponse
|
|
|
42
42
|
|
|
43
43
|
declare const signMessage: (options: SignMessageOptions) => Promise<void>;
|
|
44
44
|
|
|
45
|
-
interface Recipient$
|
|
45
|
+
interface Recipient$1 {
|
|
46
46
|
address: string;
|
|
47
47
|
amountSats: bigint;
|
|
48
48
|
}
|
|
49
|
-
type SerializedRecipient = Omit<Recipient$
|
|
49
|
+
type SerializedRecipient = Omit<Recipient$1, 'amountSats'> & {
|
|
50
50
|
amountSats: string;
|
|
51
51
|
};
|
|
52
52
|
interface SendBtcTransactionPayload extends RequestPayload {
|
|
53
|
-
recipients: Recipient$
|
|
53
|
+
recipients: Recipient$1[];
|
|
54
54
|
senderAddress: string;
|
|
55
55
|
message?: string;
|
|
56
56
|
}
|
|
@@ -455,29 +455,41 @@ declare const signMessageRequestMessageSchema: v.ObjectSchema<{
|
|
|
455
455
|
}, undefined>;
|
|
456
456
|
type SignMessageRequestMessage = v.InferOutput<typeof signMessageRequestMessageSchema>;
|
|
457
457
|
type SignMessage = MethodParamsAndResult<v.InferOutput<typeof signMessageParamsSchema>, v.InferOutput<typeof signMessageResultSchema>>;
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
* The recipient's address.
|
|
461
|
-
**/
|
|
462
|
-
address: string;
|
|
463
|
-
/**
|
|
464
|
-
* The amount to send to the recipient in satoshis.
|
|
465
|
-
*/
|
|
466
|
-
amount: number;
|
|
467
|
-
};
|
|
468
|
-
type SendTransferParams = {
|
|
458
|
+
declare const sendTransferMethodName = "sendTransfer";
|
|
459
|
+
declare const sendTransferParamsSchema: v.ObjectSchema<{
|
|
469
460
|
/**
|
|
470
461
|
* Array of recipients to send to.
|
|
471
462
|
* The amount to send to each recipient is in satoshis.
|
|
472
463
|
*/
|
|
473
|
-
recipients:
|
|
474
|
-
|
|
475
|
-
|
|
464
|
+
readonly recipients: v.ArraySchema<v.ObjectSchema<{
|
|
465
|
+
readonly address: v.StringSchema<undefined>;
|
|
466
|
+
readonly amount: v.NumberSchema<undefined>;
|
|
467
|
+
}, undefined>, undefined>;
|
|
468
|
+
}, undefined>;
|
|
469
|
+
type SendTransferParams = v.InferOutput<typeof sendTransferParamsSchema>;
|
|
470
|
+
declare const sendTransferResultSchema: v.ObjectSchema<{
|
|
476
471
|
/**
|
|
477
472
|
* The transaction id as a hex-encoded string.
|
|
478
473
|
*/
|
|
479
|
-
txid:
|
|
480
|
-
}
|
|
474
|
+
readonly txid: v.StringSchema<undefined>;
|
|
475
|
+
}, undefined>;
|
|
476
|
+
type SendTransferResult = v.InferOutput<typeof sendTransferResultSchema>;
|
|
477
|
+
declare const sendTransferRequestMessageSchema: v.ObjectSchema<{
|
|
478
|
+
readonly method: v.LiteralSchema<"sendTransfer", undefined>;
|
|
479
|
+
readonly params: v.ObjectSchema<{
|
|
480
|
+
/**
|
|
481
|
+
* Array of recipients to send to.
|
|
482
|
+
* The amount to send to each recipient is in satoshis.
|
|
483
|
+
*/
|
|
484
|
+
readonly recipients: v.ArraySchema<v.ObjectSchema<{
|
|
485
|
+
readonly address: v.StringSchema<undefined>;
|
|
486
|
+
readonly amount: v.NumberSchema<undefined>;
|
|
487
|
+
}, undefined>, undefined>;
|
|
488
|
+
}, undefined>;
|
|
489
|
+
readonly id: v.StringSchema<undefined>;
|
|
490
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
491
|
+
}, undefined>;
|
|
492
|
+
type SendTransferRequestMessage = v.InferOutput<typeof sendTransferRequestMessageSchema>;
|
|
481
493
|
type SendTransfer = MethodParamsAndResult<SendTransferParams, SendTransferResult>;
|
|
482
494
|
type SignPsbtParams = {
|
|
483
495
|
/**
|
|
@@ -489,11 +501,6 @@ type SignPsbtParams = {
|
|
|
489
501
|
* The key is the address and the value is an array of indexes of the inputs to sign.
|
|
490
502
|
*/
|
|
491
503
|
signInputs: Record<string, number[]>;
|
|
492
|
-
/**
|
|
493
|
-
* the sigHash type to use for signing.
|
|
494
|
-
* will default to the sighash type of the input if not provided.
|
|
495
|
-
**/
|
|
496
|
-
allowedSignHash?: number;
|
|
497
504
|
/**
|
|
498
505
|
* Whether to broadcast the transaction after signing.
|
|
499
506
|
**/
|
|
@@ -554,6 +561,7 @@ type GetAccountsRequestMessage = v.InferOutput<typeof getAccountsRequestMessageS
|
|
|
554
561
|
type GetAccounts = MethodParamsAndResult<v.InferOutput<typeof getAccountsParamsSchema>, v.InferOutput<typeof getAccountsResultSchema>>;
|
|
555
562
|
declare const getBalanceMethodName = "getBalance";
|
|
556
563
|
declare const getBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
564
|
+
type GetBalanceParams = v.InferOutput<typeof getBalanceParamsSchema>;
|
|
557
565
|
declare const getBalanceResultSchema: v.ObjectSchema<{
|
|
558
566
|
/**
|
|
559
567
|
* The confirmed balance of the wallet in sats. Using a string due to chrome
|
|
@@ -574,13 +582,15 @@ declare const getBalanceResultSchema: v.ObjectSchema<{
|
|
|
574
582
|
*/
|
|
575
583
|
readonly total: v.StringSchema<undefined>;
|
|
576
584
|
}, undefined>;
|
|
585
|
+
type GetBalanceResult = v.InferOutput<typeof getBalanceResultSchema>;
|
|
577
586
|
declare const getBalanceRequestMessageSchema: v.ObjectSchema<{
|
|
578
587
|
readonly method: v.LiteralSchema<"getBalance", undefined>;
|
|
579
588
|
readonly id: v.StringSchema<undefined>;
|
|
580
589
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
581
590
|
readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
|
|
582
591
|
}, undefined>;
|
|
583
|
-
type
|
|
592
|
+
type GetBalanceRequestMessage = v.InferOutput<typeof getBalanceRequestMessageSchema>;
|
|
593
|
+
type GetBalance = MethodParamsAndResult<GetBalanceParams, GetBalanceResult>;
|
|
584
594
|
|
|
585
595
|
declare const getInscriptionsMethodName = "ord_getInscriptions";
|
|
586
596
|
declare const getInscriptionsParamsSchema: v.ObjectSchema<{
|
|
@@ -1050,369 +1060,275 @@ type StxSignTransactionRequestMessage = v.InferOutput<typeof stxSignTransactionR
|
|
|
1050
1060
|
type StxSignTransaction = MethodParamsAndResult<StxSignTransactionParams, StxSignTransactionResult>;
|
|
1051
1061
|
|
|
1052
1062
|
/**
|
|
1053
|
-
* Permissions with the clientId field omitted. Used for
|
|
1054
|
-
* since the wallet performs authentication based on the
|
|
1055
|
-
* should not rely on the client authenticating
|
|
1063
|
+
* Permissions with the clientId field omitted and optional actions. Used for
|
|
1064
|
+
* permission requests, since the wallet performs authentication based on the
|
|
1065
|
+
* client's tab origin and should not rely on the client authenticating
|
|
1066
|
+
* themselves.
|
|
1056
1067
|
*/
|
|
1057
|
-
declare const
|
|
1058
|
-
readonly
|
|
1059
|
-
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1060
|
-
readonly clientId: v.StringSchema<undefined>;
|
|
1061
|
-
readonly actions: v.ObjectSchema<{
|
|
1068
|
+
declare const permissionTemplate: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1069
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1062
1070
|
readonly read: v.BooleanSchema<undefined>;
|
|
1063
1071
|
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1064
1072
|
readonly rename: v.BooleanSchema<undefined>;
|
|
1065
|
-
}, undefined
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
readonly clientId: v.StringSchema<undefined>;
|
|
1071
|
-
readonly actions: v.ObjectSchema<{
|
|
1072
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1073
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1074
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1075
|
-
}, undefined>;
|
|
1076
|
-
}, "clientId">;
|
|
1077
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1078
|
-
type: "account";
|
|
1079
|
-
resourceId: string & v.Brand<"AccountResourceId">;
|
|
1080
|
-
actions: {
|
|
1081
|
-
read: boolean;
|
|
1082
|
-
autoSign: boolean;
|
|
1083
|
-
rename: boolean;
|
|
1073
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1074
|
+
readonly entries: {
|
|
1075
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1076
|
+
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1077
|
+
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1084
1078
|
};
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1079
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1080
|
+
read?: boolean | undefined;
|
|
1081
|
+
autoSign?: boolean | undefined;
|
|
1082
|
+
rename?: boolean | undefined;
|
|
1083
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1084
|
+
readonly _types?: {
|
|
1085
|
+
readonly input: {
|
|
1086
|
+
read?: boolean | undefined;
|
|
1087
|
+
autoSign?: boolean | undefined;
|
|
1088
|
+
rename?: boolean | undefined;
|
|
1094
1089
|
};
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
actions: {
|
|
1100
|
-
read: boolean;
|
|
1101
|
-
autoSign: boolean;
|
|
1102
|
-
rename: boolean;
|
|
1090
|
+
readonly output: {
|
|
1091
|
+
read?: boolean | undefined;
|
|
1092
|
+
autoSign?: boolean | undefined;
|
|
1093
|
+
rename?: boolean | undefined;
|
|
1103
1094
|
};
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
readonly
|
|
1109
|
-
|
|
1110
|
-
readonly
|
|
1111
|
-
readonly actions: v.ObjectSchema<{
|
|
1095
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1096
|
+
} | undefined;
|
|
1097
|
+
};
|
|
1098
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1099
|
+
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1100
|
+
}, undefined>, v.ObjectSchema<{
|
|
1101
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1112
1102
|
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1113
1103
|
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1114
1104
|
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1115
1105
|
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1116
|
-
}, undefined
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
readonly actions: v.ObjectSchema<{
|
|
1123
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1124
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1125
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1126
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1127
|
-
}, undefined>;
|
|
1128
|
-
}, "clientId">;
|
|
1129
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1130
|
-
type: "wallet";
|
|
1131
|
-
resourceId: "wallet";
|
|
1132
|
-
actions: {
|
|
1133
|
-
addPrivateKey: boolean;
|
|
1134
|
-
openPopup: boolean;
|
|
1135
|
-
openFullPage: boolean;
|
|
1136
|
-
readAllAccounts: boolean;
|
|
1106
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1107
|
+
readonly entries: {
|
|
1108
|
+
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1109
|
+
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1110
|
+
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1111
|
+
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1137
1112
|
};
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1113
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1114
|
+
addPrivateKey?: boolean | undefined;
|
|
1115
|
+
openPopup?: boolean | undefined;
|
|
1116
|
+
openFullPage?: boolean | undefined;
|
|
1117
|
+
readAllAccounts?: boolean | undefined;
|
|
1118
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1119
|
+
readonly _types?: {
|
|
1120
|
+
readonly input: {
|
|
1121
|
+
addPrivateKey?: boolean | undefined;
|
|
1122
|
+
openPopup?: boolean | undefined;
|
|
1123
|
+
openFullPage?: boolean | undefined;
|
|
1124
|
+
readAllAccounts?: boolean | undefined;
|
|
1148
1125
|
};
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
addPrivateKey: boolean;
|
|
1155
|
-
openPopup: boolean;
|
|
1156
|
-
openFullPage: boolean;
|
|
1157
|
-
readAllAccounts: boolean;
|
|
1126
|
+
readonly output: {
|
|
1127
|
+
addPrivateKey?: boolean | undefined;
|
|
1128
|
+
openPopup?: boolean | undefined;
|
|
1129
|
+
openFullPage?: boolean | undefined;
|
|
1130
|
+
readAllAccounts?: boolean | undefined;
|
|
1158
1131
|
};
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
}
|
|
1162
|
-
|
|
1163
|
-
|
|
1132
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1133
|
+
} | undefined;
|
|
1134
|
+
};
|
|
1135
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1136
|
+
readonly resourceId: v.LiteralSchema<"wallet", undefined>;
|
|
1137
|
+
}, undefined>], undefined>;
|
|
1138
|
+
type PermissionWithoutClientId = v.InferOutput<typeof permissionTemplate>;
|
|
1164
1139
|
declare const requestPermissionsMethodName = "wallet_requestPermissions";
|
|
1165
|
-
declare const requestPermissionsParamsSchema: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [
|
|
1166
|
-
readonly
|
|
1167
|
-
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1168
|
-
readonly clientId: v.StringSchema<undefined>;
|
|
1169
|
-
readonly actions: v.ObjectSchema<{
|
|
1140
|
+
declare const requestPermissionsParamsSchema: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1141
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1170
1142
|
readonly read: v.BooleanSchema<undefined>;
|
|
1171
1143
|
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1172
1144
|
readonly rename: v.BooleanSchema<undefined>;
|
|
1173
|
-
}, undefined
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
readonly clientId: v.StringSchema<undefined>;
|
|
1179
|
-
readonly actions: v.ObjectSchema<{
|
|
1180
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1181
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1182
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1183
|
-
}, undefined>;
|
|
1184
|
-
}, "clientId">;
|
|
1185
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1186
|
-
type: "account";
|
|
1187
|
-
resourceId: string & v.Brand<"AccountResourceId">;
|
|
1188
|
-
actions: {
|
|
1189
|
-
read: boolean;
|
|
1190
|
-
autoSign: boolean;
|
|
1191
|
-
rename: boolean;
|
|
1145
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1146
|
+
readonly entries: {
|
|
1147
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1148
|
+
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1149
|
+
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1192
1150
|
};
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1151
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1152
|
+
read?: boolean | undefined;
|
|
1153
|
+
autoSign?: boolean | undefined;
|
|
1154
|
+
rename?: boolean | undefined;
|
|
1155
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1156
|
+
readonly _types?: {
|
|
1157
|
+
readonly input: {
|
|
1158
|
+
read?: boolean | undefined;
|
|
1159
|
+
autoSign?: boolean | undefined;
|
|
1160
|
+
rename?: boolean | undefined;
|
|
1202
1161
|
};
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
actions: {
|
|
1208
|
-
read: boolean;
|
|
1209
|
-
autoSign: boolean;
|
|
1210
|
-
rename: boolean;
|
|
1162
|
+
readonly output: {
|
|
1163
|
+
read?: boolean | undefined;
|
|
1164
|
+
autoSign?: boolean | undefined;
|
|
1165
|
+
rename?: boolean | undefined;
|
|
1211
1166
|
};
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
readonly
|
|
1217
|
-
|
|
1218
|
-
readonly
|
|
1219
|
-
readonly actions: v.ObjectSchema<{
|
|
1167
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1168
|
+
} | undefined;
|
|
1169
|
+
};
|
|
1170
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1171
|
+
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1172
|
+
}, undefined>, v.ObjectSchema<{
|
|
1173
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1220
1174
|
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1221
1175
|
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1222
1176
|
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1223
1177
|
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1224
|
-
}, undefined
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
readonly actions: v.ObjectSchema<{
|
|
1231
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1232
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1233
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1234
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1235
|
-
}, undefined>;
|
|
1236
|
-
}, "clientId">;
|
|
1237
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1238
|
-
type: "wallet";
|
|
1239
|
-
resourceId: "wallet";
|
|
1240
|
-
actions: {
|
|
1241
|
-
addPrivateKey: boolean;
|
|
1242
|
-
openPopup: boolean;
|
|
1243
|
-
openFullPage: boolean;
|
|
1244
|
-
readAllAccounts: boolean;
|
|
1178
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1179
|
+
readonly entries: {
|
|
1180
|
+
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1181
|
+
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1182
|
+
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1183
|
+
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1245
1184
|
};
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1185
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1186
|
+
addPrivateKey?: boolean | undefined;
|
|
1187
|
+
openPopup?: boolean | undefined;
|
|
1188
|
+
openFullPage?: boolean | undefined;
|
|
1189
|
+
readAllAccounts?: boolean | undefined;
|
|
1190
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1191
|
+
readonly _types?: {
|
|
1192
|
+
readonly input: {
|
|
1193
|
+
addPrivateKey?: boolean | undefined;
|
|
1194
|
+
openPopup?: boolean | undefined;
|
|
1195
|
+
openFullPage?: boolean | undefined;
|
|
1196
|
+
readAllAccounts?: boolean | undefined;
|
|
1256
1197
|
};
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
addPrivateKey: boolean;
|
|
1263
|
-
openPopup: boolean;
|
|
1264
|
-
openFullPage: boolean;
|
|
1265
|
-
readAllAccounts: boolean;
|
|
1198
|
+
readonly output: {
|
|
1199
|
+
addPrivateKey?: boolean | undefined;
|
|
1200
|
+
openPopup?: boolean | undefined;
|
|
1201
|
+
openFullPage?: boolean | undefined;
|
|
1202
|
+
readAllAccounts?: boolean | undefined;
|
|
1266
1203
|
};
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1204
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1205
|
+
} | undefined;
|
|
1206
|
+
};
|
|
1207
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1208
|
+
readonly resourceId: v.LiteralSchema<"wallet", undefined>;
|
|
1209
|
+
}, undefined>], undefined>, undefined>, never>;
|
|
1210
|
+
type RequestPermissionsParams = v.InferOutput<typeof requestPermissionsParamsSchema>;
|
|
1271
1211
|
declare const requestPermissionsResultSchema: v.LiteralSchema<true, undefined>;
|
|
1212
|
+
type RequestPermissionsResult = v.InferOutput<typeof requestPermissionsResultSchema>;
|
|
1272
1213
|
declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
1273
1214
|
readonly method: v.LiteralSchema<"wallet_requestPermissions", undefined>;
|
|
1274
|
-
readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [
|
|
1275
|
-
readonly
|
|
1276
|
-
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1277
|
-
readonly clientId: v.StringSchema<undefined>;
|
|
1278
|
-
readonly actions: v.ObjectSchema<{
|
|
1215
|
+
readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1216
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1279
1217
|
readonly read: v.BooleanSchema<undefined>;
|
|
1280
1218
|
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1281
1219
|
readonly rename: v.BooleanSchema<undefined>;
|
|
1282
|
-
}, undefined
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
readonly clientId: v.StringSchema<undefined>;
|
|
1288
|
-
readonly actions: v.ObjectSchema<{
|
|
1289
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1290
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1291
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1292
|
-
}, undefined>;
|
|
1293
|
-
}, "clientId">;
|
|
1294
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1295
|
-
type: "account";
|
|
1296
|
-
resourceId: string & v.Brand<"AccountResourceId">;
|
|
1297
|
-
actions: {
|
|
1298
|
-
read: boolean;
|
|
1299
|
-
autoSign: boolean;
|
|
1300
|
-
rename: boolean;
|
|
1220
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1221
|
+
readonly entries: {
|
|
1222
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1223
|
+
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1224
|
+
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1301
1225
|
};
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1226
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1227
|
+
read?: boolean | undefined;
|
|
1228
|
+
autoSign?: boolean | undefined;
|
|
1229
|
+
rename?: boolean | undefined;
|
|
1230
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1231
|
+
readonly _types?: {
|
|
1232
|
+
readonly input: {
|
|
1233
|
+
read?: boolean | undefined;
|
|
1234
|
+
autoSign?: boolean | undefined;
|
|
1235
|
+
rename?: boolean | undefined;
|
|
1311
1236
|
};
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
actions: {
|
|
1317
|
-
read: boolean;
|
|
1318
|
-
autoSign: boolean;
|
|
1319
|
-
rename: boolean;
|
|
1237
|
+
readonly output: {
|
|
1238
|
+
read?: boolean | undefined;
|
|
1239
|
+
autoSign?: boolean | undefined;
|
|
1240
|
+
rename?: boolean | undefined;
|
|
1320
1241
|
};
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
readonly
|
|
1326
|
-
|
|
1327
|
-
readonly
|
|
1328
|
-
readonly actions: v.ObjectSchema<{
|
|
1242
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1243
|
+
} | undefined;
|
|
1244
|
+
};
|
|
1245
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1246
|
+
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1247
|
+
}, undefined>, v.ObjectSchema<{
|
|
1248
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1329
1249
|
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1330
1250
|
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1331
1251
|
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1332
1252
|
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1333
|
-
}, undefined
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
readonly actions: v.ObjectSchema<{
|
|
1340
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1341
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1342
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1343
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1344
|
-
}, undefined>;
|
|
1345
|
-
}, "clientId">;
|
|
1346
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1347
|
-
type: "wallet";
|
|
1348
|
-
resourceId: "wallet";
|
|
1349
|
-
actions: {
|
|
1350
|
-
addPrivateKey: boolean;
|
|
1351
|
-
openPopup: boolean;
|
|
1352
|
-
openFullPage: boolean;
|
|
1353
|
-
readAllAccounts: boolean;
|
|
1253
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1254
|
+
readonly entries: {
|
|
1255
|
+
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1256
|
+
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1257
|
+
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1258
|
+
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1354
1259
|
};
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1260
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1261
|
+
addPrivateKey?: boolean | undefined;
|
|
1262
|
+
openPopup?: boolean | undefined;
|
|
1263
|
+
openFullPage?: boolean | undefined;
|
|
1264
|
+
readAllAccounts?: boolean | undefined;
|
|
1265
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1266
|
+
readonly _types?: {
|
|
1267
|
+
readonly input: {
|
|
1268
|
+
addPrivateKey?: boolean | undefined;
|
|
1269
|
+
openPopup?: boolean | undefined;
|
|
1270
|
+
openFullPage?: boolean | undefined;
|
|
1271
|
+
readAllAccounts?: boolean | undefined;
|
|
1365
1272
|
};
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
addPrivateKey: boolean;
|
|
1372
|
-
openPopup: boolean;
|
|
1373
|
-
openFullPage: boolean;
|
|
1374
|
-
readAllAccounts: boolean;
|
|
1273
|
+
readonly output: {
|
|
1274
|
+
addPrivateKey?: boolean | undefined;
|
|
1275
|
+
openPopup?: boolean | undefined;
|
|
1276
|
+
openFullPage?: boolean | undefined;
|
|
1277
|
+
readAllAccounts?: boolean | undefined;
|
|
1375
1278
|
};
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1279
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1280
|
+
} | undefined;
|
|
1281
|
+
};
|
|
1282
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1283
|
+
readonly resourceId: v.LiteralSchema<"wallet", undefined>;
|
|
1284
|
+
}, undefined>], undefined>, undefined>, never>;
|
|
1380
1285
|
readonly id: v.StringSchema<undefined>;
|
|
1381
1286
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1382
1287
|
}, undefined>;
|
|
1383
|
-
type
|
|
1288
|
+
type RequestPermissionsRequestMessage = v.InferOutput<typeof requestPermissionsRequestMessageSchema>;
|
|
1289
|
+
type RequestPermissions = MethodParamsAndResult<RequestPermissionsParams, RequestPermissionsResult>;
|
|
1384
1290
|
declare const renouncePermissionsMethodName = "wallet_renouncePermissions";
|
|
1385
1291
|
declare const renouncePermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1292
|
+
type RenouncePermissionsParams = v.InferOutput<typeof renouncePermissionsParamsSchema>;
|
|
1386
1293
|
declare const renouncePermissionsResultSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1294
|
+
type RenouncePermissionsResult = v.InferOutput<typeof renouncePermissionsResultSchema>;
|
|
1387
1295
|
declare const renouncePermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
1388
1296
|
readonly method: v.LiteralSchema<"wallet_renouncePermissions", undefined>;
|
|
1389
1297
|
readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1390
1298
|
readonly id: v.StringSchema<undefined>;
|
|
1391
1299
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1392
1300
|
}, undefined>;
|
|
1393
|
-
type
|
|
1301
|
+
type RenouncePermissionsRequestMessage = v.InferOutput<typeof renouncePermissionsRequestMessageSchema>;
|
|
1302
|
+
type RenouncePermissions = MethodParamsAndResult<RenouncePermissionsParams, RenouncePermissionsResult>;
|
|
1394
1303
|
declare const disconnectMethodName = "wallet_disconnect";
|
|
1395
1304
|
declare const disconnectParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1305
|
+
type DisconnectParams = v.InferOutput<typeof disconnectParamsSchema>;
|
|
1396
1306
|
declare const disconnectResultSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1307
|
+
type DisconnectResult = v.InferOutput<typeof disconnectResultSchema>;
|
|
1397
1308
|
declare const disconnectRequestMessageSchema: v.ObjectSchema<{
|
|
1398
1309
|
readonly method: v.LiteralSchema<"wallet_disconnect", undefined>;
|
|
1399
1310
|
readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1400
1311
|
readonly id: v.StringSchema<undefined>;
|
|
1401
1312
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1402
1313
|
}, undefined>;
|
|
1403
|
-
type
|
|
1314
|
+
type DisconnectRequestMessage = v.InferOutput<typeof disconnectRequestMessageSchema>;
|
|
1315
|
+
type Disconnect = MethodParamsAndResult<DisconnectParams, DisconnectResult>;
|
|
1404
1316
|
declare const getWalletTypeMethodName = "wallet_getWalletType";
|
|
1405
1317
|
declare const getWalletTypeParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1318
|
+
type GetWalletTypeParams = v.InferOutput<typeof getWalletTypeParamsSchema>;
|
|
1406
1319
|
declare const getWalletTypeResultSchema: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
|
|
1320
|
+
type GetWalletTypeResult = v.InferOutput<typeof getWalletTypeResultSchema>;
|
|
1407
1321
|
declare const getWalletTypeRequestMessageSchema: v.ObjectSchema<{
|
|
1408
1322
|
readonly method: v.LiteralSchema<"wallet_getWalletType", undefined>;
|
|
1409
1323
|
readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1410
1324
|
readonly id: v.StringSchema<undefined>;
|
|
1411
1325
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1412
1326
|
}, undefined>;
|
|
1413
|
-
type
|
|
1327
|
+
type GetWalletTypeRequestMessage = v.InferOutput<typeof getWalletTypeRequestMessageSchema>;
|
|
1328
|
+
type GetWalletType = MethodParamsAndResult<GetWalletTypeParams, GetWalletTypeResult>;
|
|
1414
1329
|
declare const getCurrentPermissionsMethodName = "wallet_getCurrentPermissions";
|
|
1415
1330
|
declare const getCurrentPermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1331
|
+
type GetCurrentPermissionsParams = v.InferOutput<typeof getCurrentPermissionsParamsSchema>;
|
|
1416
1332
|
declare const getCurrentPermissionsResultSchema: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1417
1333
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1418
1334
|
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
@@ -1433,15 +1349,18 @@ declare const getCurrentPermissionsResultSchema: v.ArraySchema<v.VariantSchema<"
|
|
|
1433
1349
|
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1434
1350
|
}, undefined>;
|
|
1435
1351
|
}, undefined>], undefined>, undefined>;
|
|
1352
|
+
type GetCurrentPermissionsResult = v.InferOutput<typeof getCurrentPermissionsResultSchema>;
|
|
1436
1353
|
declare const getCurrentPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
1437
1354
|
readonly method: v.LiteralSchema<"wallet_getCurrentPermissions", undefined>;
|
|
1438
1355
|
readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1439
1356
|
readonly id: v.StringSchema<undefined>;
|
|
1440
1357
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1441
1358
|
}, undefined>;
|
|
1442
|
-
type
|
|
1359
|
+
type GetCurrentPermissionsRequestMessage = v.InferOutput<typeof getCurrentPermissionsRequestMessageSchema>;
|
|
1360
|
+
type GetCurrentPermissions = MethodParamsAndResult<GetCurrentPermissionsParams, GetCurrentPermissionsResult>;
|
|
1443
1361
|
declare const getAccountMethodName = "wallet_getAccount";
|
|
1444
1362
|
declare const getAccountParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1363
|
+
type GetAccountParams = v.InferOutput<typeof getAccountParamsSchema>;
|
|
1445
1364
|
declare const getAccountResultSchema: v.ObjectSchema<{
|
|
1446
1365
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.BrandAction<string, "AccountId">]>;
|
|
1447
1366
|
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1452,144 +1371,89 @@ declare const getAccountResultSchema: v.ObjectSchema<{
|
|
|
1452
1371
|
}, undefined>, undefined>;
|
|
1453
1372
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
|
|
1454
1373
|
}, undefined>;
|
|
1374
|
+
type GetAccountResult = v.InferOutput<typeof getAccountResultSchema>;
|
|
1455
1375
|
declare const getAccountRequestMessageSchema: v.ObjectSchema<{
|
|
1456
1376
|
readonly method: v.LiteralSchema<"wallet_getAccount", undefined>;
|
|
1457
1377
|
readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1458
1378
|
readonly id: v.StringSchema<undefined>;
|
|
1459
1379
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1460
1380
|
}, undefined>;
|
|
1461
|
-
type
|
|
1462
|
-
|
|
1463
|
-
declare const registerClientParamsSchema: v.ObjectSchema<{
|
|
1464
|
-
readonly name: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
1465
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
1466
|
-
}, undefined>;
|
|
1467
|
-
declare const registerClientResultSchema: v.ObjectSchema<{
|
|
1468
|
-
readonly id: v.StringSchema<undefined>;
|
|
1469
|
-
}, undefined>;
|
|
1470
|
-
declare const registerClientRequestMessageSchema: v.ObjectSchema<{
|
|
1471
|
-
readonly method: v.LiteralSchema<"wallet_registerClient", undefined>;
|
|
1472
|
-
readonly params: v.ObjectSchema<{
|
|
1473
|
-
readonly name: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
1474
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
1475
|
-
}, undefined>;
|
|
1476
|
-
readonly id: v.StringSchema<undefined>;
|
|
1477
|
-
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1478
|
-
}, undefined>;
|
|
1479
|
-
type RegisterClient = MethodParamsAndResult<v.InferOutput<typeof registerClientParamsSchema>, v.InferOutput<typeof registerClientResultSchema>>;
|
|
1381
|
+
type GetAccountRequestMessage = v.InferOutput<typeof getAccountRequestMessageSchema>;
|
|
1382
|
+
type GetAccount = MethodParamsAndResult<GetAccountParams, GetAccountResult>;
|
|
1480
1383
|
declare const connectMethodName = "wallet_connect";
|
|
1481
1384
|
declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
1482
|
-
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [
|
|
1483
|
-
readonly
|
|
1484
|
-
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1485
|
-
readonly clientId: v.StringSchema<undefined>;
|
|
1486
|
-
readonly actions: v.ObjectSchema<{
|
|
1385
|
+
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1386
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1487
1387
|
readonly read: v.BooleanSchema<undefined>;
|
|
1488
1388
|
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1489
1389
|
readonly rename: v.BooleanSchema<undefined>;
|
|
1490
|
-
}, undefined
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
readonly clientId: v.StringSchema<undefined>;
|
|
1496
|
-
readonly actions: v.ObjectSchema<{
|
|
1497
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1498
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1499
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1500
|
-
}, undefined>;
|
|
1501
|
-
}, "clientId">;
|
|
1502
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1503
|
-
type: "account";
|
|
1504
|
-
resourceId: string & v.Brand<"AccountResourceId">;
|
|
1505
|
-
actions: {
|
|
1506
|
-
read: boolean;
|
|
1507
|
-
autoSign: boolean;
|
|
1508
|
-
rename: boolean;
|
|
1390
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1391
|
+
readonly entries: {
|
|
1392
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1393
|
+
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1394
|
+
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1509
1395
|
};
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1396
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1397
|
+
read?: boolean | undefined;
|
|
1398
|
+
autoSign?: boolean | undefined;
|
|
1399
|
+
rename?: boolean | undefined;
|
|
1400
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1401
|
+
readonly _types?: {
|
|
1402
|
+
readonly input: {
|
|
1403
|
+
read?: boolean | undefined;
|
|
1404
|
+
autoSign?: boolean | undefined;
|
|
1405
|
+
rename?: boolean | undefined;
|
|
1519
1406
|
};
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
actions: {
|
|
1525
|
-
read: boolean;
|
|
1526
|
-
autoSign: boolean;
|
|
1527
|
-
rename: boolean;
|
|
1407
|
+
readonly output: {
|
|
1408
|
+
read?: boolean | undefined;
|
|
1409
|
+
autoSign?: boolean | undefined;
|
|
1410
|
+
rename?: boolean | undefined;
|
|
1528
1411
|
};
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
}
|
|
1532
|
-
|
|
1533
|
-
readonly
|
|
1534
|
-
|
|
1535
|
-
readonly
|
|
1536
|
-
readonly actions: v.ObjectSchema<{
|
|
1412
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1413
|
+
} | undefined;
|
|
1414
|
+
};
|
|
1415
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1416
|
+
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1417
|
+
}, undefined>, v.ObjectSchema<{
|
|
1418
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1537
1419
|
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1538
1420
|
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1539
1421
|
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1540
1422
|
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1541
|
-
}, undefined
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
readonly actions: v.ObjectSchema<{
|
|
1548
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1549
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1550
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1551
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1552
|
-
}, undefined>;
|
|
1553
|
-
}, "clientId">;
|
|
1554
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1555
|
-
type: "wallet";
|
|
1556
|
-
resourceId: "wallet";
|
|
1557
|
-
actions: {
|
|
1558
|
-
addPrivateKey: boolean;
|
|
1559
|
-
openPopup: boolean;
|
|
1560
|
-
openFullPage: boolean;
|
|
1561
|
-
readAllAccounts: boolean;
|
|
1423
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1424
|
+
readonly entries: {
|
|
1425
|
+
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1426
|
+
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1427
|
+
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1428
|
+
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1562
1429
|
};
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1430
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1431
|
+
addPrivateKey?: boolean | undefined;
|
|
1432
|
+
openPopup?: boolean | undefined;
|
|
1433
|
+
openFullPage?: boolean | undefined;
|
|
1434
|
+
readAllAccounts?: boolean | undefined;
|
|
1435
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1436
|
+
readonly _types?: {
|
|
1437
|
+
readonly input: {
|
|
1438
|
+
addPrivateKey?: boolean | undefined;
|
|
1439
|
+
openPopup?: boolean | undefined;
|
|
1440
|
+
openFullPage?: boolean | undefined;
|
|
1441
|
+
readAllAccounts?: boolean | undefined;
|
|
1573
1442
|
};
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
addPrivateKey: boolean;
|
|
1580
|
-
openPopup: boolean;
|
|
1581
|
-
openFullPage: boolean;
|
|
1582
|
-
readAllAccounts: boolean;
|
|
1443
|
+
readonly output: {
|
|
1444
|
+
addPrivateKey?: boolean | undefined;
|
|
1445
|
+
openPopup?: boolean | undefined;
|
|
1446
|
+
openFullPage?: boolean | undefined;
|
|
1447
|
+
readAllAccounts?: boolean | undefined;
|
|
1583
1448
|
};
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
}
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
1591
|
-
}, undefined>;
|
|
1449
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1450
|
+
} | undefined;
|
|
1451
|
+
};
|
|
1452
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1453
|
+
readonly resourceId: v.LiteralSchema<"wallet", undefined>;
|
|
1454
|
+
}, undefined>], undefined>, undefined>, never>;
|
|
1592
1455
|
}, undefined>, never>;
|
|
1456
|
+
type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
|
|
1593
1457
|
declare const connectResultSchema: v.ObjectSchema<{
|
|
1594
1458
|
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.BrandAction<string, "AccountId">]>;
|
|
1595
1459
|
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1600,124 +1464,86 @@ declare const connectResultSchema: v.ObjectSchema<{
|
|
|
1600
1464
|
}, undefined>, undefined>;
|
|
1601
1465
|
readonly walletType: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
|
|
1602
1466
|
}, undefined>;
|
|
1467
|
+
type ConnectResult = v.InferOutput<typeof connectResultSchema>;
|
|
1603
1468
|
declare const connectRequestMessageSchema: v.ObjectSchema<{
|
|
1604
1469
|
readonly method: v.LiteralSchema<"wallet_connect", undefined>;
|
|
1605
1470
|
readonly params: v.NullishSchema<v.ObjectSchema<{
|
|
1606
|
-
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [
|
|
1607
|
-
readonly
|
|
1608
|
-
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1609
|
-
readonly clientId: v.StringSchema<undefined>;
|
|
1610
|
-
readonly actions: v.ObjectSchema<{
|
|
1471
|
+
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1472
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1611
1473
|
readonly read: v.BooleanSchema<undefined>;
|
|
1612
1474
|
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1613
1475
|
readonly rename: v.BooleanSchema<undefined>;
|
|
1614
|
-
}, undefined
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
readonly clientId: v.StringSchema<undefined>;
|
|
1620
|
-
readonly actions: v.ObjectSchema<{
|
|
1621
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1622
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1623
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1624
|
-
}, undefined>;
|
|
1625
|
-
}, "clientId">;
|
|
1626
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1627
|
-
type: "account";
|
|
1628
|
-
resourceId: string & v.Brand<"AccountResourceId">;
|
|
1629
|
-
actions: {
|
|
1630
|
-
read: boolean;
|
|
1631
|
-
autoSign: boolean;
|
|
1632
|
-
rename: boolean;
|
|
1476
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1477
|
+
readonly entries: {
|
|
1478
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1479
|
+
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1480
|
+
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1633
1481
|
};
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1482
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1483
|
+
read?: boolean | undefined;
|
|
1484
|
+
autoSign?: boolean | undefined;
|
|
1485
|
+
rename?: boolean | undefined;
|
|
1486
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1487
|
+
readonly _types?: {
|
|
1488
|
+
readonly input: {
|
|
1489
|
+
read?: boolean | undefined;
|
|
1490
|
+
autoSign?: boolean | undefined;
|
|
1491
|
+
rename?: boolean | undefined;
|
|
1643
1492
|
};
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
actions: {
|
|
1649
|
-
read: boolean;
|
|
1650
|
-
autoSign: boolean;
|
|
1651
|
-
rename: boolean;
|
|
1493
|
+
readonly output: {
|
|
1494
|
+
read?: boolean | undefined;
|
|
1495
|
+
autoSign?: boolean | undefined;
|
|
1496
|
+
rename?: boolean | undefined;
|
|
1652
1497
|
};
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
}
|
|
1656
|
-
|
|
1657
|
-
readonly
|
|
1658
|
-
|
|
1659
|
-
readonly
|
|
1660
|
-
readonly actions: v.ObjectSchema<{
|
|
1498
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1499
|
+
} | undefined;
|
|
1500
|
+
};
|
|
1501
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1502
|
+
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1503
|
+
}, undefined>, v.ObjectSchema<{
|
|
1504
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1661
1505
|
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1662
1506
|
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1663
1507
|
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1664
1508
|
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1665
|
-
}, undefined
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
readonly actions: v.ObjectSchema<{
|
|
1672
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1673
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1674
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1675
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1676
|
-
}, undefined>;
|
|
1677
|
-
}, "clientId">;
|
|
1678
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1679
|
-
type: "wallet";
|
|
1680
|
-
resourceId: "wallet";
|
|
1681
|
-
actions: {
|
|
1682
|
-
addPrivateKey: boolean;
|
|
1683
|
-
openPopup: boolean;
|
|
1684
|
-
openFullPage: boolean;
|
|
1685
|
-
readAllAccounts: boolean;
|
|
1509
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1510
|
+
readonly entries: {
|
|
1511
|
+
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1512
|
+
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1513
|
+
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1514
|
+
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1686
1515
|
};
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1516
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1517
|
+
addPrivateKey?: boolean | undefined;
|
|
1518
|
+
openPopup?: boolean | undefined;
|
|
1519
|
+
openFullPage?: boolean | undefined;
|
|
1520
|
+
readAllAccounts?: boolean | undefined;
|
|
1521
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1522
|
+
readonly _types?: {
|
|
1523
|
+
readonly input: {
|
|
1524
|
+
addPrivateKey?: boolean | undefined;
|
|
1525
|
+
openPopup?: boolean | undefined;
|
|
1526
|
+
openFullPage?: boolean | undefined;
|
|
1527
|
+
readAllAccounts?: boolean | undefined;
|
|
1697
1528
|
};
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
addPrivateKey: boolean;
|
|
1704
|
-
openPopup: boolean;
|
|
1705
|
-
openFullPage: boolean;
|
|
1706
|
-
readAllAccounts: boolean;
|
|
1529
|
+
readonly output: {
|
|
1530
|
+
addPrivateKey?: boolean | undefined;
|
|
1531
|
+
openPopup?: boolean | undefined;
|
|
1532
|
+
openFullPage?: boolean | undefined;
|
|
1533
|
+
readAllAccounts?: boolean | undefined;
|
|
1707
1534
|
};
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
}
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, never>;
|
|
1715
|
-
}, undefined>;
|
|
1535
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1536
|
+
} | undefined;
|
|
1537
|
+
};
|
|
1538
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1539
|
+
readonly resourceId: v.LiteralSchema<"wallet", undefined>;
|
|
1540
|
+
}, undefined>], undefined>, undefined>, never>;
|
|
1716
1541
|
}, undefined>, never>;
|
|
1717
1542
|
readonly id: v.StringSchema<undefined>;
|
|
1718
1543
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1719
1544
|
}, undefined>;
|
|
1720
|
-
type
|
|
1545
|
+
type ConnectRequestMessage = v.InferOutput<typeof connectRequestMessageSchema>;
|
|
1546
|
+
type Connect = MethodParamsAndResult<ConnectParams, ConnectResult>;
|
|
1721
1547
|
|
|
1722
1548
|
declare const walletTypes: readonly ["software", "ledger"];
|
|
1723
1549
|
declare const walletTypeSchema: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
|
|
@@ -1798,4 +1624,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
|
|
|
1798
1624
|
declare const DefaultAdaptersInfo: Record<string, Provider>;
|
|
1799
1625
|
declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
|
|
1800
1626
|
|
|
1801
|
-
export { type AccountChangeEvent, type AddListener, type Address$1 as Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type CallContractParams, type CallContractResult, type Capability, type Connect, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type DeployContractParams, type DeployContractResult, type Disconnect, type DisconnectEvent, type EstimateRbfOrder, type EstimateRunesEtch, type EstimateRunesEtchParams, type EstimateRunesEtchResult, type EstimateRunesMint, type EstimateRunesMintParams, type EstimateRunesMintResult, type EtchRunes, type EtchRunesParams, type EtchRunesResult, type GetAccount, type GetAccounts, type GetAccountsParams, type GetAccountsRequestMessage, type GetAccountsResult, type GetAddressOptions, type GetAddressPayload, type GetAddressResponse, type GetAddresses, type GetAddressesParams, type GetAddressesRequestMessage, type GetAddressesResult, type GetBalance, type GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetCurrentPermissions, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetOrder, type GetRunesBalance, type GetRunesBalanceParams, type GetRunesBalanceRequestMessage, type GetRunesBalanceResult, type GetWalletType, type InputToSign, MessageSigningProtocols, type MethodParamsAndResult, type MintRunes, type MintRunesParams, type MintRunesResult, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, type PermissionWithoutClientId, type Provider, type PsbtPayload, type RbfOrder, type Recipient$
|
|
1627
|
+
export { type AccountChangeEvent, type AddListener, type Address$1 as Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type CallContractParams, type CallContractResult, type Capability, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type DeployContractParams, type DeployContractResult, type Disconnect, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, type EstimateRbfOrder, type EstimateRunesEtch, type EstimateRunesEtchParams, type EstimateRunesEtchResult, type EstimateRunesMint, type EstimateRunesMintParams, type EstimateRunesMintResult, type EtchRunes, type EtchRunesParams, type EtchRunesResult, type GetAccount, type GetAccountParams, type GetAccountRequestMessage, type GetAccountResult, type GetAccounts, type GetAccountsParams, type GetAccountsRequestMessage, type GetAccountsResult, type GetAddressOptions, type GetAddressPayload, type GetAddressResponse, type GetAddresses, type GetAddressesParams, type GetAddressesRequestMessage, type GetAddressesResult, type GetBalance, type GetBalanceParams, type GetBalanceRequestMessage, type GetBalanceResult, type GetCapabilitiesOptions, type GetCapabilitiesPayload, type GetCapabilitiesResponse, type GetCurrentPermissions, type GetCurrentPermissionsParams, type GetCurrentPermissionsRequestMessage, type GetCurrentPermissionsResult, type GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetOrder, type GetRunesBalance, type GetRunesBalanceParams, type GetRunesBalanceRequestMessage, type GetRunesBalanceResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, MessageSigningProtocols, type MethodParamsAndResult, type MintRunes, type MintRunesParams, type MintRunesResult, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, type PermissionWithoutClientId, type Provider, type PsbtPayload, type RbfOrder, type Recipient$1 as Recipient, type RenouncePermissions, type RenouncePermissionsParams, type RenouncePermissionsRequestMessage, type RenouncePermissionsResult, type RequestOptions, type RequestPayload, type RequestPermissions, type RequestPermissionsParams, type RequestPermissionsRequestMessage, type RequestPermissionsResult, type Requests, type Return, type RpcBase, type RpcError, RpcErrorCode, type RpcErrorResponse, type RpcErrorResponseMessage, type RpcId, RpcIdSchema, type RpcRequest, type RpcRequestMessage, type RpcResponse, type RpcResponseMessage, type RpcResult, type RpcSuccessResponse, type RpcSuccessResponseMessage, type RunesRequestMethod, type RunesRequests, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendTransfer, type SendTransferParams, type SendTransferRequestMessage, type SendTransferResult, type SerializedRecipient, type SerializedSendBtcTransactionPayload, type SignMessage, type SignMessageOptions, type SignMessageParams, type SignMessagePayload, type SignMessageRequestMessage, type SignMessageResponse, type SignMessageResult, type SignMultiplePsbtPayload, type SignMultipleTransactionOptions, type SignMultipleTransactionsPayload, type SignMultipleTransactionsResponse, type SignPsbt, type SignPsbtParams, type SignPsbtResult, type SignStructuredMessageResult, type SignStxMessageParams, type SignStxMessageResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type StxCallContract, type StxDeployContract, type StxGetAccounts, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignStructuredMessage, type StxSignStxMessage, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxTransferStx, type SupportedWallet, type TransferRunes, type TransferRunesParams, type TransferRunesRequest, type TransferRunesResult, TransferRunesResultSchema, type TransferStxParams, type TransferStxResult, type WalletEvent, type WalletRequests, type WalletType, accountChangeEventName, accountChangeSchema, addListener, addressSchema, connectMethodName, connectParamsSchema, connectRequestMessageSchema, connectResultSchema, createInscription, createRepeatInscriptions, defaultAdapters, disconnectEventName, disconnectMethodName, disconnectParamsSchema, disconnectRequestMessageSchema, disconnectResultSchema, disconnectSchema, getAccountMethodName, getAccountParamsSchema, getAccountRequestMessageSchema, getAccountResultSchema, getAccountsMethodName, getAccountsParamsSchema, getAccountsRequestMessageSchema, getAccountsResultSchema, getAddress, getAddressesMethodName, getAddressesParamsSchema, getAddressesRequestMessageSchema, getAddressesResultSchema, getBalanceMethodName, getBalanceParamsSchema, getBalanceRequestMessageSchema, getBalanceResultSchema, getCapabilities, getCurrentPermissionsMethodName, getCurrentPermissionsParamsSchema, getCurrentPermissionsRequestMessageSchema, getCurrentPermissionsResultSchema, getDefaultProvider, getInfoMethodName, getInfoParamsSchema, getInfoRequestMessageSchema, getInfoResultSchema, getInscriptionsMethodName, getInscriptionsParamsSchema, getInscriptionsResultSchema, getInscriptionsSchema, getProviderById, getProviderOrThrow, getProviders, getRunesBalanceMethodName, getRunesBalanceParamsSchema, getRunesBalanceRequestMessageSchema, getRunesBalanceResultSchema, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, permissionTemplate, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsResultSchema, sendInscriptionsSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signTransaction, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, transferRunesMethodName, transferRunesParamsSchema, transferRunesRequestSchema, walletEventSchema, walletTypeSchema, walletTypes };
|