@openreceive/browser 0.4.3 → 0.4.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 +21 -20
- package/dist/{chunk-VZ7M7ZUE.js → chunk-ZTB2TOBO.js} +41 -61
- package/dist/headless.d.ts +27 -38
- package/dist/headless.js +16 -12
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/{status-iwqocz21.d.ts → status-Doh8Wz4D.d.ts} +35 -33
- package/dist/styles.css +1 -1
- package/package.json +5 -6
- package/skills/integrate-openreceive/SKILL.md +16 -5
- package/skills/integrate-openreceive/references/btcpay.md +193 -0
- package/skills/integrate-openreceive/references/django.md +667 -0
- package/skills/integrate-openreceive/references/fastapi.md +537 -0
- package/skills/integrate-openreceive/references/fastify.md +529 -0
- package/skills/integrate-openreceive/references/laravel.md +658 -0
- package/skills/integrate-openreceive/references/next.md +580 -0
- package/skills/integrate-openreceive/references/node.md +33 -14
- package/skills/integrate-openreceive/references/php.md +598 -0
- package/skills/integrate-openreceive/references/rails.md +72 -27
- package/skills/integrate-openreceive/references/woocommerce.md +153 -0
- package/dist/assets/icons/btc.svg +0 -1
- package/dist/assets/icons/crypto.svg +0 -12
- package/dist/assets/icons/eth.svg +0 -1
- package/dist/assets/icons/lightning.svg +0 -11
- package/dist/assets/icons/ltc.svg +0 -1
- package/dist/assets/icons/sol.svg +0 -1
- package/dist/assets/icons/trx.svg +0 -1
- package/dist/assets/icons/usdc.svg +0 -1
- package/dist/assets/icons/usdt.svg +0 -1
- package/dist/assets/icons/xmr.svg +0 -1
- package/dist/assets/icons/xrp.svg +0 -1
package/README.md
CHANGED
|
@@ -23,23 +23,24 @@ vue/svelte/angular wrappers. It is curated symbol-by-symbol rather than a
|
|
|
23
23
|
re-export of the package, so a name that is not on it is package-private and
|
|
24
24
|
will move without notice.
|
|
25
25
|
|
|
26
|
-
##
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
`
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
26
|
+
## Images
|
|
27
|
+
|
|
28
|
+
Everything the checkout draws ships inside the JavaScript: the payment-method
|
|
29
|
+
icons, the wallet logos and the pay tutorials. There is no image file to copy
|
|
30
|
+
or serve and no asset option to set. Deploy your normal JavaScript and CSS
|
|
31
|
+
build output, including any generated JavaScript chunks. Bundlers with code
|
|
32
|
+
splitting can defer tutorial screenshots until first open; single-file builds
|
|
33
|
+
(including the standalone checkout) include them upfront. If your
|
|
34
|
+
Content-Security-Policy has a strict `img-src`, allow `data:`.
|
|
35
|
+
|
|
36
|
+
- The payment-method icons (`btc`, `lightning`, `usdt`, …) are compiled into
|
|
37
|
+
this package: the custom element (`@openreceive/elements`, and the
|
|
38
|
+
Vue/Svelte/Angular wrappers over it) draws them inline in its shadow root
|
|
39
|
+
from `paymentIconSvgs`, and everything that wants a URL —
|
|
40
|
+
`@openreceive/react`, the display models, `getPaymentMethodIcon` and
|
|
41
|
+
friends, your own `<img>` — gets them from `paymentIconUrls` as
|
|
42
|
+
`data:image/svg+xml` URIs.
|
|
43
|
+
- The wallet logos and pay tutorials are `data:image/webp` URIs in
|
|
44
|
+
`@openreceive/provider-data`; `/headless` re-exports
|
|
45
|
+
`loadPayTutorialImages` / `payTutorialImage` for the lazy tutorial chunk.
|
|
46
|
+
See [docs/guides/provider-registry.md](../../../docs/guides/provider-registry.md#assets).
|