iex-api
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -13,2 +13,2 @@ "use strict"; | ||
}; | ||
//# sourceMappingURL=attribution.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXR0cmlidXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvYXR0cmlidXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQTs7O0dBR0c7QUFDSCxrQkFBZTtJQUNiLFFBQVEsRUFBRSxnQ0FBZ0M7SUFDMUMsSUFBSSxFQUFFLGtDQUFrQztJQUN4QyxrQkFBa0IsRUFBRSxzQ0FBc0M7SUFDMUQscUJBQXFCLEVBQUUscUJBQXFCO0NBQzdDLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEV4cG9ydHMgaW5mb3JtYXRpb24gdGhhdCBpcyByZXF1aXJlZCB0byBwcm92aWRlIElFWCBhdHRyaWJ1dGlvbiBhcyBsaXN0ZWQgaW5cbiAqIHRoZWlyIEFQSSBkb2N1bWVudGF0aW9uOiBodHRwczovL2lleHRyYWRpbmcuY29tL2RldmVsb3Blci9kb2NzLyNhdHRyaWJ1dGlvblxuICovXG5leHBvcnQgZGVmYXVsdCB7XG4gIGNpdGF0aW9uOiAnRGF0YSBwcm92aWRlZCBmb3IgZnJlZSBieSBJRVguJyxcbiAgbGluazogJ2h0dHBzOi8vaWV4dHJhZGluZy5jb20vZGV2ZWxvcGVyJyxcbiAgdGVybXNPZlNlcnZpY2VMaW5rOiAnaHR0cHM6Ly9pZXh0cmFkaW5nLmNvbS9hcGktZXhoaWJpdC1hJyxcbiAgVE9QU1ByaWNlRGF0YUNpdGF0aW9uOiAnSUVYIFJlYWwtVGltZSBQcmljZSdcbn1cbiJdfQ== |
@@ -1,10 +0,3 @@ | ||
declare const _default: { | ||
attribution: { | ||
citation: string; | ||
link: string; | ||
termsOfServiceLink: string; | ||
TOPSPriceDataCitation: string; | ||
}; | ||
request: (path: string) => Promise<any>; | ||
}; | ||
export default _default; | ||
import Attribution from './attribution'; | ||
import Client from './client'; | ||
export { Attribution, Client }; |
12
index.js
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var attribution_1 = require("./attribution"); | ||
var request_1 = require("./request"); | ||
exports.default = { | ||
attribution: attribution_1.default, | ||
request: request_1.default | ||
}; | ||
//# sourceMappingURL=index.js.map | ||
const attribution_1 = require("./attribution"); | ||
exports.Attribution = attribution_1.default; | ||
const client_1 = require("./client"); | ||
exports.Client = client_1.default; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwrQ0FBd0M7QUFJdEMsc0JBSksscUJBQVcsQ0FJTDtBQUhiLHFDQUE4QjtBQUk1QixpQkFKSyxnQkFBTSxDQUlMIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IEF0dHJpYnV0aW9uIGZyb20gJy4vYXR0cmlidXRpb24nO1xuaW1wb3J0IENsaWVudCBmcm9tICcuL2NsaWVudCc7XG5cbmV4cG9ydCB7XG4gIEF0dHJpYnV0aW9uLFxuICBDbGllbnRcbn07XG4iXX0= |
{ | ||
"name": "iex-api", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Unofficial SDK for using the IEX API.", | ||
@@ -9,10 +9,9 @@ "main": "index.js", | ||
"build": "tsc", | ||
"pretest": "npm run build", | ||
"test": "./node_modules/.bin/mocha --require source-map-support/register 'build/**/__tests__/*.js'", | ||
"pretest": "tsc --noEmit --pretty", | ||
"test": "jest", | ||
"gitcheck": "git diff-index --quiet HEAD --", | ||
"removetests": "find build -name __tests__ -type d -exec rm -r {} +", | ||
"copystatic": "cp package.json LICENSE README.md build/", | ||
"predist": "npm run gitcheck && npm run test && npm run removetests && npm run copystatic", | ||
"copystatic": "cp package.json .npmignore LICENSE README.md build/", | ||
"predist": "npm run gitcheck && npm run test && npm run build && npm run copystatic", | ||
"dist": "cd build && npm publish", | ||
"prepublish": "[[ \"$PWD\" =~ build ]]" | ||
"prepublishOnly": "[[ \"$PWD\" =~ build ]]" | ||
}, | ||
@@ -37,14 +36,31 @@ "repository": { | ||
"homepage": "https://github.com/bilalq/iex-api#readme", | ||
"dependencies": { | ||
"isomorphic-fetch": "^2.2.1" | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@types/jest": "^21.1.8", | ||
"jest": "^21.2.1", | ||
"ts-jest": "^21.2.4", | ||
"typescript": "^2.6.2" | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "^4.0.5", | ||
"@types/isomorphic-fetch": "0.0.34", | ||
"@types/mocha": "^2.2.44", | ||
"chai": "^4.1.2", | ||
"mocha": "^4.0.1", | ||
"source-map-support": "^0.5.0", | ||
"typescript": "^2.6.1" | ||
"jest": { | ||
"collectCoverage": true, | ||
"collectCoverageFrom": [ | ||
"src/**/*.ts" | ||
], | ||
"coverageDirectory": "build/coverage", | ||
"mapCoverage": true, | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"tsx", | ||
"js", | ||
"jsx", | ||
"json" | ||
], | ||
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", | ||
"testPathIgnorePatterns": [ | ||
"/node_modules|build/" | ||
], | ||
"transform": { | ||
"^.+\\.tsx?$": "ts-jest" | ||
} | ||
} | ||
} |
@@ -10,5 +10,4 @@ iex-api | ||
* Add support for batch requests | ||
* Add support for CSV format data | ||
* Replace usage of isomorphic-fetch with fetch-ponyfill to avoid messing with globals | ||
* Add documentation | ||
[docs]: https://iextrading.com/developer/docs |
8460
0
4
59
10
13
- Removedisomorphic-fetch@^2.2.1
- Removedencoding@0.1.13(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)