@lydianpay/sdk-web 2.0.0 → 2.0.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 +15 -9
- package/dist/chunks/{index-D5jbTFJf.js → index-BYdhdu5y.js} +3997 -3755
- package/dist/chunks/{index-Pk4K_3hb.js → index-Cg2XHdVQ.js} +1 -1
- package/dist/chunks/{metamask-sdk-DvI9y8Xc.js → metamask-sdk-CEhBuHc0.js} +1 -1
- package/dist/lydian.js +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/constants.d.ts +2 -1
- package/dist/types/types.d.ts +0 -2
- package/dist/types/ui/Checkout.d.ts +6 -1
- package/dist/types/ui/buttons/walletButton.d.ts +4 -1
- package/dist/types/ui/components/changePaymentMethodRow.d.ts +1 -0
- package/dist/types/ui/components/featuredWalletBanner.d.ts +3 -0
- package/dist/types/ui/components/icons.d.ts +4 -2
- package/dist/types/ui/featuredWallet.d.ts +15 -0
- package/dist/types/ui/maskEmail.d.ts +1 -0
- package/dist/types/ui/networkListHelpers.d.ts +5 -0
- package/dist/types/ui/restoreDetailsController.d.ts +6 -0
- package/dist/types/ui/sessionHelpers.d.ts +4 -0
- package/dist/types/utils/collections.d.ts +7 -0
- package/dist/types/utils/index.d.ts +1 -5
- package/dist/types/utils/moneyHelpers.d.ts +23 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -98,15 +98,21 @@ Place the checkout element where you want the UI, then initialize the SDK:
|
|
|
98
98
|
|
|
99
99
|
**`flow`**
|
|
100
100
|
|
|
101
|
-
Optional per-embed
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
| Field
|
|
106
|
-
|
|
|
107
|
-
| `walletConnect`
|
|
108
|
-
|
|
109
|
-
|
|
101
|
+
Optional per-embed settings. Only settings your Lydian account cannot express live
|
|
102
|
+
here — everything else is configured once on the merchant portal and applies to
|
|
103
|
+
every checkout automatically.
|
|
104
|
+
|
|
105
|
+
| Field | Type | Default | Description |
|
|
106
|
+
| --------------- | --------- | ------- | --------------------------------------------------------------------------------- |
|
|
107
|
+
| `walletConnect` | `boolean` | `false` | Offer wallet connection alongside the QR code. Not available from account config. |
|
|
108
|
+
|
|
109
|
+
Configured on your Lydian account, not here. They apply to every checkout and there
|
|
110
|
+
is no per-embed override:
|
|
111
|
+
|
|
112
|
+
| Setting | Description |
|
|
113
|
+
| ---------------------- | ----------------------------------------------------------------------- |
|
|
114
|
+
| `skipConfirmationPage` | Open the wallet straight away instead of showing a confirmation screen. |
|
|
115
|
+
| `hideNoWalletOption` | Hide the "I don't have a supported wallet" link. |
|
|
110
116
|
|
|
111
117
|
```js
|
|
112
118
|
window.Lydian.init({
|