@sats-connect/core 0.4.0-f42fc9a → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +81 -347
- package/dist/index.d.ts +81 -347
- package/dist/index.js +43 -18
- package/dist/index.mjs +37 -17
- package/package.json +2 -3
package/dist/index.d.mts
CHANGED
|
@@ -193,7 +193,7 @@ declare const rpcRequestMessageSchema: v.ObjectSchema<{
|
|
|
193
193
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
194
194
|
readonly method: v.StringSchema<undefined>;
|
|
195
195
|
readonly params: v.OptionalSchema<v.UnionSchema<[v.ArraySchema<v.UnknownSchema, undefined>, v.LooseObjectSchema<{}, undefined>, v.NullSchema<undefined>], undefined>, never>;
|
|
196
|
-
readonly id: v.
|
|
196
|
+
readonly id: v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>, v.NullSchema<undefined>], undefined>;
|
|
197
197
|
}, undefined>;
|
|
198
198
|
type RpcRequestMessage = v.InferOutput<typeof rpcRequestMessageSchema>;
|
|
199
199
|
interface RpcBase {
|
|
@@ -502,7 +502,6 @@ declare const signPsbtParamsSchema: v.ObjectSchema<{
|
|
|
502
502
|
* The key is the address and the value is an array of indexes of the inputs to sign.
|
|
503
503
|
*/
|
|
504
504
|
readonly signInputs: v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
505
|
-
readonly allowedSignHash: v.OptionalSchema<v.NumberSchema<undefined>, never>;
|
|
506
505
|
/**
|
|
507
506
|
* Whether to broadcast the transaction after signing.
|
|
508
507
|
**/
|
|
@@ -533,7 +532,6 @@ declare const signPsbtRequestMessageSchema: v.ObjectSchema<{
|
|
|
533
532
|
* The key is the address and the value is an array of indexes of the inputs to sign.
|
|
534
533
|
*/
|
|
535
534
|
readonly signInputs: v.RecordSchema<v.StringSchema<undefined>, v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
536
|
-
readonly allowedSignHash: v.OptionalSchema<v.NumberSchema<undefined>, never>;
|
|
537
535
|
/**
|
|
538
536
|
* Whether to broadcast the transaction after signing.
|
|
539
537
|
**/
|
|
@@ -1392,153 +1390,66 @@ declare const stxTransferStxRequestMessageSchema: v.ObjectSchema<{
|
|
|
1392
1390
|
type StxTransferStxRequestMessage = v.InferOutput<typeof stxTransferStxRequestMessageSchema>;
|
|
1393
1391
|
type StxTransferStx = MethodParamsAndResult<StxTransferStxParams, StxTransferStxResult>;
|
|
1394
1392
|
|
|
1393
|
+
declare const accountActionsSchema: v.ObjectSchema<{
|
|
1394
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1395
|
+
}, undefined>;
|
|
1396
|
+
declare const walletActionsSchema: v.ObjectSchema<{}, undefined>;
|
|
1397
|
+
declare const accountPermissionSchema: v.ObjectSchema<{
|
|
1398
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1399
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1400
|
+
readonly clientId: v.StringSchema<undefined>;
|
|
1401
|
+
readonly actions: v.ObjectSchema<{
|
|
1402
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1403
|
+
}, undefined>;
|
|
1404
|
+
}, undefined>;
|
|
1405
|
+
declare const walletPermissionSchema: v.ObjectSchema<{
|
|
1406
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1407
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1408
|
+
readonly clientId: v.StringSchema<undefined>;
|
|
1409
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1410
|
+
}, undefined>;
|
|
1395
1411
|
/**
|
|
1396
1412
|
* Permissions with the clientId field omitted and optional actions. Used for
|
|
1397
1413
|
* permission requests, since the wallet performs authentication based on the
|
|
1398
1414
|
* client's tab origin and should not rely on the client authenticating
|
|
1399
1415
|
* themselves.
|
|
1400
1416
|
*/
|
|
1401
|
-
declare const
|
|
1402
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1403
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1404
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1405
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1406
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1407
|
-
readonly entries: {
|
|
1408
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1409
|
-
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1410
|
-
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1411
|
-
};
|
|
1412
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1413
|
-
read?: boolean | undefined;
|
|
1414
|
-
autoSign?: boolean | undefined;
|
|
1415
|
-
rename?: boolean | undefined;
|
|
1416
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1417
|
-
readonly _types?: {
|
|
1418
|
-
readonly input: {
|
|
1419
|
-
read?: boolean | undefined;
|
|
1420
|
-
autoSign?: boolean | undefined;
|
|
1421
|
-
rename?: boolean | undefined;
|
|
1422
|
-
};
|
|
1423
|
-
readonly output: {
|
|
1424
|
-
read?: boolean | undefined;
|
|
1425
|
-
autoSign?: boolean | undefined;
|
|
1426
|
-
rename?: boolean | undefined;
|
|
1427
|
-
};
|
|
1428
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1429
|
-
} | undefined;
|
|
1430
|
-
};
|
|
1417
|
+
declare const PermissionRequestParams: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1431
1418
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1432
|
-
readonly resourceId: v.
|
|
1419
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1420
|
+
readonly actions: v.ObjectSchema<{
|
|
1421
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1422
|
+
}, undefined>;
|
|
1433
1423
|
}, undefined>, v.ObjectSchema<{
|
|
1434
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1435
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1436
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1437
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1438
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1439
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1440
|
-
readonly entries: {
|
|
1441
|
-
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1442
|
-
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1443
|
-
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1444
|
-
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1445
|
-
};
|
|
1446
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1447
|
-
addPrivateKey?: boolean | undefined;
|
|
1448
|
-
openPopup?: boolean | undefined;
|
|
1449
|
-
openFullPage?: boolean | undefined;
|
|
1450
|
-
readAllAccounts?: boolean | undefined;
|
|
1451
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1452
|
-
readonly _types?: {
|
|
1453
|
-
readonly input: {
|
|
1454
|
-
addPrivateKey?: boolean | undefined;
|
|
1455
|
-
openPopup?: boolean | undefined;
|
|
1456
|
-
openFullPage?: boolean | undefined;
|
|
1457
|
-
readAllAccounts?: boolean | undefined;
|
|
1458
|
-
};
|
|
1459
|
-
readonly output: {
|
|
1460
|
-
addPrivateKey?: boolean | undefined;
|
|
1461
|
-
openPopup?: boolean | undefined;
|
|
1462
|
-
openFullPage?: boolean | undefined;
|
|
1463
|
-
readAllAccounts?: boolean | undefined;
|
|
1464
|
-
};
|
|
1465
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1466
|
-
} | undefined;
|
|
1467
|
-
};
|
|
1468
1424
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1469
|
-
readonly resourceId: v.
|
|
1425
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1426
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1470
1427
|
}, undefined>], undefined>;
|
|
1471
|
-
|
|
1428
|
+
declare const permission: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1429
|
+
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1430
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1431
|
+
readonly clientId: v.StringSchema<undefined>;
|
|
1432
|
+
readonly actions: v.ObjectSchema<{
|
|
1433
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1434
|
+
}, undefined>;
|
|
1435
|
+
}, undefined>, v.ObjectSchema<{
|
|
1436
|
+
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1437
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1438
|
+
readonly clientId: v.StringSchema<undefined>;
|
|
1439
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1440
|
+
}, undefined>], undefined>;
|
|
1441
|
+
type PermissionWithoutClientId = v.InferOutput<typeof PermissionRequestParams>;
|
|
1472
1442
|
declare const requestPermissionsMethodName = "wallet_requestPermissions";
|
|
1473
1443
|
declare const requestPermissionsParamsSchema: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1474
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1475
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1476
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1477
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1478
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1479
|
-
readonly entries: {
|
|
1480
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1481
|
-
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1482
|
-
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1483
|
-
};
|
|
1484
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1485
|
-
read?: boolean | undefined;
|
|
1486
|
-
autoSign?: boolean | undefined;
|
|
1487
|
-
rename?: boolean | undefined;
|
|
1488
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1489
|
-
readonly _types?: {
|
|
1490
|
-
readonly input: {
|
|
1491
|
-
read?: boolean | undefined;
|
|
1492
|
-
autoSign?: boolean | undefined;
|
|
1493
|
-
rename?: boolean | undefined;
|
|
1494
|
-
};
|
|
1495
|
-
readonly output: {
|
|
1496
|
-
read?: boolean | undefined;
|
|
1497
|
-
autoSign?: boolean | undefined;
|
|
1498
|
-
rename?: boolean | undefined;
|
|
1499
|
-
};
|
|
1500
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1501
|
-
} | undefined;
|
|
1502
|
-
};
|
|
1503
1444
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1504
|
-
readonly resourceId: v.
|
|
1445
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1446
|
+
readonly actions: v.ObjectSchema<{
|
|
1447
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1448
|
+
}, undefined>;
|
|
1505
1449
|
}, undefined>, v.ObjectSchema<{
|
|
1506
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1507
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1508
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1509
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1510
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1511
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1512
|
-
readonly entries: {
|
|
1513
|
-
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1514
|
-
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1515
|
-
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1516
|
-
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1517
|
-
};
|
|
1518
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1519
|
-
addPrivateKey?: boolean | undefined;
|
|
1520
|
-
openPopup?: boolean | undefined;
|
|
1521
|
-
openFullPage?: boolean | undefined;
|
|
1522
|
-
readAllAccounts?: boolean | undefined;
|
|
1523
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1524
|
-
readonly _types?: {
|
|
1525
|
-
readonly input: {
|
|
1526
|
-
addPrivateKey?: boolean | undefined;
|
|
1527
|
-
openPopup?: boolean | undefined;
|
|
1528
|
-
openFullPage?: boolean | undefined;
|
|
1529
|
-
readAllAccounts?: boolean | undefined;
|
|
1530
|
-
};
|
|
1531
|
-
readonly output: {
|
|
1532
|
-
addPrivateKey?: boolean | undefined;
|
|
1533
|
-
openPopup?: boolean | undefined;
|
|
1534
|
-
openFullPage?: boolean | undefined;
|
|
1535
|
-
readAllAccounts?: boolean | undefined;
|
|
1536
|
-
};
|
|
1537
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1538
|
-
} | undefined;
|
|
1539
|
-
};
|
|
1540
1450
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1541
|
-
readonly resourceId: v.
|
|
1451
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1452
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1542
1453
|
}, undefined>], undefined>, undefined>, never>;
|
|
1543
1454
|
type RequestPermissionsParams = v.InferOutput<typeof requestPermissionsParamsSchema>;
|
|
1544
1455
|
declare const requestPermissionsResultSchema: v.LiteralSchema<true, undefined>;
|
|
@@ -1546,74 +1457,15 @@ type RequestPermissionsResult = v.InferOutput<typeof requestPermissionsResultSch
|
|
|
1546
1457
|
declare const requestPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
1547
1458
|
readonly method: v.LiteralSchema<"wallet_requestPermissions", undefined>;
|
|
1548
1459
|
readonly params: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1549
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1550
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1551
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1552
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1553
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1554
|
-
readonly entries: {
|
|
1555
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1556
|
-
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1557
|
-
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1558
|
-
};
|
|
1559
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1560
|
-
read?: boolean | undefined;
|
|
1561
|
-
autoSign?: boolean | undefined;
|
|
1562
|
-
rename?: boolean | undefined;
|
|
1563
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1564
|
-
readonly _types?: {
|
|
1565
|
-
readonly input: {
|
|
1566
|
-
read?: boolean | undefined;
|
|
1567
|
-
autoSign?: boolean | undefined;
|
|
1568
|
-
rename?: boolean | undefined;
|
|
1569
|
-
};
|
|
1570
|
-
readonly output: {
|
|
1571
|
-
read?: boolean | undefined;
|
|
1572
|
-
autoSign?: boolean | undefined;
|
|
1573
|
-
rename?: boolean | undefined;
|
|
1574
|
-
};
|
|
1575
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1576
|
-
} | undefined;
|
|
1577
|
-
};
|
|
1578
1460
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1579
|
-
readonly resourceId: v.
|
|
1461
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1462
|
+
readonly actions: v.ObjectSchema<{
|
|
1463
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1464
|
+
}, undefined>;
|
|
1580
1465
|
}, undefined>, v.ObjectSchema<{
|
|
1581
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1582
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1583
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1584
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1585
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1586
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1587
|
-
readonly entries: {
|
|
1588
|
-
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1589
|
-
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1590
|
-
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1591
|
-
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1592
|
-
};
|
|
1593
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1594
|
-
addPrivateKey?: boolean | undefined;
|
|
1595
|
-
openPopup?: boolean | undefined;
|
|
1596
|
-
openFullPage?: boolean | undefined;
|
|
1597
|
-
readAllAccounts?: boolean | undefined;
|
|
1598
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1599
|
-
readonly _types?: {
|
|
1600
|
-
readonly input: {
|
|
1601
|
-
addPrivateKey?: boolean | undefined;
|
|
1602
|
-
openPopup?: boolean | undefined;
|
|
1603
|
-
openFullPage?: boolean | undefined;
|
|
1604
|
-
readAllAccounts?: boolean | undefined;
|
|
1605
|
-
};
|
|
1606
|
-
readonly output: {
|
|
1607
|
-
addPrivateKey?: boolean | undefined;
|
|
1608
|
-
openPopup?: boolean | undefined;
|
|
1609
|
-
openFullPage?: boolean | undefined;
|
|
1610
|
-
readAllAccounts?: boolean | undefined;
|
|
1611
|
-
};
|
|
1612
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1613
|
-
} | undefined;
|
|
1614
|
-
};
|
|
1615
1466
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1616
|
-
readonly resourceId: v.
|
|
1467
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1468
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1617
1469
|
}, undefined>], undefined>, undefined>, never>;
|
|
1618
1470
|
readonly id: v.StringSchema<undefined>;
|
|
1619
1471
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -1664,23 +1516,16 @@ declare const getCurrentPermissionsParamsSchema: v.NullishSchema<v.NullSchema<un
|
|
|
1664
1516
|
type GetCurrentPermissionsParams = v.InferOutput<typeof getCurrentPermissionsParamsSchema>;
|
|
1665
1517
|
declare const getCurrentPermissionsResultSchema: v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1666
1518
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1667
|
-
readonly resourceId: v.
|
|
1519
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1668
1520
|
readonly clientId: v.StringSchema<undefined>;
|
|
1669
1521
|
readonly actions: v.ObjectSchema<{
|
|
1670
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1671
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1672
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1522
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1673
1523
|
}, undefined>;
|
|
1674
1524
|
}, undefined>, v.ObjectSchema<{
|
|
1675
1525
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1676
|
-
readonly resourceId: v.
|
|
1526
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1677
1527
|
readonly clientId: v.StringSchema<undefined>;
|
|
1678
|
-
readonly actions: v.ObjectSchema<{
|
|
1679
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1680
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1681
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1682
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1683
|
-
}, undefined>;
|
|
1528
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1684
1529
|
}, undefined>], undefined>, undefined>;
|
|
1685
1530
|
type GetCurrentPermissionsResult = v.InferOutput<typeof getCurrentPermissionsResultSchema>;
|
|
1686
1531
|
declare const getCurrentPermissionsRequestMessageSchema: v.ObjectSchema<{
|
|
@@ -1695,7 +1540,7 @@ declare const getAccountMethodName = "wallet_getAccount";
|
|
|
1695
1540
|
declare const getAccountParamsSchema: v.NullishSchema<v.NullSchema<undefined>, never>;
|
|
1696
1541
|
type GetAccountParams = v.InferOutput<typeof getAccountParamsSchema>;
|
|
1697
1542
|
declare const getAccountResultSchema: v.ObjectSchema<{
|
|
1698
|
-
readonly id: v.
|
|
1543
|
+
readonly id: v.StringSchema<undefined>;
|
|
1699
1544
|
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
1700
1545
|
readonly address: v.StringSchema<undefined>;
|
|
1701
1546
|
readonly publicKey: v.StringSchema<undefined>;
|
|
@@ -1716,79 +1561,22 @@ type GetAccount = MethodParamsAndResult<GetAccountParams, GetAccountResult>;
|
|
|
1716
1561
|
declare const connectMethodName = "wallet_connect";
|
|
1717
1562
|
declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
1718
1563
|
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1719
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1720
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1721
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1722
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1723
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1724
|
-
readonly entries: {
|
|
1725
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1726
|
-
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1727
|
-
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1728
|
-
};
|
|
1729
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1730
|
-
read?: boolean | undefined;
|
|
1731
|
-
autoSign?: boolean | undefined;
|
|
1732
|
-
rename?: boolean | undefined;
|
|
1733
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1734
|
-
readonly _types?: {
|
|
1735
|
-
readonly input: {
|
|
1736
|
-
read?: boolean | undefined;
|
|
1737
|
-
autoSign?: boolean | undefined;
|
|
1738
|
-
rename?: boolean | undefined;
|
|
1739
|
-
};
|
|
1740
|
-
readonly output: {
|
|
1741
|
-
read?: boolean | undefined;
|
|
1742
|
-
autoSign?: boolean | undefined;
|
|
1743
|
-
rename?: boolean | undefined;
|
|
1744
|
-
};
|
|
1745
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1746
|
-
} | undefined;
|
|
1747
|
-
};
|
|
1748
1564
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1749
|
-
readonly resourceId: v.
|
|
1565
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1566
|
+
readonly actions: v.ObjectSchema<{
|
|
1567
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1568
|
+
}, undefined>;
|
|
1750
1569
|
}, undefined>, v.ObjectSchema<{
|
|
1751
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1752
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1753
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1754
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1755
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1756
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1757
|
-
readonly entries: {
|
|
1758
|
-
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1759
|
-
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1760
|
-
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1761
|
-
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1762
|
-
};
|
|
1763
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1764
|
-
addPrivateKey?: boolean | undefined;
|
|
1765
|
-
openPopup?: boolean | undefined;
|
|
1766
|
-
openFullPage?: boolean | undefined;
|
|
1767
|
-
readAllAccounts?: boolean | undefined;
|
|
1768
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1769
|
-
readonly _types?: {
|
|
1770
|
-
readonly input: {
|
|
1771
|
-
addPrivateKey?: boolean | undefined;
|
|
1772
|
-
openPopup?: boolean | undefined;
|
|
1773
|
-
openFullPage?: boolean | undefined;
|
|
1774
|
-
readAllAccounts?: boolean | undefined;
|
|
1775
|
-
};
|
|
1776
|
-
readonly output: {
|
|
1777
|
-
addPrivateKey?: boolean | undefined;
|
|
1778
|
-
openPopup?: boolean | undefined;
|
|
1779
|
-
openFullPage?: boolean | undefined;
|
|
1780
|
-
readAllAccounts?: boolean | undefined;
|
|
1781
|
-
};
|
|
1782
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1783
|
-
} | undefined;
|
|
1784
|
-
};
|
|
1785
1570
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1786
|
-
readonly resourceId: v.
|
|
1571
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1572
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1787
1573
|
}, undefined>], undefined>, undefined>, never>;
|
|
1574
|
+
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, never>;
|
|
1575
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, never>;
|
|
1788
1576
|
}, undefined>, never>;
|
|
1789
1577
|
type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
|
|
1790
1578
|
declare const connectResultSchema: v.ObjectSchema<{
|
|
1791
|
-
readonly id: v.
|
|
1579
|
+
readonly id: v.StringSchema<undefined>;
|
|
1792
1580
|
readonly addresses: v.ArraySchema<v.ObjectSchema<{
|
|
1793
1581
|
readonly address: v.StringSchema<undefined>;
|
|
1794
1582
|
readonly publicKey: v.StringSchema<undefined>;
|
|
@@ -1802,75 +1590,18 @@ declare const connectRequestMessageSchema: v.ObjectSchema<{
|
|
|
1802
1590
|
readonly method: v.LiteralSchema<"wallet_connect", undefined>;
|
|
1803
1591
|
readonly params: v.NullishSchema<v.ObjectSchema<{
|
|
1804
1592
|
readonly permissions: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1805
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1806
|
-
readonly read: v.BooleanSchema<undefined>;
|
|
1807
|
-
readonly autoSign: v.BooleanSchema<undefined>;
|
|
1808
|
-
readonly rename: v.BooleanSchema<undefined>;
|
|
1809
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1810
|
-
readonly entries: {
|
|
1811
|
-
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1812
|
-
readonly autoSign: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1813
|
-
readonly rename: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1814
|
-
};
|
|
1815
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1816
|
-
read?: boolean | undefined;
|
|
1817
|
-
autoSign?: boolean | undefined;
|
|
1818
|
-
rename?: boolean | undefined;
|
|
1819
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1820
|
-
readonly _types?: {
|
|
1821
|
-
readonly input: {
|
|
1822
|
-
read?: boolean | undefined;
|
|
1823
|
-
autoSign?: boolean | undefined;
|
|
1824
|
-
rename?: boolean | undefined;
|
|
1825
|
-
};
|
|
1826
|
-
readonly output: {
|
|
1827
|
-
read?: boolean | undefined;
|
|
1828
|
-
autoSign?: boolean | undefined;
|
|
1829
|
-
rename?: boolean | undefined;
|
|
1830
|
-
};
|
|
1831
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1832
|
-
} | undefined;
|
|
1833
|
-
};
|
|
1834
1593
|
readonly type: v.LiteralSchema<"account", undefined>;
|
|
1835
|
-
readonly resourceId: v.
|
|
1594
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1595
|
+
readonly actions: v.ObjectSchema<{
|
|
1596
|
+
readonly read: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1597
|
+
}, undefined>;
|
|
1836
1598
|
}, undefined>, v.ObjectSchema<{
|
|
1837
|
-
readonly actions: Omit<v.ObjectSchema<{
|
|
1838
|
-
readonly addPrivateKey: v.BooleanSchema<undefined>;
|
|
1839
|
-
readonly openPopup: v.BooleanSchema<undefined>;
|
|
1840
|
-
readonly openFullPage: v.BooleanSchema<undefined>;
|
|
1841
|
-
readonly readAllAccounts: v.BooleanSchema<undefined>;
|
|
1842
|
-
}, undefined>, "_types" | "_run" | "entries"> & {
|
|
1843
|
-
readonly entries: {
|
|
1844
|
-
readonly addPrivateKey: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1845
|
-
readonly openPopup: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1846
|
-
readonly openFullPage: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1847
|
-
readonly readAllAccounts: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1848
|
-
};
|
|
1849
|
-
readonly _run: (dataset: v.Dataset<unknown, never>, config: v.Config<v.BaseIssue<unknown>>) => v.Dataset<{
|
|
1850
|
-
addPrivateKey?: boolean | undefined;
|
|
1851
|
-
openPopup?: boolean | undefined;
|
|
1852
|
-
openFullPage?: boolean | undefined;
|
|
1853
|
-
readAllAccounts?: boolean | undefined;
|
|
1854
|
-
}, v.ObjectIssue | v.BooleanIssue>;
|
|
1855
|
-
readonly _types?: {
|
|
1856
|
-
readonly input: {
|
|
1857
|
-
addPrivateKey?: boolean | undefined;
|
|
1858
|
-
openPopup?: boolean | undefined;
|
|
1859
|
-
openFullPage?: boolean | undefined;
|
|
1860
|
-
readAllAccounts?: boolean | undefined;
|
|
1861
|
-
};
|
|
1862
|
-
readonly output: {
|
|
1863
|
-
addPrivateKey?: boolean | undefined;
|
|
1864
|
-
openPopup?: boolean | undefined;
|
|
1865
|
-
openFullPage?: boolean | undefined;
|
|
1866
|
-
readAllAccounts?: boolean | undefined;
|
|
1867
|
-
};
|
|
1868
|
-
readonly issue: v.ObjectIssue | v.BooleanIssue;
|
|
1869
|
-
} | undefined;
|
|
1870
|
-
};
|
|
1871
1599
|
readonly type: v.LiteralSchema<"wallet", undefined>;
|
|
1872
|
-
readonly resourceId: v.
|
|
1600
|
+
readonly resourceId: v.StringSchema<undefined>;
|
|
1601
|
+
readonly actions: v.ObjectSchema<{}, undefined>;
|
|
1873
1602
|
}, undefined>], undefined>, undefined>, never>;
|
|
1603
|
+
readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, never>;
|
|
1604
|
+
readonly message: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, never>;
|
|
1874
1605
|
}, undefined>, never>;
|
|
1875
1606
|
readonly id: v.StringSchema<undefined>;
|
|
1876
1607
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
@@ -1921,10 +1652,13 @@ interface OrdinalsRequests {
|
|
|
1921
1652
|
}
|
|
1922
1653
|
type OrdinalsRequestMethod = keyof OrdinalsRequests;
|
|
1923
1654
|
interface WalletRequests {
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1655
|
+
wallet_connect: Connect;
|
|
1656
|
+
wallet_disconnect: Disconnect;
|
|
1657
|
+
wallet_getAccount: GetAccount;
|
|
1927
1658
|
wallet_getCurrentPermissions: GetCurrentPermissions;
|
|
1659
|
+
wallet_getWalletType: GetWalletType;
|
|
1660
|
+
wallet_renouncePermissions: RenouncePermissions;
|
|
1661
|
+
wallet_requestPermissions: RequestPermissions;
|
|
1928
1662
|
}
|
|
1929
1663
|
type Requests = BtcRequests & StxRequests & RunesRequests & WalletRequests & OrdinalsRequests;
|
|
1930
1664
|
type Return<Method> = Method extends keyof Requests ? Requests[Method]['result'] : never;
|
|
@@ -1957,4 +1691,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
|
|
|
1957
1691
|
declare const DefaultAdaptersInfo: Record<string, Provider>;
|
|
1958
1692
|
declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
|
|
1959
1693
|
|
|
1960
|
-
export { type AccountChangeEvent, type AddListener, type Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type Capability, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type Disconnect, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, 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 GetInscriptionsParams, type GetInscriptionsRequestMessage, type GetInscriptionsResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, type PermissionWithoutClientId, type Provider, type PsbtPayload, type 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 RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, 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 SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type StxCallContract, type StxCallContractParams, type StxCallContractRequestMessage, type StxCallContractResult, type StxDeployContract, type StxDeployContractParams, type StxDeployContractRequestMessage, type StxDeployContractResult, type StxGetAccounts, type StxGetAccountsParams, type StxGetAccountsRequestMessage, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignMessage, type StxSignMessageParams, type StxSignMessageRequestMessage, type StxSignMessageResult, type StxSignStructuredMessage, type StxSignStructuredMessageParams, type StxSignStructuredMessageRequestMessage, type StxSignStructuredMessageResult, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxTransferStx, type StxTransferStxParams, type StxTransferStxRequestMessage, type StxTransferStxResult, type SupportedWallet, type TransferRunesParams, 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, getInscriptionsRequestMessageSchema, getInscriptionsResultSchema, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema,
|
|
1694
|
+
export { type AccountChangeEvent, type AddListener, type Address, AddressPurpose, AddressType, BaseAdapter, type BitcoinNetwork, BitcoinNetworkType, type BitcoinProvider, type BtcRequestMethod, type BtcRequests, type Capability, type Connect, type ConnectParams, type ConnectRequestMessage, type ConnectResult, type CreateInscriptionOptions, type CreateInscriptionPayload, type CreateInscriptionResponse, type CreateRepeatInscriptionsOptions, type CreateRepeatInscriptionsPayload, type CreateRepeatInscriptionsResponse, DefaultAdaptersInfo, type Disconnect, type DisconnectEvent, type DisconnectParams, type DisconnectRequestMessage, type DisconnectResult, 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 GetInscriptionsParams, type GetInscriptionsRequestMessage, type GetInscriptionsResult, type GetWalletType, type GetWalletTypeParams, type GetWalletTypeRequestMessage, type GetWalletTypeResult, type InputToSign, MessageSigningProtocols, type MethodParamsAndResult, type NetworkChangeEvent, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, PermissionRequestParams, type PermissionWithoutClientId, type Provider, type PsbtPayload, type 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 RunesEstimateEtch, type RunesEstimateEtchParams, type RunesEstimateEtchResult, type RunesEstimateMint, type RunesEstimateRbfOrder, type RunesEtch, type RunesEtchParams, type RunesEtchRequestMessage, type RunesEtchResult, type RunesGetBalance, type RunesGetBalanceParams, type RunesGetBalanceResult, type RunesGetOrder, type RunesMint, type RunesMintParams, type RunesMintRequestMessage, type RunesMintResult, type RunesRbfOrder, type RunesRequestMethod, type RunesRequests, type RunesTransfer, type RunesTransferRequestMessage, type RunesTransferResult, SatsConnectAdapter, type SendBtcTransactionOptions, type SendBtcTransactionPayload, type SendBtcTransactionResponse, type SendInscriptions, type SendInscriptionsParams, type SendInscriptionsRequestMessage, type SendInscriptionsResult, 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 SignPsbtRequestMessage, type SignPsbtResult, type SignTransactionOptions, type SignTransactionPayload, type SignTransactionResponse, type StxCallContract, type StxCallContractParams, type StxCallContractRequestMessage, type StxCallContractResult, type StxDeployContract, type StxDeployContractParams, type StxDeployContractRequestMessage, type StxDeployContractResult, type StxGetAccounts, type StxGetAccountsParams, type StxGetAccountsRequestMessage, type StxGetAccountsResult, type StxGetAddresses, type StxGetAddressesParams, type StxGetAddressesRequestMessage, type StxGetAddressesResult, type StxRequestMethod, type StxRequests, type StxSignMessage, type StxSignMessageParams, type StxSignMessageRequestMessage, type StxSignMessageResult, type StxSignStructuredMessage, type StxSignStructuredMessageParams, type StxSignStructuredMessageRequestMessage, type StxSignStructuredMessageResult, type StxSignTransaction, type StxSignTransactionParams, type StxSignTransactionRequestMessage, type StxSignTransactionResult, type StxTransferStx, type StxTransferStxParams, type StxTransferStxRequestMessage, type StxTransferStxResult, type SupportedWallet, type TransferRunesParams, type WalletEvent, type WalletRequests, type WalletType, accountActionsSchema, accountChangeEventName, accountChangeSchema, accountPermissionSchema, 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, getInscriptionsRequestMessageSchema, getInscriptionsResultSchema, getProviderById, getProviderOrThrow, getProviders, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, networkChangeEventName, networkChangeSchema, permission, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, type runesEstimateMintParams, type runesEstimateMintResult, runesEtchMethodName, runesEtchParamsSchema, runesEtchRequestMessageSchema, runesEtchResultSchema, runesGetBalanceMethodName, runesGetBalanceParamsSchema, type runesGetBalanceRequestMessage, runesGetBalanceRequestMessageSchema, runesGetBalanceResultSchema, runesMintMethodName, runesMintParamsSchema, runesMintRequestMessageSchema, runesMintResultSchema, runesTransferMethodName, runesTransferParamsSchema, runesTransferRequestMessageSchema, runesTransferResultSchema, sendBtcTransaction, sendInscriptionsMethodName, sendInscriptionsParamsSchema, sendInscriptionsRequestMessageSchema, sendInscriptionsResultSchema, sendTransferMethodName, sendTransferParamsSchema, sendTransferRequestMessageSchema, sendTransferResultSchema, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signPsbtMethodName, signPsbtParamsSchema, signPsbtRequestMessageSchema, signPsbtResultSchema, signTransaction, stxCallContractMethodName, stxCallContractParamsSchema, stxCallContractRequestMessageSchema, stxCallContractResultSchema, stxDeployContractMethodName, stxDeployContractParamsSchema, stxDeployContractRequestMessageSchema, stxDeployContractResultSchema, stxGetAccountsMethodName, stxGetAccountsParamsSchema, stxGetAccountsRequestMessageSchema, stxGetAccountsResultSchema, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignMessageMethodName, stxSignMessageParamsSchema, stxSignMessageRequestMessageSchema, stxSignMessageResultSchema, stxSignStructuredMessageMethodName, stxSignStructuredMessageParamsSchema, stxSignStructuredMessageRequestMessageSchema, stxSignStructuredMessageResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, stxTransferStxMethodName, stxTransferStxParamsSchema, stxTransferStxRequestMessageSchema, stxTransferStxResultSchema, walletActionsSchema, walletEventSchema, walletPermissionSchema, walletTypeSchema, walletTypes };
|