@sats-connect/core 0.4.1-06b81c7 → 0.4.1-364d53c
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 +14 -15
- package/dist/index.d.ts +14 -15
- package/dist/index.js +8 -10
- package/dist/index.mjs +8 -10
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1276,18 +1276,18 @@ declare const stxSignTransactionsParamsSchema: v.ObjectSchema<{
|
|
|
1276
1276
|
/**
|
|
1277
1277
|
* The transactions to sign as hex-encoded strings.
|
|
1278
1278
|
*/
|
|
1279
|
-
readonly transactions: v.ArraySchema<v.
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
}, undefined>, undefined>;
|
|
1279
|
+
readonly transactions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1280
|
+
/**
|
|
1281
|
+
* Whether the signed transactions should be broadcast after signing. Defaults
|
|
1282
|
+
* to `true`.
|
|
1283
|
+
*/
|
|
1284
|
+
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1286
1285
|
}, undefined>;
|
|
1287
1286
|
type StxSignTransactionsParams = v.InferOutput<typeof stxSignTransactionsParamsSchema>;
|
|
1288
1287
|
declare const stxSignTransactionsResultSchema: v.ObjectSchema<{
|
|
1289
1288
|
/**
|
|
1290
|
-
* The signed transactions as hex-encoded strings
|
|
1289
|
+
* The signed transactions as hex-encoded strings, in the same order as in the
|
|
1290
|
+
* sign request.
|
|
1291
1291
|
*/
|
|
1292
1292
|
readonly transactions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1293
1293
|
}, undefined>;
|
|
@@ -1298,13 +1298,12 @@ declare const stxSignTransactionsRequestMessageSchema: v.ObjectSchema<{
|
|
|
1298
1298
|
/**
|
|
1299
1299
|
* The transactions to sign as hex-encoded strings.
|
|
1300
1300
|
*/
|
|
1301
|
-
readonly transactions: v.ArraySchema<v.
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
}, undefined>, undefined>;
|
|
1301
|
+
readonly transactions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1302
|
+
/**
|
|
1303
|
+
* Whether the signed transactions should be broadcast after signing. Defaults
|
|
1304
|
+
* to `true`.
|
|
1305
|
+
*/
|
|
1306
|
+
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1308
1307
|
}, undefined>;
|
|
1309
1308
|
readonly id: v.StringSchema<undefined>;
|
|
1310
1309
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1276,18 +1276,18 @@ declare const stxSignTransactionsParamsSchema: v.ObjectSchema<{
|
|
|
1276
1276
|
/**
|
|
1277
1277
|
* The transactions to sign as hex-encoded strings.
|
|
1278
1278
|
*/
|
|
1279
|
-
readonly transactions: v.ArraySchema<v.
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
}, undefined>, undefined>;
|
|
1279
|
+
readonly transactions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1280
|
+
/**
|
|
1281
|
+
* Whether the signed transactions should be broadcast after signing. Defaults
|
|
1282
|
+
* to `true`.
|
|
1283
|
+
*/
|
|
1284
|
+
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1286
1285
|
}, undefined>;
|
|
1287
1286
|
type StxSignTransactionsParams = v.InferOutput<typeof stxSignTransactionsParamsSchema>;
|
|
1288
1287
|
declare const stxSignTransactionsResultSchema: v.ObjectSchema<{
|
|
1289
1288
|
/**
|
|
1290
|
-
* The signed transactions as hex-encoded strings
|
|
1289
|
+
* The signed transactions as hex-encoded strings, in the same order as in the
|
|
1290
|
+
* sign request.
|
|
1291
1291
|
*/
|
|
1292
1292
|
readonly transactions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1293
1293
|
}, undefined>;
|
|
@@ -1298,13 +1298,12 @@ declare const stxSignTransactionsRequestMessageSchema: v.ObjectSchema<{
|
|
|
1298
1298
|
/**
|
|
1299
1299
|
* The transactions to sign as hex-encoded strings.
|
|
1300
1300
|
*/
|
|
1301
|
-
readonly transactions: v.ArraySchema<v.
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
}, undefined>, undefined>;
|
|
1301
|
+
readonly transactions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1302
|
+
/**
|
|
1303
|
+
* Whether the signed transactions should be broadcast after signing. Defaults
|
|
1304
|
+
* to `true`.
|
|
1305
|
+
*/
|
|
1306
|
+
readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
|
|
1308
1307
|
}, undefined>;
|
|
1309
1308
|
readonly id: v.StringSchema<undefined>;
|
|
1310
1309
|
readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
|
package/dist/index.js
CHANGED
|
@@ -610,19 +610,17 @@ var stxSignTransactionsParamsSchema = v11.object({
|
|
|
610
610
|
/**
|
|
611
611
|
* The transactions to sign as hex-encoded strings.
|
|
612
612
|
*/
|
|
613
|
-
transactions: v11.array(
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
broadcast: v11.optional(v11.boolean())
|
|
620
|
-
})
|
|
621
|
-
)
|
|
613
|
+
transactions: v11.array(v11.string()),
|
|
614
|
+
/**
|
|
615
|
+
* Whether the signed transactions should be broadcast after signing. Defaults
|
|
616
|
+
* to `true`.
|
|
617
|
+
*/
|
|
618
|
+
broadcast: v11.optional(v11.boolean())
|
|
622
619
|
});
|
|
623
620
|
var stxSignTransactionsResultSchema = v11.object({
|
|
624
621
|
/**
|
|
625
|
-
* The signed transactions as hex-encoded strings
|
|
622
|
+
* The signed transactions as hex-encoded strings, in the same order as in the
|
|
623
|
+
* sign request.
|
|
626
624
|
*/
|
|
627
625
|
transactions: v11.array(v11.string())
|
|
628
626
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -411,19 +411,17 @@ var stxSignTransactionsParamsSchema = v11.object({
|
|
|
411
411
|
/**
|
|
412
412
|
* The transactions to sign as hex-encoded strings.
|
|
413
413
|
*/
|
|
414
|
-
transactions: v11.array(
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
broadcast: v11.optional(v11.boolean())
|
|
421
|
-
})
|
|
422
|
-
)
|
|
414
|
+
transactions: v11.array(v11.string()),
|
|
415
|
+
/**
|
|
416
|
+
* Whether the signed transactions should be broadcast after signing. Defaults
|
|
417
|
+
* to `true`.
|
|
418
|
+
*/
|
|
419
|
+
broadcast: v11.optional(v11.boolean())
|
|
423
420
|
});
|
|
424
421
|
var stxSignTransactionsResultSchema = v11.object({
|
|
425
422
|
/**
|
|
426
|
-
* The signed transactions as hex-encoded strings
|
|
423
|
+
* The signed transactions as hex-encoded strings, in the same order as in the
|
|
424
|
+
* sign request.
|
|
427
425
|
*/
|
|
428
426
|
transactions: v11.array(v11.string())
|
|
429
427
|
});
|