swell-js 5.4.0 → 5.4.1

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/api.mjs CHANGED
@@ -446,7 +446,7 @@ function swell(initStore = undefined, initKey, initOptions = {}) {
446
446
  const api = {};
447
447
 
448
448
  Object.assign(api, {
449
- version: '5.4.0',
449
+ version: '5.4.1',
450
450
  options,
451
451
  request,
452
452
 
package/dist/swell.cjs CHANGED
@@ -12172,7 +12172,7 @@ function swell(initStore = undefined, initKey, initOptions = {}) {
12172
12172
  const api = {};
12173
12173
 
12174
12174
  Object.assign(api, {
12175
- version: '5.4.0',
12175
+ version: '5.4.1',
12176
12176
  options,
12177
12177
  request,
12178
12178
 
@@ -17617,7 +17617,7 @@
17617
17617
  const api = {};
17618
17618
 
17619
17619
  Object.assign(api, {
17620
- version: '5.4.0',
17620
+ version: '5.4.1',
17621
17621
  options,
17622
17622
  request,
17623
17623
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swell-js",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "description": "Swell JS library for client-side stores",
5
5
  "engines": {
6
6
  "node": ">=16"
@@ -1,4 +1,10 @@
1
- export type { Discount, DiscountRule, DiscountRuleBuyGetItem } from './snake';
1
+ export type {
2
+ Discount,
3
+ DiscountRule,
4
+ DiscountRuleBuyGetItem,
5
+ DiscountRuleBuyGetProduct,
6
+ DiscountRuleBuyGetCategory,
7
+ } from './snake';
2
8
 
3
9
  export type {
4
10
  DiscountCamel,
@@ -2,6 +2,7 @@ import type { ResultsResponse, ResultsResponseCamel } from '../index';
2
2
  import type { MakeCase } from '../utils';
3
3
 
4
4
  import type {
5
+ ContentObject,
5
6
  Product,
6
7
  Variant,
7
8
  Price,
@@ -49,6 +50,7 @@ export interface PurchaseOptions {
49
50
  export type ProductCase = MakeCase<Product, ProductCamel>;
50
51
 
51
52
  export type {
53
+ ContentObject,
52
54
  Product,
53
55
  Variant,
54
56
  Price,