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

aws-iot-device-sdk-v2

Package Overview
Dependencies
Maintainers
4
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-iot-device-sdk-v2 - npm Package Compare versions

Comparing version 1.9.0 to 1.9.2

codebuild/cd/publish.yml

6

dist/browser.d.ts

@@ -7,3 +7,7 @@ /**

*/
import * as iotidentity from './iotidentity/iotidentityclient';
import * as greengrass from './greengrass/discoveryclient';
import * as iotjobs from './iotjobs/iotjobsclient';
import * as iotshadow from './iotshadow/iotshadowclient';
import { auth, http, io, iot, mqtt, mqtt5 } from 'aws-crt/dist.browser/browser';
export { auth, http, io, iot, mqtt, mqtt5 };
export { auth, greengrass, http, io, iot, iotidentity, iotjobs, iotshadow, mqtt, mqtt5 };

@@ -6,4 +6,27 @@ "use strict";

*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.mqtt5 = exports.mqtt = exports.iot = exports.io = exports.http = exports.auth = void 0;
exports.mqtt5 = exports.mqtt = exports.iotshadow = exports.iotjobs = exports.iotidentity = exports.iot = exports.io = exports.http = exports.greengrass = exports.auth = void 0;
/**

@@ -15,2 +38,10 @@ * Browser entry point for AWS IoT SDK.

*/
const iotidentity = __importStar(require("./iotidentity/iotidentityclient"));
exports.iotidentity = iotidentity;
const greengrass = __importStar(require("./greengrass/discoveryclient"));
exports.greengrass = greengrass;
const iotjobs = __importStar(require("./iotjobs/iotjobsclient"));
exports.iotjobs = iotjobs;
const iotshadow = __importStar(require("./iotshadow/iotshadowclient"));
exports.iotshadow = iotshadow;
const browser_1 = require("aws-crt/dist.browser/browser");

@@ -17,0 +48,0 @@ Object.defineProperty(exports, "auth", { enumerable: true, get: function () { return browser_1.auth; } });

5

dist/greengrass/discoveryclient.js

@@ -46,3 +46,3 @@ "use strict";

const aws_crt_1 = require("aws-crt");
const util_1 = require("util");
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
const model = __importStar(require("./model"));

@@ -104,3 +104,2 @@ exports.model = model;

let response = '';
const decoder = new util_1.TextDecoder('utf8');
stream.on('response', (status_code, headers) => {

@@ -112,3 +111,3 @@ if (status_code != 200) {

stream.on('data', (body_data) => {
response += decoder.decode(body_data);
response += (0, util_utf8_browser_1.toUtf8)(new Uint8Array(body_data));
});

@@ -115,0 +114,0 @@ stream.on('end', () => {

@@ -27,3 +27,2 @@ /**

private mqttAdapter;
private decoder;
private static INVALID_PAYLOAD_PARSING_ERROR;

@@ -30,0 +29,0 @@ private static createClientError;

@@ -48,3 +48,3 @@ "use strict";

exports.model = model;
const util_1 = require("util");
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
const service_client_mqtt_adapter = __importStar(require("../service_client_mqtt_adapter"));

@@ -81,3 +81,2 @@ /**

constructor(connection) {
this.decoder = new util_1.TextDecoder('utf-8');
if (connection !== undefined) {

@@ -170,3 +169,3 @@ this.mqttAdapter = new service_client_mqtt_adapter.ServiceClientMqtt311Adapter(connection);

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -214,3 +213,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -259,3 +258,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -303,3 +302,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -373,3 +372,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -417,3 +416,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -420,0 +419,0 @@ }

@@ -27,3 +27,2 @@ /**

private mqttAdapter;
private decoder;
private static INVALID_PAYLOAD_PARSING_ERROR;

@@ -30,0 +29,0 @@ private static createClientError;

@@ -48,3 +48,3 @@ "use strict";

exports.model = model;
const util_1 = require("util");
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
const service_client_mqtt_adapter = __importStar(require("../service_client_mqtt_adapter"));

@@ -81,3 +81,2 @@ /**

constructor(connection) {
this.decoder = new util_1.TextDecoder('utf-8');
if (connection !== undefined) {

@@ -147,3 +146,3 @@ this.mqttAdapter = new service_client_mqtt_adapter.ServiceClientMqtt311Adapter(connection);

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -192,3 +191,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -238,3 +237,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -283,3 +282,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -329,3 +328,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -375,3 +374,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -447,3 +446,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -517,3 +516,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -562,3 +561,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -607,3 +606,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -610,0 +609,0 @@ }

@@ -27,3 +27,2 @@ /**

private mqttAdapter;
private decoder;
private static INVALID_PAYLOAD_PARSING_ERROR;

@@ -30,0 +29,0 @@ private static createClientError;

@@ -48,3 +48,3 @@ "use strict";

exports.model = model;
const util_1 = require("util");
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
const service_client_mqtt_adapter = __importStar(require("../service_client_mqtt_adapter"));

@@ -81,3 +81,2 @@ /**

constructor(connection) {
this.decoder = new util_1.TextDecoder('utf-8');
if (connection !== undefined) {

@@ -147,3 +146,3 @@ this.mqttAdapter = new service_client_mqtt_adapter.ServiceClientMqtt311Adapter(connection);

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -192,3 +191,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -238,3 +237,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -284,3 +283,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -380,3 +379,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -425,3 +424,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -471,3 +470,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -517,3 +516,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -562,3 +561,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -634,3 +633,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -679,3 +678,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -724,3 +723,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -819,3 +818,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -865,3 +864,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -937,3 +936,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -983,3 +982,3 @@ }

try {
const payload_text = this.decoder.decode(payload);
const payload_text = (0, util_utf8_browser_1.toUtf8)(new Uint8Array(payload));
response = JSON.parse(payload_text);

@@ -986,0 +985,0 @@ }

@@ -13,3 +13,3 @@ # Frequently Asked Questions

```
You can also enable [CloudWatch logging](https://docs.aws.amazon.com/iot/latest/developerguide/cloud-watch-logs.html) for IoT which will provide you with additional information that is not avaible on the client side sdk.
You can also enable [CloudWatch logging](https://docs.aws.amazon.com/iot/latest/developerguide/cloud-watch-logs.html) for IoT which will provide you with additional information that is not available on the client side sdk.

@@ -96,2 +96,2 @@ ### I keep getting AWS_ERROR_MQTT_UNEXPECTED_HANGUP

* [Discussion](https://github.com/aws/aws-iot-device-sdk-js-v2/discussions) questions are also a great way to ask other questions about this sdk.
* [Open an issue](https://github.com/aws/aws-iot-device-sdk-js-v2/issues) if you find a bug or have a feature request
* [Open an issue](https://github.com/aws/aws-iot-device-sdk-js-v2/issues) if you find a bug or have a feature request

@@ -13,2 +13,7 @@ /*

import * as iotidentity from './iotidentity/iotidentityclient';
import * as greengrass from './greengrass/discoveryclient';
import * as iotjobs from './iotjobs/iotjobsclient';
import * as iotshadow from './iotshadow/iotshadowclient';
import {

@@ -25,7 +30,11 @@ auth,

auth,
greengrass,
http,
io,
iot,
iotidentity,
iotjobs,
iotshadow,
mqtt,
mqtt5
}

@@ -13,3 +13,3 @@ /*

import { io, http, CrtError } from 'aws-crt';
import { TextDecoder } from 'util';
import { toUtf8 } from '@aws-sdk/util-utf8-browser';
import * as model from './model';

@@ -86,3 +86,2 @@ export { model };

let response = '';
const decoder = new TextDecoder('utf8');
stream.on('response', (status_code, headers) => {

@@ -94,3 +93,3 @@ if (status_code != 200) {

stream.on('data', (body_data) => {
response += decoder.decode(body_data);
response += toUtf8(new Uint8Array(body_data));
});

@@ -97,0 +96,0 @@ stream.on('end', () => {

@@ -15,3 +15,3 @@ /*

import { mqtt, mqtt5 } from "aws-crt";
import { TextDecoder } from "util";
import { toUtf8 } from "@aws-sdk/util-utf8-browser"
import * as service_client_mqtt_adapter from "../service_client_mqtt_adapter";

@@ -53,4 +53,2 @@

private decoder = new TextDecoder('utf-8');
private static INVALID_PAYLOAD_PARSING_ERROR = "Invalid/unknown error parsing payload into response";

@@ -156,3 +154,3 @@

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.CreateKeysAndCertificateResponse;

@@ -204,3 +202,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.ErrorResponse;

@@ -253,3 +251,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.ErrorResponse;

@@ -301,3 +299,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.CreateCertificateFromCsrResponse;

@@ -378,3 +376,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.RegisterThingResponse;

@@ -426,3 +424,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.ErrorResponse;

@@ -429,0 +427,0 @@ } catch (err) {

@@ -15,3 +15,3 @@ /*

import { mqtt, mqtt5 } from "aws-crt";
import { TextDecoder } from "util";
import { toUtf8 } from "@aws-sdk/util-utf8-browser"
import * as service_client_mqtt_adapter from "../service_client_mqtt_adapter";

@@ -53,4 +53,2 @@

private decoder = new TextDecoder('utf-8');
private static INVALID_PAYLOAD_PARSING_ERROR = "Invalid/unknown error parsing payload into response";

@@ -130,3 +128,3 @@

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.JobExecutionsChangedEvent;

@@ -179,3 +177,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.StartNextJobExecutionResponse;

@@ -229,3 +227,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.RejectedErrorResponse;

@@ -278,3 +276,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.NextJobExecutionChangedEvent;

@@ -328,3 +326,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.RejectedErrorResponse;

@@ -378,3 +376,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.UpdateJobExecutionResponse;

@@ -457,3 +455,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.DescribeJobExecutionResponse;

@@ -534,3 +532,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.GetPendingJobExecutionsResponse;

@@ -583,3 +581,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.RejectedErrorResponse;

@@ -632,3 +630,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.RejectedErrorResponse;

@@ -635,0 +633,0 @@ } catch (err) {

@@ -15,3 +15,3 @@ /*

import { mqtt, mqtt5 } from "aws-crt";
import { TextDecoder } from "util";
import { toUtf8 } from "@aws-sdk/util-utf8-browser"
import * as service_client_mqtt_adapter from "../service_client_mqtt_adapter";

@@ -53,4 +53,2 @@

private decoder = new TextDecoder('utf-8');
private static INVALID_PAYLOAD_PARSING_ERROR = "Invalid/unknown error parsing payload into response";

@@ -130,3 +128,3 @@

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.ErrorResponse;

@@ -179,3 +177,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.ShadowDeltaUpdatedEvent;

@@ -229,3 +227,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.ErrorResponse;

@@ -279,3 +277,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.ErrorResponse;

@@ -385,3 +383,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.DeleteShadowResponse;

@@ -434,3 +432,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.GetShadowResponse;

@@ -484,3 +482,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.GetShadowResponse;

@@ -534,3 +532,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.ShadowUpdatedEvent;

@@ -583,3 +581,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.ShadowUpdatedEvent;

@@ -662,3 +660,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.DeleteShadowResponse;

@@ -711,3 +709,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.ErrorResponse;

@@ -760,3 +758,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.ErrorResponse;

@@ -865,3 +863,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.UpdateShadowResponse;

@@ -915,3 +913,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.ErrorResponse;

@@ -994,3 +992,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.ShadowDeltaUpdatedEvent;

@@ -1044,3 +1042,3 @@ } catch (err) {

try {
const payload_text = this.decoder.decode(payload);
const payload_text = toUtf8(new Uint8Array(payload));
response = JSON.parse(payload_text) as model.UpdateShadowResponse;

@@ -1047,0 +1045,0 @@ } catch (err) {

{
"name": "aws-iot-device-sdk-v2",
"version": "1.9.0",
"version": "1.9.2",
"description": "NodeJS API for the AWS IoT service",

@@ -34,4 +34,5 @@ "homepage": "https://github.com/aws/aws-iot-device-sdk-js-v2",

"dependencies": {
"aws-crt": "^1.15.5"
"@aws-sdk/util-utf8-browser": "^3.109.0",
"aws-crt": "^1.15.6"
}
}

@@ -129,1 +129,3 @@ # AWS IoT Device SDK for JavaScript v2

This library is licensed under the [Apache 2.0 License](./documents/LICENSE).
Latest released version: v1.9.2

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