@sats-connect/core 0.1.0-695c201 → 0.1.0-9110cc0
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 +1 -21
- package/dist/index.mjs +0 -18
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -701,25 +701,6 @@ declare const getRunesBalanceRequestMessageSchema: v.ObjectSchema<{
|
|
|
701
701
|
}, undefined>;
|
|
702
702
|
type GetRunesBalanceRequestMessage = v.InferOutput<typeof getRunesBalanceRequestMessageSchema>;
|
|
703
703
|
type GetRunesBalance = MethodParamsAndResult<v.InferOutput<typeof getRunesBalanceParamsSchema>, v.InferOutput<typeof getRunesBalanceResultSchema>>;
|
|
704
|
-
declare const RuneTransferRecipientsSchema: v.ArraySchema<v.ObjectSchema<{
|
|
705
|
-
readonly runeName: v.StringSchema<undefined>;
|
|
706
|
-
readonly amount: v.StringSchema<undefined>;
|
|
707
|
-
readonly address: v.StringSchema<undefined>;
|
|
708
|
-
}, undefined>, undefined>;
|
|
709
|
-
declare const TransferRunesMethodName = "runes_transfer";
|
|
710
|
-
declare const TransferRunesParamsSchema: v.ObjectSchema<{
|
|
711
|
-
readonly recipients: v.ArraySchema<v.ObjectSchema<{
|
|
712
|
-
readonly runeName: v.StringSchema<undefined>;
|
|
713
|
-
readonly amount: v.StringSchema<undefined>;
|
|
714
|
-
readonly address: v.StringSchema<undefined>;
|
|
715
|
-
}, undefined>, undefined>;
|
|
716
|
-
}, undefined>;
|
|
717
|
-
type TransferRunesParams = v.InferOutput<typeof TransferRunesParamsSchema>;
|
|
718
|
-
declare const TransferRunesResultSchema: v.ObjectSchema<{
|
|
719
|
-
readonly txid: v.StringSchema<undefined>;
|
|
720
|
-
}, undefined>;
|
|
721
|
-
type TransferRunesResult = v.InferOutput<typeof TransferRunesResultSchema>;
|
|
722
|
-
type TransferRunes = MethodParamsAndResult<TransferRunesParams, TransferRunesResult>;
|
|
723
704
|
|
|
724
705
|
interface Pubkey {
|
|
725
706
|
/**
|
|
@@ -1037,7 +1018,6 @@ interface RunesRequests {
|
|
|
1037
1018
|
runes_estimateRbfOrder: EstimateRbfOrder;
|
|
1038
1019
|
runes_rbfOrder: RbfOrder;
|
|
1039
1020
|
runes_getBalance: GetRunesBalance;
|
|
1040
|
-
runes_transfer: TransferRunes;
|
|
1041
1021
|
}
|
|
1042
1022
|
type RunesRequestMethod = keyof RunesRequests;
|
|
1043
1023
|
interface OrdinalsRequests {
|
|
@@ -1077,4 +1057,4 @@ declare class BaseAdapter extends SatsConnectAdapter {
|
|
|
1077
1057
|
declare const DefaultAdaptersInfo: Record<string, Provider>;
|
|
1078
1058
|
declare const defaultAdapters: Record<string, new () => SatsConnectAdapter>;
|
|
1079
1059
|
|
|
1080
|
-
export { 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 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 GetRunesBalance, type GetRunesBalanceParams, type GetRunesBalanceRequestMessage, type GetRunesBalanceResult, type GetWalletType, type InputToSign, type MethodParamsAndResult, type MintRunes, type MintRunesParams, type MintRunesResult, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, type Provider, type PsbtPayload, type RbfOrder, type Recipient$2 as Recipient, type RenouncePermissions, type RequestOptions, type RequestPayload, type RequestPermissions, 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,
|
|
1060
|
+
export { 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 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 GetRunesBalance, type GetRunesBalanceParams, type GetRunesBalanceRequestMessage, type GetRunesBalanceResult, type GetWalletType, type InputToSign, type MethodParamsAndResult, type MintRunes, type MintRunesParams, type MintRunesResult, type OrdinalsRequestMethod, type OrdinalsRequests, type Params, type Provider, type PsbtPayload, type RbfOrder, type Recipient$2 as Recipient, type RenouncePermissions, type RequestOptions, type RequestPayload, type RequestPermissions, 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 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 TransferStxParams, type TransferStxResult, type WalletRequests, type WalletType, addressSchema, createInscription, createRepeatInscriptions, defaultAdapters, getAccountsMethodName, getAccountsParamsSchema, getAccountsRequestMessageSchema, getAccountsResultSchema, getAddress, getAddressesMethodName, getAddressesParamsSchema, getAddressesRequestMessageSchema, getAddressesResultSchema, getBalanceMethodName, getBalanceParamsSchema, getBalanceRequestMessageSchema, getBalanceResultSchema, getCapabilities, getDefaultProvider, getInfoMethodName, getInfoParamsSchema, getInfoRequestMessageSchema, getInfoResultSchema, getInscriptionsMethodName, getInscriptionsParamsSchema, getInscriptionsResultSchema, getInscriptionsSchema, getProviderById, getProviderOrThrow, getProviders, getRunesBalanceMethodName, getRunesBalanceParamsSchema, getRunesBalanceRequestMessageSchema, getRunesBalanceResultSchema, getSupportedWallets, getWalletTypeMethodName, getWalletTypeParamsSchema, getWalletTypeRequestMessageSchema, getWalletTypeResultSchema, isProviderInstalled, removeDefaultProvider, renouncePermissionsMethodName, renouncePermissionsParamsSchema, renouncePermissionsRequestMessageSchema, renouncePermissionsResultSchema, request, requestPermissionsMethodName, requestPermissionsParamsSchema, requestPermissionsRequestMessageSchema, requestPermissionsResultSchema, rpcErrorResponseMessageSchema, rpcRequestMessageSchema, rpcResponseMessageSchema, rpcSuccessResponseMessageSchema, sendBtcTransaction, setDefaultProvider, signMessage, signMessageMethodName, signMessageParamsSchema, signMessageRequestMessageSchema, signMessageResultSchema, signMultipleTransactions, signTransaction, stxGetAddressesMethodName, stxGetAddressesParamsSchema, stxGetAddressesRequestMessageSchema, stxGetAddressesResultSchema, stxSignTransactionMethodName, stxSignTransactionParamsSchema, stxSignTransactionRequestMessageSchema, stxSignTransactionResultSchema, walletTypeSchema, walletTypes };
|
package/dist/index.mjs
CHANGED
|
@@ -866,20 +866,6 @@ var getRunesBalanceRequestMessageSchema = v7.object({
|
|
|
866
866
|
id: v7.string()
|
|
867
867
|
}).entries
|
|
868
868
|
});
|
|
869
|
-
var RuneTransferRecipientsSchema = v7.array(
|
|
870
|
-
v7.object({
|
|
871
|
-
runeName: v7.string(),
|
|
872
|
-
amount: v7.string(),
|
|
873
|
-
address: v7.string()
|
|
874
|
-
})
|
|
875
|
-
);
|
|
876
|
-
var TransferRunesMethodName = "runes_transfer";
|
|
877
|
-
var TransferRunesParamsSchema = v7.object({
|
|
878
|
-
recipients: RuneTransferRecipientsSchema
|
|
879
|
-
});
|
|
880
|
-
var TransferRunesResultSchema = v7.object({
|
|
881
|
-
txid: v7.string()
|
|
882
|
-
});
|
|
883
869
|
|
|
884
870
|
// src/request/types/ordinalsMethods.ts
|
|
885
871
|
import * as v8 from "valibot";
|
|
@@ -1367,11 +1353,7 @@ export {
|
|
|
1367
1353
|
DefaultAdaptersInfo,
|
|
1368
1354
|
RpcErrorCode,
|
|
1369
1355
|
RpcIdSchema,
|
|
1370
|
-
RuneTransferRecipientsSchema,
|
|
1371
1356
|
SatsConnectAdapter,
|
|
1372
|
-
TransferRunesMethodName,
|
|
1373
|
-
TransferRunesParamsSchema,
|
|
1374
|
-
TransferRunesResultSchema,
|
|
1375
1357
|
addressSchema,
|
|
1376
1358
|
createInscription,
|
|
1377
1359
|
createRepeatInscriptions,
|