@ifings/api-client
Advanced tools
Comparing version 0.11.0 to 0.11.1
@@ -103,3 +103,3 @@ "use strict"; | ||
var config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; | ||
return instance.create("".concat(baseUrl, "/").concat(id, "/documents"), data, config); | ||
return methods(instance, "".concat(baseUrl, "/").concat(id, "/documents")).create(data, config); | ||
}, | ||
@@ -113,3 +113,3 @@ edit: function edit(id) { | ||
return instance.patch("".concat(baseUrl, "/").concat(id, "/documents/").concat(documentId), restData, config); | ||
return methods(instance, "".concat(baseUrl, "/").concat(id, "/documents/").concat(documentId)).patch(restData, config); | ||
}, | ||
@@ -120,3 +120,3 @@ delete: function _delete(id) { | ||
var documentId = data.documentId; | ||
return instance.delete("".concat(baseUrl, "/").concat(id, "/documents/").concat(documentId), documentId, config); | ||
return methods(instance, "".concat(baseUrl, "/").concat(id, "/documents/").concat(documentId)).delete(documentId, config); | ||
} | ||
@@ -123,0 +123,0 @@ } |
{ | ||
"name": "@ifings/api-client", | ||
"description": "iFings API client", | ||
"version": "0.11.0", | ||
"version": "0.11.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
50988