@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 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.ObjectSchema<{
1280
- readonly transactionHex: v.StringSchema<undefined>;
1281
- /**
1282
- * Whether the transaction should be broadcast after signing. Defaults to `false`.
1283
- */
1284
- readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
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. In the same order as the sign request.
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.ObjectSchema<{
1302
- readonly transactionHex: v.StringSchema<undefined>;
1303
- /**
1304
- * Whether the transaction should be broadcast after signing. Defaults to `false`.
1305
- */
1306
- readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
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.ObjectSchema<{
1280
- readonly transactionHex: v.StringSchema<undefined>;
1281
- /**
1282
- * Whether the transaction should be broadcast after signing. Defaults to `false`.
1283
- */
1284
- readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
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. In the same order as the sign request.
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.ObjectSchema<{
1302
- readonly transactionHex: v.StringSchema<undefined>;
1303
- /**
1304
- * Whether the transaction should be broadcast after signing. Defaults to `false`.
1305
- */
1306
- readonly broadcast: v.OptionalSchema<v.BooleanSchema<undefined>, never>;
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
- v11.object({
615
- transactionHex: v11.string(),
616
- /**
617
- * Whether the transaction should be broadcast after signing. Defaults to `false`.
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. In the same order as the sign request.
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
- v11.object({
416
- transactionHex: v11.string(),
417
- /**
418
- * Whether the transaction should be broadcast after signing. Defaults to `false`.
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. In the same order as the sign request.
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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sats-connect/core",
3
- "version": "0.4.1-06b81c7",
3
+ "version": "0.4.1-364d53c",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.mts",