@use-glyph/sdk-react 2.2.3 → 2.2.5
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/README.md +10 -0
- package/dist/glyph-widget.umd.js +25 -25
- package/dist/glyph-widget.umd.js.map +1 -1
- package/dist/index.js +4768 -4669
- package/dist/index.js.map +1 -1
- package/dist/types/context/glyphDataQuery.d.ts +1 -1
- package/dist/types/lib/balancesImageTransport.d.ts +6 -0
- package/dist/types/lib/privy/usePrivyCrossAppProvider.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -69,3 +69,13 @@ Privy retains its existing login and wallet-selection behavior. Its `signIn()`
|
|
|
69
69
|
returns `true` when the login call completes, which does not guarantee an EVM wallet
|
|
70
70
|
or Glyph authentication. Check `authenticated` for wallet/API readiness. Privy
|
|
71
71
|
reports `needsSignature: false` and `authError: null`.
|
|
72
|
+
|
|
73
|
+
### Lossless balance image transport
|
|
74
|
+
|
|
75
|
+
Managed balance reads request `nftImageEncoding=references-v1`. Supporting Glyph
|
|
76
|
+
servers send repeated large NFT image strings once; the SDK restores the existing
|
|
77
|
+
balance/NFT object shape before React Query stores or exposes it. Older servers
|
|
78
|
+
return their normal arrays and work without an extra fallback request. Public
|
|
79
|
+
hooks, amounts, partial-state fields, images and ownership flags keep their shape.
|
|
80
|
+
Malformed dictionaries fail with a static error and are not automatically retried;
|
|
81
|
+
authentication failures and session/cancellation checks retain their existing behavior.
|