@sats-connect/core 0.17.6-1c65864 → 0.17.6-6b792ba

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
@@ -7818,6 +7818,13 @@ declare const walletRenouncePermissionsSuccessResponseSchema: v.ObjectSchema<{
7818
7818
  type WalletRenouncePermissionsSuccessResponse = v.InferOutput<typeof walletRenouncePermissionsSuccessResponseSchema>;
7819
7819
  //#endregion
7820
7820
  //#region src/request/rpc/objects/namespaces/wallet/methods/requestPermissions/request.d.ts
7821
+ /**
7822
+ * This method waas previously used to connect to the wallet similarly to how
7823
+ * `wallet_connect` is used now: when no permissions are explicitly requested,
7824
+ * account read permissions are implied. The `nullish` schema allows maintaining
7825
+ * backwards compatibility with this behavior while still allowing for explicit
7826
+ * permission requests.
7827
+ */
7821
7828
  declare const walletRequestPermissionsParamsSchema: v.NullishSchema<v.ArraySchema<v.VariantSchema<"type", [v.ObjectSchema<{
7822
7829
  readonly type: v.LiteralSchema<"account", undefined>;
7823
7830
  readonly resourceId: v.StringSchema<undefined>;
package/dist/index.mjs CHANGED
@@ -1513,6 +1513,13 @@ const walletRenouncePermissionsSuccessResponseSchema = createSuccessResponseSche
1513
1513
 
1514
1514
  //#endregion
1515
1515
  //#region src/request/rpc/objects/namespaces/wallet/methods/requestPermissions/request.ts
1516
+ /**
1517
+ * This method waas previously used to connect to the wallet similarly to how
1518
+ * `wallet_connect` is used now: when no permissions are explicitly requested,
1519
+ * account read permissions are implied. The `nullish` schema allows maintaining
1520
+ * backwards compatibility with this behavior while still allowing for explicit
1521
+ * permission requests.
1522
+ */
1516
1523
  const walletRequestPermissionsParamsSchema = v.nullish(v.array(permissionRequestParamsSchema));
1517
1524
  const walletRequestPermissionsRequestSchema = createRequestSchema({
1518
1525
  paramsSchema: walletRequestPermissionsParamsSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sats-connect/core",
3
- "version": "0.17.6-1c65864",
3
+ "version": "0.17.6-6b792ba",
4
4
  "main": "dist/index.mjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.mts",