@orpc/standard-server 1.8.7 → 1.8.9

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/index.mjs +3 -0
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -158,6 +158,9 @@ function encodeEventMessage(message) {
158
158
 
159
159
  const EVENT_SOURCE_META_SYMBOL = Symbol("ORPC_EVENT_SOURCE_META");
160
160
  function withEventMeta(container, meta) {
161
+ if (meta.id === void 0 && meta.retry === void 0 && !meta.comments?.length) {
162
+ return container;
163
+ }
161
164
  if (meta.id !== void 0) {
162
165
  assertEventId(meta.id);
163
166
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/standard-server",
3
3
  "type": "module",
4
- "version": "1.8.7",
4
+ "version": "1.8.9",
5
5
  "license": "MIT",
6
6
  "homepage": "https://unnoq.com",
7
7
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "dist"
29
29
  ],
30
30
  "dependencies": {
31
- "@orpc/shared": "1.8.7"
31
+ "@orpc/shared": "1.8.9"
32
32
  },
33
33
  "scripts": {
34
34
  "build": "unbuild",