@ricsam/r5dctl 0.0.87 → 0.0.88

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/cjs/cli.cjs CHANGED
@@ -3169,7 +3169,8 @@ async function followWithInterrupt(client, sessionId, options) {
3169
3169
  try {
3170
3170
  return await followR5dctlSession(client, sessionId, { ...options, signal: controller.signal });
3171
3171
  } finally {
3172
- process.removeListener("SIGINT", detach);
3172
+ const processEvents = process;
3173
+ processEvents.removeListener("SIGINT", detach);
3173
3174
  }
3174
3175
  }
3175
3176
  async function runCommand(argv) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@ricsam/r5dctl",
3
- "version": "0.0.87",
3
+ "version": "0.0.88",
4
4
  "type": "commonjs"
5
5
  }
package/dist/mjs/cli.mjs CHANGED
@@ -3086,7 +3086,8 @@ async function followWithInterrupt(client, sessionId, options) {
3086
3086
  try {
3087
3087
  return await followR5dctlSession(client, sessionId, { ...options, signal: controller.signal });
3088
3088
  } finally {
3089
- process.removeListener("SIGINT", detach);
3089
+ const processEvents = process;
3090
+ processEvents.removeListener("SIGINT", detach);
3090
3091
  }
3091
3092
  }
3092
3093
  async function runCommand(argv) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@ricsam/r5dctl",
3
- "version": "0.0.87",
3
+ "version": "0.0.88",
4
4
  "type": "module"
5
5
  }
@@ -18,7 +18,7 @@ export type RunR5dctlShellOptions = {
18
18
  command?: string;
19
19
  stdin?: ShellInput;
20
20
  stdout?: ShellOutput;
21
- signalTarget?: Pick<NodeJS.Process, "on" | "off">;
21
+ signalTarget?: Pick<NodeJS.EventEmitter, "on" | "off">;
22
22
  createWebSocket?: (url: string, options: ClientOptions) => ShellWebSocket;
23
23
  };
24
24
  export declare function createShellWebSocketUrl(baseUrl: string): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricsam/r5dctl",
3
- "version": "0.0.87",
3
+ "version": "0.0.88",
4
4
  "type": "module",
5
5
  "main": "./dist/cjs/cli.cjs",
6
6
  "module": "./dist/mjs/cli.mjs",
@@ -26,7 +26,7 @@
26
26
  "r5dctl": "dist/cjs/main.cjs"
27
27
  },
28
28
  "dependencies": {
29
- "@ricsam/r5d-api": "^0.0.87",
29
+ "@ricsam/r5d-api": "^0.0.88",
30
30
  "dotenv": "^17",
31
31
  "qrcode": "^1.5.4",
32
32
  "ws": "^8.18.3"