Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

loop54-js-connector

Package Overview
Dependencies
5
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.9.128 to 1.10.143

49

lib/loop54-js-connector-client.js

@@ -65,3 +65,3 @@ 'use strict';

versions: {
libVersion: "1.9.128", //"128" will be replaced by teamcity. also in package.json
libVersion: "1.10.143", //"143" will be replaced by teamcity. also in package.json
apiVersion: "V3"

@@ -606,3 +606,50 @@ },

},
/**
* Used to perform a request to get information about attributes, indexed and non-indexed.
*/
getIndexedAttributes: function () {
var args = core.getOptionsAndCallback(arguments, 0);
if (args.error) {
return core.returnError(args.error,args.callback);
}
var options = args.options ? args.options : {};
var callback = args.callback ? args.callback : null;
var req = core.call(this.endpoint, "/getIndexedAttributes", {
customData:options.customData
}, null, callback, userId, apiKey, customHeaders);
return req;
},
/**
* Used to perform a request to get a list of all unique values that are indexed for the provided attribute.
* @param {string} attributeName The name of the attribute for which to fetch indexed values.
*/
getIndexedAttributeValues: function (attributeName) {
var args = core.getOptionsAndCallback(arguments, 1);
if (args.error) {
return core.returnError(args.error,args.callback);
}
var options = args.options ? args.options : {};
var callback = args.callback ? args.callback : null;
//validate input
if (typeof(attributeName) != "string" || attributeName.length == 0) {
return core.returnError("attributeName is either missing or not a string", callback);
}
var req = core.call(this.endpoint, "/getIndexedAttributeValues", {
attributeName: attributeName,
customData:options.customData
}, null, callback, userId, apiKey, customHeaders);
return req;
},
/**

@@ -609,0 +656,0 @@ * Used for removing current userId cookie and setting a new one.

4

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

@@ -36,3 +36,3 @@ "license": "BSD-3-Clause",

"babelify": "^10.0.0",
"chai": "^3.4.1",
"chai": "^4.0.0",
"chai-as-promised": "^7.1.1",

@@ -39,0 +39,0 @@ "express": "^4.16.2",

@@ -150,2 +150,4 @@ # JS-Connector

- CreateEvents
- GetIndexedAttributes
- GetIndexedAttributeValues

@@ -152,0 +154,0 @@ It also aids in developing a Loop54 integration by:

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc