@orpc/server 1.8.2 → 1.8.3
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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.
|
4
|
+
"version": "1.8.3",
|
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/
|
106
|
-
"@orpc/
|
107
|
-
"@orpc/interop": "1.8.
|
108
|
-
"@orpc/
|
109
|
-
"@orpc/standard-server-aws-lambda": "1.8.
|
110
|
-
"@orpc/standard-server-fetch": "1.8.
|
111
|
-
"@orpc/
|
112
|
-
"@orpc/standard-server
|
113
|
-
"@orpc/standard-server-peer": "1.8.
|
105
|
+
"@orpc/contract": "1.8.3",
|
106
|
+
"@orpc/shared": "1.8.3",
|
107
|
+
"@orpc/interop": "1.8.3",
|
108
|
+
"@orpc/client": "1.8.3",
|
109
|
+
"@orpc/standard-server-aws-lambda": "1.8.3",
|
110
|
+
"@orpc/standard-server-fetch": "1.8.3",
|
111
|
+
"@orpc/standard-server-node": "1.8.3",
|
112
|
+
"@orpc/standard-server": "1.8.3",
|
113
|
+
"@orpc/standard-server-peer": "1.8.3"
|
114
114
|
},
|
115
115
|
"devDependencies": {
|
116
116
|
"@types/ws": "^8.18.1",
|
117
117
|
"crossws": "^0.4.1",
|
118
|
-
"next": "^15.
|
118
|
+
"next": "^15.5.0",
|
119
119
|
"supertest": "^7.1.4",
|
120
120
|
"ws": "^8.18.3"
|
121
121
|
},
|