@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 +22 -1
- package/dist/bundle.js +9 -9
- package/dist/bundle.js.map +1 -1
- package/dist/cjs/components/icons/index.d.ts +1 -0
- package/dist/cjs/index.js +9 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/ui/alert/components/info-alert/index.d.ts +1 -1
- package/dist/cjs/ui/alert/getDefautlLogo.d.ts +1 -0
- package/dist/cjs/ui/alert/hooks/useWallets.d.ts +6 -2
- package/dist/cjs/ui/common.d.ts +8 -2
- package/dist/cjs/utils/walletListFetcher.d.ts +15 -0
- package/dist/cjs/utils/wallets.d.ts +2 -0
- package/dist/components/icons/index.d.ts +1 -0
- package/dist/esm/components/icons/index.d.ts +1 -0
- package/dist/esm/index.js +9 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/ui/alert/components/info-alert/index.d.ts +1 -1
- package/dist/esm/ui/alert/getDefautlLogo.d.ts +1 -0
- package/dist/esm/ui/alert/hooks/useWallets.d.ts +6 -2
- package/dist/esm/ui/common.d.ts +8 -2
- package/dist/esm/utils/walletListFetcher.d.ts +15 -0
- package/dist/esm/utils/wallets.d.ts +2 -0
- package/dist/ui/alert/components/info-alert/index.d.ts +1 -1
- package/dist/ui/alert/getDefautlLogo.d.ts +1 -0
- package/dist/ui/alert/hooks/useWallets.d.ts +6 -2
- package/dist/ui/common.d.ts +8 -2
- package/dist/utils/walletListFetcher.d.ts +15 -0
- package/dist/utils/wallets.d.ts +2 -0
- package/package.json +23 -15
- package/src/data/substrate.json +45 -0
- package/src/data/tezos-sapling.json +18 -0
- package/src/data/tezos.json +299 -0
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
|
|
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.
|