Socket
Socket
Sign inDemoInstall

@commercetools/frontend-sdk

Package Overview
Dependencies
Maintainers
2
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools/frontend-sdk - npm Package Compare versions

Comparing version 1.9.0 to 1.9.1

231

CHANGELOG.md
## Version 1.9.1 (2024-02-06)
* Updated README.md
## Version 1.9.1 (2024-02-06)
* Updated README.md
* Added project level .gitignore files
* misc: Tagged release 1.9.0 for core
* Added configure method to DIContainer, linked to SDK.configure
* Initialisation of the DIContainer in the wrapper constructor
* Updated test
* Created index file for project constants
* Merge remote-tracking branch 'origin/master' into james/sdk-async-cookie-handling
* Removed deprecated orderHistoryFetched event
* Fixed TS errors in test
* Corrected JSDocs return types
* Added ability to override cookie handling in SDK.configure
* Revert "Temporary removal of cookie handling override"
* Fixed formatting
* misc: Tagged release 1.8.2 for core
* Deprecated Extension base class, replaced with Integration to correct terminolgy
* Temporary removal of cookie handling override
* feat(FP-4882): add integration class - deprecate extension class - remove abstract unregisterExtension(): void
* feat(FP-4679): rename param in SDKConfig
* feat(FP-4679): - rename isSDKConfigured to isDIConfigured - revert changes in the cookie methods
* feat(FP-4679): - add SDK configuration check - add cookie handling override to SDK
* Merge remote-tracking branch 'origin' into feat/FP-4679-extend-sdk-configuration
* Merge branch 'master' of https://github.com/FrontasticGmbH/frontastic
* Fixed formatting
* feat(FP-4679): extend sdk configuration to contain the cookie management interface
* feat(FP-4652): fix jsdocs wordings for coookie management interface
* misc: Tagged release 1.8.1 for core
* Changed prop name of backend locale
* feat(FP-4652): refactor cooking handling to use class
* Updated version
* Added support for 6 digit locales
* Fixed formatting
* Fixed formatting
* misc: Tagged release 1.8.0 for core
* Updated version
* Added missing describe import
* Added SSR support for rememberMeCookie helpers
* Rewording of JSDoc
* Added testing to CI
* Refactor test directory structure
* Made sessionLifetime optional in SDKConfig
* Merged with master, fixed conflicts and breaking change
* Added JSdocs for intellisense
* feat: address comments
* feat: address comments
* chore(FP-4517): update remember me cookie helpers to use cookie management tools
* feat: address comments
* feat: move timestamp to setup
* feat: mock the Date object
* feat: allow test with sessionLifetime value
* fix: format
* feat: address comments
* feat: address comments
* feat: update tests
* Sperated types into thie own files
* feat: add basic test
* feat: init tests, set sessionLifeTime in SDK constructor
* feat: add customization cookie lifetime
* Removed unused private methods on the EventManager
* Added JSDocs
* Added JSDocs
* Resolved rebase conflict
* Resolved rebase conflict
* misc: Tagged release 1.7.7 for core
* Updated version
* Added back frontastic-path header to getPage method
* Sends cuurency across in header for API calls
* Revert "Merge branch 'studio-deployment-branch'"
* Fixed formatting
* Fixed formatting
* misc: Tagged release 1.7.4 for core
* Merge branch 'master' of https://github.com/FrontasticGmbH/frontastic
* Added ServerOptions type to index export
* misc: Tagged release 1.7.3 for core
* Updated version
* misc: Tagged release 1.7.2 for core
* Updated version
* Updated version
* misc: Tagged release 1.7.1 for core
* Fixed formatting
* Updated version
* Refactor OptionsType -> ServerOptions
* Refactor OptionsType -> ServerOptions
* Added server cookie support for session handling
* Changed serverSession handling to take IncomingMessage
* Refactoring
* fix: formatting
* Removed use of js-cookie package
* Removed js-cookie package
* Removed js-cookie package
* Rework of cookie handling for better SSR support
* Rework of cookie handling for better SSR support
* Rework of cookie handling for better SSR support
* misc: Tagged release 1.7.0 for core
* Updated version
* feat: added support to pass serverSession in callAction
* Fixed formatting and commit history
* misc: Tagged release 1.6.2 for core
* Updated vresion
* Duplicated dev and prod build
* Corrected NODE_ENV flag
* Added tsup config file
* migrates to tsup
* misc: Tagged release 1.6.1 for core
* misc: Tagged release 1.6.0 for core
* Updated version
* Added optional serverSession parameter to getPage to pass server session for SSR
* Added serverSession helper to access server session cookie
* Claned obsolete SDK build files and added clean and reinstall scripts
* misc: Tagged release 1.5.0 for core
* Fixed formatting
* Updated version
* Replaced automatic assigning of Commercetools-Frontend-Extension-Version header in fetcher with optional extensionVersion parameter in SDKConfig
* Comment cleanup
* fixes links and title of sdk repo
* basic readme for frontend-sdk
* Merge branch 'master' of https://github.com/FrontasticGmbH/frontastic
* Cleaned up formatting
* misc: Tagged release 1.4.1 for core
* Updated version
* Added throwIfNotConfigured method to Page API calls
* Added optional query param to getPage
* misc: Tagged release 1.4.0 for core
* Updated version
* Implemented getPages method
* Fixed formatting
* misc: Tagged release 1.3.0 for core
* Updated version
* Refactor #handleError in SDK
* Refaactored error handling, wip: getPreview page API method
* Added getPreview page API method definition
* Added PagePreviewResponse type for wip page.getPreview method
* Removed nested isError property from FetchError
* Fixed formatting of CHANGELOG.md
* misc: Tagged release 1.2.7 for core
* Updated version
* fix: only add Commercetools-Frontend-Extension-Version header if NEXT_PUBLIC_EXT_BUILD_ID provided
* misc: Tagged release 1.2.6 for core
* Updated version
* fix: type generation, exclude test folder from build
* Fixed formatting
* Merge branch 'master' of https://github.com/FrontasticGmbH/frontastic
* Added test folder to .npmignore
* misc: Tagged release 1.2.5 for core
* Merge branch 'master' of https://github.com/FrontasticGmbH/frontastic
* fix: updated node version
* misc: Tagged release 1.2.4 for core
* Tidied changelog
* Updated version
* feat(FP-3869): Use Commercetools-Frontend-Extension-Version header on SDK
* Merge branch 'master' of https://github.com/FrontasticGmbH/frontastic
* fix: rememberMe cookie not being applied
* misc: Tagged release 1.2.3 for core
* misc: Tagged release 1.2.3 for core
* SDK version bump to 1.2.3
* updated locale tests
* makes currency mandatory
* removes redundant APILocale getter
* SDK accepts posix and bcp47 language tags/locales
* adds a simple test runner
* misc: Tagged release 1.2.2 for core
* Merge branch 'master' of https://github.com/FrontasticGmbH/frontastic
* Corrected formatting
* Updated version
* fix: included @frontastic/extension-types as dependency
* misc: Tagged release 1.2.1 for core
* Updated version
* Added support for arrays in action queries
* Merged on rebase
* Added initial query string helpers
* misc: Tagged release 1.2.0 for core
* Added yarn install to prepublishOnly script
* Updated version
* Added Page API types
* refactor: removed PageResponse type
* Added page API with getPage method
* wip: add back getPage method
* Added intial PageResponse type
* Added moduleResolution: node to tsconfig
* Added @frontastic/extension-types dependency
* misc: Tagged release 1.1.4 for core
* Updated version
* Changed BUILD_ID to EXT_BUILD_ID
* Updated formatting of CHANGELOG.md
* misc: Tagged release 1.1.3 for core
* fix: added NEXT_PUBLIC prefix to BUILD_ID env variable
* Updated version
* Cleaned up formatting
* misc: Tagged release 1.1.2 for core
* Merge branch 'master' of https://github.com/FrontasticGmbH/frontastic
* Updated version
* misc: Tagged release 1.1.1 for core
* Updated version
* Merge branch 'master' of https://github.com/FrontasticGmbH/frontastic
* fix: updated @types/node
* misc: Tagged release 1.1.0 for core
* Updated version
* Added access token support for multitenancy projects
* Added node to types in tsconfig
* misc: Tagged release 1.0.4 for core
* Updated version
* fix: error in error event trigger after reformatting
* misc: Tagged release 1.0.3 for core
* Updated perttier config and ran fix
* Removed trailingComma:all
* Run linting
* Added editorconfig for github to render tabs properly
* Updated version
* Run linting
* Indent with spaces instead of tabs
* Added prettierignore, fixed CHANGELOG.md
* Formatted code with new prettier config
* Fixed formatting
* misc: Tagged release 1.0.1 for core
* Updated version
* fix up prettier config to better suit the project
* Add tab width to .prettierrc
* misc: Tagged release 1.0.0 for core
* Full release out of alpha/beta
* Removed getPage for later release
* Updated formatting
* Removed yarn install from prepublishOnly
## Version 1.9.0 (2023-11-28)

@@ -3,0 +234,0 @@

2

package.json
{
"name": "@commercetools/frontend-sdk",
"version": "1.9.0",
"version": "1.9.1",
"license": "UNLICENSED",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -9,9 +9,9 @@ <h2 align="center">commercetools Frontend SDK</h2>

The commercetools Frontend SDK is a TypeScript library that simplifies the process of creating custom components and integrations in your commercetools Frontend project. This SDK enables flexible and customizable frontend development, event handling, and support for extensions to expose commercetools Frontend API integrations.
The commercetools Frontend SDK is a TypeScript library that simplifies the process of creating custom components and integrations in your commercetools Frontend project. This SDK enables flexible and customizable frontend development, event handling, and support for integrations to expose commercetools Frontend API extensions.
## Installation
To install the SDK and its dependencies in your project, run:
To install the base SDK in your project, run:
```bash
yarn add @commercetools/frontend-sdk @commercetools/frontend-domain-types
yarn add @commercetools/frontend-sdk
```

@@ -18,0 +18,0 @@

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