@tezos-x/octez.connect-ui 0.9.0 → 5.0.0-beta.3

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 CHANGED
@@ -1,9 +1,30 @@
1
1
  # `@tezos-x/octez.connect-ui`
2
2
 
3
- This package is part of the `@tezos-x/octez.connect-sdk` project. [Read more](https://github.com/trilitech/octez.connect-sdk)
3
+ This package is part of the `@tezos-x/octez.connect-sdk` project. [Read more](https://github.com/trilitech/octez.connect)
4
4
 
5
5
  ## Introduction
6
6
 
7
7
  This package contains the UI part (alerts and toasts) of the `octez.connect-sdk`.
8
8
 
9
9
  Unless you need to import types from this package, you probably don't need to add it to your project.
10
+
11
+ Check our documentation for more information. [Documentation](https://octez-connect.tezos.com)
12
+
13
+ ## Content Security Policy (CSP) Configuration
14
+
15
+ The Beacon UI dynamically fetches the latest wallet list from jsDelivr CDN to ensure users always see up-to-date wallet options without requiring SDK updates. The wallet registry is maintained in a separate repository: [beacon-wallet-list](https://github.com/airgap-it/beacon-wallet-list).
16
+
17
+ If your application uses a Content Security Policy, add jsDelivr to your `connect-src` directive:
18
+
19
+ ```
20
+ connect-src https://cdn.jsdelivr.net;
21
+ ```
22
+
23
+ **Why jsDelivr?**
24
+ - Official CDN for GitHub repositories and npm packages
25
+ - Direct integration with GitHub - automatically serves files from GitHub releases and commits
26
+ - Global CDN with high availability and performance
27
+ - Automatic caching with purge API for instant updates
28
+ - Free and reliable service for open-source projects
29
+
30
+ The SDK includes a bundled fallback wallet list, so the application will continue to function if the CDN fetch fails or is blocked by CSP.