Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

newsware

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

newsware - npm Package Compare versions

Comparing version 9.0.2 to 10.0.0-beta.1

2

lib/src/types.d.ts

@@ -117,3 +117,3 @@ /// <reference types="ws" />

id: string;
value: News[];
value: News;
type: WebsocketResponseType.DATA;

@@ -120,0 +120,0 @@ } | WebsocketErrorResponse | {

{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc