@phala/pay-server 0.11.0 → 0.11.2
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 +6 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -189,9 +189,13 @@ styles, data URI allowance, or extra CSP directives, including with `style-src '
|
|
|
189
189
|
|
|
190
190
|
Framework-free hosts can call `networkIcon(chainId)` or `assetIcon(symbol)` from `@phala/pay`
|
|
191
191
|
for decorative SVG markup. Keep the
|
|
192
|
-
name visible alongside it; when used alone, supply an accessible label on the host wrapper.
|
|
192
|
+
name visible alongside it; when used alone, supply an accessible label on the host wrapper. A
|
|
193
|
+
token's markup is its square brand tile; `AssetIcon` draws it as a coin, and so does
|
|
194
|
+
`border-radius: 50%` on your wrapper's `svg`.
|
|
193
195
|
|
|
194
|
-
Only six
|
|
196
|
+
Only six SVGs from `@web3icons/core@4.0.58` are vendored: the `background` variant of each token
|
|
197
|
+
(one shape, the glyph inset alike) and the `branded` logo of each network. They are under the MIT
|
|
198
|
+
license in
|
|
195
199
|
`THIRD_PARTY_NOTICES`. Regenerate both the markup and JSX modules with
|
|
196
200
|
`npx -y pnpm@12.6.0 run icons:generate`; the script packs the pinned package into a temporary
|
|
197
201
|
directory, rejects unexpected SVG tags/attributes, and cleans up. No web3icons runtime package
|
package/package.json
CHANGED