@sats-connect/core 0.1.1-fb876a3 → 0.1.2-1c4c44f

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 CHANGED
@@ -596,7 +596,7 @@ declare const sendInscriptionsResultSchema: v.ObjectSchema<{
596
596
  readonly txid: v.StringSchema<undefined>;
597
597
  }, undefined>;
598
598
  declare const sendInscriptionsSchema: v.ObjectSchema<{
599
- readonly method: v.LiteralSchema<"ord_getInscriptions", undefined>;
599
+ readonly method: v.LiteralSchema<"ord_sendInscriptions", undefined>;
600
600
  readonly params: v.ObjectSchema<{
601
601
  readonly transfers: v.ArraySchema<v.ObjectSchema<{
602
602
  readonly address: v.StringSchema<undefined>;
@@ -1061,6 +1061,7 @@ interface RunesRequests {
1061
1061
  type RunesRequestMethod = keyof RunesRequests;
1062
1062
  interface OrdinalsRequests {
1063
1063
  ord_getInscriptions: GetInscriptions;
1064
+ ord_sendInscriptions: SendInscriptions;
1064
1065
  }
1065
1066
  type OrdinalsRequestMethod = keyof OrdinalsRequests;
1066
1067
  interface WalletRequests {
@@ -1072,7 +1073,7 @@ type Requests = BtcRequests & StxRequests & RunesRequests & WalletRequests & Ord
1072
1073
  type Return<Method> = Method extends keyof Requests ? Requests[Method]['result'] : never;
1073
1074
  type Params<Method> = Method extends keyof Requests ? Requests[Method]['params'] : never;
1074
1075
 
1075
- declare const request: <Method extends keyof BtcRequests | keyof StxRequests | keyof RunesRequests | keyof WalletRequests | "ord_getInscriptions">(method: Method, params: Params<Method>, providerId?: string) => Promise<RpcResult<Method>>;
1076
+ declare const request: <Method extends keyof BtcRequests | keyof StxRequests | keyof RunesRequests | keyof WalletRequests | keyof OrdinalsRequests>(method: Method, params: Params<Method>, providerId?: string) => Promise<RpcResult<Method>>;
1076
1077
 
1077
1078
  declare abstract class SatsConnectAdapter {
1078
1079
  abstract readonly id: string;
@@ -1090,7 +1091,7 @@ declare abstract class SatsConnectAdapter {
1090
1091
  declare class BaseAdapter extends SatsConnectAdapter {
1091
1092
  id: string;
1092
1093
  constructor(providerId: string);
1093
- requestInternal: <Method extends keyof BtcRequests | keyof StxRequests | keyof RunesRequests | keyof WalletRequests | "ord_getInscriptions">(method: Method, params: Params<Method>) => Promise<RpcResult<Method>>;
1094
+ requestInternal: <Method extends keyof BtcRequests | keyof StxRequests | keyof RunesRequests | keyof WalletRequests | keyof OrdinalsRequests>(method: Method, params: Params<Method>) => Promise<RpcResult<Method>>;
1094
1095
  }
1095
1096
 
1096
1097
  declare const DefaultAdaptersInfo: Record<string, Provider>;
package/dist/index.mjs CHANGED
@@ -930,7 +930,7 @@ var sendInscriptionsResultSchema = v8.object({
930
930
  var sendInscriptionsSchema = v8.object({
931
931
  ...rpcRequestMessageSchema.entries,
932
932
  ...v8.object({
933
- method: v8.literal(getInscriptionsMethodName),
933
+ method: v8.literal(sendInscriptionsMethodName),
934
934
  params: sendInscriptionsParamsSchema,
935
935
  id: v8.string()
936
936
  }).entries
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sats-connect/core",
3
- "version": "0.1.1-fb876a3",
3
+ "version": "0.1.2-1c4c44f",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.mts",