Socket
Socket
Sign inDemoInstall

@shopware-pwa/api-client

Package Overview
Dependencies
Maintainers
2
Versions
588
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopware-pwa/api-client - npm Package Compare versions

Comparing version 0.1.20 to 0.2.0

18

dist/index.d.ts

@@ -7,3 +7,3 @@ import { AxiosInstance, AxiosResponse } from 'axios';

*/
declare type ClientSettings = {
type ClientSettings = {
/**

@@ -301,2 +301,12 @@ * shopware URL

}>;
/**
* Checking if user is newsletter subscriber
*
* @throws ClientApiError
* @public
*/
declare function isNewsletterSubscriber(contextInstance?: ShopwareApiInstance): Promise<{
status: string;
apiAlias: string;
}>;

@@ -834,2 +844,6 @@ /**

*/
declare const getNewsletterRecipientEndpoint: () => string;
/**
* @public
*/
declare const getPageResolverEndpoint: () => string;

@@ -901,2 +915,2 @@ /**

export { ClientSettings, ConfigChangedArgs, ContactFormData, CustomerRegisterResponse, CustomerResetPasswordParam, CustomerUpdateEmailParam, CustomerUpdatePasswordParam, CustomerUpdateProfileParam, GetStoreNavigationParams, NewsletterSubscribeData, ShopwareApiInstance, addCartItems, addProductReview, addProductToCart, addPromotionCode, addWishlistProduct, cancelOrder, changeCartItemQuantity, changeOrderPaymentMethod, clearCart, config, confirmAccountRegistration, confirmPasswordReset, createCustomerAddress, createInstance, createOrder, deleteCustomerAddress, getAddWishlistProductEndpoint, getAvailableCountries, getAvailableCurrencies, getAvailableLanguages, getAvailablePaymentMethods, getAvailableSalutations, getAvailableShippingMethods, getCancelOrderEndpoint, getCart, getCategories, getCategory, getCategoryDetailsEndpoint, getCategoryEndpoint, getCategoryProducts, getChangeOrderPaymentMethodEndpoint, getCheckoutCartEndpoint, getCheckoutCartLineItemEndpoint, getCheckoutOrderEndpoint, getCmsPage, getConfirmPasswordResetEndpoint, getContactFormEndpoint, getContextCountryEndpoint, getContextCurrencyEndpoint, getContextEndpoint, getContextLanguageEndpoint, getContextPaymentMethodEndpoint, getContextSalutationEndpoint, getContextShippingMethodEndpoint, getCustomer, getCustomerAccountConfirmEndpoint, getCustomerAddAddressEndpoint, getCustomerAddress, getCustomerAddressEndpoint, getCustomerAddresses, getCustomerDefaultBillingAddressEndpoint, getCustomerDefaultShippingAddressEndpoint, getCustomerDetailsUpdateEndpoint, getCustomerEndpoint, getCustomerLoginEndpoint, getCustomerLogoutEndpoint, getCustomerOrderEndpoint, getCustomerOrders, getCustomerRegisterEndpoint, getCustomerResetPasswordEndpoint, getCustomerUpdateEmailEndpoint, getCustomerUpdatePasswordEndpoint, getCustomerUpdatePaymentMethodEndpoint, getGetWishlistProductsEndpoint, getLandingPage, getLandingPageDetailsEndpoint, getMergeWishlistProductsEndpoint, getNewsletterSubscribeEndpoint, getNewsletterUnsubscribeEndpoint, getOrderDetails, getPageResolverEndpoint, getPaymentMethodDetails, getProduct, getProductDetailsEndpoint, getProductEndpoint, getProductListingEndpoint, getProductReviews, getProductReviewsEndpoint, getProducts, getRemoveWishlistProductEndpoint, getSearchEndpoint, getSeoUrl, getSeoUrlEndpoint, getSeoUrls, getSessionContext, getShippingMethodDetails, getStoreNavigation, getStoreNavigationEndpoint, getStoreNewsletterConfirmEndpoint, getStoreNewsletterSubscribeEndpoint, getStoreNewsletterUnsubscribeEndpoint, getSuggestSearchEndpoint, getUserCountry, getUserSalutation, getWishlistProducts, handlePayment, handlePaymentEndpoint, invokeGet, invokePost, login, logout, mergeWishlistProducts, newsletterSubscribe, newsletterUnsubscribe, onConfigChange, register, removeCartItem, removeWishlistProduct, resetPassword, searchProducts, searchSuggestedProducts, sendContactForm, setCurrentBillingAddress, setCurrentCurrency, setCurrentLanguage, setCurrentPaymentMethod, setCurrentShippingAddress, setCurrentShippingMethod, setDefaultCustomerBillingAddress, setDefaultCustomerPaymentMethod, setDefaultCustomerShippingAddress, setup, update, updateCustomerAddress, updateEmail, updatePassword, updateProfile };
export { ClientSettings, ConfigChangedArgs, ContactFormData, CustomerRegisterResponse, CustomerResetPasswordParam, CustomerUpdateEmailParam, CustomerUpdatePasswordParam, CustomerUpdateProfileParam, GetStoreNavigationParams, NewsletterSubscribeData, ShopwareApiInstance, addCartItems, addProductReview, addProductToCart, addPromotionCode, addWishlistProduct, cancelOrder, changeCartItemQuantity, changeOrderPaymentMethod, clearCart, config, confirmAccountRegistration, confirmPasswordReset, createCustomerAddress, createInstance, createOrder, deleteCustomerAddress, getAddWishlistProductEndpoint, getAvailableCountries, getAvailableCurrencies, getAvailableLanguages, getAvailablePaymentMethods, getAvailableSalutations, getAvailableShippingMethods, getCancelOrderEndpoint, getCart, getCategories, getCategory, getCategoryDetailsEndpoint, getCategoryEndpoint, getCategoryProducts, getChangeOrderPaymentMethodEndpoint, getCheckoutCartEndpoint, getCheckoutCartLineItemEndpoint, getCheckoutOrderEndpoint, getCmsPage, getConfirmPasswordResetEndpoint, getContactFormEndpoint, getContextCountryEndpoint, getContextCurrencyEndpoint, getContextEndpoint, getContextLanguageEndpoint, getContextPaymentMethodEndpoint, getContextSalutationEndpoint, getContextShippingMethodEndpoint, getCustomer, getCustomerAccountConfirmEndpoint, getCustomerAddAddressEndpoint, getCustomerAddress, getCustomerAddressEndpoint, getCustomerAddresses, getCustomerDefaultBillingAddressEndpoint, getCustomerDefaultShippingAddressEndpoint, getCustomerDetailsUpdateEndpoint, getCustomerEndpoint, getCustomerLoginEndpoint, getCustomerLogoutEndpoint, getCustomerOrderEndpoint, getCustomerOrders, getCustomerRegisterEndpoint, getCustomerResetPasswordEndpoint, getCustomerUpdateEmailEndpoint, getCustomerUpdatePasswordEndpoint, getCustomerUpdatePaymentMethodEndpoint, getGetWishlistProductsEndpoint, getLandingPage, getLandingPageDetailsEndpoint, getMergeWishlistProductsEndpoint, getNewsletterRecipientEndpoint, getNewsletterSubscribeEndpoint, getNewsletterUnsubscribeEndpoint, getOrderDetails, getPageResolverEndpoint, getPaymentMethodDetails, getProduct, getProductDetailsEndpoint, getProductEndpoint, getProductListingEndpoint, getProductReviews, getProductReviewsEndpoint, getProducts, getRemoveWishlistProductEndpoint, getSearchEndpoint, getSeoUrl, getSeoUrlEndpoint, getSeoUrls, getSessionContext, getShippingMethodDetails, getStoreNavigation, getStoreNavigationEndpoint, getStoreNewsletterConfirmEndpoint, getStoreNewsletterSubscribeEndpoint, getStoreNewsletterUnsubscribeEndpoint, getSuggestSearchEndpoint, getUserCountry, getUserSalutation, getWishlistProducts, handlePayment, handlePaymentEndpoint, invokeGet, invokePost, isNewsletterSubscriber, login, logout, mergeWishlistProducts, newsletterSubscribe, newsletterUnsubscribe, onConfigChange, register, removeCartItem, removeWishlistProduct, resetPassword, searchProducts, searchSuggestedProducts, sendContactForm, setCurrentBillingAddress, setCurrentCurrency, setCurrentLanguage, setCurrentPaymentMethod, setCurrentShippingAddress, setCurrentShippingMethod, setDefaultCustomerBillingAddress, setDefaultCustomerPaymentMethod, setDefaultCustomerShippingAddress, setup, update, updateCustomerAddress, updateEmail, updatePassword, updateProfile };

6

package.json
{
"name": "@shopware-pwa/api-client",
"version": "0.1.20",
"version": "0.2.0",
"module": "./dist/index.mjs",

@@ -15,6 +15,6 @@ "types": "./dist/index.d.ts",

"@faker-js/faker": "^7.6.0",
"@vitest/coverage-c8": "^0.23.4",
"@vitest/coverage-c8": "^0.25.2",
"eslint-config-shopware": "0.0.0",
"tsconfig": "0.0.0",
"vitest": "^0.23.4"
"vitest": "^0.25.2"
},

@@ -21,0 +21,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc