Socket
Socket
Sign inDemoInstall

aws-crt

Package Overview
Dependencies
Maintainers
4
Versions
123
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.21.1 to 1.21.2

18

MQTT5-UserGuide.md

@@ -24,2 +24,3 @@ # MQTT 5

* [Direct MQTT with PKCS12](#direct-mqtt-with-pkcs12-method)
* [Direct MQTT with Windows Certificate Store Method](#direct-mqtt-with-windows-certificate-store-method)
* [HTTP Proxy](#http-proxy)

@@ -302,2 +303,19 @@ * [Browser](#browser)

#### Direct MQTT with Windows Certificate Store Method
A MQTT5 direct connection can be made with mutual TLS with the certificate and private key in the Windows certificate store,
rather than simply being files on disk. To create a MQTT5 builder configured for this connection, see the following code:
```typescript
// Certificate store path below is an example.
let certificateStorePath : string = "CurrentUser\\MY\\A11F8A9B5DF5B98BA3508FBCA575D09570E0D2C6";
let builder = AwsIotMqtt5ClientConfigBuilder.newDirectMqttBuilderWithMtlsFromWindowsCertStorePath(
"<account-specific endpoint>",
certificateStorePath
);
let client : Mqtt5Client = new mqtt5.Mqtt5Client(builder.build());
```
Note: Windows Certificate Store connection support is only available on Windows devices.
#### HTTP Proxy

@@ -304,0 +322,0 @@ No matter what your connection transport or authentication method is, you may connect through an HTTP proxy

4

package.json
{
"name": "aws-crt",
"version": "1.21.1",
"version": "1.21.2",
"description": "NodeJS/browser bindings to the aws-c-* libraries",

@@ -54,3 +54,3 @@ "homepage": "https://github.com/awslabs/aws-crt-nodejs",

"@httptoolkit/websocket-stream": "^6.0.1",
"axios": "^1.6.0",
"axios": "^1.6.8",
"buffer": "^6.0.3",

@@ -57,0 +57,0 @@ "crypto-js": "^4.2.0",

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