@storepecker/storefront-core 1.1.0 → 1.1.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.
@@ -1,10 +1,10 @@
1
1
  import * as axios from 'axios';
2
2
  import { AxiosInstance, AxiosResponse } from 'axios';
3
3
  import { A as Address } from '../address-DQEZzyUG.cjs';
4
- import { U as User, W as Wishlist } from '../wishlist-C3SK9SS0.cjs';
5
- import { C as Cart, j as Product, f as CouponResponse, e as Coupon, d as Category, k as ProductDetail } from '../cart-D8UXTY1g.cjs';
4
+ import { U as User, W as Wishlist } from '../wishlist-CkAhLpbI.cjs';
5
+ import { C as Cart, j as Product, f as CouponResponse, e as Coupon, d as Category, k as ProductDetail } from '../cart-VaCKkJ1C.cjs';
6
6
  import { O as Order } from '../orders-DHJhJ3xz.cjs';
7
- import { C as CollectionResponse, R as Review, A as Analytics, B as Booking } from '../booking-Dd877kxd.cjs';
7
+ import { C as CollectionResponse, R as Review, A as Analytics, B as Booking } from '../booking-B21s0inO.cjs';
8
8
  import 'react-toastify';
9
9
 
10
10
  declare function getHttpService(): AxiosInstance;
@@ -1,10 +1,10 @@
1
1
  import * as axios from 'axios';
2
2
  import { AxiosInstance, AxiosResponse } from 'axios';
3
3
  import { A as Address } from '../address-DQEZzyUG.js';
4
- import { U as User, W as Wishlist } from '../wishlist-BMWfB0Xe.js';
5
- import { C as Cart, j as Product, f as CouponResponse, e as Coupon, d as Category, k as ProductDetail } from '../cart-D8UXTY1g.js';
4
+ import { U as User, W as Wishlist } from '../wishlist-FG8tgn76.js';
5
+ import { C as Cart, j as Product, f as CouponResponse, e as Coupon, d as Category, k as ProductDetail } from '../cart-VaCKkJ1C.js';
6
6
  import { O as Order } from '../orders-DHJhJ3xz.js';
7
- import { C as CollectionResponse, R as Review, A as Analytics, B as Booking } from '../booking-Bo_tELLX.js';
7
+ import { C as CollectionResponse, R as Review, A as Analytics, B as Booking } from '../booking-CegE1cje.js';
8
8
  import 'react-toastify';
9
9
 
10
10
  declare function getHttpService(): AxiosInstance;
@@ -1,4 +1,4 @@
1
- import { k as ProductDetail } from './cart-D8UXTY1g.cjs';
1
+ import { k as ProductDetail } from './cart-VaCKkJ1C.cjs';
2
2
 
3
3
  interface CollectionResponse {
4
4
  id: number;
@@ -1,4 +1,4 @@
1
- import { k as ProductDetail } from './cart-D8UXTY1g.js';
1
+ import { k as ProductDetail } from './cart-VaCKkJ1C.js';
2
2
 
3
3
  interface CollectionResponse {
4
4
  id: number;
@@ -180,7 +180,7 @@ declare namespace ProductDetail {
180
180
  store_name: string;
181
181
  currency_code: string;
182
182
  total_price: string;
183
- total_tax_amount: number;
183
+ total_tax_price: number;
184
184
  is_custom_product: boolean;
185
185
  booking_service?: BookingService;
186
186
  fulfillment_time: string;
@@ -180,7 +180,7 @@ declare namespace ProductDetail {
180
180
  store_name: string;
181
181
  currency_code: string;
182
182
  total_price: string;
183
- total_tax_amount: number;
183
+ total_tax_price: number;
184
184
  is_custom_product: boolean;
185
185
  booking_service?: BookingService;
186
186
  fulfillment_time: string;
@@ -1,5 +1,5 @@
1
1
  import * as Yup from 'yup';
2
- import { C as Cart, e as Coupon } from '../cart-D8UXTY1g.cjs';
2
+ import { C as Cart, e as Coupon } from '../cart-VaCKkJ1C.cjs';
3
3
  import { O as Order } from '../orders-DHJhJ3xz.cjs';
4
4
  import 'react-toastify';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import * as Yup from 'yup';
2
- import { C as Cart, e as Coupon } from '../cart-D8UXTY1g.js';
2
+ import { C as Cart, e as Coupon } from '../cart-VaCKkJ1C.js';
3
3
  import { O as Order } from '../orders-DHJhJ3xz.js';
4
4
  import 'react-toastify';
5
5
 
@@ -1,7 +1,7 @@
1
1
  import { A as Address } from '../address-DQEZzyUG.cjs';
2
- import { C as Cart, j as Product, d as Category, e as Coupon } from '../cart-D8UXTY1g.cjs';
2
+ import { C as Cart, j as Product, d as Category, e as Coupon } from '../cart-VaCKkJ1C.cjs';
3
3
  import { O as Order } from '../orders-DHJhJ3xz.cjs';
4
- import { U as User, W as Wishlist } from '../wishlist-C3SK9SS0.cjs';
4
+ import { U as User, W as Wishlist } from '../wishlist-CkAhLpbI.cjs';
5
5
  export { U as UseAddressFormOptions, a as UseAddressFormReturn, u as useAddressForm } from '../useAddressForm-DgkCP1nG.cjs';
6
6
  import 'react-toastify';
7
7
  import 'react';
@@ -1,7 +1,7 @@
1
1
  import { A as Address } from '../address-DQEZzyUG.js';
2
- import { C as Cart, j as Product, d as Category, e as Coupon } from '../cart-D8UXTY1g.js';
2
+ import { C as Cart, j as Product, d as Category, e as Coupon } from '../cart-VaCKkJ1C.js';
3
3
  import { O as Order } from '../orders-DHJhJ3xz.js';
4
- import { U as User, W as Wishlist } from '../wishlist-BMWfB0Xe.js';
4
+ import { U as User, W as Wishlist } from '../wishlist-FG8tgn76.js';
5
5
  export { U as UseAddressFormOptions, a as UseAddressFormReturn, u as useAddressForm } from '../useAddressForm-C-Uzug4d.js';
6
6
  import 'react-toastify';
7
7
  import 'react';
@@ -1,9 +1,9 @@
1
1
  export { A as Address } from '../address-DQEZzyUG.cjs';
2
- export { A as Analytics, B as Booking, a as BookingDetails, b as CollectionAttributes, C as CollectionResponse, c as CollectionVariant, R as Review, s as singleCollection } from '../booking-Dd877kxd.cjs';
3
- export { A as ApplicableTarget, a as Attributes, B as BookingService, b as BookingServiceDate, C as Cart, c as CartState, d as Category, e as Coupon, f as CouponResponse, g as CouponStatus, h as Coupons, i as CustomField, D as DiscountType, O as OperatingHours, P as Photos, j as Product, k as ProductDetail, S as SpecialHours, T as TimeSlot, V as ValueType, W as WishlistState } from '../cart-D8UXTY1g.cjs';
2
+ export { A as Analytics, B as Booking, a as BookingDetails, b as CollectionAttributes, C as CollectionResponse, c as CollectionVariant, R as Review, s as singleCollection } from '../booking-B21s0inO.cjs';
3
+ export { A as ApplicableTarget, a as Attributes, B as BookingService, b as BookingServiceDate, C as Cart, c as CartState, d as Category, e as Coupon, f as CouponResponse, g as CouponStatus, h as Coupons, i as CustomField, D as DiscountType, O as OperatingHours, P as Photos, j as Product, k as ProductDetail, S as SpecialHours, T as TimeSlot, V as ValueType, W as WishlistState } from '../cart-VaCKkJ1C.cjs';
4
4
  export { O as Order } from '../orders-DHJhJ3xz.cjs';
5
5
  export { D as Data, P as PaymentInstrument, a as PhonePe } from '../phonepe-D7vn-9SR.cjs';
6
- export { U as User, W as Wishlist } from '../wishlist-C3SK9SS0.cjs';
6
+ export { U as User, W as Wishlist } from '../wishlist-CkAhLpbI.cjs';
7
7
  import 'react-toastify';
8
8
 
9
9
  declare namespace CountryModel {
@@ -1,9 +1,9 @@
1
1
  export { A as Address } from '../address-DQEZzyUG.js';
2
- export { A as Analytics, B as Booking, a as BookingDetails, b as CollectionAttributes, C as CollectionResponse, c as CollectionVariant, R as Review, s as singleCollection } from '../booking-Bo_tELLX.js';
3
- export { A as ApplicableTarget, a as Attributes, B as BookingService, b as BookingServiceDate, C as Cart, c as CartState, d as Category, e as Coupon, f as CouponResponse, g as CouponStatus, h as Coupons, i as CustomField, D as DiscountType, O as OperatingHours, P as Photos, j as Product, k as ProductDetail, S as SpecialHours, T as TimeSlot, V as ValueType, W as WishlistState } from '../cart-D8UXTY1g.js';
2
+ export { A as Analytics, B as Booking, a as BookingDetails, b as CollectionAttributes, C as CollectionResponse, c as CollectionVariant, R as Review, s as singleCollection } from '../booking-CegE1cje.js';
3
+ export { A as ApplicableTarget, a as Attributes, B as BookingService, b as BookingServiceDate, C as Cart, c as CartState, d as Category, e as Coupon, f as CouponResponse, g as CouponStatus, h as Coupons, i as CustomField, D as DiscountType, O as OperatingHours, P as Photos, j as Product, k as ProductDetail, S as SpecialHours, T as TimeSlot, V as ValueType, W as WishlistState } from '../cart-VaCKkJ1C.js';
4
4
  export { O as Order } from '../orders-DHJhJ3xz.js';
5
5
  export { D as Data, P as PaymentInstrument, a as PhonePe } from '../phonepe-D7vn-9SR.js';
6
- export { U as User, W as Wishlist } from '../wishlist-BMWfB0Xe.js';
6
+ export { U as User, W as Wishlist } from '../wishlist-FG8tgn76.js';
7
7
  import 'react-toastify';
8
8
 
9
9
  declare namespace CountryModel {
@@ -1,6 +1,6 @@
1
1
  import * as zustand from 'zustand';
2
- import { c as CartState, C as Cart, j as Product } from '../cart-D8UXTY1g.cjs';
3
- import { U as User, W as Wishlist } from '../wishlist-C3SK9SS0.cjs';
2
+ import { c as CartState, C as Cart, j as Product } from '../cart-VaCKkJ1C.cjs';
3
+ import { U as User, W as Wishlist } from '../wishlist-CkAhLpbI.cjs';
4
4
  import 'react-toastify';
5
5
 
6
6
  interface CartStore extends CartState {
@@ -1,6 +1,6 @@
1
1
  import * as zustand from 'zustand';
2
- import { c as CartState, C as Cart, j as Product } from '../cart-D8UXTY1g.js';
3
- import { U as User, W as Wishlist } from '../wishlist-BMWfB0Xe.js';
2
+ import { c as CartState, C as Cart, j as Product } from '../cart-VaCKkJ1C.js';
3
+ import { U as User, W as Wishlist } from '../wishlist-FG8tgn76.js';
4
4
  import 'react-toastify';
5
5
 
6
6
  interface CartStore extends CartState {
@@ -1,5 +1,5 @@
1
- import { C as Cart, k as ProductDetail, d as Category$1, j as Product, O as OperatingHours, T as TimeSlot } from '../cart-D8UXTY1g.cjs';
2
- export { m as ADDRESS_FORM_SESSION_KEY, n as ALLOWED_COUNTRIES, o as DEFAULT_TOAST_CONFIG, p as PRODUCT_STATUSES, l as SLICE_STATUS, U as USER_CART, q as USER_CREDENTIALS, r as USER_CRED_REFRESH_TOKEN, s as USER_CRED_TOKEN, t as pathNameMap } from '../cart-D8UXTY1g.cjs';
1
+ import { C as Cart, k as ProductDetail, d as Category$1, j as Product, O as OperatingHours, T as TimeSlot } from '../cart-VaCKkJ1C.cjs';
2
+ export { m as ADDRESS_FORM_SESSION_KEY, n as ALLOWED_COUNTRIES, o as DEFAULT_TOAST_CONFIG, p as PRODUCT_STATUSES, l as SLICE_STATUS, U as USER_CART, q as USER_CREDENTIALS, r as USER_CRED_REFRESH_TOKEN, s as USER_CRED_TOKEN, t as pathNameMap } from '../cart-VaCKkJ1C.cjs';
3
3
  export { S as SnapstoreConfig, g as getApiEndpoint, a as getCloudFront, b as getConfig, c as getPhonePeApiEndpoint, d as getPublicApiEndpoint, e as getSecretKey, f as getStoreId, i as initConfig } from '../index-DTyIuLuI.cjs';
4
4
  import { AxiosResponse } from 'axios';
5
5
  import { a as PhonePe } from '../phonepe-D7vn-9SR.cjs';
@@ -1,5 +1,5 @@
1
- import { C as Cart, k as ProductDetail, d as Category$1, j as Product, O as OperatingHours, T as TimeSlot } from '../cart-D8UXTY1g.js';
2
- export { m as ADDRESS_FORM_SESSION_KEY, n as ALLOWED_COUNTRIES, o as DEFAULT_TOAST_CONFIG, p as PRODUCT_STATUSES, l as SLICE_STATUS, U as USER_CART, q as USER_CREDENTIALS, r as USER_CRED_REFRESH_TOKEN, s as USER_CRED_TOKEN, t as pathNameMap } from '../cart-D8UXTY1g.js';
1
+ import { C as Cart, k as ProductDetail, d as Category$1, j as Product, O as OperatingHours, T as TimeSlot } from '../cart-VaCKkJ1C.js';
2
+ export { m as ADDRESS_FORM_SESSION_KEY, n as ALLOWED_COUNTRIES, o as DEFAULT_TOAST_CONFIG, p as PRODUCT_STATUSES, l as SLICE_STATUS, U as USER_CART, q as USER_CREDENTIALS, r as USER_CRED_REFRESH_TOKEN, s as USER_CRED_TOKEN, t as pathNameMap } from '../cart-VaCKkJ1C.js';
3
3
  export { S as SnapstoreConfig, g as getApiEndpoint, a as getCloudFront, b as getConfig, c as getPhonePeApiEndpoint, d as getPublicApiEndpoint, e as getSecretKey, f as getStoreId, i as initConfig } from '../index-DTyIuLuI.js';
4
4
  import { AxiosResponse } from 'axios';
5
5
  import { a as PhonePe } from '../phonepe-D7vn-9SR.js';
@@ -1,4 +1,4 @@
1
- import { l as SLICE_STATUS, k as ProductDetail } from './cart-D8UXTY1g.cjs';
1
+ import { l as SLICE_STATUS, k as ProductDetail } from './cart-VaCKkJ1C.cjs';
2
2
 
3
3
  declare namespace User {
4
4
  interface Root {
@@ -1,4 +1,4 @@
1
- import { l as SLICE_STATUS, k as ProductDetail } from './cart-D8UXTY1g.js';
1
+ import { l as SLICE_STATUS, k as ProductDetail } from './cart-VaCKkJ1C.js';
2
2
 
3
3
  declare namespace User {
4
4
  interface Root {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storepecker/storefront-core",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Shared logic and utilities for Snapstore themes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",