Comparing version 9.0.2 to 10.0.0-beta.1
@@ -117,3 +117,3 @@ /// <reference types="ws" /> | ||
id: string; | ||
value: News[]; | ||
value: News; | ||
type: WebsocketResponseType.DATA; | ||
@@ -120,0 +120,0 @@ } | WebsocketErrorResponse | { |
106
package.json
{ | ||
"name": "newsware", | ||
"version": "9.0.2", | ||
"description": "Typescript client for interacting with the Newsware API", | ||
"main": "lib/src/index.js", | ||
"files": [ | ||
"lib", | ||
"src" | ||
], | ||
"types": "./lib/src/index.d.ts", | ||
"scripts": { | ||
"prepare": "npm run build", | ||
"build": "tsc -p tsconfig.build.json", | ||
"bundle": "browserify lib/index.js -o lib/bundle.js", | ||
"publish-package": "npm run build && npm publish", | ||
"test": "mocha -r ts-node/register -r './test/setup.ts' './src/**/*.test.ts'" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/encypher-studio/newsware_typescript_client.git" | ||
}, | ||
"keywords": [ | ||
"newsware", | ||
"client", | ||
"api", | ||
"news", | ||
"webosockets", | ||
"finance", | ||
"crypto" | ||
], | ||
"author": "Encypher Studio (https://encypherstudio.com/)", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/encypher-studio/newsware_typescript_client/issues" | ||
}, | ||
"homepage": "https://github.com/encypher-studio/newsware_typescript_client#readme", | ||
"devDependencies": { | ||
"@elastic/elasticsearch": "^8.10.0", | ||
"@types/chai": "^4.3.6", | ||
"@types/isomorphic-fetch": "^0.0.38", | ||
"@types/js-yaml": "^4.0.6", | ||
"@types/mocha": "^10.0.1", | ||
"@types/ws": "^8.5.5", | ||
"chai": "^4.3.8", | ||
"js-yaml": "^4.1.0", | ||
"mocha": "^10.2.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.1.3" | ||
}, | ||
"dependencies": { | ||
"isomorphic-fetch": "^3.0.0", | ||
"isomorphic-ws": "^5.0.0" | ||
} | ||
} | ||
"name": "newsware", | ||
"version": "10.0.0-beta.1", | ||
"description": "Typescript client for interacting with the Newsware API", | ||
"main": "lib/src/index.js", | ||
"files": [ | ||
"lib", | ||
"src" | ||
], | ||
"types": "./lib/src/index.d.ts", | ||
"scripts": { | ||
"prepare": "npm run build", | ||
"build": "tsc -p tsconfig.build.json", | ||
"bundle": "browserify lib/index.js -o lib/bundle.js", | ||
"publish-package": "npm run build && npm publish", | ||
"test": "mocha -r ts-node/register -r './test/setup.ts' './src/**/*.test.ts'" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/encypher-studio/newsware_typescript_client.git" | ||
}, | ||
"keywords": [ | ||
"newsware", | ||
"client", | ||
"api", | ||
"news", | ||
"webosockets", | ||
"finance", | ||
"crypto" | ||
], | ||
"author": "Encypher Studio (https://encypherstudio.com/)", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/encypher-studio/newsware_typescript_client/issues" | ||
}, | ||
"homepage": "https://github.com/encypher-studio/newsware_typescript_client#readme", | ||
"devDependencies": { | ||
"@elastic/elasticsearch": "^8.10.0", | ||
"@types/chai": "^4.3.6", | ||
"@types/isomorphic-fetch": "^0.0.38", | ||
"@types/js-yaml": "^4.0.6", | ||
"@types/mocha": "^10.0.1", | ||
"@types/ws": "^8.5.5", | ||
"chai": "^4.3.8", | ||
"js-yaml": "^4.1.0", | ||
"mocha": "^10.2.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.1.3" | ||
}, | ||
"dependencies": { | ||
"isomorphic-fetch": "^3.0.0", | ||
"isomorphic-ws": "^5.0.0" | ||
} | ||
} |
@@ -1,3 +0,3 @@ | ||
import {CloseEvent} from "isomorphic-ws" | ||
import {Field, FilterAction, FilterType, WebsocketMethod, WebsocketResponseType} from "./enums" | ||
import { CloseEvent } from "isomorphic-ws" | ||
import { Field, FilterAction, FilterType, WebsocketMethod, WebsocketResponseType } from "./enums" | ||
@@ -132,3 +132,3 @@ export type RestResponse<T> = RestResponseSuccess<T> | RestResponseError<T> | ||
id: string | ||
value: News[] | ||
value: News | ||
type: WebsocketResponseType.DATA | ||
@@ -135,0 +135,0 @@ } | WebsocketErrorResponse | { |
@@ -1,4 +0,4 @@ | ||
import {ConnectOptions, EndpointDescription, SubscribeOptions, WebsocketRequest, WebsocketResponse,} from "./types"; | ||
import WebSocket, {CloseEvent, ErrorEvent, MessageEvent} from "isomorphic-ws" | ||
import {Endpoint, WebsocketMethod, WebsocketResponseType} from "./enums"; | ||
import { ConnectOptions, EndpointDescription, SubscribeOptions, WebsocketRequest, WebsocketResponse, } from "./types"; | ||
import WebSocket, { CloseEvent, ErrorEvent, MessageEvent } from "isomorphic-ws" | ||
import { Endpoint, WebsocketMethod, WebsocketResponseType } from "./enums"; | ||
@@ -5,0 +5,0 @@ export class WsApi { |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
99031
1