@voyantjs/storefront-react 0.46.0 → 0.49.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.
|
@@ -49,9 +49,9 @@ export declare function useStorefrontSettings(options?: UseStorefrontSettingsOpt
|
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
payment: {
|
|
52
|
-
defaultMethod: "voucher" | "
|
|
52
|
+
defaultMethod: "voucher" | "bank_transfer" | "card" | "cash" | "invoice" | null;
|
|
53
53
|
methods: {
|
|
54
|
-
code: "voucher" | "
|
|
54
|
+
code: "voucher" | "bank_transfer" | "card" | "cash" | "invoice";
|
|
55
55
|
label: string;
|
|
56
56
|
description: string | null;
|
|
57
57
|
enabled: boolean;
|
package/dist/operations.d.ts
CHANGED
|
@@ -48,9 +48,9 @@ export declare function getStorefrontSettings(client: FetchWithValidationOptions
|
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
payment: {
|
|
51
|
-
defaultMethod: "voucher" | "
|
|
51
|
+
defaultMethod: "voucher" | "bank_transfer" | "card" | "cash" | "invoice" | null;
|
|
52
52
|
methods: {
|
|
53
|
-
code: "voucher" | "
|
|
53
|
+
code: "voucher" | "bank_transfer" | "card" | "cash" | "invoice";
|
|
54
54
|
label: string;
|
|
55
55
|
description: string | null;
|
|
56
56
|
enabled: boolean;
|
package/dist/query-options.d.ts
CHANGED
|
@@ -48,9 +48,9 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
|
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
payment: {
|
|
51
|
-
defaultMethod: "voucher" | "
|
|
51
|
+
defaultMethod: "voucher" | "bank_transfer" | "card" | "cash" | "invoice" | null;
|
|
52
52
|
methods: {
|
|
53
|
-
code: "voucher" | "
|
|
53
|
+
code: "voucher" | "bank_transfer" | "card" | "cash" | "invoice";
|
|
54
54
|
label: string;
|
|
55
55
|
description: string | null;
|
|
56
56
|
enabled: boolean;
|
|
@@ -105,9 +105,9 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
|
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
107
|
payment: {
|
|
108
|
-
defaultMethod: "voucher" | "
|
|
108
|
+
defaultMethod: "voucher" | "bank_transfer" | "card" | "cash" | "invoice" | null;
|
|
109
109
|
methods: {
|
|
110
|
-
code: "voucher" | "
|
|
110
|
+
code: "voucher" | "bank_transfer" | "card" | "cash" | "invoice";
|
|
111
111
|
label: string;
|
|
112
112
|
description: string | null;
|
|
113
113
|
enabled: boolean;
|
|
@@ -163,9 +163,9 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
|
|
|
163
163
|
};
|
|
164
164
|
};
|
|
165
165
|
payment: {
|
|
166
|
-
defaultMethod: "voucher" | "
|
|
166
|
+
defaultMethod: "voucher" | "bank_transfer" | "card" | "cash" | "invoice" | null;
|
|
167
167
|
methods: {
|
|
168
|
-
code: "voucher" | "
|
|
168
|
+
code: "voucher" | "bank_transfer" | "card" | "cash" | "invoice";
|
|
169
169
|
label: string;
|
|
170
170
|
description: string | null;
|
|
171
171
|
enabled: boolean;
|
|
@@ -223,9 +223,9 @@ export declare function getStorefrontSettingsQueryOptions(client: FetchWithValid
|
|
|
223
223
|
};
|
|
224
224
|
};
|
|
225
225
|
payment: {
|
|
226
|
-
defaultMethod: "voucher" | "
|
|
226
|
+
defaultMethod: "voucher" | "bank_transfer" | "card" | "cash" | "invoice" | null;
|
|
227
227
|
methods: {
|
|
228
|
-
code: "voucher" | "
|
|
228
|
+
code: "voucher" | "bank_transfer" | "card" | "cash" | "invoice";
|
|
229
229
|
label: string;
|
|
230
230
|
description: string | null;
|
|
231
231
|
enabled: boolean;
|
package/dist/schemas.d.ts
CHANGED
|
@@ -75,16 +75,16 @@ export declare const storefrontSettingsResponseSchema: z.ZodObject<{
|
|
|
75
75
|
payment: z.ZodObject<{
|
|
76
76
|
defaultMethod: z.ZodNullable<z.ZodEnum<{
|
|
77
77
|
voucher: "voucher";
|
|
78
|
-
card: "card";
|
|
79
78
|
bank_transfer: "bank_transfer";
|
|
79
|
+
card: "card";
|
|
80
80
|
cash: "cash";
|
|
81
81
|
invoice: "invoice";
|
|
82
82
|
}>>;
|
|
83
83
|
methods: z.ZodArray<z.ZodObject<{
|
|
84
84
|
code: z.ZodEnum<{
|
|
85
85
|
voucher: "voucher";
|
|
86
|
-
card: "card";
|
|
87
86
|
bank_transfer: "bank_transfer";
|
|
87
|
+
card: "card";
|
|
88
88
|
cash: "cash";
|
|
89
89
|
invoice: "invoice";
|
|
90
90
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/storefront-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"react": "^19.0.0",
|
|
42
42
|
"react-dom": "^19.0.0",
|
|
43
43
|
"zod": "^4.0.0",
|
|
44
|
-
"@voyantjs/storefront": "0.
|
|
44
|
+
"@voyantjs/storefront": "0.49.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@tanstack/react-query": "^5.96.2",
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
"typescript": "^6.0.2",
|
|
53
53
|
"vitest": "^4.1.2",
|
|
54
54
|
"zod": "^4.3.6",
|
|
55
|
-
"@voyantjs/react": "0.
|
|
56
|
-
"@voyantjs/storefront": "0.
|
|
55
|
+
"@voyantjs/react": "0.49.0",
|
|
56
|
+
"@voyantjs/storefront": "0.49.0",
|
|
57
57
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@voyantjs/react": "0.
|
|
60
|
+
"@voyantjs/react": "0.49.0"
|
|
61
61
|
},
|
|
62
62
|
"files": [
|
|
63
63
|
"dist"
|