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

aws-crt

Package Overview
Dependencies
Maintainers
4
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-crt - npm Package Compare versions

Comparing version 1.10.2 to 1.10.4

4

dist.browser/browser/ws.d.ts

@@ -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

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