@orpc/standard-server-peer 0.0.0-next.ea1d4fd → 0.0.0-next.eaec0b2

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,23 +1,23 @@
1
1
  <div align="center">
2
- <image align="center" src="https://orpc.unnoq.com/logo.webp" width=280 alt="oRPC logo" />
2
+ <image align="center" src="https://orpc.dev/logo.webp" width=280 alt="oRPC logo" />
3
3
  </div>
4
4
 
5
5
  <h1></h1>
6
6
 
7
7
  <div align="center">
8
- <a href="https://codecov.io/gh/unnoq/orpc">
9
- <img alt="codecov" src="https://codecov.io/gh/unnoq/orpc/branch/main/graph/badge.svg">
8
+ <a href="https://codecov.io/gh/middleapi/orpc">
9
+ <img alt="codecov" src="https://codecov.io/gh/middleapi/orpc/branch/main/graph/badge.svg">
10
10
  </a>
11
11
  <a href="https://www.npmjs.com/package/@orpc/standard-server-peer">
12
12
  <img alt="weekly downloads" src="https://img.shields.io/npm/dw/%40orpc%2Fstandard-server-peer?logo=npm" />
13
13
  </a>
14
- <a href="https://github.com/unnoq/orpc/blob/main/LICENSE">
15
- <img alt="MIT License" src="https://img.shields.io/github/license/unnoq/orpc?logo=open-source-initiative" />
14
+ <a href="https://github.com/middleapi/orpc/blob/main/LICENSE">
15
+ <img alt="MIT License" src="https://img.shields.io/github/license/middleapi/orpc?logo=open-source-initiative" />
16
16
  </a>
17
17
  <a href="https://discord.gg/TXEbwRBvQn">
18
18
  <img alt="Discord" src="https://img.shields.io/discord/1308966753044398161?color=7389D8&label&logo=discord&logoColor=ffffff" />
19
19
  </a>
20
- <a href="https://deepwiki.com/unnoq/orpc">
20
+ <a href="https://deepwiki.com/middleapi/orpc">
21
21
  <img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki">
22
22
  </a>
23
23
  </div>
@@ -45,7 +45,7 @@
45
45
 
46
46
  ## Documentation
47
47
 
48
- You can find the full documentation [here](https://orpc.unnoq.com).
48
+ You can find the full documentation [here](https://orpc.dev).
49
49
 
50
50
  ## Packages
51
51
 
@@ -78,4 +78,4 @@ Provides a standard interface for oRPC server adapters to interact with connecte
78
78
 
79
79
  ## License
80
80
 
81
- Distributed under the MIT License. See [LICENSE](https://github.com/unnoq/orpc/blob/main/LICENSE) for more information.
81
+ Distributed under the MIT License. See [LICENSE](https://github.com/middleapi/orpc/blob/main/LICENSE) for more information.
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,12 +1,12 @@
1
1
  {
2
2
  "name": "@orpc/standard-server-peer",
3
3
  "type": "module",
4
- "version": "0.0.0-next.ea1d4fd",
4
+ "version": "0.0.0-next.eaec0b2",
5
5
  "license": "MIT",
6
- "homepage": "https://unnoq.com",
6
+ "homepage": "https://orpc.com",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/unnoq/orpc.git",
9
+ "url": "git+https://github.com/middleapi/orpc.git",
10
10
  "directory": "packages/standard-server-peer"
11
11
  },
12
12
  "keywords": [
@@ -23,8 +23,8 @@
23
23
  "dist"
24
24
  ],
25
25
  "dependencies": {
26
- "@orpc/shared": "0.0.0-next.ea1d4fd",
27
- "@orpc/standard-server": "0.0.0-next.ea1d4fd"
26
+ "@orpc/shared": "0.0.0-next.eaec0b2",
27
+ "@orpc/standard-server": "0.0.0-next.eaec0b2"
28
28
  },
29
29
  "scripts": {
30
30
  "build": "unbuild",