@ubercode/dcmtk 0.16.0 → 1.0.0-rc.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.
package/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # @ubercode/dcmtk
2
2
 
3
- > **ALPHA PREVIEW** — API may have breaking changes before 1.0. Use in production at your own risk.
3
+ > **RELEASE CANDIDATE** — the public API is frozen for 1.0. In production use. Breaking changes before
4
+ > 1.0 final would require a compelling reason and will be called out in the [changelog](CHANGELOG.md).
4
5
 
5
6
  [![npm version](https://img.shields.io/npm/v/@ubercode/dcmtk.svg)](https://www.npmjs.com/package/@ubercode/dcmtk)
6
7
  [![npm downloads](https://img.shields.io/npm/dm/@ubercode/dcmtk.svg)](https://www.npmjs.com/package/@ubercode/dcmtk)
package/dist/index.cjs CHANGED
@@ -37390,6 +37390,7 @@ var DicomReceiver = class _DicomReceiver extends events.EventEmitter {
37390
37390
  /** Bubbles ASSOCIATION_RECEIVED from dcmrecv worker. */
37391
37391
  wireAssociationReceived(worker) {
37392
37392
  worker.dcmrecv.onEvent("ASSOCIATION_RECEIVED", (data) => {
37393
+ if (worker.finalized) return;
37393
37394
  worker.markAssociationReceived();
37394
37395
  this.emit("ASSOCIATION_RECEIVED", {
37395
37396
  associationId: worker.context?.associationId ?? "",