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.0.4-alpha.0 to 1.0.4

.editorconfig

121

CHANGELOG.md
## Version 1.0.4-alpha.0 (2022-11-30)
## Version 1.0.4 (2023-01-19)
* Updated package version
* fix: error in error event trigger after reformatting
## Version 1.0.3 (2023-01-19)
* Updated perttier config and ran fix
* Removed trailingComma:all
* Added editorconfig for github to render tabs properly
## Version 1.0.1 (2023-01-18)
* Fix up prettier config to better suit the project
## Version 1.0.0 (2023-01-16)
* Full release out of alpha/beta
* Removed getPage for later release
## Version 5.0.0-alpha.0 (2023-01-06)
* Added generic type for CustomEvents to abstract extension class
* Exported SDKResponse type from package index
* Removed redundant StandardAction type
* Added generic type for Events
* (fix): bug in SDK error handling, wrapping error in { isError: false, data: error }
## Version 4.0.4-alpha.0 (2023-01-04)
* Fixed typo in .npmignore
## Version 4.0.3-alpha.0 (2023-01-04)
* Added .npmignore to optimise package size
## Version 4.0.2-alpha.0 (2022-12-20)
* Replaced webpack build with esbuild and tsc
## Version 4.0.1-alpha.0 (2022-12-14)
* fix: export SDK class type for extension
## Version 4.0.0-alpha.0 (2022-12-14)
* Removed SDK class from public export
* Changed format of params of callAction and getPage mathods
## Version 3.2.0-alpha.0 (2022-12-13)
Updated and extended StandardEvents type
## Version 3.1.0-alpha.0 (2022-12-13)
* Updated StandardEvents type
## Version 3.0.0-alpha.0 (2022-12-12)
* Added more descriptive error types, error event triggering handled by SDK
* Updated type of dynamic event return to object with unknown keys and data
## Version 2.4.1-alpha.0 (2022-12-09)
* Exposed ActionError class
## Version 2.4.0-alpha.0 (2022-12-09)
* Updated data type of action error event
## Version 2.3.0-alpha.0 (2022-12-09)
* Changed return type of callAction to better describe and handle errors
## Version 2.2.0-alpha.0 (2022-12-09)
* Added actionError StandardEvent type
## Version 2.1.0-alpha.0 (2022-12-09)
* Updated callAction return type so cannot be void
* Event names modified
* Updated fomatting of CHANGELOG.md
* Fixed dependency issues
## Version 2.0.0-alpha.0 (2022-12-06)
* Fixed major NPM deployment issue
## Version 1.1.3-alpha.0 (2022-12-06)
* Updated prepublishOnly script
## Version 1.1.1-alpha.0 (2022-12-06)
* Updated name of emitter class and export type
## Version 1.1.0-alpha.0 (2022-12-05)
* Added error handling
## Version 1.0.7-alpha.0 (2022-12-05)
* Hide event handler modifiers to prevent extensions accessing others
## Version 1.0.6-alpha.0 (2022-11-30)
* Fixed typo in README.md
## Version 1.0.5-alpha.0 (2022-11-30)
* Updated method name
## Version 1.0.4-alpha.0 (2022-11-30)
* Added README.md

@@ -11,6 +124,6 @@

Initial release
* Initial release
## Version 1.0.0-alpha.0 (2022-11-29)
Initial release
* Initial release

48

package.json
{
"name": "@commercetools/frontend-sdk",
"version": "1.0.4-alpha.0",
"license": "UNLICENSED",
"main": "lib/index.js",
"scripts": {
"build": "esbuild --outdir=lib --bundle --format=cjs src/index.ts && yarn build:types",
"dev": "concurrently -n ESBUILD,TSC -c magenta,cyan \"esbuild --outdir=lib --bundle --format=cjs --watch src/index.ts\" \"yarn build:types --watch\"",
"release": "esbuild --outdir=release --bundle --format=cjs --minify src/index.ts && yarn build:types",
"build:types": "tsc --emitDeclarationOnly --outDir lib"
},
"dependencies": {
"js-cookie": "3.0.1",
"typescript": "4.8.3"
},
"devDependencies": {
"@types/core-js": "2.5.5",
"@types/js-cookie": "3.0.2",
"@types/node": "18.7.18",
"concurrently": "7.5.0",
"esbuild": "0.15.8",
"prettier": "2.7.1"
}
"name": "@commercetools/frontend-sdk",
"version": "1.0.4",
"license": "UNLICENSED",
"main": "lib/index.js",
"scripts": {
"dev": "concurrently -n ESBUILD,TSC -c magenta,cyan \"esbuild --outdir=lib --bundle --format=cjs --watch src/index.ts\" \"yarn dev:types --watch\"",
"build": "esbuild --outdir=lib --bundle --format=cjs src/index.ts && yarn build:types",
"release": "esbuild --outdir=lib --bundle --format=cjs --minify src/index.ts && yarn release:types",
"prepublishOnly": "rm -rf lib && yarn release",
"dev:types": "tsc --emitDeclarationOnly --outDir lib",
"build:types": "tsc --emitDeclarationOnly --outDir lib",
"release:types": "tsc --emitDeclarationOnly --outDir lib",
"prettier:fix": "prettier --write ."
},
"dependencies": {
"js-cookie": "3.0.1"
},
"devDependencies": {
"@types/core-js": "2.5.5",
"@types/js-cookie": "3.0.2",
"@types/node": "18.7.18",
"concurrently": "7.5.0",
"esbuild": "0.15.8",
"prettier": "2.7.1",
"typescript": "^4.9.3"
}
}

@@ -7,3 +7,2 @@ # commercetools Frontend SDK

providing core configuration and event management. Currently only within
the alpha release stage, documentation is currently unavilable.
the alpha release stage, documentation is currently unavailable.
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