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

@commercelayer/js-auth

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercelayer/js-auth - npm Package Compare versions

Comparing version 6.2.0 to 6.2.1

15

dist/index.d.ts

@@ -269,2 +269,5 @@ interface TBaseOptions {

}
/**
* A JWT payload that represents a `user`.
*/
type JWTUser = JWTBase & {

@@ -280,2 +283,5 @@ /** The type of credentials you're using to authenticate to the APIs. */

};
/**
* A JWT payload that represents a `dashboard`.
*/
type JWTDashboard = JWTBase & {

@@ -321,2 +327,5 @@ /** The type of credentials you're using to authenticate to the APIs. */

};
/**
* A JWT payload that represents a `webapp`.
*/
type JWTWebApp = SetRequired<JWTOrganizationBase, 'owner'> & {

@@ -332,2 +341,5 @@ /** The type of credentials you're using to authenticate to the APIs. */

};
/**
* A JWT payload that represents a `sales_channel`.
*/
type JWTSalesChannel = JWTOrganizationBase & {

@@ -339,2 +351,5 @@ /** The type of credentials you're using to authenticate to the APIs. */

};
/**
* A JWT payload that represents an `integration`.
*/
type JWTIntegration = JWTOrganizationBase & {

@@ -341,0 +356,0 @@ /** The type of credentials you're using to authenticate to the APIs. */

8

package.json
{
"name": "@commercelayer/js-auth",
"version": "6.2.0",
"version": "6.2.1",
"description": "A JavaScript library designed to simplify authentication when interacting with the Commerce Layer API.",

@@ -41,7 +41,7 @@ "repository": {

"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^20.12.7",
"@types/node": "^20.12.10",
"jsonwebtoken": "^9.0.2",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
},

@@ -57,4 +57,4 @@ "engines": {

"build": "tsup",
"jsr:publish": "pnpm dlx jsr publish"
"jsr:publish": "npx jsr publish"
}
}

@@ -57,3 +57,3 @@ # Commerce Layer JS Auth

| Grant type | Sales channel | Integration | Webapp |
| ---------------------- | ------------- | ----------- | ------ |
| ---------------------- | :-----------: | :---------: | :----: |
| **Client credentials** | ✅ | ✅ | |

@@ -60,0 +60,0 @@ | **Password** | ✅ | | |

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