timeseries-record
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -6,4 +6,34 @@ /** | ||
/** | ||
* TODO: document | ||
* An atomic unit of time-series data. | ||
* | ||
* For convenience, this is the same definition of Record as | ||
* implemented in package `talib-binding`. | ||
*/ | ||
export declare function timeseriesRecord(): void; | ||
interface Record { | ||
/** | ||
* Time that the current Record began, in units of milliseconds | ||
* elapsed since January 1, 1970. | ||
*/ | ||
Time: number; | ||
/** | ||
* Opening value of current Record. | ||
*/ | ||
Open: number; | ||
/** | ||
* Highest value observed during current Record. | ||
*/ | ||
High: number; | ||
/** | ||
* Lowest value observed during current Record. | ||
*/ | ||
Low: number; | ||
/** | ||
* Closing value of current Record. | ||
*/ | ||
Close: number; | ||
/** | ||
* Volume observed in current Record. | ||
*/ | ||
Volume: number; | ||
} | ||
export default Record; |
@@ -7,8 +7,1 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* TODO: document | ||
*/ | ||
function timeseriesRecord() { | ||
// TODO: implement | ||
} | ||
exports.timeseriesRecord = timeseriesRecord; |
{ | ||
"name": "timeseries-record", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Interface for time-series record data", | ||
@@ -8,3 +8,5 @@ "main": "dist/timeseries-record.js", | ||
"scripts": { | ||
"install": "tsc", | ||
"prepublishOnly": "npm run compile", | ||
"compile": "npm run clean && tsc", | ||
"clean": "rm -rf dist", | ||
"test": "ava", | ||
@@ -17,2 +19,5 @@ "test:watch": "npm test -- --watch", | ||
}, | ||
"files": [ | ||
"dist/" | ||
], | ||
"husky": { | ||
@@ -38,7 +43,4 @@ "hooks": { | ||
"homepage": "https://github.com/strong-roots-capital/timeseries-record", | ||
"dependencies": { | ||
"devDependencies": { | ||
"@types/node": "^10.12.18", | ||
"typescript": "^3.2.2" | ||
}, | ||
"devDependencies": { | ||
"ava": "^1.0.0", | ||
@@ -49,3 +51,4 @@ "concurrently": "^4.1.0", | ||
"typedoc": "^0.13.0", | ||
"typedoc-plugin-markdown": "^1.1.20" | ||
"typedoc-plugin-markdown": "^1.1.20", | ||
"typescript": "^3.2.2" | ||
}, | ||
@@ -52,0 +55,0 @@ "ava": { |
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
0
0
4602
8
4
44
- Removed@types/node@^10.12.18
- Removedtypescript@^3.2.2
- Removed@types/node@10.17.60(transitive)
- Removedtypescript@3.9.10(transitive)