Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

commerce-sdk-isomorphic

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commerce-sdk-isomorphic - npm Package Versions

134

1.10.4

Diff

Changelog

Source

v1.10.4

Bug fixes
  • Mark expand query parameter for getProduct endpoint as optional instead of required
joel.uong.sfcc
published 1.10.3 •

Changelog

Source

v1.10.3

Bug fixes
  • Fix expand query parameter for shopper-products
  • Remove retrieveCredQualityUserInfo endpoint from shopper-login as this functionality was removed from SLAS
joel.uong.sfcc
published 1.10.2 •

Changelog

Source

v1.10.2

Documentation
  • Descriptions for certain shopper-login and shopper-context operations have been updated on generated documentation site
joel.uong.sfcc
published 1.10.1 •

Changelog

Source

v1.10.1

Bug fixes
  • The 'To is not a function' issue is fixed.
joel.uong.sfcc
published 1.10.0 •

Changelog

Source

v1.10.0

Enhancements
  • Cookies are disabled by default.
  • The cross-fetch dependency has been removed. Now commerce-sdk-isomorphic uses native fetch in browser and node-fetch library in node. This has potential impact for client implementations. Passing fetchOptions: {redirect: 'manual'} as called on the server-side to prevent following of redirects prior to this upgrade had no effect on the client because cross-fetch used XMLHttpRequest and was silently ignored. The new approach respects this redirect: 'manual' directive, potentially causing redirects on the client (given these optional parameters) to not be followed, which breaks flows including the SLAS authorizeCustomer method, which could fail with an opaqueredirect error.
API Added

Shopper Baskets

  • New Endpoints

    | Endpoint Name | Description | | ------------- |-------------| | updateAsAgentBasket | Marks a basket as an agent basket. | | addPriceAdjustmentToBasket | Adds a custom manual price adjustment to the basket. | | removePriceAdjustmentFromBasket | Removes a custom manual price adjustment from the basket. | | updatePriceAdjustmentInBasket | Updates a custom manual price adjustment on the basket. | | updateAsStorefrontBasket | Marks a basket as a storefront basket. |

joel.uong.sfcc
published 1.9.0 •

Changelog

Source

v1.9.0

API Added

monkey-jeff
published 1.8.0 •

Changelog

Source

v1.8.0

API Changes

Shopper Login

  • New Endpoints

    | Endpoint Name | Description | | ------------- |-------------| | getSessionBridgeAccessToken | Get a shopper JWT access token for a registered customer using session bridge | | getTrustedAgentAuthorizationToken | Obtains a new agent on behalf authorization token for a registered customer | | getTrustedAgentAccessToken | Get a shopper JWT access token for a registered customer using a trusted agent (Merchant) |

Enhancements
  • SLAS helpers support the channel_id (siteId) parameter
monkey-jeff
published 1.7.1 •

Changelog

Source

v1.7.1

Bug fixes
  • Fix SLAS callback error handling
  • Fix SLAS logout function
monkey-jeff
published 1.7.0 •

Changelog

Source

v1.7.0

  • Export API type definitions. They are available as top-level exports, following the pattern <API Name>Types.

Example usage:

import {ShopperBaskets, ShopperBasketsTypes} from "commerce-sdk-isomorphic"

const basketsClient = new ShopperBaskets(config)
const basket: ShopperBasketsTypes.Basket = await basketsClient.getBasket({ basketId: "some-basket" })
monkey-jeff
published 1.6.0 •

Changelog

Source

v1.6.0

API Changes

Shopper Login

  • New Endpoints

    | Endpoint Name | Description | | ------------- |-------------| | getPasswordResetToken | Request a reset password token | | resetPassword | Creates a new password |

Enchancements
  • More error handling has been added in the SLAS helpers
Bug fixes
  • SLAS helper loginRegisteredUserB2C no longer calls redirectURI when running server side
Documentation
  • README updated to explicitly note lack of CORS support for SCAPI
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