@ekhein/lamda-node-sdk 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/main.js +1 -1
  2. package/package.json +4 -1
package/dist/main.js CHANGED
@@ -20,7 +20,7 @@ const services_1 = require("./rpc/services");
20
20
  class Device {
21
21
  channel;
22
22
  client;
23
- constructor(lamdaURL = process.env.lamda || "http://127.0.0.1:65000") {
23
+ constructor(lamdaURL = process.env.LAMDA_URL || "http://127.0.0.1:65000") {
24
24
  const address = new URL(lamdaURL);
25
25
  const credentials = nice_grpc_1.ChannelCredentials.createInsecure();
26
26
  this.client = (0, nice_grpc_1.createClientFactory)()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekhein/lamda-node-sdk",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "author": "ekhein",
5
5
  "license": "MIT",
6
6
  "main": "./dist/main.js",
@@ -26,5 +26,8 @@
26
26
  "ts-proto": "^2.7.0",
27
27
  "tsx": "^4.19.4",
28
28
  "typescript": "^5.8.3"
29
+ },
30
+ "publishConfig": {
31
+ "access": "public"
29
32
  }
30
33
  }