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

sensor.live-things-registry

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sensor.live-things-registry - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

8

example/index.js

@@ -11,5 +11,7 @@ const aws_iot = require('aws-iot-device-sdk')

const thing_registry = new ThingRegistry()
let thing_registry.setCertsPath('./certs') // you can change the default certificates folder
thing_registry.setCertsPath('./certs') // you can change the default certificates folder
if (!thing_registry.hasDeviceCertificate()) {
thing_registry.generateDeviceCertificate()
thing_registry.generateDeviceCertificate({
thing_name: '<YourDeviceUniqueName>'
})
}

@@ -25,2 +27,2 @@ let thing_name = thing_registry.getThingName()

clientId: client_id
})
})
{
"name": "sensor.live-things-registry",
"version": "1.0.4",
"version": "1.0.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -30,3 +30,3 @@ # sensor.live-things-registry-javascript

```
```js
const aws_iot = require('aws-iot-device-sdk');

@@ -41,5 +41,7 @@ const thing_registry = require('sensor.live-things-registry');

}
let thing_registry.setCertsPath('./certs'); // you can change the default certificates folder
thing_registry.setCertsPath('./certs'); // you can change the default certificates folder
if (!thing_registry.hasDeviceCertificate()) {
thing_registry.generateDeviceCertificate();
thing_registry.generateDeviceCertificate({
thing_name: '<YourDeviceUniqueName>'
});
}

@@ -46,0 +48,0 @@ let thing_name = thing_registry.getThingName();

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