Comparing version 1.10.2 to 1.10.4
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
/** | ||
@@ -6,3 +7,2 @@ * @packageDocumentation | ||
import { MqttConnectionConfig } from "./mqtt"; | ||
import WebsocketStream = require("websocket-stream"); | ||
/** | ||
@@ -24,2 +24,2 @@ * Options for websocket based connections in browser | ||
/** @internal */ | ||
export declare function create_websocket_stream(config: MqttConnectionConfig): WebsocketStream.WebSocketDuplex; | ||
export declare function create_websocket_stream(config: MqttConnectionConfig): import("stream").Duplex; |
@@ -25,5 +25,8 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.create_websocket_stream = exports.create_websocket_url = void 0; | ||
var WebsocketStream = require("websocket-stream"); | ||
var ws_1 = __importDefault(require("ws")); | ||
var Crypto = __importStar(require("crypto-js")); | ||
@@ -93,5 +96,6 @@ function zero_pad(n) { | ||
var url = create_websocket_url(config); | ||
return WebsocketStream(url, ['mqttv3.1'], config.websocket); | ||
var ws = new ws_1.default(url, ['mqttv3.1'], config.websocket); | ||
return ws_1.default.createWebSocketStream(ws); | ||
} | ||
exports.create_websocket_stream = create_websocket_stream; | ||
//# sourceMappingURL=ws.js.map |
{ | ||
"name": "aws-crt", | ||
"version": "1.10.2", | ||
"version": "1.10.4", | ||
"description": "NodeJS/browser bindings to the aws-c-* libraries", | ||
@@ -26,10 +26,8 @@ "homepage": "https://github.com/awslabs/aws-crt-nodejs", | ||
"devDependencies": { | ||
"typedoc-plugin-external-module-name": "^4.0.6", | ||
"typedoc-plugin-remove-references": "^0.0.5", | ||
"@types/crypto-js": "^3.1.43", | ||
"@types/jest": "^27.0.1", | ||
"@types/node": "^10.17.54", | ||
"@types/puppeteer": "^5.4.3", | ||
"@types/puppeteer": "^5.4.4", | ||
"@types/uuid": "^3.4.8", | ||
"@types/ws": "^6.0.4", | ||
"@types/ws": "^7.4.7", | ||
"aws-sdk": "^2.848.0", | ||
@@ -43,9 +41,11 @@ "jest": "^27.2.1", | ||
"typedoc-plugin-as-member-of": "^1.0.2", | ||
"typedoc-plugin-external-module-name": "^4.0.6", | ||
"typedoc-plugin-remove-references": "^0.0.5", | ||
"typescript": "^3.9.9", | ||
"uuid": "^8.3.2", | ||
"yargs": "^13.3.2" | ||
"yargs": "^17.2.1" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.21.4", | ||
"cmake-js": "6.1.0", | ||
"cmake-js": "6.3.0", | ||
"crypto-js": "^4.0.0", | ||
@@ -55,4 +55,4 @@ "fastestsmallesttextencoderdecoder": "^1.0.22", | ||
"tar": "^6.1.11", | ||
"websocket-stream": "^5.5.2" | ||
"ws": "^7.5.5" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
8774
10495427
+ Addedws@^7.5.5
+ Addedcmake-js@6.3.0(transitive)
- Removedwebsocket-stream@^5.5.2
- Removedajv@6.12.6(transitive)
- Removedasn1@0.2.6(transitive)
- Removedassert-plus@1.0.0(transitive)
- Removedasync-limiter@1.0.1(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedaws-sign2@0.7.0(transitive)
- Removedaws4@1.13.2(transitive)
- Removedbcrypt-pbkdf@1.0.2(transitive)
- Removedcaseless@0.12.0(transitive)
- Removedcmake-js@6.1.0(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcore-util-is@1.0.2(transitive)
- Removeddashdash@1.14.1(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removedduplexify@3.7.1(transitive)
- Removedecc-jsbn@0.1.2(transitive)
- Removedextend@3.0.2(transitive)
- Removedextsprintf@1.3.0(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedforever-agent@0.6.1(transitive)
- Removedform-data@2.3.3(transitive)
- Removedgetpass@0.1.7(transitive)
- Removedhar-schema@2.0.0(transitive)
- Removedhar-validator@5.1.5(transitive)
- Removedhttp-signature@1.2.0(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedisstream@0.1.2(transitive)
- Removedjsbn@0.1.1(transitive)
- Removedjson-schema@0.4.0(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedjson-stringify-safe@5.0.1(transitive)
- Removedjsprim@1.4.2(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedoauth-sign@0.9.0(transitive)
- Removedperformance-now@2.1.0(transitive)
- Removedpsl@1.10.0(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedqs@6.5.3(transitive)
- Removedrequest@2.88.2(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsshpk@1.18.0(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedtweetnacl@0.14.5(transitive)
- Removedultron@1.1.1(transitive)
- Removeduri-js@4.4.1(transitive)
- Removeduuid@3.4.0(transitive)
- Removedverror@1.10.0(transitive)
- Removedwebsocket-stream@5.5.2(transitive)
- Removedws@3.3.3(transitive)
Updatedcmake-js@6.3.0