@sats-connect/core 0.6.1-1f5b358 → 0.6.1-be09a6c

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
@@ -1205,7 +1205,7 @@ declare const stxSignMessageParamsSchema: v.ObjectSchema<{
1205
1205
  /**
1206
1206
  * The public key to sign the message with.
1207
1207
  */
1208
- readonly publicKey: v.StringSchema<undefined>;
1208
+ readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1209
1209
  /**
1210
1210
  * The format version of the parameter.
1211
1211
  */
@@ -1233,7 +1233,7 @@ declare const stxSignMessageRequestMessageSchema: v.ObjectSchema<{
1233
1233
  /**
1234
1234
  * The public key to sign the message with.
1235
1235
  */
1236
- readonly publicKey: v.StringSchema<undefined>;
1236
+ readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1237
1237
  /**
1238
1238
  * The format version of the parameter.
1239
1239
  */
package/dist/index.d.ts CHANGED
@@ -1205,7 +1205,7 @@ declare const stxSignMessageParamsSchema: v.ObjectSchema<{
1205
1205
  /**
1206
1206
  * The public key to sign the message with.
1207
1207
  */
1208
- readonly publicKey: v.StringSchema<undefined>;
1208
+ readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1209
1209
  /**
1210
1210
  * The format version of the parameter.
1211
1211
  */
@@ -1233,7 +1233,7 @@ declare const stxSignMessageRequestMessageSchema: v.ObjectSchema<{
1233
1233
  /**
1234
1234
  * The public key to sign the message with.
1235
1235
  */
1236
- readonly publicKey: v.StringSchema<undefined>;
1236
+ readonly publicKey: v.OptionalSchema<v.StringSchema<undefined>, never>;
1237
1237
  /**
1238
1238
  * The format version of the parameter.
1239
1239
  */
package/dist/index.js CHANGED
@@ -709,7 +709,7 @@ var stxSignMessageParamsSchema = v10.object({
709
709
  /**
710
710
  * The public key to sign the message with.
711
711
  */
712
- publicKey: v10.string(),
712
+ publicKey: v10.optional(v10.string()),
713
713
  /**
714
714
  * The format version of the parameter.
715
715
  */
package/dist/index.mjs CHANGED
@@ -502,7 +502,7 @@ var stxSignMessageParamsSchema = v10.object({
502
502
  /**
503
503
  * The public key to sign the message with.
504
504
  */
505
- publicKey: v10.string(),
505
+ publicKey: v10.optional(v10.string()),
506
506
  /**
507
507
  * The format version of the parameter.
508
508
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sats-connect/core",
3
- "version": "0.6.1-1f5b358",
3
+ "version": "0.6.1-be09a6c",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.mts",
@@ -26,7 +26,7 @@
26
26
  ]
27
27
  },
28
28
  "dependencies": {
29
- "axios": "1.7.7",
29
+ "axios": "1.8.4",
30
30
  "bitcoin-address-validation": "2.2.3",
31
31
  "buffer": "6.0.3",
32
32
  "jsontokens": "4.0.1",