Skip to content

Commit 4e364be

Browse files
Stream activation api updates to latest crt. (#32)
* Updated to latest crt, updated discovery client to use http activate, updated version. * Updated npm deps
1 parent c8575f5 commit 4e364be

File tree

7 files changed

+1547
-2387
lines changed

7 files changed

+1547
-2387
lines changed

lib/greengrass/discoveryclient.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
/* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
*
33
* Licensed under the Apache License, Version 2.0 (the "License").
44
* You may not use this file except in compliance with the License.
@@ -70,6 +70,7 @@ export class DiscoveryClient {
7070
stream.on('error', (error) => {
7171
reject(new DiscoveryError(error.toString()));
7272
});
73+
stream.activate();
7374
})
7475
.catch((reason) => {
7576
reject(new CrtError(reason))

package-lock.json

Lines changed: 4 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-iot-device-sdk-v2",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "NodeJS API for the AWS IoT service",
55
"homepage": "https://github.com/aws/aws-iot-device-sdk-js-v2",
66
"repository": {
@@ -26,6 +26,6 @@
2626
"typescript": "^3.7.3"
2727
},
2828
"dependencies": {
29-
"aws-crt": "^1.0.6"
29+
"aws-crt": "^1.1.1"
3030
}
3131
}

samples/node/basic_discovery/package-lock.json

Lines changed: 32 additions & 896 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/node/basic_discovery/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"typescript": "^3.7.3"
1919
},
2020
"dependencies": {
21-
"aws-iot-device-sdk-v2": "^1.0.3",
21+
"aws-iot-device-sdk-v2": "../../../",
2222
"yargs": "^14.0.0"
2323
}
2424
}

0 commit comments

Comments
 (0)