@cimplify/sdk 0.6.11 → 0.7.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.
- package/README.md +8 -3
- package/dist/advanced.d.mts +2 -2
- package/dist/advanced.d.ts +2 -2
- package/dist/advanced.js +529 -102
- package/dist/advanced.mjs +529 -102
- package/dist/{client-DM3-ZG29.d.ts → client-CyBNao15.d.ts} +15 -927
- package/dist/{client-BngAGN0v.d.mts → client-hccS_JMl.d.mts} +15 -927
- package/dist/{index-DaKJxoEh.d.mts → index-B_JHO-ER.d.ts} +29 -35
- package/dist/{index-pztT_bcJ.d.ts → index-mrKi_VbR.d.mts} +29 -35
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +585 -105
- package/dist/index.mjs +582 -106
- package/dist/payment-CLIWNMaP.d.mts +1133 -0
- package/dist/payment-CLIWNMaP.d.ts +1133 -0
- package/dist/react.d.mts +5 -2
- package/dist/react.d.ts +5 -2
- package/dist/react.js +582 -108
- package/dist/react.mjs +582 -108
- package/dist/utils.d.mts +2 -2
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js +27 -0
- package/dist/utils.mjs +24 -1
- package/package.json +1 -1
- package/dist/payment-Cu75tmUc.d.mts +0 -196
- package/dist/payment-Cu75tmUc.d.ts +0 -196
package/dist/react.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CimplifyClient, _ as ProcessCheckoutResult, a0 as CheckoutStatus, a1 as CheckoutStatusContext,
|
|
1
|
+
import { C as CimplifyClient, _ as ProcessCheckoutResult, a0 as CheckoutStatus, a1 as CheckoutStatusContext, br as Location, bo as Business, aT as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, u as CimplifyElements, y as ElementsOptions, cQ as AuthenticatedData, cM as AddressInfo, cN as PaymentMethodInfo, cS as ElementsCheckoutResult, Z as ProcessCheckoutOptions } from './client-hccS_JMl.mjs';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
|
-
import { h as CimplifyError, C as CurrencyCode } from './payment-
|
|
3
|
+
import { q as Product, d as Pagination, h as CimplifyError, r as ProductWithDetails, K as Category, aw as BundleSelectionInput, a7 as ComponentSelectionInput, N as Collection, X as BundleWithDetails, a3 as CompositeWithDetails, a8 as CompositePriceResult, C as CurrencyCode } from './payment-CLIWNMaP.mjs';
|
|
4
4
|
import { A as AdSlot, a as AdPosition, e as AdContextValue } from './ads-t3FBTU8p.mjs';
|
|
5
5
|
export { c as AdConfig } from './ads-t3FBTU8p.mjs';
|
|
6
6
|
|
|
@@ -107,6 +107,9 @@ interface UseProductsOptions {
|
|
|
107
107
|
}
|
|
108
108
|
interface UseProductsResult {
|
|
109
109
|
products: Product[];
|
|
110
|
+
is_complete: boolean;
|
|
111
|
+
total_available?: number;
|
|
112
|
+
pagination?: Pagination;
|
|
110
113
|
isLoading: boolean;
|
|
111
114
|
error: CimplifyError | null;
|
|
112
115
|
refetch: () => Promise<void>;
|
package/dist/react.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CimplifyClient, _ as ProcessCheckoutResult, a0 as CheckoutStatus, a1 as CheckoutStatusContext,
|
|
1
|
+
import { C as CimplifyClient, _ as ProcessCheckoutResult, a0 as CheckoutStatus, a1 as CheckoutStatusContext, br as Location, bo as Business, aT as Order, d as QuoteBundleSelectionInput, Q as QuoteCompositeSelectionInput, P as PriceQuote, g as QuoteUiMessage, u as CimplifyElements, y as ElementsOptions, cQ as AuthenticatedData, cM as AddressInfo, cN as PaymentMethodInfo, cS as ElementsCheckoutResult, Z as ProcessCheckoutOptions } from './client-CyBNao15.js';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
|
-
import { h as CimplifyError, C as CurrencyCode } from './payment-
|
|
3
|
+
import { q as Product, d as Pagination, h as CimplifyError, r as ProductWithDetails, K as Category, aw as BundleSelectionInput, a7 as ComponentSelectionInput, N as Collection, X as BundleWithDetails, a3 as CompositeWithDetails, a8 as CompositePriceResult, C as CurrencyCode } from './payment-CLIWNMaP.js';
|
|
4
4
|
import { A as AdSlot, a as AdPosition, e as AdContextValue } from './ads-t3FBTU8p.js';
|
|
5
5
|
export { c as AdConfig } from './ads-t3FBTU8p.js';
|
|
6
6
|
|
|
@@ -107,6 +107,9 @@ interface UseProductsOptions {
|
|
|
107
107
|
}
|
|
108
108
|
interface UseProductsResult {
|
|
109
109
|
products: Product[];
|
|
110
|
+
is_complete: boolean;
|
|
111
|
+
total_available?: number;
|
|
112
|
+
pagination?: Pagination;
|
|
110
113
|
isLoading: boolean;
|
|
111
114
|
error: CimplifyError | null;
|
|
112
115
|
refetch: () => Promise<void>;
|