@atomic-solutions/woocommerce-react 0.7.0 → 0.8.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.
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
3
  import { ReactNode } from 'react';
4
- import { j as StoreConfig, Q as QueryKeys, k as StoreContextValue } from '../types-4MW3Y__g.cjs';
5
- export { D as DEFAULT_STORE_CONFIG, I as ImageUrlTransformer, R as RateLimitConfig, l as StoreFeatures, m as StoreGuardrails, S as StoreLocale, n as StoreTheme, a as StoreValidationResult } from '../types-4MW3Y__g.cjs';
4
+ import { j as StoreConfig, Q as QueryKeys, k as StoreContextValue } from '../types-DABmdACe.cjs';
5
+ export { D as DEFAULT_STORE_CONFIG, I as ImageUrlTransformer, R as RateLimitConfig, l as StoreFeatures, m as StoreGuardrails, S as StoreLocale, n as StoreTheme, a as StoreValidationResult } from '../types-DABmdACe.cjs';
6
6
  import '@atomic-solutions/woocommerce-api-client';
7
7
 
8
8
  interface WooCommerceStoreProviderProps {
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
3
  import { ReactNode } from 'react';
4
- import { j as StoreConfig, Q as QueryKeys, k as StoreContextValue } from '../types-4MW3Y__g.js';
5
- export { D as DEFAULT_STORE_CONFIG, I as ImageUrlTransformer, R as RateLimitConfig, l as StoreFeatures, m as StoreGuardrails, S as StoreLocale, n as StoreTheme, a as StoreValidationResult } from '../types-4MW3Y__g.js';
4
+ import { j as StoreConfig, Q as QueryKeys, k as StoreContextValue } from '../types-DABmdACe.js';
5
+ export { D as DEFAULT_STORE_CONFIG, I as ImageUrlTransformer, R as RateLimitConfig, l as StoreFeatures, m as StoreGuardrails, S as StoreLocale, n as StoreTheme, a as StoreValidationResult } from '../types-DABmdACe.js';
6
6
  import '@atomic-solutions/woocommerce-api-client';
7
7
 
8
8
  interface WooCommerceStoreProviderProps {
@@ -105,6 +105,7 @@ declare const createQueryKeys: (prefix?: string[]) => {
105
105
  removeItem: () => readonly [...string[], "cart", "mutation", "removeItem"];
106
106
  applyCoupon: () => readonly [...string[], "cart", "mutation", "applyCoupon"];
107
107
  removeCoupon: () => readonly [...string[], "cart", "mutation", "removeCoupon"];
108
+ updateExtensions: () => readonly [...string[], "cart", "mutation", "updateExtensions"];
108
109
  updateCustomer: () => readonly [...string[], "cart", "mutation", "updateCustomer"];
109
110
  selectShippingRate: () => readonly [...string[], "cart", "mutation", "selectShippingRate"];
110
111
  };
@@ -105,6 +105,7 @@ declare const createQueryKeys: (prefix?: string[]) => {
105
105
  removeItem: () => readonly [...string[], "cart", "mutation", "removeItem"];
106
106
  applyCoupon: () => readonly [...string[], "cart", "mutation", "applyCoupon"];
107
107
  removeCoupon: () => readonly [...string[], "cart", "mutation", "removeCoupon"];
108
+ updateExtensions: () => readonly [...string[], "cart", "mutation", "updateExtensions"];
108
109
  updateCustomer: () => readonly [...string[], "cart", "mutation", "updateCustomer"];
109
110
  selectShippingRate: () => readonly [...string[], "cart", "mutation", "selectShippingRate"];
110
111
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomic-solutions/woocommerce-react",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "React Query hooks and provider for WooCommerce Store API",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -50,7 +50,7 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@atomic-solutions/woocommerce-api-client": "0.6.0"
53
+ "@atomic-solutions/woocommerce-api-client": "0.7.0"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@tanstack/react-query": ">=5.0.0",