@orbis-systems/orbis-api-client
Advanced tools
Comparing version 1.0.18 to 1.0.19
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _createClass=function(){function a(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),_APICategory2=require("./APICategory"),_APICategory3=_interopRequireDefault(_APICategory2);function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}function _classCallCheck(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&("object"==typeof b||"function"==typeof b)?b:a}function _inherits(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}var Research=function(a){function b(){return _classCallCheck(this,b),_possibleConstructorReturn(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}return _inherits(b,a),_createClass(b,[{key:"ipo",value:function(a){return this.client.get("research/ipo/"+a)}},{key:"indexComponents",value:function(a){var b=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1];return this.client.get("research/index/components/"+a,{loadQuotes:b})}},{key:"upgrades",value:function(){return this.client.get("research/upgrades")}},{key:"ownership",value:function(a){var b=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1];return this.client.get("research/ownerships/details/",{symbols:a,loadQuotes:b})}},{key:"earnings",value:function(){return this.client.get("research/earnings")}}]),b}(_APICategory3.default);exports.default=Research; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _createClass=function(){function a(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),_APICategory2=require("./APICategory"),_APICategory3=_interopRequireDefault(_APICategory2);function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}function _classCallCheck(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(a,b){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&("object"==typeof b||"function"==typeof b)?b:a}function _inherits(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}var Research=function(a){function b(){return _classCallCheck(this,b),_possibleConstructorReturn(this,(b.__proto__||Object.getPrototypeOf(b)).apply(this,arguments))}return _inherits(b,a),_createClass(b,[{key:"ipo",value:function(a,b,c){var d=!!(3<arguments.length&&void 0!==arguments[3])&&arguments[3];return this.client.get("research/ipo/"+a,{time:b,sort:c,loadQuotes:d})}},{key:"indexComponents",value:function(a){var b=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1];return this.client.get("research/index/components/"+a,{loadQuotes:b})}},{key:"upgrades",value:function(){return this.client.get("research/upgrades")}},{key:"ownership",value:function(a){var b=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1];return this.client.get("research/ownerships/details/",{symbols:a,loadQuotes:b})}},{key:"earnings",value:function(a,b){var c=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2];return this.client.get("research/earnings",{days:a,excludeOtcs:b,loadQuotes:c})}},{key:"earningsPortfolio",value:function(){return this.client.get("research/earnings/portfolio")}}]),b}(_APICategory3.default);exports.default=Research; |
{ | ||
"name": "@orbis-systems/orbis-api-client", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "", | ||
@@ -24,3 +24,3 @@ "main": "dist/lib/index.js", | ||
"axios": "^0.18.0", | ||
"babel-core": "^6.26.0", | ||
"babel-core": "^6.26.3", | ||
"babel-polyfill": "^6.0.16", | ||
@@ -27,0 +27,0 @@ "crypto-js": "^3.1.9-1", |
Sorry, the diff of this file is too big to display
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
308414
24
20
Updatedbabel-core@^6.26.3