@sats-connect/core 0.6.3 → 0.6.4-de28fa5

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
@@ -1743,6 +1743,7 @@ declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
1743
1743
  }, undefined>], undefined>, undefined>, never>;
1744
1744
  readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, never>;
1745
1745
  readonly message: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, never>;
1746
+ readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
1746
1747
  }, undefined>, never>;
1747
1748
  type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
1748
1749
  declare const connectResultSchema: v.ObjectSchema<{
@@ -1783,6 +1784,7 @@ declare const connectRequestMessageSchema: v.ObjectSchema<{
1783
1784
  }, undefined>], undefined>, undefined>, never>;
1784
1785
  readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, never>;
1785
1786
  readonly message: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, never>;
1787
+ readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
1786
1788
  }, undefined>, never>;
1787
1789
  readonly id: v.StringSchema<undefined>;
1788
1790
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
package/dist/index.d.ts CHANGED
@@ -1743,6 +1743,7 @@ declare const connectParamsSchema: v.NullishSchema<v.ObjectSchema<{
1743
1743
  }, undefined>], undefined>, undefined>, never>;
1744
1744
  readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, never>;
1745
1745
  readonly message: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, never>;
1746
+ readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
1746
1747
  }, undefined>, never>;
1747
1748
  type ConnectParams = v.InferOutput<typeof connectParamsSchema>;
1748
1749
  declare const connectResultSchema: v.ObjectSchema<{
@@ -1783,6 +1784,7 @@ declare const connectRequestMessageSchema: v.ObjectSchema<{
1783
1784
  }, undefined>], undefined>, undefined>, never>;
1784
1785
  readonly addresses: v.OptionalSchema<v.ArraySchema<v.EnumSchema<typeof AddressPurpose, undefined>, undefined>, never>;
1785
1786
  readonly message: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 80, "The message must not exceed 80 characters.">]>, never>;
1787
+ readonly network: v.OptionalSchema<v.EnumSchema<typeof BitcoinNetworkType, undefined>, never>;
1786
1788
  }, undefined>, never>;
1787
1789
  readonly id: v.StringSchema<undefined>;
1788
1790
  readonly jsonrpc: v.LiteralSchema<"2.0", undefined>;
package/dist/index.js CHANGED
@@ -628,7 +628,8 @@ var connectParamsSchema = v7.nullish(
628
628
  addresses: v7.optional(v7.array(v7.enum(AddressPurpose))),
629
629
  message: v7.optional(
630
630
  v7.pipe(v7.string(), v7.maxLength(80, "The message must not exceed 80 characters."))
631
- )
631
+ ),
632
+ network: v7.optional(v7.enum(BitcoinNetworkType))
632
633
  })
633
634
  );
634
635
  var connectResultSchema = v7.object({
package/dist/index.mjs CHANGED
@@ -421,7 +421,8 @@ var connectParamsSchema = v7.nullish(
421
421
  addresses: v7.optional(v7.array(v7.enum(AddressPurpose))),
422
422
  message: v7.optional(
423
423
  v7.pipe(v7.string(), v7.maxLength(80, "The message must not exceed 80 characters."))
424
- )
424
+ ),
425
+ network: v7.optional(v7.enum(BitcoinNetworkType))
425
426
  })
426
427
  );
427
428
  var connectResultSchema = v7.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sats-connect/core",
3
- "version": "0.6.3",
3
+ "version": "0.6.4-de28fa5",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.mts",