@ifings/api-client
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -9,32 +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 modules = require('./routes/modules'); | ||
var gtins = require("./routes/gtins"); | ||
var clients = require('./routes/clients'); | ||
var modules = require("./routes/modules"); | ||
var _accounts = require('./routes/accounts'); | ||
var clients = require("./routes/clients"); | ||
var _sites = require('./routes/sites'); | ||
var _accounts = require("./routes/accounts"); | ||
var contacts = require('./routes/contacts'); | ||
var _sites = require("./routes/sites"); | ||
var getRawData = require('./utils/get-raw-data'); | ||
var contacts = require("./routes/contacts"); | ||
var etagCache = require('./utils/axios-if-match-cache-intercept'); | ||
var getRawData = require("./utils/get-raw-data"); | ||
var etagCache = require("./utils/axios-if-match-cache-intercept"); | ||
var parameterSerialiserConfig = { | ||
arrayFormat: 'repeat', | ||
arrayFormat: "repeat", | ||
indices: false | ||
@@ -46,3 +48,3 @@ }; | ||
headers: { | ||
'Content-Type': 'application/json' | ||
"Content-Type": "application/json" | ||
}, | ||
@@ -68,2 +70,3 @@ paramsSerializer: function paramsSerializer(parameters) { | ||
uom: uom(instance), | ||
gtins: gtins(instance), | ||
clients: clients(instance), | ||
@@ -70,0 +73,0 @@ accounts: function accounts(clientId, accountId) { |
{ | ||
"name": "@ifings/api-client", | ||
"description": "iFings API client", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41856
18
321