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

connect-datacache

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-datacache - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "connect-datacache",
"version": "1.0.1",
"version": "1.0.2",
"description": "Express session connector for IBM DataCache",

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

@@ -49,19 +49,20 @@ # connect-datacache

```javascript
var store = new DataCacheStore(
// required parameters when no custom client provided or no ENV credentials are set
restResource: 'http://dcsdomain.bluemix.net/resources/datacaches/{gridName}',
restResourceSecure: 'https://dcsdomain.bluemix.net/resources/datacaches/{gridName}',
gridName: '{gridName}',
username: '{username}',
password: '{password}',
// optional parameters - default values
mapName: '{gridName}',
eviction: 'LUT',
locking: 'optimistic',
contentType: 'application/json',
secure: true,
ttl: 3600,
prefix: 'sess:',
cfServiceName: null,
client: null
var store = new DataCacheStore({
// required parameters when no custom client provided or no ENV credentials are set
restResource: 'http://dcsdomain.bluemix.net/resources/datacaches/{gridName}',
restResourceSecure: 'https://dcsdomain.bluemix.net/resources/datacaches/{gridName}',
gridName: '{gridName}',
username: '{username}',
password: '{password}',
// optional parameters - default values
mapName: '{gridName}',
eviction: 'LUT',
locking: 'optimistic',
contentType: 'application/json',
secure: true,
ttl: 3600,
prefix: 'sess:',
cfServiceName: null,
client: null
}
);

@@ -68,0 +69,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