@mindkeeper-solutions/cc-api
Advanced tools
Comparing version 1.0.4-8 to 1.0.4-9
@@ -44,3 +44,3 @@ 'use strict'; | ||
*/ | ||
_get(params = {}, path = '', options = {}) { | ||
_get(params, path = '', options = {}) { | ||
return this._request('GET', path, params, options); | ||
@@ -52,3 +52,3 @@ } | ||
*/ | ||
_post(params = {}, path = '', options = {}) { | ||
_post(params, path = '', options = {}) { | ||
return this._request('POST', path, params, options); | ||
@@ -268,2 +268,2 @@ } | ||
exports.__RewireAPI__ = _RewireAPI__; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jb250aW51b3VzLWNsb3VkLmpzIl0sIm5hbWVzIjpbImhvc3RzIiwibG9jYWwiLCJhcGkiLCJDb250aW51b3VzQ2xvdWQiLCJjb25zdHJ1Y3RvciIsInBhcmFtcyIsIl9kZWZhdWx0T3B0aW9ucyIsImhvc3RuYW1lIiwiX2V4cGFuZFJlZ2lvbkNvZGUiLCJyZWdpb25Db2RlIiwiYXV0aCIsInVzZXJuYW1lIiwicGFzc3dvcmQiLCJfZ2V0IiwicGF0aCIsIm9wdGlvbnMiLCJfcmVxdWVzdCIsIl9wb3N0IiwibWV0aG9kIiwidGVtcG9yYXJ5T3B0aW9ucyIsIk9iamVjdCIsImFzc2lnbiIsImNsb25lRGVlcCIsIl9zYW5pdGl6ZVBhdGgiLCJyZXF1ZXN0IiwiY29uc29sZSIsImFzc2VydCIsImlzU3RyaW5nIiwic2FuaXRpemVkUGF0aCIsImNsb25lIiwic3RhcnRzV2l0aCIsIlJlZmVyZW5jZUVycm9yIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7Ozs7QUFFQTs7Ozs7O0FBRUEsTUFBTUEsUUFBUTtBQUNiQyxRQUFPLFdBRE07QUFFYkMsTUFBSztBQUZRLENBQWQ7O0FBS0E7OztBQUdBLE1BQU1DLGVBQU4sQ0FBc0I7QUFDckI7Ozs7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lcnQoXy5pc1N0cmluZyhyZWdpb25Db2RlKSwgJ3JlZ2lvbkNvZGUgbXVzdCBiZSBhIFN0cmluZycpXG5cblx0XHRpZiAoIShyZWdpb25Db2RlIGluIGhvc3RzKSkge1xuXHRcdFx0dGhyb3cgbmV3IFJlZmVyZW5jZUVycm9yKFxuXHRcdFx0XHRgVGhlIHJlZ2lvbkNvZGUgXCIke3JlZ2lvbkNvZGV9XCIgaGFzIG5vIGhvc3QtY291bnRlcnBhcnRgXG5cdFx0XHQpXG5cdFx0fVxuXG5cdFx0aWYgKHJlZ2lvbkNvZGUgPT09ICdsb2NhbCcpIHtcblx0XHRcdHJldHVybiBob3N0c1tyZWdpb25Db2RlXVxuXHRcdH1cblxuXHRcdHJldHVybiBgJHtyZWdpb25Db2RlfS4ke2hvc3RzW3JlZ2lvbkNvZGVdfWBcblx0fVxufVxuXG5leHBvcnQgZGVmYXVsdCBDb250aW51b3VzQ2xvdWRcbiJdfQ== |
@@ -36,3 +36,3 @@ 'use strict'; | ||
console.assert(_get__('_').isPlainObject(options), 'options must be a PlainObject'); | ||
console.assert(_get__('_').isPlainObject(params) || _get__('_').isEmpty(params), 'params must be a PlainObject'); | ||
console.assert(_get__('_').isPlainObject(params), 'params must be a PlainObject'); | ||
@@ -281,2 +281,2 @@ const currentOptions = _get__('_').cloneDeep(options); | ||
exports.__RewireAPI__ = _RewireAPI__; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9oZWxwZXJzLmpzIl0sIm5hbWVzIjpbIkhlbHBlcnMiLCJyZXF1ZXN0Iiwib3B0aW9ucyIsInBhcmFtcyIsImNvbnNvbGUiLCJhc3NlcnQiLCJpc1BsYWluT2JqZWN0IiwiaXNFbXB0eSIsImN1cnJlbnRPcHRpb25zIiwiY2xvbmVEZWVwIiwicXVlcnlTdHJpbmciLCJzdHJpbmdpZnkiLCJsZW5ndGgiLCJwYXRoIiwiUHJ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wb3J0cyBwYXJzaW5nIG9mIEJvb2xlYW4tUGFyYW1ldGVycyBhbmQgTnVtYmVycy5cblx0Ki9cblx0c3RhdGljIF9wYXJzZVByaW1pdGl2ZXModmFsdWUpIHtcblx0XHRjb25zdCBib29sTWF0Y2hlciA9IC9eXFxzKih0cnVlfGZhbHNlKVxccyokL2ltXG5cdFx0Y29uc3QgdHJ1ZU1hdGNoZXIgPSAvXlxccyoodHJ1ZSlcXHMqJC9pbVxuXG5cdFx0aWYgKF8uaXNTdHJpbmcodmFsdWUpID09PSB0cnVlKSB7XG5cdFx0XHRpZiAoYm9vbE1hdGNoZXIudGVzdCh2YWx1ZSkgPT09IHRydWUpIHtcblx0XHRcdFx0cmV0dXJuIHRydWVNYXRjaGVyLnRlc3QodmFsdWUpID09PSB0cnVlXG5cdFx0XHR9XG5cdFx0XHRjb25zdCBjb252ZXJ0ZWRUb051bWJlciA9IF8udG9OdW1iZXIodmFsdWUpXG5cdFx0XHRpZiAoXy5pc05hTihjb252ZXJ0ZWRUb051bWJlcikgPT09IGZhbHNlKSB7XG5cdFx0XHRcdHJldHVybiBjb252ZXJ0ZWRUb051bWJlclxuXHRcdFx0fVxuXHRcdH1cblx0XHRyZXR1cm4gdmFsdWVcblx0fVxufVxuXG5leHBvcnQgZGVmYXVsdCBIZWxwZXJzXG4iXX0= |
{ | ||
"name": "@mindkeeper-solutions/cc-api", | ||
"version": "1.0.4-8", | ||
"version": "1.0.4-9", | ||
"description": "Continuous Cloud API-library. Unicornish wrapper around the Continuous Cloud API.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
85556