@altazion/commerce-sdk-htmx 26.519.8051 → 26.601.8204
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.d.ts +8 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { Cart } from '
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Cart } from '../../core/src/index.ts';
|
|
2
|
+
import { Cart as Cart_2 } from '../../../core/src/index.ts';
|
|
3
|
+
import { CommerceClient } from '../../core/src/index.ts';
|
|
4
|
+
import { CommerceClient as CommerceClient_2 } from '../../../core/src/index.ts';
|
|
5
|
+
import { ConnectivityStatus } from '../../core/src/index.ts';
|
|
4
6
|
import { default as default_2 } from 'handlebars';
|
|
5
|
-
import { ProblemDetails } from '
|
|
7
|
+
import { ProblemDetails } from '../../../core/src/index.ts';
|
|
6
8
|
|
|
7
9
|
export declare interface AltazionActionErrorDetail {
|
|
8
10
|
name: string;
|
|
@@ -131,7 +133,7 @@ export declare const registerAltazionAuthExtension: typeof registerAltazionExten
|
|
|
131
133
|
* `altazion:marketing:*` et `altazion:stores:*`
|
|
132
134
|
* exploitables par HTMX
|
|
133
135
|
*/
|
|
134
|
-
export declare function registerAltazionExtension(client:
|
|
136
|
+
export declare function registerAltazionExtension(client: CommerceClient_2): AltazionExtensionHandle;
|
|
135
137
|
|
|
136
138
|
/**
|
|
137
139
|
* Helpers Handlebars liés au panier.
|
|
@@ -142,7 +144,7 @@ export declare function registerAltazionExtension(client: CommerceClient): Altaz
|
|
|
142
144
|
* Total : {{cartTotal}}
|
|
143
145
|
* {{#if cartHasItems}} ... {{/if}}
|
|
144
146
|
*/
|
|
145
|
-
export declare function registerCartHelpers(hbs: HandlebarsInstance_3, getCart: () =>
|
|
147
|
+
export declare function registerCartHelpers(hbs: HandlebarsInstance_3, getCart: () => Cart_2 | null, defaults: {
|
|
146
148
|
locale: string;
|
|
147
149
|
currency: string;
|
|
148
150
|
}): void;
|