@equitysim/trkd-client
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@equitysim/trkd-client", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "REST Client for TRKD API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -30,3 +30,4 @@ import fetch from 'node-fetch' | ||
// const json = await res.json() | ||
const responseObj = {'Token':'abc', 'Expiration': '2031-04-11T10:20:30Z'} | ||
const responseObj = JSON.parse("{'Token':'abc', 'Expiration': '2031-04-11T10:20:30Z'}"); | ||
console.log('token object: ' + responseObj); | ||
if (TRKDClient._redisConn) { | ||
@@ -33,0 +34,0 @@ TRKDClient._redisConn.set(`trkd:${TRKDClient._serviceAccount.username}`, JSON.stringify(responseObj)) |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
51941
1604
1