@lydianpay/sdk-web 3.10.0 → 3.11.0
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/dist/chunks/{index-CKnuB_nz.js → index-CGkvJIU5.js} +1 -1
- package/dist/chunks/{index-6NJ8eaaA.js → index-DN1W8tpt.js} +3 -1
- package/dist/chunks/{metamask-sdk-D7OTwvM8.js → metamask-sdk-ByAE3QwW.js} +1 -1
- package/dist/chunks/{mountEngine-D78kQHoa.js → mountEngine-KmqEj6j1.js} +6366 -6006
- package/dist/lydian.js +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/constants.d.ts +7 -0
- package/dist/types/ui/react/useTransientNotice.d.ts +4 -0
- package/dist/types/ui/walletSelection.d.ts +7 -2
- package/package.json +3 -3
|
@@ -73,3 +73,10 @@ export type CheckoutWallet = {
|
|
|
73
73
|
};
|
|
74
74
|
export declare const MANUAL_WALLET_ID = "manual";
|
|
75
75
|
export declare const CheckoutWallets: CheckoutWallet[];
|
|
76
|
+
export type ComingSoonWallet = {
|
|
77
|
+
id: string;
|
|
78
|
+
name: string;
|
|
79
|
+
img: string;
|
|
80
|
+
comingSoon: true;
|
|
81
|
+
};
|
|
82
|
+
export declare const ComingSoonWallets: ComingSoonWallet[];
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
import { CheckoutWallet } from '../constants';
|
|
2
|
-
import { WalletConnectWallet } from '../types';
|
|
1
|
+
import { CheckoutWallet, ComingSoonWallet } from '../constants';
|
|
2
|
+
import { AllowedWalletConfig, WalletConnectWallet } from '../types';
|
|
3
3
|
export declare function otherWalletsTile(): CheckoutWallet;
|
|
4
|
+
export type WalletOption = CheckoutWallet | ComingSoonWallet;
|
|
5
|
+
export declare function isComingSoonWallet(option: WalletOption): option is ComingSoonWallet;
|
|
6
|
+
export declare function getWalletSelectionCandidates({ allowedWalletsConfig, }: {
|
|
7
|
+
allowedWalletsConfig: AllowedWalletConfig[] | null | undefined;
|
|
8
|
+
}): WalletOption[];
|
|
4
9
|
export declare function getPaymentWalletId(selectedWallet: WalletConnectWallet | null): string;
|
|
5
10
|
export declare function isConnectableWallet({ walletConnect, selectedWallet, }: {
|
|
6
11
|
walletConnect: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lydianpay/sdk-web",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.11.0",
|
|
4
4
|
"description": "Drop-in crypto payment checkout for the web — a <lydian-checkout> web component and window.Lydian API across 20+ chains and major stablecoins.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
85
|
"@lydianpay/frontend-shared-helpers": "1.2.0",
|
|
86
|
-
"@lydianpay/lydianconnect": "^1.
|
|
87
|
-
"@lydianpay/lydianconnect-catalog": "^1.
|
|
86
|
+
"@lydianpay/lydianconnect": "^1.6.0",
|
|
87
|
+
"@lydianpay/lydianconnect-catalog": "^1.4.0",
|
|
88
88
|
"@solana/qr-code-styling": "^1.6.0",
|
|
89
89
|
"dompurify": "^3.4.12",
|
|
90
90
|
"react": "^19.2.8",
|