@orpc/server 1.8.2 → 1.8.4

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.
@@ -102,14 +102,14 @@ declare class CompressionPlugin<T extends Context> implements FetchHandlerPlugin
102
102
  initRuntimeAdapter(options: FetchHandlerOptions<T>): void;
103
103
  }
104
104
 
105
- type RPCHandlerOptions<T extends Context> = FetchHandlerOptions<T> & StandardRPCHandlerOptions<T> & {
105
+ interface RPCHandlerOptions<T extends Context> extends FetchHandlerOptions<T>, Omit<StandardRPCHandlerOptions<T>, 'plugins'> {
106
106
  /**
107
107
  * Enables or disables the StrictGetMethodPlugin.
108
108
  *
109
109
  * @default true
110
110
  */
111
111
  strictGetMethodPluginEnabled?: boolean;
112
- };
112
+ }
113
113
  /**
114
114
  * RPC Handler for Fetch Server
115
115
  *
@@ -102,14 +102,14 @@ declare class CompressionPlugin<T extends Context> implements FetchHandlerPlugin
102
102
  initRuntimeAdapter(options: FetchHandlerOptions<T>): void;
103
103
  }
104
104
 
105
- type RPCHandlerOptions<T extends Context> = FetchHandlerOptions<T> & StandardRPCHandlerOptions<T> & {
105
+ interface RPCHandlerOptions<T extends Context> extends FetchHandlerOptions<T>, Omit<StandardRPCHandlerOptions<T>, 'plugins'> {
106
106
  /**
107
107
  * Enables or disables the StrictGetMethodPlugin.
108
108
  *
109
109
  * @default true
110
110
  */
111
111
  strictGetMethodPluginEnabled?: boolean;
112
- };
112
+ }
113
113
  /**
114
114
  * RPC Handler for Fetch Server
115
115
  *
@@ -77,14 +77,14 @@ declare class CompressionPlugin<T extends Context> implements NodeHttpHandlerPlu
77
77
  initRuntimeAdapter(options: NodeHttpHandlerOptions<T>): void;
78
78
  }
79
79
 
80
- type RPCHandlerOptions<T extends Context> = NodeHttpHandlerOptions<T> & StandardRPCHandlerOptions<T> & {
80
+ interface RPCHandlerOptions<T extends Context> extends NodeHttpHandlerOptions<T>, Omit<StandardRPCHandlerOptions<T>, 'plugins'> {
81
81
  /**
82
82
  * Enables or disables the StrictGetMethodPlugin.
83
83
  *
84
84
  * @default true
85
85
  */
86
86
  strictGetMethodPluginEnabled?: boolean;
87
- };
87
+ }
88
88
  /**
89
89
  * RPC Handler for Node.js HTTP Server
90
90
  *
@@ -77,14 +77,14 @@ declare class CompressionPlugin<T extends Context> implements NodeHttpHandlerPlu
77
77
  initRuntimeAdapter(options: NodeHttpHandlerOptions<T>): void;
78
78
  }
79
79
 
80
- type RPCHandlerOptions<T extends Context> = NodeHttpHandlerOptions<T> & StandardRPCHandlerOptions<T> & {
80
+ interface RPCHandlerOptions<T extends Context> extends NodeHttpHandlerOptions<T>, Omit<StandardRPCHandlerOptions<T>, 'plugins'> {
81
81
  /**
82
82
  * Enables or disables the StrictGetMethodPlugin.
83
83
  *
84
84
  * @default true
85
85
  */
86
86
  strictGetMethodPluginEnabled?: boolean;
87
- };
87
+ }
88
88
  /**
89
89
  * RPC Handler for Node.js HTTP Server
90
90
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/server",
3
3
  "type": "module",
4
- "version": "1.8.2",
4
+ "version": "1.8.4",
5
5
  "license": "MIT",
6
6
  "homepage": "https://orpc.unnoq.com",
7
7
  "repository": {
@@ -102,20 +102,20 @@
102
102
  },
103
103
  "dependencies": {
104
104
  "cookie": "^1.0.2",
105
- "@orpc/client": "1.8.2",
106
- "@orpc/contract": "1.8.2",
107
- "@orpc/interop": "1.8.2",
108
- "@orpc/standard-server": "1.8.2",
109
- "@orpc/standard-server-aws-lambda": "1.8.2",
110
- "@orpc/standard-server-fetch": "1.8.2",
111
- "@orpc/shared": "1.8.2",
112
- "@orpc/standard-server-node": "1.8.2",
113
- "@orpc/standard-server-peer": "1.8.2"
105
+ "@orpc/contract": "1.8.4",
106
+ "@orpc/client": "1.8.4",
107
+ "@orpc/interop": "1.8.4",
108
+ "@orpc/shared": "1.8.4",
109
+ "@orpc/standard-server": "1.8.4",
110
+ "@orpc/standard-server-fetch": "1.8.4",
111
+ "@orpc/standard-server-aws-lambda": "1.8.4",
112
+ "@orpc/standard-server-node": "1.8.4",
113
+ "@orpc/standard-server-peer": "1.8.4"
114
114
  },
115
115
  "devDependencies": {
116
116
  "@types/ws": "^8.18.1",
117
117
  "crossws": "^0.4.1",
118
- "next": "^15.4.5",
118
+ "next": "^15.5.0",
119
119
  "supertest": "^7.1.4",
120
120
  "ws": "^8.18.3"
121
121
  },