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

@ifings/api-client

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ifings/api-client - npm Package Compare versions

Comparing version 0.5.3 to 0.5.5

38

dist/index.js

@@ -9,34 +9,34 @@ "use strict";

var axios = require('axios');
var axios = require("axios");
var qs = require('qs');
var qs = require("qs");
var actuators = require('./routes/actuators');
var actuators = require("./routes/actuators");
var observedProperties = require('./routes/observed-properties');
var observedProperties = require("./routes/observed-properties");
var sensors = require('./routes/sensors');
var sensors = require("./routes/sensors");
var stacks = require('./routes/stacks');
var stacks = require("./routes/stacks");
var uom = require('./routes/uom');
var uom = require("./routes/uom");
var gtins = require('./routes/gtins');
var gtins = require("./routes/gtins");
var modules = require('./routes/modules');
var modules = require("./routes/modules");
var clients = require('./routes/clients');
var clients = require("./routes/clients");
var _accounts = require('./routes/accounts');
var _accounts = require("./routes/accounts");
var _sites = require('./routes/sites');
var _sites = require("./routes/sites");
var contacts = require('./routes/contacts');
var contacts = require("./routes/contacts");
var getRawData = require('./utils/get-raw-data');
var getRawData = require("./utils/get-raw-data");
var etagCache = require('./utils/axios-if-match-cache-intercept');
var etagCache = require("./utils/axios-if-match-cache-intercept");
var parameterSerialiserConfig = {
arrayFormat: 'repeat',
arrayFormat: "repeat",
indices: false

@@ -48,3 +48,3 @@ };

headers: {
'Content-Type': 'application/json'
"Content-Type": "application/json"
},

@@ -76,4 +76,4 @@ paramsSerializer: function paramsSerializer(parameters) {

contacts: contacts(instance),
sites: function sites(clientId, accountId) {
return _sites(clientId, accountId, instance);
sites: function sites(clientId, accountId, siteId) {
return _sites(clientId, accountId, siteId, instance);
},

@@ -80,0 +80,0 @@ etagCache: etagCache,

@@ -9,6 +9,8 @@ "use strict";

var methods = require('../utils/methods');
var methods = require("../utils/methods");
module.exports = function (clientId, accountId, instance) {
return _objectSpread({}, methods(instance, "/v3/clients/".concat(clientId, "/accounts/").concat(accountId, "/sites")));
module.exports = function (clientId, accountId, siteId, instance) {
return _objectSpread({
contacts: _objectSpread({}, methods(instance, "/v3/clients/".concat(clientId, "/accounts/").concat(accountId, "/sites/").concat(siteId, "/contacts")))
}, methods(instance, "/v3/clients/".concat(clientId, "/accounts/").concat(accountId, "/sites")));
};
{
"name": "@ifings/api-client",
"description": "iFings API client",
"version": "0.5.3",
"version": "0.5.5",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "scripts": {

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