@superatomai/sdk-node 0.0.78-dsp → 0.0.79-dsp

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.
package/dist/index.js CHANGED
@@ -117,6 +117,7 @@ __export(index_exports, {
117
117
  writeShims: () => writeShims
118
118
  });
119
119
  module.exports = __toCommonJS(index_exports);
120
+ var import_crypto7 = require("crypto");
120
121
 
121
122
  // src/websocket.ts
122
123
  var import_ws = __toESM(require("ws"));
@@ -29971,6 +29972,7 @@ var SuperatomSDK = class {
29971
29972
  waiters.push(finish);
29972
29973
  this.registryWaiters.set(resType, waiters);
29973
29974
  const sent = this.send({
29975
+ id: `${reqType.toLowerCase()}_${(0, import_crypto7.randomUUID)()}`,
29974
29976
  type: reqType,
29975
29977
  from: { type: this.type },
29976
29978
  to: { type: "runtime" },
package/dist/index.mjs CHANGED
@@ -5,6 +5,9 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
5
5
  throw Error('Dynamic require of "' + x + '" is not supported');
6
6
  });
7
7
 
8
+ // src/index.ts
9
+ import { randomUUID as randomUUID3 } from "crypto";
10
+
8
11
  // src/websocket.ts
9
12
  import WebSocket from "ws";
10
13
  function createWebSocket(url) {
@@ -29858,6 +29861,7 @@ var SuperatomSDK = class {
29858
29861
  waiters.push(finish);
29859
29862
  this.registryWaiters.set(resType, waiters);
29860
29863
  const sent = this.send({
29864
+ id: `${reqType.toLowerCase()}_${randomUUID3()}`,
29861
29865
  type: reqType,
29862
29866
  from: { type: this.type },
29863
29867
  to: { type: "runtime" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superatomai/sdk-node",
3
- "version": "0.0.78-dsp",
3
+ "version": "0.0.79-dsp",
4
4
  "description": "Node.js TypeScript SDK for Superatom",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",