@bsv/expo-wallet-toolbox 0.11.6 → 0.11.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.7
4
+
5
+ ### Sites with a grouped-permission manifest no longer hang
6
+
7
+ A site whose `manifest.json` declares `metanet.groupPermissions` (fast.brc.dev
8
+ does) never got past `waitForAuthentication`: the wallet asked the permissions
9
+ manager to seek grouped permission, but nothing handled the resulting
10
+ `onGroupedPermissionRequested` request, so the call waited forever while
11
+ holding that origin's permission lock. The same site's `createAction` then
12
+ never showed its spending prompt, and the transaction it had built stayed
13
+ unsigned until the monitor abandoned it.
14
+
15
+ Grouped permission seeking is off until a grouped prompt is wired up. Every
16
+ request still gets its own prompt, as before.
17
+
3
18
  ## 0.11.6
4
19
 
5
20
  ### External wallet guard: a site's own actions
@@ -1708,7 +1708,14 @@ export const WalletContextProvider: React.FC<WalletContextProps> = ({ children =
1708
1708
  seekCertificateDisclosurePermissions: false,
1709
1709
  seekCertificateRelinquishmentPermissions: false,
1710
1710
  seekCertificateListingPermissions: false,
1711
- seekGroupedPermission: true,
1711
+ // No grouped-permission UI is wired (nothing handles
1712
+ // onGroupedPermissionRequested), so the manager would wait forever
1713
+ // on a site whose manifest declares metanet.groupPermissions:
1714
+ // waitForAuthentication never resolved, and it held the origin's
1715
+ // permission lock, so that site's createAction spending prompt never
1716
+ // appeared either (fast.brc.dev). Every request still gets its own
1717
+ // prompt. Turn this back on together with a grouped prompt.
1718
+ seekGroupedPermission: false,
1712
1719
  seekPermissionsForIdentityKeyRevelation: false,
1713
1720
  seekPermissionsForIdentityResolution: false,
1714
1721
  seekPermissionsForKeyLinkageRevelation: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsv/expo-wallet-toolbox",
3
- "version": "0.11.6",
3
+ "version": "0.11.7",
4
4
  "private": false,
5
5
  "description": "Wallet screens and P2P local-payment backend for Expo/React Native apps, extracted from BSV Wallet.",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",