@orpc/client 2.0.0-beta.27 → 2.0.0-beta.28

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
@@ -118,6 +118,7 @@ Like what we build over at [middleapi](https://github.com/middleapi)? You can he
118
118
  <td align="center"><a href="https://github.com/Ryanjso?ref=orpc" target="_blank" rel="sponsored noopener" title="Ryan Soderberg"><img src="https://avatars.githubusercontent.com/u/39172778?u=5ed913c31d57e7221b75784abcad48c7ebddde27&amp;v=4" width="139" alt="Ryan Soderberg"/><br />Ryan Soderberg</a></td>
119
119
  <td align="center"><a href="https://github.com/itigoore01?ref=orpc" target="_blank" rel="sponsored noopener" title="shota"><img src="https://avatars.githubusercontent.com/u/11831107?u=c976a6dc7e055eb026304c46c99100ed22b0c8e0&amp;v=4" width="139" alt="shota"/><br />shota</a></td>
120
120
  <td align="center"><a href="https://github.com/ellis-driscoll?ref=orpc" target="_blank" rel="sponsored noopener" title="Ellis Driscoll"><img src="https://avatars.githubusercontent.com/u/70685966?u=c5f95bc33b5991d9744abe00052542e4a2ed3cb9&amp;v=4" width="139" alt="Ellis Driscoll"/><br />Ellis Driscoll</a></td>
121
+ <td align="center"><a href="https://github.com/hoangbn?ref=orpc" target="_blank" rel="sponsored noopener" title="Hoang Nguyen"><img src="https://avatars.githubusercontent.com/u/38968280?u=c90084c6de65c56facabab7ba13a72a49ddbc3e4&amp;v=4" width="139" alt="Hoang Nguyen"/><br />Hoang Nguyen</a></td>
121
122
  </tr>
122
123
  </table>
123
124
 
@@ -1,8 +1,8 @@
1
- import { C as ClientContext, a as ClientOptions } from '../../shared/client.CFVTHyN6.mjs';
1
+ import { ClientContext, ClientOptions } from '../../index.mjs';
2
2
  import { Value, Promisable, Interceptor } from '@orpc/shared';
3
3
  import { StandardRequest, StandardLazyResponse } from '@standardserver/core';
4
4
  import { ToFetchBodyOptions } from '@standardserver/fetch';
5
- import { S as StandardLinkTransport, c as StandardLinkPlugin, a as StandardLink, b as StandardLinkOptions } from '../../shared/client.B0-4UDVl.mjs';
5
+ import { StandardLinkTransport, StandardLinkPlugin, StandardLink, StandardLinkOptions } from '../standard/index.mjs';
6
6
  import { RPCLinkCodecOptions } from '../standard/index.mjs';
7
7
  import '../../shared/client.B8tCfDzm.mjs';
8
8
 
@@ -1,8 +1,8 @@
1
- import { C as ClientContext, a as ClientOptions } from '../../shared/client.CFVTHyN6.js';
1
+ import { ClientContext, ClientOptions } from '../../index.js';
2
2
  import { Value, Promisable, Interceptor } from '@orpc/shared';
3
3
  import { StandardRequest, StandardLazyResponse } from '@standardserver/core';
4
4
  import { ToFetchBodyOptions } from '@standardserver/fetch';
5
- import { S as StandardLinkTransport, c as StandardLinkPlugin, a as StandardLink, b as StandardLinkOptions } from '../../shared/client.BhTyskpV.js';
5
+ import { StandardLinkTransport, StandardLinkPlugin, StandardLink, StandardLinkOptions } from '../standard/index.js';
6
6
  import { RPCLinkCodecOptions } from '../standard/index.js';
7
7
  import '../../shared/client.B8tCfDzm.js';
8
8
 
@@ -1,8 +1,8 @@
1
- import { C as ClientContext, a as ClientOptions } from '../../shared/client.CFVTHyN6.mjs';
1
+ import { ClientContext, ClientOptions } from '../../index.mjs';
2
2
  import { Value, Promisable } from '@orpc/shared';
3
3
  import { StandardRequest, StandardLazyResponse } from '@standardserver/core';
4
4
  import { ClientPeer, EncodePeerMessageOptions, DecodePeerMessageOptions } from '@standardserver/peer';
5
- import { S as StandardLinkTransport, a as StandardLink, b as StandardLinkOptions } from '../../shared/client.B0-4UDVl.mjs';
5
+ import { StandardLinkTransport, StandardLink, StandardLinkOptions } from '../standard/index.mjs';
6
6
  import { RPCLinkCodecOptions } from '../standard/index.mjs';
7
7
  import '../../shared/client.B8tCfDzm.mjs';
8
8
 
@@ -1,8 +1,8 @@
1
- import { C as ClientContext, a as ClientOptions } from '../../shared/client.CFVTHyN6.js';
1
+ import { ClientContext, ClientOptions } from '../../index.js';
2
2
  import { Value, Promisable } from '@orpc/shared';
3
3
  import { StandardRequest, StandardLazyResponse } from '@standardserver/core';
4
4
  import { ClientPeer, EncodePeerMessageOptions, DecodePeerMessageOptions } from '@standardserver/peer';
5
- import { S as StandardLinkTransport, a as StandardLink, b as StandardLinkOptions } from '../../shared/client.BhTyskpV.js';
5
+ import { StandardLinkTransport, StandardLink, StandardLinkOptions } from '../standard/index.js';
6
6
  import { RPCLinkCodecOptions } from '../standard/index.js';
7
7
  import '../../shared/client.B8tCfDzm.js';
8
8
 
@@ -2,8 +2,8 @@ import { f as StandardLinkCodec, g as StandardLinkCodecDecodedResponse } from '.
2
2
  export { C as CompositeStandardLinkPlugin, a as StandardLink, h as StandardLinkInterceptor, e as StandardLinkInterceptorOptions, b as StandardLinkOptions, c as StandardLinkPlugin, S as StandardLinkTransport, i as StandardLinkTransportInterceptor, d as StandardLinkTransportInterceptorOptions } from '../../shared/client.B0-4UDVl.mjs';
3
3
  import { Value, Promisable } from '@orpc/shared';
4
4
  import { StandardUrl, StandardHeaders, StandardRequest, StandardLazyResponse } from '@standardserver/core';
5
- import { C as ClientContext, a as ClientOptions } from '../../shared/client.CFVTHyN6.mjs';
6
- import { e as RPCSerializer } from '../../shared/client.B8tCfDzm.mjs';
5
+ import { ClientContext, ClientOptions } from '../../index.mjs';
6
+ import { RPCSerializer } from '../../index.mjs';
7
7
 
8
8
  interface RPCLinkCodecOptions<T extends ClientContext> {
9
9
  /**
@@ -2,8 +2,8 @@ import { f as StandardLinkCodec, g as StandardLinkCodecDecodedResponse } from '.
2
2
  export { C as CompositeStandardLinkPlugin, a as StandardLink, h as StandardLinkInterceptor, e as StandardLinkInterceptorOptions, b as StandardLinkOptions, c as StandardLinkPlugin, S as StandardLinkTransport, i as StandardLinkTransportInterceptor, d as StandardLinkTransportInterceptorOptions } from '../../shared/client.BhTyskpV.js';
3
3
  import { Value, Promisable } from '@orpc/shared';
4
4
  import { StandardUrl, StandardHeaders, StandardRequest, StandardLazyResponse } from '@standardserver/core';
5
- import { C as ClientContext, a as ClientOptions } from '../../shared/client.CFVTHyN6.js';
6
- import { e as RPCSerializer } from '../../shared/client.B8tCfDzm.js';
5
+ import { ClientContext, ClientOptions } from '../../index.js';
6
+ import { RPCSerializer } from '../../index.js';
7
7
 
8
8
  interface RPCLinkCodecOptions<T extends ClientContext> {
9
9
  /**
@@ -1,8 +1,8 @@
1
- import { C as ClientContext, a as ClientOptions } from '../../shared/client.CFVTHyN6.mjs';
1
+ import { ClientContext, ClientOptions } from '../../index.mjs';
2
2
  import { Promisable } from '@orpc/shared';
3
3
  import { StandardRequest, StandardLazyResponse } from '@standardserver/core';
4
4
  import { EncodePeerMessageOptions, DecodePeerMessageOptions } from '@standardserver/peer';
5
- import { S as StandardLinkTransport, a as StandardLink, b as StandardLinkOptions } from '../../shared/client.B0-4UDVl.mjs';
5
+ import { StandardLinkTransport, StandardLink, StandardLinkOptions } from '../standard/index.mjs';
6
6
  import { RPCLinkCodecOptions } from '../standard/index.mjs';
7
7
  import '../../shared/client.B8tCfDzm.mjs';
8
8
 
@@ -1,8 +1,8 @@
1
- import { C as ClientContext, a as ClientOptions } from '../../shared/client.CFVTHyN6.js';
1
+ import { ClientContext, ClientOptions } from '../../index.js';
2
2
  import { Promisable } from '@orpc/shared';
3
3
  import { StandardRequest, StandardLazyResponse } from '@standardserver/core';
4
4
  import { EncodePeerMessageOptions, DecodePeerMessageOptions } from '@standardserver/peer';
5
- import { S as StandardLinkTransport, a as StandardLink, b as StandardLinkOptions } from '../../shared/client.BhTyskpV.js';
5
+ import { StandardLinkTransport, StandardLink, StandardLinkOptions } from '../standard/index.js';
6
6
  import { RPCLinkCodecOptions } from '../standard/index.js';
7
7
  import '../../shared/client.B8tCfDzm.js';
8
8
 
@@ -1,7 +1,7 @@
1
1
  import { Value, Promisable } from '@orpc/shared';
2
2
  import { StandardUrl, StandardHeaders, StandardRequest, StandardLazyResponse } from '@standardserver/core';
3
- import { C as ClientContext } from '../shared/client.CFVTHyN6.mjs';
4
- import { c as StandardLinkPlugin, d as StandardLinkTransportInterceptorOptions, b as StandardLinkOptions, e as StandardLinkInterceptorOptions } from '../shared/client.B0-4UDVl.mjs';
3
+ import { ClientContext } from '../index.mjs';
4
+ import { StandardLinkPlugin, StandardLinkTransportInterceptorOptions, StandardLinkOptions, StandardLinkInterceptorOptions } from '../adapters/standard/index.mjs';
5
5
 
6
6
  type BatchLinkPluginMode = 'streaming' | 'buffered';
7
7
  interface BatchLinkPluginGroup<T extends ClientContext> {
@@ -1,7 +1,7 @@
1
1
  import { Value, Promisable } from '@orpc/shared';
2
2
  import { StandardUrl, StandardHeaders, StandardRequest, StandardLazyResponse } from '@standardserver/core';
3
- import { C as ClientContext } from '../shared/client.CFVTHyN6.js';
4
- import { c as StandardLinkPlugin, d as StandardLinkTransportInterceptorOptions, b as StandardLinkOptions, e as StandardLinkInterceptorOptions } from '../shared/client.BhTyskpV.js';
3
+ import { ClientContext } from '../index.js';
4
+ import { StandardLinkPlugin, StandardLinkTransportInterceptorOptions, StandardLinkOptions, StandardLinkInterceptorOptions } from '../adapters/standard/index.js';
5
5
 
6
6
  type BatchLinkPluginMode = 'streaming' | 'buffered';
7
7
  interface BatchLinkPluginGroup<T extends ClientContext> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/client",
3
3
  "type": "module",
4
- "version": "2.0.0-beta.27",
4
+ "version": "2.0.0-beta.28",
5
5
  "license": "MIT",
6
6
  "funding": "https://github.com/sponsors/dinwwwh",
7
7
  "homepage": "https://orpc.dev",
@@ -51,10 +51,10 @@
51
51
  "dist"
52
52
  ],
53
53
  "dependencies": {
54
- "@standardserver/core": "^0.7.1",
55
- "@standardserver/fetch": "^0.7.1",
56
- "@standardserver/peer": "^0.7.1",
57
- "@orpc/shared": "2.0.0-beta.27"
54
+ "@standardserver/core": "^0.8.0",
55
+ "@standardserver/fetch": "^0.8.0",
56
+ "@standardserver/peer": "^0.8.0",
57
+ "@orpc/shared": "2.0.0-beta.28"
58
58
  },
59
59
  "devDependencies": {
60
60
  "zod": "^4.4.3"