@ifings/api-client
Advanced tools
Comparing version 0.14.0 to 0.14.1
@@ -23,5 +23,5 @@ "use strict"; | ||
getById: function getById(id) { | ||
var query = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; | ||
return { | ||
withStatus: function withStatus() { | ||
var query = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
return instance.get("".concat(baseUrl, "(").concat(id, ")")).query(_objectSpread(_objectSpread({}, query), {}, { | ||
@@ -39,6 +39,5 @@ $expand: "Datastreams/Observations" | ||
}, | ||
getAll: function getAll() { | ||
getAll: function getAll(query) { | ||
return { | ||
withStatus: function withStatus() { | ||
var query = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
return instance.get(baseUrl).query(_objectSpread(_objectSpread({}, query), {}, { | ||
@@ -45,0 +44,0 @@ $expand: "Datastreams/Observations" |
{ | ||
"name": "@ifings/api-client", | ||
"description": "iFings API client", | ||
"version": "0.14.0", | ||
"version": "0.14.1", | ||
"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
54341
514