@sats-connect/core 0.20.0-d5b5ff6 → 0.20.0

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +12 -0
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -6979,6 +6979,12 @@ declare const stacksSignMessageParamsSchema: v.ObjectSchema<{
6979
6979
  /**
6980
6980
  * Which key signs. Wallets treat a missing value as `account`, so callers written before
6981
6981
  * vaults existed keep compiling and this stays an additive option.
6982
+ *
6983
+ * A wallet built before this field existed drops it as an unknown key and signs with the
6984
+ * account key; the response shape cannot distinguish the two. Callers that require a member
6985
+ * signature must therefore verify the returned `publicKey` against the account's member keys
6986
+ * and treat anything else as unsupported, rather than trusting that `signer: 'member'` was
6987
+ * honoured.
6982
6988
  */
6983
6989
  readonly signer: v.OptionalSchema<v.PicklistSchema<readonly ["account", "member"], undefined>, undefined>;
6984
6990
  }, undefined>;
@@ -6994,6 +7000,12 @@ declare const stacksSignMessageRequestSchema: v.ObjectSchema<{
6994
7000
  /**
6995
7001
  * Which key signs. Wallets treat a missing value as `account`, so callers written before
6996
7002
  * vaults existed keep compiling and this stays an additive option.
7003
+ *
7004
+ * A wallet built before this field existed drops it as an unknown key and signs with the
7005
+ * account key; the response shape cannot distinguish the two. Callers that require a member
7006
+ * signature must therefore verify the returned `publicKey` against the account's member keys
7007
+ * and treat anything else as unsupported, rather than trusting that `signer: 'member'` was
7008
+ * honoured.
6997
7009
  */
6998
7010
  readonly signer: v.OptionalSchema<v.PicklistSchema<readonly ["account", "member"], undefined>, undefined>;
6999
7011
  }, undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sats-connect/core",
3
- "version": "0.20.0-d5b5ff6",
3
+ "version": "0.20.0",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.mts",