commerce-sdk-isomorphic 4.0.0 → 4.0.1-preview-shopper-test.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 +61 -3
- package/lib/clientConfig.cjs.d.ts +52 -0
- package/lib/clientConfig.cjs.js +1 -0
- package/lib/clientConfig.d.ts +52 -0
- package/lib/clientConfig.js +1 -0
- package/lib/config.cjs.d.ts +2 -0
- package/lib/config.cjs.js +1 -0
- package/lib/config.d.ts +2 -0
- package/lib/config.js +1 -0
- package/lib/helpers.cjs.d.ts +2225 -0
- package/lib/helpers.cjs.js +1 -0
- package/lib/helpers.d.ts +2225 -0
- package/lib/helpers.js +1 -0
- package/lib/index.cjs.d.ts +18 -1
- package/lib/index.cjs.js +1 -1
- package/lib/index.esm.d.ts +18 -1
- package/lib/index.esm.js +1 -1
- package/lib/responseError.cjs.d.ts +12 -0
- package/lib/responseError.cjs.js +1 -0
- package/lib/responseError.d.ts +12 -0
- package/lib/responseError.js +1 -0
- package/lib/shopperBaskets.cjs.d.ts +10259 -0
- package/lib/shopperBaskets.cjs.js +1 -0
- package/lib/shopperBaskets.d.ts +10259 -0
- package/lib/shopperBaskets.js +1 -0
- package/lib/shopperBasketsv2.cjs.d.ts +10453 -0
- package/lib/shopperBasketsv2.cjs.js +1 -0
- package/lib/shopperBasketsv2.d.ts +10453 -0
- package/lib/shopperBasketsv2.js +1 -0
- package/lib/shopperConsents.cjs.d.ts +1142 -0
- package/lib/shopperConsents.cjs.js +1 -0
- package/lib/shopperConsents.d.ts +1142 -0
- package/lib/shopperConsents.js +1 -0
- package/lib/shopperContext.cjs.d.ts +1401 -0
- package/lib/shopperContext.cjs.js +1 -0
- package/lib/shopperContext.d.ts +1401 -0
- package/lib/shopperContext.js +1 -0
- package/lib/shopperCustomers.cjs.d.ts +12185 -0
- package/lib/shopperCustomers.cjs.js +1 -0
- package/lib/shopperCustomers.d.ts +12185 -0
- package/lib/shopperCustomers.js +1 -0
- package/lib/shopperExperience.cjs.d.ts +1169 -0
- package/lib/shopperExperience.cjs.js +1 -0
- package/lib/shopperExperience.d.ts +1169 -0
- package/lib/shopperExperience.js +1 -0
- package/lib/shopperGiftCertificates.cjs.d.ts +729 -0
- package/lib/shopperGiftCertificates.cjs.js +1 -0
- package/lib/shopperGiftCertificates.d.ts +729 -0
- package/lib/shopperGiftCertificates.js +1 -0
- package/lib/shopperLogin.cjs.d.ts +3842 -0
- package/lib/shopperLogin.cjs.js +1 -0
- package/lib/shopperLogin.d.ts +3842 -0
- package/lib/shopperLogin.js +1 -0
- package/lib/shopperOrders.cjs.d.ts +5393 -0
- package/lib/shopperOrders.cjs.js +1 -0
- package/lib/shopperOrders.d.ts +5393 -0
- package/lib/shopperOrders.js +1 -0
- package/lib/shopperProducts.cjs.d.ts +3479 -0
- package/lib/shopperProducts.cjs.js +1 -0
- package/lib/shopperProducts.d.ts +3479 -0
- package/lib/shopperProducts.js +1 -0
- package/lib/shopperPromotions.cjs.d.ts +1001 -0
- package/lib/shopperPromotions.cjs.js +1 -0
- package/lib/shopperPromotions.d.ts +1001 -0
- package/lib/shopperPromotions.js +1 -0
- package/lib/shopperSearch.cjs.d.ts +3352 -0
- package/lib/shopperSearch.cjs.js +1 -0
- package/lib/shopperSearch.d.ts +3352 -0
- package/lib/shopperSearch.js +1 -0
- package/lib/shopperSeo.cjs.d.ts +769 -0
- package/lib/shopperSeo.cjs.js +1 -0
- package/lib/shopperSeo.d.ts +769 -0
- package/lib/shopperSeo.js +1 -0
- package/lib/shopperStores.cjs.d.ts +1289 -0
- package/lib/shopperStores.cjs.js +1 -0
- package/lib/shopperStores.d.ts +1289 -0
- package/lib/shopperStores.js +1 -0
- package/lib/templateUrl.cjs.d.ts +76 -0
- package/lib/templateUrl.cjs.js +1 -0
- package/lib/templateUrl.d.ts +76 -0
- package/lib/templateUrl.js +1 -0
- package/lib/version.cjs.d.ts +3 -0
- package/lib/version.cjs.js +1 -0
- package/lib/version.d.ts +3 -0
- package/lib/version.js +1 -0
- package/package.json +93 -26
package/lib/index.esm.d.ts
CHANGED
|
@@ -54886,6 +54886,7 @@ declare namespace helpers {
|
|
|
54886
54886
|
const isNode: boolean;
|
|
54887
54887
|
const globalObject: typeof globalThis;
|
|
54888
54888
|
const hasFetchAvailable: boolean;
|
|
54889
|
+
// TODO: Remove this function in the next major version
|
|
54889
54890
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
54890
54891
|
const fetch: FetchFunction;
|
|
54891
54892
|
/**
|
|
@@ -57011,5 +57012,21 @@ declare namespace helpers {
|
|
|
57011
57012
|
*/
|
|
57012
57013
|
const encodeSCAPISpecialCharacters: (str: string) => string;
|
|
57013
57014
|
}
|
|
57014
|
-
|
|
57015
|
+
declare const pkg: {
|
|
57016
|
+
ShopperBaskets: typeof ShopperBaskets;
|
|
57017
|
+
ShopperBasketsV2: typeof ShopperBasketsV2;
|
|
57018
|
+
ShopperConsents: typeof ShopperConsents;
|
|
57019
|
+
ShopperContexts: typeof ShopperContexts;
|
|
57020
|
+
ShopperCustomers: typeof ShopperCustomers;
|
|
57021
|
+
ShopperExperience: typeof ShopperExperience;
|
|
57022
|
+
ShopperGiftCertificates: typeof ShopperGiftCertificates;
|
|
57023
|
+
ShopperLogin: typeof ShopperLogin;
|
|
57024
|
+
ShopperOrders: typeof ShopperOrders;
|
|
57025
|
+
ShopperProducts: typeof ShopperProducts;
|
|
57026
|
+
ShopperPromotions: typeof ShopperPromotions;
|
|
57027
|
+
ShopperSearch: typeof ShopperSearch;
|
|
57028
|
+
ShopperSEO: typeof ShopperSEO;
|
|
57029
|
+
ShopperStores: typeof ShopperStores;
|
|
57030
|
+
};
|
|
57031
|
+
export { pkg as default, ShopperBaskets, ShopperBasketsV2, ShopperConsents, ShopperContexts, ShopperCustomers, ShopperExperience, ShopperGiftCertificates, ShopperLogin, ShopperOrders, ShopperProducts, ShopperPromotions, ShopperSearch, ShopperSEO, ShopperStores, ClientConfig, TemplateURL, helpers };
|
|
57015
57032
|
export type { ShopperBasketsTypes, ShopperBasketsV2Types, ShopperConsentsTypes, ShopperContextsTypes, ShopperCustomersTypes, ShopperExperienceTypes, ShopperGiftCertificatesTypes, ShopperLoginTypes, ShopperOrdersTypes, ShopperProductsTypes, ShopperPromotionsTypes, ShopperSearchTypes, ShopperSEOTypes, ShopperStoresTypes, ClientConfigInit, FetchFunction, FetchOptions };
|