@orpc/standard-server-peer 1.12.2 → 1.13.0

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.d.mts CHANGED
@@ -48,7 +48,7 @@ interface SerializedRequestPayload {
48
48
  /**
49
49
  * The url of the request
50
50
  *
51
- * might be relative path if origin is `orpc://localhost`
51
+ * might be relative path if origin is `http://orpc`
52
52
  */
53
53
  u: string;
54
54
  b: StandardBody;
package/dist/index.d.ts CHANGED
@@ -48,7 +48,7 @@ interface SerializedRequestPayload {
48
48
  /**
49
49
  * The url of the request
50
50
  *
51
- * might be relative path if origin is `orpc://localhost`
51
+ * might be relative path if origin is `http://orpc`
52
52
  */
53
53
  u: string;
54
54
  b: StandardBody;
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import { isAsyncIteratorObject, stringifyJSON, readAsBuffer, AsyncIteratorClass, startSpan, runInSpanContext, isTypescriptObject, setSpanError, runWithSpan, SequentialIdGenerator, AsyncIdQueue, getGlobalOtelConfig, clone, AbortError } from '@orpc/shared';
2
2
  import { generateContentDisposition, flattenHeader, getFilenameFromContentDisposition, withEventMeta, ErrorEvent, getEventMeta, isEventIteratorHeaders, HibernationEventIterator } from '@orpc/standard-server';
3
3
 
4
- const SHORTABLE_ORIGIN = "orpc://localhost";
5
- const SHORTABLE_ORIGIN_MATCHER = /^orpc:\/\/localhost\//;
4
+ const SHORTABLE_ORIGIN = "http://orpc";
5
+ const SHORTABLE_ORIGIN_MATCHER = /^http:\/\/orpc\//;
6
6
  var MessageType = /* @__PURE__ */ ((MessageType2) => {
7
7
  MessageType2[MessageType2["REQUEST"] = 1] = "REQUEST";
8
8
  MessageType2[MessageType2["RESPONSE"] = 2] = "RESPONSE";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/standard-server-peer",
3
3
  "type": "module",
4
- "version": "1.12.2",
4
+ "version": "1.13.0",
5
5
  "license": "MIT",
6
6
  "homepage": "https://unnoq.com",
7
7
  "repository": {
@@ -23,8 +23,8 @@
23
23
  "dist"
24
24
  ],
25
25
  "dependencies": {
26
- "@orpc/shared": "1.12.2",
27
- "@orpc/standard-server": "1.12.2"
26
+ "@orpc/shared": "1.13.0",
27
+ "@orpc/standard-server": "1.13.0"
28
28
  },
29
29
  "scripts": {
30
30
  "build": "unbuild",