@liquidcommerce/elements-sdk 2.6.0-beta.49 → 2.6.0-beta.50
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/index.checkout.esm.js +6739 -6735
- package/dist/index.esm.js +10870 -10866
- package/dist/types/core/client/client-config.service.d.ts +2 -0
- package/dist/types/interfaces/config.interface.d.ts +4 -9
- package/package.json +4 -4
|
@@ -22,6 +22,7 @@ export interface IClientConfigs {
|
|
|
22
22
|
paymentMethodId?: string;
|
|
23
23
|
openShadowDom?: boolean;
|
|
24
24
|
hasCustomApiUrl?: boolean;
|
|
25
|
+
mockMode?: boolean;
|
|
25
26
|
checkout: ILiquidCommerceElementsCheckoutConfig | null;
|
|
26
27
|
}
|
|
27
28
|
export interface IClientConfigInput {
|
|
@@ -35,6 +36,7 @@ export interface IClientConfigInput {
|
|
|
35
36
|
customApiUrl?: string;
|
|
36
37
|
paymentMethodId?: string;
|
|
37
38
|
openShadowDom?: boolean;
|
|
39
|
+
mockMode?: boolean;
|
|
38
40
|
};
|
|
39
41
|
checkout?: ILiquidCommerceElementsCheckoutConfig;
|
|
40
42
|
}
|
|
@@ -11,6 +11,7 @@ export interface ILiquidCommerceElementsDevelopmentConfig {
|
|
|
11
11
|
customApiUrl?: string;
|
|
12
12
|
paymentMethodId?: string;
|
|
13
13
|
openShadowDom?: boolean;
|
|
14
|
+
mockMode?: boolean;
|
|
14
15
|
}
|
|
15
16
|
export interface IClientCustomThemeConfig {
|
|
16
17
|
global?: UpdateComponentGlobalConfigs;
|
|
@@ -29,18 +30,12 @@ export interface ILiquidCommerceElementsBaseConfig {
|
|
|
29
30
|
customTheme?: IClientCustomThemeConfig;
|
|
30
31
|
debugMode?: DebugMode;
|
|
31
32
|
checkout?: ILiquidCommerceElementsCheckoutConfig;
|
|
33
|
+
proxy?: IElementsProxyConfig;
|
|
34
|
+
development?: ILiquidCommerceElementsDevelopmentConfig;
|
|
32
35
|
}
|
|
33
36
|
export interface ILiquidCommerceElementsBuilderConfig extends ILiquidCommerceElementsBaseConfig {
|
|
34
37
|
}
|
|
35
38
|
export interface ILiquidCommerceElementsConfig extends ILiquidCommerceElementsBaseConfig {
|
|
36
|
-
proxy?: IElementsProxyConfig;
|
|
37
|
-
development?: ILiquidCommerceElementsDevelopmentConfig;
|
|
38
39
|
}
|
|
39
|
-
export interface ILiquidCommerceElementsCheckoutClientConfig {
|
|
40
|
-
env?: ElementsEnv;
|
|
41
|
-
customTheme?: IClientCustomThemeConfig;
|
|
42
|
-
debugMode?: DebugMode;
|
|
43
|
-
checkout?: ILiquidCommerceElementsCheckoutConfig;
|
|
44
|
-
proxy?: IElementsProxyConfig;
|
|
45
|
-
development?: ILiquidCommerceElementsDevelopmentConfig;
|
|
40
|
+
export interface ILiquidCommerceElementsCheckoutClientConfig extends ILiquidCommerceElementsBaseConfig {
|
|
46
41
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "LiquidCommerce Elements SDK",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": "LiquidCommerce Team",
|
|
6
|
-
"version": "2.6.0-beta.
|
|
6
|
+
"version": "2.6.0-beta.50",
|
|
7
7
|
"homepage": "https://docs.liquidcommerce.co/elements-sdk",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
],
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@biomejs/biome": "^2.4.2",
|
|
85
|
-
"@commitlint/cli": "^20.4.
|
|
86
|
-
"@commitlint/config-conventional": "^20.4.
|
|
85
|
+
"@commitlint/cli": "^20.4.2",
|
|
86
|
+
"@commitlint/config-conventional": "^20.4.2",
|
|
87
87
|
"@rollup/plugin-alias": "^6.0.0",
|
|
88
88
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
89
89
|
"@rollup/plugin-json": "^6.1.0",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"@semantic-release/npm": "^13.1.4",
|
|
98
98
|
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
99
99
|
"@types/core-js": "^2.5.8",
|
|
100
|
-
"@types/node": "^25.
|
|
100
|
+
"@types/node": "^25.3.0",
|
|
101
101
|
"conventional-changelog-cli": "^5.0.0",
|
|
102
102
|
"husky": "^9.1.7",
|
|
103
103
|
"process": "^0.11.10",
|