1.3.0-beta.2: types cleanup and webpack trim
This commit is contained in:
13
package.json
13
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "1.3.0-beta.1",
|
"version": "1.3.0-beta.2",
|
||||||
"description": "A production-ready Node.js connector for the Bybit APIs and WebSockets",
|
"description": "A production-ready Node.js connector for the Bybit APIs and WebSockets",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
@@ -16,11 +16,8 @@
|
|||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"pack": "webpack --config webpack/webpack.config.js",
|
"pack": "webpack --config webpack/webpack.config.js",
|
||||||
"prepush": "npm run build",
|
"prepush": "npm run build",
|
||||||
"prepublish": "npm run build"
|
"prepublish": "npm run build",
|
||||||
},
|
"betapublish": "npm publish --tag beta"
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/tiagosiebler/bybit-api"
|
|
||||||
},
|
},
|
||||||
"author": "Tiago Siebler (https://github.com/tiagosiebler)",
|
"author": "Tiago Siebler (https://github.com/tiagosiebler)",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
@@ -63,6 +60,10 @@
|
|||||||
"url": "https://github.com/sponsors/tiagosiebler"
|
"url": "https://github.com/sponsors/tiagosiebler"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/tiagosiebler/bybit-api"
|
||||||
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/tiagosiebler/bybit-api/issues"
|
"url": "https://github.com/tiagosiebler/bybit-api/issues"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { EventEmitter } from 'events';
|
import { EventEmitter } from 'events';
|
||||||
|
|
||||||
import { DefaultLogger } from './logger';
|
|
||||||
import { RestClient } from './rest-client';
|
import { RestClient } from './rest-client';
|
||||||
|
import { DefaultLogger } from './logger';
|
||||||
import { signMessage, serializeParams } from './util/requestUtils';
|
import { signMessage, serializeParams } from './util/requestUtils';
|
||||||
// import WebSocket from 'ws';
|
// import WebSocket from 'ws';
|
||||||
import WebSocket from 'isomorphic-ws';
|
import WebSocket from 'isomorphic-ws';
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
"compileOnSave": true,
|
"compileOnSave": true,
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"declarationMap": true,
|
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"target": "es6",
|
"target": "es6",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
|
|||||||
Reference in New Issue
Block a user