ts-proto 1.148.0 → 1.148.1

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.
@@ -347,7 +347,10 @@ function createInvokeMethod(ctx) {
347
347
  },
348
348
  });
349
349
  observer.add(() => {
350
- if (!observer.closed) return client.close()
350
+ ${!useAbortSignal
351
+ ? `return client.close();`
352
+ : `if (!abortSignal || !abortSignal.aborted)
353
+ return client.close();`}
351
354
  });
352
355
 
353
356
  ${maybeAbortSignal}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-proto",
3
- "version": "1.148.0",
3
+ "version": "1.148.1",
4
4
  "description": "",
5
5
  "main": "build/plugin.js",
6
6
  "repository": "github:stephenh/ts-proto",