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

@commercetools/frontend-sdk

Package Overview
Dependencies
Maintainers
2
Versions
76
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.11.1 to 1.11.2

lib/chunk-5OK6GMLI.mjs

12

CHANGELOG.md
## Version 1.11.2 (2024-05-02)
* Fixed bug in error reporting affecting versions 1.11.0 and 1.11.1
## Version 1.11.1 (2024-04-24)
* Reverted PageAPI interfaces back to types due to unintended breaking change
* Reverted PageAPI interfaces to types due to unintended breaking change
## Version 1.11.0 (2024-04-24)
* Added Frontastic-Request-Id to errorCaught event trigger
* Added Frontastic-Request-Id header value to SDKResponse
* Added unnecessary project files for omission on library release
* Changed Page API types to interfaces
* Changed PageAPI types to interfaces
## Version 1.10.1 (2024-04-09)
* Removed httpOnly flag from cookie options as default

@@ -19,0 +21,0 @@

@@ -914,7 +914,7 @@ "use strict";

}
if (response instanceof Error) {
if (response.data instanceof Error) {
return this.#handleError({
type: "ActionError",
frontasticRequestId: response.frontasticRequestId,
error: response.toString(),
error: response.data.toString(),
actionName: options.actionName

@@ -963,7 +963,7 @@ });

}
if (response instanceof Error) {
if (response.data instanceof Error) {
return this.#handleError({
type: "PageError",
frontasticRequestId: response.frontasticRequestId,
error: response.toString(),
error: response.data.toString(),
path: options.path

@@ -1003,7 +1003,7 @@ });

}
if (response instanceof Error) {
if (response.data instanceof Error) {
return this.#handleError({
type: "PageError",
frontasticRequestId: response.frontasticRequestId,
error: response.toString(),
error: response.data.toString(),
path

@@ -1048,7 +1048,7 @@ });

}
if (response instanceof Error) {
if (response.data instanceof Error) {
return this.#handleError({
type: "PageError",
frontasticRequestId: response.frontasticRequestId,
error: response.toString(),
error: response.data.toString(),
path

@@ -1055,0 +1055,0 @@ });

@@ -694,7 +694,7 @@ "use strict";

}
if (response instanceof Error) {
if (response.data instanceof Error) {
return this.#handleError({
type: "ActionError",
frontasticRequestId: response.frontasticRequestId,
error: response.toString(),
error: response.data.toString(),
actionName: options.actionName

@@ -743,7 +743,7 @@ });

}
if (response instanceof Error) {
if (response.data instanceof Error) {
return this.#handleError({
type: "PageError",
frontasticRequestId: response.frontasticRequestId,
error: response.toString(),
error: response.data.toString(),
path: options.path

@@ -783,7 +783,7 @@ });

}
if (response instanceof Error) {
if (response.data instanceof Error) {
return this.#handleError({
type: "PageError",
frontasticRequestId: response.frontasticRequestId,
error: response.toString(),
error: response.data.toString(),
path

@@ -828,7 +828,7 @@ });

}
if (response instanceof Error) {
if (response.data instanceof Error) {
return this.#handleError({
type: "PageError",
frontasticRequestId: response.frontasticRequestId,
error: response.toString(),
error: response.data.toString(),
path

@@ -835,0 +835,0 @@ });

{
"name": "@commercetools/frontend-sdk",
"version": "1.11.1",
"version": "1.11.2",
"license": "UNLICENSED",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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