@sats-connect/core 0.4.0-b520920 → 0.4.0-bcedde9
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 +467 -24
- package/dist/index.d.ts +1615 -0
- package/dist/index.js +1810 -0
- package/dist/index.mjs +123 -31
- package/package.json +10 -12
package/dist/index.d.mts
CHANGED
|
@@ -489,11 +489,6 @@ type SignPsbtParams = {
|
|
|
489
489
|
* The key is the address and the value is an array of indexes of the inputs to sign.
|
|
490
490
|
*/
|
|
491
491
|
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
492
|
/**
|
|
498
493
|
* Whether to broadcast the transaction after signing.
|
|
499
494
|
**/
|
|
@@ -554,6 +549,7 @@ type GetAccountsRequestMessage = v.InferOutput<typeof getAccountsRequestMessageS
|
|
|
554
549
|
type GetAccounts = MethodParamsAndResult<v.InferOutput<typeof getAccountsParamsSchema>, v.InferOutput<typeof getAccountsResultSchema>>;
|
|
555
550
|
declare const getBalanceMethodName = "getBalance";
|
|
556
551
|
declare const getBalanceParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
552
|
+
type GetBalanceParams = v.InferOutput<typeof getBalanceParamsSchema>;
|
|
557
553
|
declare const getBalanceResultSchema: v.ObjectSchema<{
|
|
558
554
|
/**
|
|
559
555
|
* The confirmed balance of the wallet in sats. Using a string due to chrome
|
|
@@ -574,13 +570,15 @@ declare const getBalanceResultSchema: v.ObjectSchema<{
|
|
|
574
570
|
*/
|
|
575
571
|
readonly total: v.StringSchema<undefined>;
|
|
576
572
|
}, undefined>;
|
|
573
|
+
type GetBalanceResult = v.InferOutput<typeof getBalanceResultSchema>;
|
|
577
574
|
declare const getBalanceRequestMessageSchema: v.ObjectSchema<{
|
|
578
575
|
readonly method: v.LiteralSchema<"getBalance", undefined>;
|
|
579
576
|
readonly id: v.StringSchema<undefined>;
|
|
580
577
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
581
578
|
readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
|
|
582
579
|
}, undefined>;
|
|
583
|
-
type
|
|
580
|
+
type GetBalanceRequestMessage = v.InferOutput<typeof getBalanceRequestMessageSchema>;
|
|
581
|
+
type GetBalance = MethodParamsAndResult<GetBalanceParams, GetBalanceResult>;
|
|
584
582
|
|
|
585
583
|
declare const getInscriptionsMethodName = "ord_getInscriptions";
|
|
586
584
|
declare const getInscriptionsParamsSchema: v.ObjectSchema<{
|
|
@@ -1049,46 +1047,491 @@ declare const stxSignTransactionRequestMessageSchema: v.ObjectSchema<{
|
|
|
1049
1047
|
type StxSignTransactionRequestMessage = v.InferOutput<typeof stxSignTransactionRequestMessageSchema>;
|
|
1050
1048
|
type StxSignTransaction = MethodParamsAndResult<StxSignTransactionParams, StxSignTransactionResult>;
|
|
1051
1049
|
|
|
1050
|
+
/**
|
|
1051
|
+
* Permissions with the clientId field omitted and optional actions. Used for
|
|
1052
|
+
* permission requests, since the wallet performs authentication based on the
|
|
1053
|
+
* client's tab origin and should not rely on the client authenticating
|
|
1054
|
+
* themselves.
|
|
1055
|
+
*/
|
|
1056
|
+
declare const permissionTemplate: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1057
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1058
|
+
readonly read: v.BooleanSchema<undefined>;
|
|
1059
|
+
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1060
|
+
readonly rename: v.BooleanSchema<undefined>;
|
|
1061
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1062
|
+
readonly entries: {
|
|
1063
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1064
|
+
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1065
|
+
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1066
|
+
};
|
|
1067
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1068
|
+
read?: boolean | undefined;
|
|
1069
|
+
autoSign?: boolean | undefined;
|
|
1070
|
+
rename?: boolean | undefined;
|
|
1071
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1072
|
+
readonly _types?: {
|
|
1073
|
+
readonly input: {
|
|
1074
|
+
read?: boolean | undefined;
|
|
1075
|
+
autoSign?: boolean | undefined;
|
|
1076
|
+
rename?: boolean | undefined;
|
|
1077
|
+
};
|
|
1078
|
+
readonly output: {
|
|
1079
|
+
read?: boolean | undefined;
|
|
1080
|
+
autoSign?: boolean | undefined;
|
|
1081
|
+
rename?: boolean | undefined;
|
|
1082
|
+
};
|
|
1083
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1084
|
+
} | undefined;
|
|
1085
|
+
};
|
|
1086
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1087
|
+
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1088
|
+
}, undefined>, v.ObjectSchema<{
|
|
1089
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1090
|
+
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1091
|
+
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1092
|
+
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1093
|
+
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1094
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1095
|
+
readonly entries: {
|
|
1096
|
+
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1097
|
+
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1098
|
+
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1099
|
+
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1100
|
+
};
|
|
1101
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1102
|
+
addPrivateKey?: boolean | undefined;
|
|
1103
|
+
openPopup?: boolean | undefined;
|
|
1104
|
+
openFullPage?: boolean | undefined;
|
|
1105
|
+
readAllAccounts?: boolean | undefined;
|
|
1106
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1107
|
+
readonly _types?: {
|
|
1108
|
+
readonly input: {
|
|
1109
|
+
addPrivateKey?: boolean | undefined;
|
|
1110
|
+
openPopup?: boolean | undefined;
|
|
1111
|
+
openFullPage?: boolean | undefined;
|
|
1112
|
+
readAllAccounts?: boolean | undefined;
|
|
1113
|
+
};
|
|
1114
|
+
readonly output: {
|
|
1115
|
+
addPrivateKey?: boolean | undefined;
|
|
1116
|
+
openPopup?: boolean | undefined;
|
|
1117
|
+
openFullPage?: boolean | undefined;
|
|
1118
|
+
readAllAccounts?: boolean | undefined;
|
|
1119
|
+
};
|
|
1120
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1121
|
+
} | undefined;
|
|
1122
|
+
};
|
|
1123
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1124
|
+
readonly resourceId: v.LiteralSchema<"wallet", undefined>;
|
|
1125
|
+
}, undefined>], undefined>;
|
|
1126
|
+
type PermissionWithoutClientId = v.InferOutput<typeof permissionTemplate>;
|
|
1052
1127
|
declare const requestPermissionsMethodName = "wallet_requestPermissions";
|
|
1053
|
-
declare const requestPermissionsParamsSchema: v.
|
|
1128
|
+
declare const requestPermissionsParamsSchema: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1129
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1130
|
+
readonly read: v.BooleanSchema<undefined>;
|
|
1131
|
+
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1132
|
+
readonly rename: v.BooleanSchema<undefined>;
|
|
1133
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1134
|
+
readonly entries: {
|
|
1135
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1136
|
+
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1137
|
+
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1138
|
+
};
|
|
1139
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1140
|
+
read?: boolean | undefined;
|
|
1141
|
+
autoSign?: boolean | undefined;
|
|
1142
|
+
rename?: boolean | undefined;
|
|
1143
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1144
|
+
readonly _types?: {
|
|
1145
|
+
readonly input: {
|
|
1146
|
+
read?: boolean | undefined;
|
|
1147
|
+
autoSign?: boolean | undefined;
|
|
1148
|
+
rename?: boolean | undefined;
|
|
1149
|
+
};
|
|
1150
|
+
readonly output: {
|
|
1151
|
+
read?: boolean | undefined;
|
|
1152
|
+
autoSign?: boolean | undefined;
|
|
1153
|
+
rename?: boolean | undefined;
|
|
1154
|
+
};
|
|
1155
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1156
|
+
} | undefined;
|
|
1157
|
+
};
|
|
1158
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1159
|
+
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1160
|
+
}, undefined>, v.ObjectSchema<{
|
|
1161
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1162
|
+
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1163
|
+
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1164
|
+
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1165
|
+
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1166
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1167
|
+
readonly entries: {
|
|
1168
|
+
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1169
|
+
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1170
|
+
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1171
|
+
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1172
|
+
};
|
|
1173
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1174
|
+
addPrivateKey?: boolean | undefined;
|
|
1175
|
+
openPopup?: boolean | undefined;
|
|
1176
|
+
openFullPage?: boolean | undefined;
|
|
1177
|
+
readAllAccounts?: boolean | undefined;
|
|
1178
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1179
|
+
readonly _types?: {
|
|
1180
|
+
readonly input: {
|
|
1181
|
+
addPrivateKey?: boolean | undefined;
|
|
1182
|
+
openPopup?: boolean | undefined;
|
|
1183
|
+
openFullPage?: boolean | undefined;
|
|
1184
|
+
readAllAccounts?: boolean | undefined;
|
|
1185
|
+
};
|
|
1186
|
+
readonly output: {
|
|
1187
|
+
addPrivateKey?: boolean | undefined;
|
|
1188
|
+
openPopup?: boolean | undefined;
|
|
1189
|
+
openFullPage?: boolean | undefined;
|
|
1190
|
+
readAllAccounts?: boolean | undefined;
|
|
1191
|
+
};
|
|
1192
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1193
|
+
} | undefined;
|
|
1194
|
+
};
|
|
1195
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1196
|
+
readonly resourceId: v.LiteralSchema<"wallet", undefined>;
|
|
1197
|
+
}, undefined>], undefined>, undefined>, never>;
|
|
1198
|
+
type RequestPermissionsParams = v.InferOutput<typeof requestPermissionsParamsSchema>;
|
|
1054
1199
|
declare const requestPermissionsResultSchema: v.LiteralSchema<true, undefined>;
|
|
1200
|
+
type RequestPermissionsResult = v.InferOutput<typeof requestPermissionsResultSchema>;
|
|
1055
1201
|
declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
1056
1202
|
readonly method: v.LiteralSchema<"wallet_requestPermissions", undefined>;
|
|
1057
|
-
readonly params: v.
|
|
1203
|
+
readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1204
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1205
|
+
readonly read: v.BooleanSchema<undefined>;
|
|
1206
|
+
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1207
|
+
readonly rename: v.BooleanSchema<undefined>;
|
|
1208
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1209
|
+
readonly entries: {
|
|
1210
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1211
|
+
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1212
|
+
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1213
|
+
};
|
|
1214
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1215
|
+
read?: boolean | undefined;
|
|
1216
|
+
autoSign?: boolean | undefined;
|
|
1217
|
+
rename?: boolean | undefined;
|
|
1218
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1219
|
+
readonly _types?: {
|
|
1220
|
+
readonly input: {
|
|
1221
|
+
read?: boolean | undefined;
|
|
1222
|
+
autoSign?: boolean | undefined;
|
|
1223
|
+
rename?: boolean | undefined;
|
|
1224
|
+
};
|
|
1225
|
+
readonly output: {
|
|
1226
|
+
read?: boolean | undefined;
|
|
1227
|
+
autoSign?: boolean | undefined;
|
|
1228
|
+
rename?: boolean | undefined;
|
|
1229
|
+
};
|
|
1230
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1231
|
+
} | undefined;
|
|
1232
|
+
};
|
|
1233
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1234
|
+
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1235
|
+
}, undefined>, v.ObjectSchema<{
|
|
1236
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1237
|
+
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1238
|
+
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1239
|
+
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1240
|
+
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1241
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1242
|
+
readonly entries: {
|
|
1243
|
+
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1244
|
+
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1245
|
+
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1246
|
+
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1247
|
+
};
|
|
1248
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1249
|
+
addPrivateKey?: boolean | undefined;
|
|
1250
|
+
openPopup?: boolean | undefined;
|
|
1251
|
+
openFullPage?: boolean | undefined;
|
|
1252
|
+
readAllAccounts?: boolean | undefined;
|
|
1253
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1254
|
+
readonly _types?: {
|
|
1255
|
+
readonly input: {
|
|
1256
|
+
addPrivateKey?: boolean | undefined;
|
|
1257
|
+
openPopup?: boolean | undefined;
|
|
1258
|
+
openFullPage?: boolean | undefined;
|
|
1259
|
+
readAllAccounts?: boolean | undefined;
|
|
1260
|
+
};
|
|
1261
|
+
readonly output: {
|
|
1262
|
+
addPrivateKey?: boolean | undefined;
|
|
1263
|
+
openPopup?: boolean | undefined;
|
|
1264
|
+
openFullPage?: boolean | undefined;
|
|
1265
|
+
readAllAccounts?: boolean | undefined;
|
|
1266
|
+
};
|
|
1267
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1268
|
+
} | undefined;
|
|
1269
|
+
};
|
|
1270
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1271
|
+
readonly resourceId: v.LiteralSchema<"wallet", undefined>;
|
|
1272
|
+
}, undefined>], undefined>, undefined>, never>;
|
|
1058
1273
|
readonly id: v.StringSchema<undefined>;
|
|
1059
1274
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1060
1275
|
}, undefined>;
|
|
1061
|
-
type
|
|
1276
|
+
type RequestPermissionsRequestMessage = v.InferOutput<typeof requestPermissionsRequestMessageSchema>;
|
|
1277
|
+
type RequestPermissions = MethodParamsAndResult<RequestPermissionsParams, RequestPermissionsResult>;
|
|
1062
1278
|
declare const renouncePermissionsMethodName = "wallet_renouncePermissions";
|
|
1063
|
-
declare const renouncePermissionsParamsSchema: v.
|
|
1064
|
-
|
|
1279
|
+
declare const renouncePermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1280
|
+
type RenouncePermissionsParams = v.InferOutput<typeof renouncePermissionsParamsSchema>;
|
|
1281
|
+
declare const renouncePermissionsResultSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1282
|
+
type RenouncePermissionsResult = v.InferOutput<typeof renouncePermissionsResultSchema>;
|
|
1065
1283
|
declare const renouncePermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
1066
1284
|
readonly method: v.LiteralSchema<"wallet_renouncePermissions", undefined>;
|
|
1067
|
-
readonly params: v.
|
|
1285
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1068
1286
|
readonly id: v.StringSchema<undefined>;
|
|
1069
1287
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1070
1288
|
}, undefined>;
|
|
1071
|
-
type
|
|
1289
|
+
type RenouncePermissionsRequestMessage = v.InferOutput<typeof renouncePermissionsRequestMessageSchema>;
|
|
1290
|
+
type RenouncePermissions = MethodParamsAndResult<RenouncePermissionsParams, RenouncePermissionsResult>;
|
|
1291
|
+
declare const disconnectMethodName = "wallet_disconnect";
|
|
1292
|
+
declare const disconnectParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1293
|
+
type DisconnectParams = v.InferOutput<typeof disconnectParamsSchema>;
|
|
1294
|
+
declare const disconnectResultSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1295
|
+
type DisconnectResult = v.InferOutput<typeof disconnectResultSchema>;
|
|
1296
|
+
declare const disconnectRequestMessageSchema: v.ObjectSchema<{
|
|
1297
|
+
readonly method: v.LiteralSchema<"wallet_disconnect", undefined>;
|
|
1298
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1299
|
+
readonly id: v.StringSchema<undefined>;
|
|
1300
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1301
|
+
}, undefined>;
|
|
1302
|
+
type DisconnectRequestMessage = v.InferOutput<typeof disconnectRequestMessageSchema>;
|
|
1303
|
+
type Disconnect = MethodParamsAndResult<DisconnectParams, DisconnectResult>;
|
|
1072
1304
|
declare const getWalletTypeMethodName = "wallet_getWalletType";
|
|
1073
1305
|
declare const getWalletTypeParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1306
|
+
type GetWalletTypeParams = v.InferOutput<typeof getWalletTypeParamsSchema>;
|
|
1074
1307
|
declare const getWalletTypeResultSchema: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
|
|
1308
|
+
type GetWalletTypeResult = v.InferOutput<typeof getWalletTypeResultSchema>;
|
|
1075
1309
|
declare const getWalletTypeRequestMessageSchema: v.ObjectSchema<{
|
|
1076
1310
|
readonly method: v.LiteralSchema<"wallet_getWalletType", undefined>;
|
|
1311
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1077
1312
|
readonly id: v.StringSchema<undefined>;
|
|
1078
1313
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1079
|
-
readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
|
|
1080
1314
|
}, undefined>;
|
|
1081
|
-
type
|
|
1082
|
-
|
|
1083
|
-
declare const
|
|
1084
|
-
declare const
|
|
1085
|
-
|
|
1086
|
-
|
|
1315
|
+
type GetWalletTypeRequestMessage = v.InferOutput<typeof getWalletTypeRequestMessageSchema>;
|
|
1316
|
+
type GetWalletType = MethodParamsAndResult<GetWalletTypeParams, GetWalletTypeResult>;
|
|
1317
|
+
declare const getCurrentPermissionsMethodName = "wallet_getCurrentPermissions";
|
|
1318
|
+
declare const getCurrentPermissionsParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1319
|
+
type GetCurrentPermissionsParams = v.InferOutput<typeof getCurrentPermissionsParamsSchema>;
|
|
1320
|
+
declare const getCurrentPermissionsResultSchema: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1321
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1322
|
+
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1323
|
+
readonly clientId: v.StringSchema<undefined>;
|
|
1324
|
+
readonly actions: v.ObjectSchema<{
|
|
1325
|
+
readonly read: v.BooleanSchema<undefined>;
|
|
1326
|
+
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1327
|
+
readonly rename: v.BooleanSchema<undefined>;
|
|
1328
|
+
}, undefined>;
|
|
1329
|
+
}, undefined>, v.ObjectSchema<{
|
|
1330
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1331
|
+
readonly resourceId: v.LiteralSchema<"wallet", undefined>;
|
|
1332
|
+
readonly clientId: v.StringSchema<undefined>;
|
|
1333
|
+
readonly actions: v.ObjectSchema<{
|
|
1334
|
+
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1335
|
+
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1336
|
+
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1337
|
+
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1338
|
+
}, undefined>;
|
|
1339
|
+
}, undefined>], undefined>, undefined>;
|
|
1340
|
+
type GetCurrentPermissionsResult = v.InferOutput<typeof getCurrentPermissionsResultSchema>;
|
|
1341
|
+
declare const getCurrentPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
1342
|
+
readonly method: v.LiteralSchema<"wallet_getCurrentPermissions", undefined>;
|
|
1343
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1344
|
+
readonly id: v.StringSchema<undefined>;
|
|
1345
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1346
|
+
}, undefined>;
|
|
1347
|
+
type GetCurrentPermissionsRequestMessage = v.InferOutput<typeof getCurrentPermissionsRequestMessageSchema>;
|
|
1348
|
+
type GetCurrentPermissions = MethodParamsAndResult<GetCurrentPermissionsParams, GetCurrentPermissionsResult>;
|
|
1349
|
+
declare const getAccountMethodName = "wallet_getAccount";
|
|
1350
|
+
declare const getAccountParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1351
|
+
type GetAccountParams = v.InferOutput<typeof getAccountParamsSchema>;
|
|
1352
|
+
declare const getAccountResultSchema: v.ObjectSchema<{
|
|
1353
|
+
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.BrandAction<string, "AccountId">]>;
|
|
1354
|
+
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
1355
|
+
readonly address: v.StringSchema<undefined>;
|
|
1356
|
+
readonly publicKey: v.StringSchema<undefined>;
|
|
1357
|
+
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
1358
|
+
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
1359
|
+
}, undefined>, undefined>;
|
|
1360
|
+
readonly walletType: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
|
|
1361
|
+
}, undefined>;
|
|
1362
|
+
type GetAccountResult = v.InferOutput<typeof getAccountResultSchema>;
|
|
1363
|
+
declare const getAccountRequestMessageSchema: v.ObjectSchema<{
|
|
1364
|
+
readonly method: v.LiteralSchema<"wallet_getAccount", undefined>;
|
|
1365
|
+
readonly params: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1366
|
+
readonly id: v.StringSchema<undefined>;
|
|
1367
|
+
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1368
|
+
}, undefined>;
|
|
1369
|
+
type GetAccountRequestMessage = v.InferOutput<typeof getAccountRequestMessageSchema>;
|
|
1370
|
+
type GetAccount = MethodParamsAndResult<GetAccountParams, GetAccountResult>;
|
|
1371
|
+
declare const connectMethodName = "wallet_connect";
|
|
1372
|
+
declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
1373
|
+
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1374
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1375
|
+
readonly read: v.BooleanSchema<undefined>;
|
|
1376
|
+
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1377
|
+
readonly rename: v.BooleanSchema<undefined>;
|
|
1378
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1379
|
+
readonly entries: {
|
|
1380
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1381
|
+
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1382
|
+
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1383
|
+
};
|
|
1384
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1385
|
+
read?: boolean | undefined;
|
|
1386
|
+
autoSign?: boolean | undefined;
|
|
1387
|
+
rename?: boolean | undefined;
|
|
1388
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1389
|
+
readonly _types?: {
|
|
1390
|
+
readonly input: {
|
|
1391
|
+
read?: boolean | undefined;
|
|
1392
|
+
autoSign?: boolean | undefined;
|
|
1393
|
+
rename?: boolean | undefined;
|
|
1394
|
+
};
|
|
1395
|
+
readonly output: {
|
|
1396
|
+
read?: boolean | undefined;
|
|
1397
|
+
autoSign?: boolean | undefined;
|
|
1398
|
+
rename?: boolean | undefined;
|
|
1399
|
+
};
|
|
1400
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1401
|
+
} | undefined;
|
|
1402
|
+
};
|
|
1403
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1404
|
+
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1405
|
+
}, undefined>, v.ObjectSchema<{
|
|
1406
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1407
|
+
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1408
|
+
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1409
|
+
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1410
|
+
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1411
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1412
|
+
readonly entries: {
|
|
1413
|
+
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1414
|
+
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1415
|
+
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1416
|
+
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1417
|
+
};
|
|
1418
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1419
|
+
addPrivateKey?: boolean | undefined;
|
|
1420
|
+
openPopup?: boolean | undefined;
|
|
1421
|
+
openFullPage?: boolean | undefined;
|
|
1422
|
+
readAllAccounts?: boolean | undefined;
|
|
1423
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1424
|
+
readonly _types?: {
|
|
1425
|
+
readonly input: {
|
|
1426
|
+
addPrivateKey?: boolean | undefined;
|
|
1427
|
+
openPopup?: boolean | undefined;
|
|
1428
|
+
openFullPage?: boolean | undefined;
|
|
1429
|
+
readAllAccounts?: boolean | undefined;
|
|
1430
|
+
};
|
|
1431
|
+
readonly output: {
|
|
1432
|
+
addPrivateKey?: boolean | undefined;
|
|
1433
|
+
openPopup?: boolean | undefined;
|
|
1434
|
+
openFullPage?: boolean | undefined;
|
|
1435
|
+
readAllAccounts?: boolean | undefined;
|
|
1436
|
+
};
|
|
1437
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1438
|
+
} | undefined;
|
|
1439
|
+
};
|
|
1440
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1441
|
+
readonly resourceId: v.LiteralSchema<"wallet", undefined>;
|
|
1442
|
+
}, undefined>], undefined>, undefined>, never>;
|
|
1443
|
+
}, undefined>, never>;
|
|
1444
|
+
type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
|
|
1445
|
+
declare const connectResultSchema: v.ObjectSchema<{
|
|
1446
|
+
readonly id: v.SchemaWithPipe<[v.StringSchema<undefined>, v.BrandAction<string, "AccountId">]>;
|
|
1447
|
+
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
1448
|
+
readonly address: v.StringSchema<undefined>;
|
|
1449
|
+
readonly publicKey: v.StringSchema<undefined>;
|
|
1450
|
+
readonly purpose: v.EnumSchema<typeof AddressPurpose, undefined>;
|
|
1451
|
+
readonly addressType: v.EnumSchema<typeof AddressType, undefined>;
|
|
1452
|
+
}, undefined>, undefined>;
|
|
1453
|
+
readonly walletType: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
|
|
1454
|
+
}, undefined>;
|
|
1455
|
+
type ConnectResult = v.InferOutput<typeof connectResultSchema>;
|
|
1456
|
+
declare const connectRequestMessageSchema: v.ObjectSchema<{
|
|
1457
|
+
readonly method: v.LiteralSchema<"wallet_connect", undefined>;
|
|
1458
|
+
readonly params: v.NullishSchema<v.ObjectSchema<{
|
|
1459
|
+
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1460
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1461
|
+
readonly read: v.BooleanSchema<undefined>;
|
|
1462
|
+
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1463
|
+
readonly rename: v.BooleanSchema<undefined>;
|
|
1464
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1465
|
+
readonly entries: {
|
|
1466
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1467
|
+
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1468
|
+
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1469
|
+
};
|
|
1470
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1471
|
+
read?: boolean | undefined;
|
|
1472
|
+
autoSign?: boolean | undefined;
|
|
1473
|
+
rename?: boolean | undefined;
|
|
1474
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1475
|
+
readonly _types?: {
|
|
1476
|
+
readonly input: {
|
|
1477
|
+
read?: boolean | undefined;
|
|
1478
|
+
autoSign?: boolean | undefined;
|
|
1479
|
+
rename?: boolean | undefined;
|
|
1480
|
+
};
|
|
1481
|
+
readonly output: {
|
|
1482
|
+
read?: boolean | undefined;
|
|
1483
|
+
autoSign?: boolean | undefined;
|
|
1484
|
+
rename?: boolean | undefined;
|
|
1485
|
+
};
|
|
1486
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1487
|
+
} | undefined;
|
|
1488
|
+
};
|
|
1489
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1490
|
+
readonly resourceId: v.SchemaWithPipe<[v.StringSchema<undefined>, v.CheckAction<string, undefined>, v.BrandAction<string, "AccountResourceId">]>;
|
|
1491
|
+
}, undefined>, v.ObjectSchema<{
|
|
1492
|
+
readonly actions: Omit<v.ObjectSchema<{
|
|
1493
|
+
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1494
|
+
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1495
|
+
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1496
|
+
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1497
|
+
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1498
|
+
readonly entries: {
|
|
1499
|
+
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1500
|
+
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1501
|
+
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1502
|
+
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1503
|
+
};
|
|
1504
|
+
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1505
|
+
addPrivateKey?: boolean | undefined;
|
|
1506
|
+
openPopup?: boolean | undefined;
|
|
1507
|
+
openFullPage?: boolean | undefined;
|
|
1508
|
+
readAllAccounts?: boolean | undefined;
|
|
1509
|
+
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1510
|
+
readonly _types?: {
|
|
1511
|
+
readonly input: {
|
|
1512
|
+
addPrivateKey?: boolean | undefined;
|
|
1513
|
+
openPopup?: boolean | undefined;
|
|
1514
|
+
openFullPage?: boolean | undefined;
|
|
1515
|
+
readAllAccounts?: boolean | undefined;
|
|
1516
|
+
};
|
|
1517
|
+
readonly output: {
|
|
1518
|
+
addPrivateKey?: boolean | undefined;
|
|
1519
|
+
openPopup?: boolean | undefined;
|
|
1520
|
+
openFullPage?: boolean | undefined;
|
|
1521
|
+
readAllAccounts?: boolean | undefined;
|
|
1522
|
+
};
|
|
1523
|
+
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1524
|
+
} | undefined;
|
|
1525
|
+
};
|
|
1526
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1527
|
+
readonly resourceId: v.LiteralSchema<"wallet", undefined>;
|
|
1528
|
+
}, undefined>], undefined>, undefined>, never>;
|
|
1529
|
+
}, undefined>, never>;
|
|
1087
1530
|
readonly id: v.StringSchema<undefined>;
|
|
1088
1531
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1089
|
-
readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
|
|
1090
1532
|
}, undefined>;
|
|
1091
|
-
type
|
|
1533
|
+
type ConnectRequestMessage = v.InferOutput<typeof connectRequestMessageSchema>;
|
|
1534
|
+
type Connect = MethodParamsAndResult<ConnectParams, ConnectResult>;
|
|
1092
1535
|
|
|
1093
1536
|
declare const walletTypes: readonly ["software", "ledger"];
|
|
1094
1537
|
declare const walletTypeSchema: v.PicklistSchema<readonly ["software", "ledger"], undefined>;
|
|
@@ -1136,7 +1579,7 @@ interface WalletRequests {
|
|
|
1136
1579
|
wallet_requestPermissions: RequestPermissions;
|
|
1137
1580
|
wallet_renouncePermissions: RenouncePermissions;
|
|
1138
1581
|
wallet_getWalletType: GetWalletType;
|
|
1139
|
-
|
|
1582
|
+
wallet_getCurrentPermissions: GetCurrentPermissions;
|
|
1140
1583
|
}
|
|
1141
1584
|
type Requests = BtcRequests & StxRequests & RunesRequests & WalletRequests & OrdinalsRequests;
|
|
1142
1585
|
type Return<Method> = Method extends keyof Requests ? Requests[Method]['result'] : never;
|
|
@@ -1169,4 +1612,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
|
|
|
1169
1612
|
declare const DefaultAdaptersInfo: Record<string, Provider>;
|
|
1170
1613
|
declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
|
|
1171
1614
|
|
|
1172
|
-
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 CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type DeployContractParams, type DeployContractResult, type DisconnectEvent, type EstimateRbfOrder, type EstimateRunesEtch, type EstimateRunesEtchParams, type EstimateRunesEtchResult, type EstimateRunesMint, type EstimateRunesMintParams, type EstimateRunesMintResult, type EtchRunes, type EtchRunesParams, type EtchRunesResult, 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 GetInfo, type GetInfoParams, type GetInfoRequestMessage, type GetInfoResult, type GetInscriptions, type GetOrder, type
|
|
1615
|
+
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$2 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 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, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signTransaction, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, transferRunesMethodName, transferRunesParamsSchema, transferRunesRequestSchema, walletEventSchema, walletTypeSchema, walletTypes };
|