@sats-connect/core 0.8.1-17b18cb → 0.8.1-36b4382
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 +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.js +8 -1
- package/dist/index.mjs +8 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1010,7 +1010,12 @@ type RunesTransferRequestMessage = v.InferOutput<typeof runesTransferRequestMess
|
|
|
1010
1010
|
type RunesTransfer = MethodParamsAndResult<TransferRunesParams, RunesTransferResult>;
|
|
1011
1011
|
|
|
1012
1012
|
declare const sparkFlashnetGetJwtMethodName = "spark_flashnet_getJwt";
|
|
1013
|
-
declare const sparkFlashnetGetJwtParamsSchema: v.
|
|
1013
|
+
declare const sparkFlashnetGetJwtParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
1014
|
+
/**
|
|
1015
|
+
* A message to be displayed to the user in the request prompt.
|
|
1016
|
+
*/
|
|
1017
|
+
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1018
|
+
}, undefined>, undefined>;
|
|
1014
1019
|
type SparkFlashnetGetJwtParams = v.InferOutput<typeof sparkFlashnetGetJwtParamsSchema>;
|
|
1015
1020
|
declare const sparkFlashnetGetJwtResultSchema: v.ObjectSchema<{
|
|
1016
1021
|
/**
|
|
@@ -1021,7 +1026,12 @@ declare const sparkFlashnetGetJwtResultSchema: v.ObjectSchema<{
|
|
|
1021
1026
|
type SparkFlashnetGetJwtResult = v.InferOutput<typeof sparkFlashnetGetJwtResultSchema>;
|
|
1022
1027
|
declare const sparkFlashnetGetJwtRequestMessageSchema: v.ObjectSchema<{
|
|
1023
1028
|
readonly method: v.LiteralSchema<"spark_flashnet_getJwt", undefined>;
|
|
1024
|
-
readonly params: v.
|
|
1029
|
+
readonly params: v.NullishSchema<v.ObjectSchema<{
|
|
1030
|
+
/**
|
|
1031
|
+
* A message to be displayed to the user in the request prompt.
|
|
1032
|
+
*/
|
|
1033
|
+
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1034
|
+
}, undefined>, undefined>;
|
|
1025
1035
|
readonly id: v.StringSchema<undefined>;
|
|
1026
1036
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1027
1037
|
}, undefined>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1010,7 +1010,12 @@ type RunesTransferRequestMessage = v.InferOutput<typeof runesTransferRequestMess
|
|
|
1010
1010
|
type RunesTransfer = MethodParamsAndResult<TransferRunesParams, RunesTransferResult>;
|
|
1011
1011
|
|
|
1012
1012
|
declare const sparkFlashnetGetJwtMethodName = "spark_flashnet_getJwt";
|
|
1013
|
-
declare const sparkFlashnetGetJwtParamsSchema: v.
|
|
1013
|
+
declare const sparkFlashnetGetJwtParamsSchema: v.NullishSchema<v.ObjectSchema<{
|
|
1014
|
+
/**
|
|
1015
|
+
* A message to be displayed to the user in the request prompt.
|
|
1016
|
+
*/
|
|
1017
|
+
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1018
|
+
}, undefined>, undefined>;
|
|
1014
1019
|
type SparkFlashnetGetJwtParams = v.InferOutput<typeof sparkFlashnetGetJwtParamsSchema>;
|
|
1015
1020
|
declare const sparkFlashnetGetJwtResultSchema: v.ObjectSchema<{
|
|
1016
1021
|
/**
|
|
@@ -1021,7 +1026,12 @@ declare const sparkFlashnetGetJwtResultSchema: v.ObjectSchema<{
|
|
|
1021
1026
|
type SparkFlashnetGetJwtResult = v.InferOutput<typeof sparkFlashnetGetJwtResultSchema>;
|
|
1022
1027
|
declare const sparkFlashnetGetJwtRequestMessageSchema: v.ObjectSchema<{
|
|
1023
1028
|
readonly method: v.LiteralSchema<"spark_flashnet_getJwt", undefined>;
|
|
1024
|
-
readonly params: v.
|
|
1029
|
+
readonly params: v.NullishSchema<v.ObjectSchema<{
|
|
1030
|
+
/**
|
|
1031
|
+
* A message to be displayed to the user in the request prompt.
|
|
1032
|
+
*/
|
|
1033
|
+
readonly message: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1034
|
+
}, undefined>, undefined>;
|
|
1025
1035
|
readonly id: v.StringSchema<undefined>;
|
|
1026
1036
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
|
1027
1037
|
}, undefined>;
|
package/dist/index.js
CHANGED
|
@@ -1058,7 +1058,14 @@ var runesTransferRequestMessageSchema = v11.object({
|
|
|
1058
1058
|
// src/request/types/sparkMethods/flashnetMethods/getJwt.ts
|
|
1059
1059
|
var v12 = __toESM(require("valibot"));
|
|
1060
1060
|
var sparkFlashnetGetJwtMethodName = "spark_flashnet_getJwt";
|
|
1061
|
-
var sparkFlashnetGetJwtParamsSchema = v12.
|
|
1061
|
+
var sparkFlashnetGetJwtParamsSchema = v12.nullish(
|
|
1062
|
+
v12.object({
|
|
1063
|
+
/**
|
|
1064
|
+
* A message to be displayed to the user in the request prompt.
|
|
1065
|
+
*/
|
|
1066
|
+
message: v12.optional(v12.string())
|
|
1067
|
+
})
|
|
1068
|
+
);
|
|
1062
1069
|
var sparkFlashnetGetJwtResultSchema = v12.object({
|
|
1063
1070
|
/**
|
|
1064
1071
|
* The JWT token for authenticated requests to the Flashnet API.
|
package/dist/index.mjs
CHANGED
|
@@ -808,7 +808,14 @@ var runesTransferRequestMessageSchema = v11.object({
|
|
|
808
808
|
// src/request/types/sparkMethods/flashnetMethods/getJwt.ts
|
|
809
809
|
import * as v12 from "valibot";
|
|
810
810
|
var sparkFlashnetGetJwtMethodName = "spark_flashnet_getJwt";
|
|
811
|
-
var sparkFlashnetGetJwtParamsSchema = v12.
|
|
811
|
+
var sparkFlashnetGetJwtParamsSchema = v12.nullish(
|
|
812
|
+
v12.object({
|
|
813
|
+
/**
|
|
814
|
+
* A message to be displayed to the user in the request prompt.
|
|
815
|
+
*/
|
|
816
|
+
message: v12.optional(v12.string())
|
|
817
|
+
})
|
|
818
|
+
);
|
|
812
819
|
var sparkFlashnetGetJwtResultSchema = v12.object({
|
|
813
820
|
/**
|
|
814
821
|
* The JWT token for authenticated requests to the Flashnet API.
|