@altazion/commerce-sdk-htmx 26.512.7969 → 26.601.8195

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +8 -6
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,8 +1,10 @@
1
- import { Cart } from '@altazion/commerce-sdk-core';
2
- import { CommerceClient } from '@altazion/commerce-sdk-core';
3
- import { ConnectivityStatus } from '@altazion/commerce-sdk-core';
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 '@altazion/commerce-sdk-core';
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: CommerceClient): AltazionExtensionHandle;
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: () => Cart | null, defaults: {
147
+ export declare function registerCartHelpers(hbs: HandlebarsInstance_3, getCart: () => Cart_2 | null, defaults: {
146
148
  locale: string;
147
149
  currency: string;
148
150
  }): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altazion/commerce-sdk-htmx",
3
- "version": "26.512.7969",
3
+ "version": "26.601.8195",
4
4
  "description": "Altazion Commerce SDK — Extension HTMX + helpers Handlebars",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",