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

loop54-js-connector

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loop54-js-connector - npm Package Compare versions

Comparing version 1.3.110 to 1.3.111

22

lib/loop54-js-connector-client.js

@@ -65,6 +65,9 @@ 'use strict';

versions: {
libVersion: "1.3.110", //"110" will be replaced by teamcity. also in package.json
libVersion: "1.4.111", //"111" will be replaced by teamcity. also in package.json
apiVersion: "V3"
},
userIdCookieKey: "Loop54User",
userIdCookiePath: "/",
setUserId: function () {

@@ -76,3 +79,3 @@ var text = "";

}
cookies.setItem("Loop54User", text, 365 * 24 * 60 * 60, "/"); //365 days
cookies.setItem(core.userIdCookieKey, text, 365 * 24 * 60 * 60, core.userIdCookiePath); //365 days
return text;

@@ -82,3 +85,3 @@ },

getUserId: function () {
var existing = cookies.getItem("Loop54User");
var existing = cookies.getItem(core.userIdCookieKey);
if (existing) {

@@ -90,2 +93,6 @@ return existing;

removeUserId: function () {
return cookies.removeItem(core.userIdCookieKey, core.userIdCookiePath);
},
call: function (endpoint, path, body, method, callback, userId, apiKey) {

@@ -533,2 +540,11 @@

return req;
},
/**
* Used for removing current userId cookie and setting a new one.
*/
generateNewUserId: function () {
core.removeUserId();
return core.setUserId();
}

@@ -535,0 +551,0 @@ }

2

package.json
{
"name": "loop54-js-connector",
"version": "1.3.110",
"version": "1.3.111",
"description": "JS Wrapper for Loop54 JSON API",

@@ -5,0 +5,0 @@ "license": "BSD-3-Clause",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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