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

@salling-group/stores

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salling-group/stores - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

package.json
{
"name": "@salling-group/stores",
"version": "1.0.1",
"description": "An SDK for Salling Group's Stores API ",

@@ -19,3 +18,4 @@ "main": "index.js",

"eslint": "^6.0.1"
}
},
"version": "1.0.2"
}

@@ -13,3 +13,3 @@ # Salling Group Stores SDK

The following example gets names of all Netto stores in the ZIP code 8200.
You will need to get a JWT secret or Bearer token with access to the Stores API from the [developer portal](https://developer.sallinggroup.com/).
You will need to get a JWT secret or Bearer token with access to the Stores API from the [developer portal](https://developer.sallinggroup.com/).
```js

@@ -31,3 +31,3 @@ const Stores = require('@salling-group/stores');

traverser.get().then((page) => console.log(page));
```
```
This prints:

@@ -50,3 +50,3 @@ ```json

|`token`|`String`|If `type` is `'bearer'`.|The token associared with the bearer token credentials.|
|`email`|`String`|If `type` is `'jwt'`.|The email associated with the JWT credentials.|
|`issuer`|`String`|If `type` is `'jwt'`.|The issuer associated with the JWT credentials.|
|`secret`|`String`|If `type` is `'jwt'`.|The secret associated with the JWT credentials.|

@@ -112,4 +112,4 @@

### `query(params = {})`
This queries the Stores API directly and returns a [Traverser](https://www.npmjs.com/package/@salling-group/pagination-traverser).
This queries the Stores API directly and returns a [Traverser](https://www.npmjs.com/package/@salling-group/pagination-traverser).
`params` is the search parameters.
This is mostly used internally.
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