@temporary-name/server 1.9.3-alpha.4275e976ddda4d8be107c2cfde9899bdea9a337d → 1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6

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.
Files changed (37) hide show
  1. package/dist/adapters/aws-lambda/index.d.mts +12 -7
  2. package/dist/adapters/aws-lambda/index.d.ts +12 -7
  3. package/dist/adapters/aws-lambda/index.mjs +12 -4
  4. package/dist/adapters/fetch/index.d.mts +12 -7
  5. package/dist/adapters/fetch/index.d.ts +12 -7
  6. package/dist/adapters/fetch/index.mjs +12 -11
  7. package/dist/adapters/node/index.d.mts +12 -7
  8. package/dist/adapters/node/index.d.ts +12 -7
  9. package/dist/adapters/node/index.mjs +12 -11
  10. package/dist/adapters/standard/index.d.mts +27 -13
  11. package/dist/adapters/standard/index.d.ts +27 -13
  12. package/dist/adapters/standard/index.mjs +8 -100
  13. package/dist/index.d.mts +69 -441
  14. package/dist/index.d.ts +69 -441
  15. package/dist/index.mjs +135 -358
  16. package/dist/openapi/index.d.mts +220 -0
  17. package/dist/openapi/index.d.ts +220 -0
  18. package/dist/openapi/index.mjs +759 -0
  19. package/dist/plugins/index.d.mts +4 -80
  20. package/dist/plugins/index.d.ts +4 -80
  21. package/dist/plugins/index.mjs +17 -189
  22. package/dist/shared/server.7aL9gcoU.d.mts +23 -0
  23. package/dist/shared/server.BL2R5jcp.d.mts +228 -0
  24. package/dist/shared/server.BL2R5jcp.d.ts +228 -0
  25. package/dist/shared/server.C61o1Zch.mjs +413 -0
  26. package/dist/shared/{server.Btxrgkj5.d.ts → server.D6Qs_UcF.d.mts} +6 -24
  27. package/dist/shared/server.DFptr1Nz.d.ts +23 -0
  28. package/dist/shared/{server.Bo94xDTv.d.mts → server.DpoO_ER_.d.ts} +6 -24
  29. package/dist/shared/server.DwbIdsnK.mjs +254 -0
  30. package/dist/shared/server.JtIZ8YG7.mjs +237 -0
  31. package/package.json +19 -13
  32. package/dist/shared/server.BEQrAa3A.mjs +0 -207
  33. package/dist/shared/server.C1YnHvvf.d.mts +0 -192
  34. package/dist/shared/server.C1YnHvvf.d.ts +0 -192
  35. package/dist/shared/server.D6K9uoPI.mjs +0 -35
  36. package/dist/shared/server.DZ5BIITo.mjs +0 -9
  37. package/dist/shared/server.X0YaZxSJ.mjs +0 -13
@@ -0,0 +1,254 @@
1
+ import { stringifyJSON, isObject, isORPCErrorStatus, tryDecodeURIComponent, toHttpPath, toArray, intercept, runWithSpan, ORPC_NAME, isAsyncIteratorObject, asyncIteratorWithSpan, setSpanError, ORPCError, toORPCError } from '@temporary-name/shared';
2
+ import { c as createProcedureClient } from './server.C61o1Zch.mjs';
3
+ import { fallbackContractConfig, standardizeHTTPPath } from '@temporary-name/contract';
4
+ import { d as deserialize, b as bracketNotationDeserialize, s as serialize } from './server.JtIZ8YG7.mjs';
5
+ import { traverseContractProcedures, isProcedure, getLazyMeta, unlazy, getRouter, createContractedProcedure } from '@temporary-name/server';
6
+ import { createRouter, addRoute, findRoute } from 'rou3';
7
+
8
+ async function decode(request, pathParams) {
9
+ return {
10
+ path: pathParams ?? {},
11
+ query: bracketNotationDeserialize(Array.from(request.url.searchParams.entries())),
12
+ headers: request.headers,
13
+ body: deserialize(await request.body()) ?? {}
14
+ };
15
+ }
16
+ function encode(output, procedure) {
17
+ const successStatus = fallbackContractConfig(
18
+ "defaultSuccessStatus",
19
+ procedure["~orpc"].route.successStatus
20
+ );
21
+ const outputStructure = fallbackContractConfig(
22
+ "defaultOutputStructure",
23
+ procedure["~orpc"].route.outputStructure
24
+ );
25
+ if (outputStructure === "compact") {
26
+ return {
27
+ status: successStatus,
28
+ headers: new Headers(),
29
+ body: serialize(output)
30
+ };
31
+ }
32
+ if (!isDetailedOutput(output)) {
33
+ throw new Error(`
34
+ Invalid "detailed" output structure:
35
+ \u2022 Expected an object with optional properties:
36
+ - status (number 200-399)
37
+ - headers (Record<string, string | string[]>)
38
+ - body (any)
39
+ \u2022 No extra keys allowed.
40
+
41
+ Actual value:
42
+ ${stringifyJSON(output)}
43
+ `);
44
+ }
45
+ return {
46
+ status: output.status ?? successStatus,
47
+ headers: output.headers ?? new Headers(),
48
+ body: serialize(output.body)
49
+ };
50
+ }
51
+ function encodeError(error) {
52
+ return {
53
+ status: error.status,
54
+ headers: new Headers(),
55
+ body: serialize(error.toJSON(), { outputFormat: "plain" })
56
+ };
57
+ }
58
+ function isDetailedOutput(output) {
59
+ if (!isObject(output)) {
60
+ return false;
61
+ }
62
+ if (output.headers && !isObject(output.headers)) {
63
+ return false;
64
+ }
65
+ if (output.status !== void 0 && (typeof output.status !== "number" || !Number.isInteger(output.status) || isORPCErrorStatus(output.status))) {
66
+ return false;
67
+ }
68
+ return true;
69
+ }
70
+
71
+ function resolveFriendlyStandardHandleOptions(options) {
72
+ return {
73
+ ...options,
74
+ context: options.context ?? {}
75
+ // Context only optional if all fields are optional
76
+ };
77
+ }
78
+ function toRou3Pattern(path) {
79
+ return standardizeHTTPPath(path).replace(/\/\{\+([^}]+)\}/g, "/**:$1").replace(/\/\{([^}]+)\}/g, "/:$1");
80
+ }
81
+ function decodeParams(params) {
82
+ return Object.fromEntries(
83
+ Object.entries(params).map(([key, value]) => [key, tryDecodeURIComponent(value)])
84
+ );
85
+ }
86
+
87
+ class StandardOpenAPIMatcher {
88
+ tree = createRouter();
89
+ pendingRouters = [];
90
+ init(router, path = []) {
91
+ const laziedOptions = traverseContractProcedures({ router, path }, (traverseOptions) => {
92
+ const { path: path2, contract } = traverseOptions;
93
+ const method = fallbackContractConfig("defaultMethod", contract["~orpc"].route.method);
94
+ const httpPath = toRou3Pattern(contract["~orpc"].route.path ?? toHttpPath(path2));
95
+ if (isProcedure(contract)) {
96
+ addRoute(this.tree, method, httpPath, {
97
+ path: path2,
98
+ contract,
99
+ procedure: contract,
100
+ // this mean dev not used contract-first so we can used contract as procedure directly
101
+ router
102
+ });
103
+ } else {
104
+ addRoute(this.tree, method, httpPath, {
105
+ path: path2,
106
+ contract,
107
+ procedure: void 0,
108
+ router
109
+ });
110
+ }
111
+ });
112
+ this.pendingRouters.push(
113
+ ...laziedOptions.map((option) => ({
114
+ ...option,
115
+ httpPathPrefix: toHttpPath(option.path),
116
+ laziedPrefix: getLazyMeta(option.router).prefix
117
+ }))
118
+ );
119
+ }
120
+ async match(method, pathname) {
121
+ if (this.pendingRouters.length) {
122
+ const newPendingRouters = [];
123
+ for (const pendingRouter of this.pendingRouters) {
124
+ if (!pendingRouter.laziedPrefix || pathname.startsWith(pendingRouter.laziedPrefix) || pathname.startsWith(pendingRouter.httpPathPrefix)) {
125
+ const { default: router } = await unlazy(pendingRouter.router);
126
+ this.init(router, pendingRouter.path);
127
+ } else {
128
+ newPendingRouters.push(pendingRouter);
129
+ }
130
+ }
131
+ this.pendingRouters = newPendingRouters;
132
+ }
133
+ const match = findRoute(this.tree, method, pathname);
134
+ if (!match) {
135
+ return void 0;
136
+ }
137
+ if (!match.data.procedure) {
138
+ const { default: maybeProcedure } = await unlazy(getRouter(match.data.router, match.data.path));
139
+ if (!isProcedure(maybeProcedure)) {
140
+ throw new Error(`
141
+ [Contract-First] Missing or invalid implementation for procedure at path: ${toHttpPath(match.data.path)}.
142
+ Ensure that the procedure is correctly defined and matches the expected contract.
143
+ `);
144
+ }
145
+ match.data.procedure = createContractedProcedure(maybeProcedure, match.data.contract);
146
+ }
147
+ return {
148
+ path: match.data.path,
149
+ procedure: match.data.procedure,
150
+ params: match.params ? decodeParams(match.params) : void 0
151
+ };
152
+ }
153
+ }
154
+
155
+ class CompositeStandardHandlerPlugin {
156
+ plugins;
157
+ constructor(plugins = []) {
158
+ this.plugins = [...plugins].sort((a, b) => (a.order ?? 0) - (b.order ?? 0));
159
+ }
160
+ init(options, router) {
161
+ for (const plugin of this.plugins) {
162
+ plugin.init?.(options, router);
163
+ }
164
+ }
165
+ }
166
+
167
+ class StandardHandler {
168
+ interceptors;
169
+ clientInterceptors;
170
+ rootInterceptors;
171
+ matcher;
172
+ constructor(router, options) {
173
+ this.matcher = new StandardOpenAPIMatcher();
174
+ const plugins = new CompositeStandardHandlerPlugin(options.plugins);
175
+ plugins.init(options, router);
176
+ this.interceptors = toArray(options.interceptors);
177
+ this.clientInterceptors = toArray(options.clientInterceptors);
178
+ this.rootInterceptors = toArray(options.rootInterceptors);
179
+ this.matcher.init(router);
180
+ }
181
+ async handle(request, options) {
182
+ const prefix = options.prefix?.replace(/\/$/, "") || void 0;
183
+ if (prefix && !request.url.pathname.startsWith(`${prefix}/`) && request.url.pathname !== prefix) {
184
+ return { matched: false, response: void 0 };
185
+ }
186
+ return intercept(this.rootInterceptors, { ...options, request, prefix }, async (interceptorOptions) => {
187
+ return runWithSpan({ name: `${request.method} ${request.url.pathname}` }, async (span) => {
188
+ let step;
189
+ try {
190
+ return await intercept(
191
+ this.interceptors,
192
+ interceptorOptions,
193
+ async ({ request: request2, context, prefix: prefix2 }) => {
194
+ const method = request2.method;
195
+ const url = request2.url;
196
+ const pathname = prefix2 ? url.pathname.replace(prefix2, "") : url.pathname;
197
+ const match = await runWithSpan(
198
+ { name: "find_procedure" },
199
+ () => this.matcher.match(method, `/${pathname.replace(/^\/|\/$/g, "")}`)
200
+ );
201
+ if (!match) {
202
+ return { matched: false, response: void 0 };
203
+ }
204
+ span?.updateName(`${ORPC_NAME}.${match.path.join("/")}`);
205
+ span?.setAttribute("rpc.system", ORPC_NAME);
206
+ span?.setAttribute("rpc.method", match.path.join("."));
207
+ step = "decode_input";
208
+ const input = await runWithSpan({ name: "decode_input" }, () => decode(request2, match.params));
209
+ step = void 0;
210
+ if (isAsyncIteratorObject(input.body)) {
211
+ input.body = asyncIteratorWithSpan(
212
+ { name: "consume_event_iterator_input", signal: request2.signal },
213
+ input.body
214
+ );
215
+ }
216
+ const client = createProcedureClient(match.procedure, {
217
+ context,
218
+ path: match.path,
219
+ interceptors: this.clientInterceptors
220
+ });
221
+ step = "call_procedure";
222
+ const output = await client(input, {
223
+ request: request2,
224
+ signal: request2.signal,
225
+ lastEventId: request2.headers.get("last-event-id") ?? void 0
226
+ });
227
+ step = void 0;
228
+ const response = encode(output, match.procedure);
229
+ return {
230
+ matched: true,
231
+ response
232
+ };
233
+ }
234
+ );
235
+ } catch (e) {
236
+ if (step !== "call_procedure") {
237
+ setSpanError(span, e);
238
+ }
239
+ const error = step === "decode_input" && !(e instanceof ORPCError) ? new ORPCError("BAD_REQUEST", {
240
+ message: `Malformed request. Ensure the request body is properly formatted and the 'Content-Type' header is set correctly.`,
241
+ cause: e
242
+ }) : toORPCError(e);
243
+ const response = encodeError(error);
244
+ return {
245
+ matched: true,
246
+ response
247
+ };
248
+ }
249
+ });
250
+ });
251
+ }
252
+ }
253
+
254
+ export { CompositeStandardHandlerPlugin as C, StandardHandler as S, encodeError as a, StandardOpenAPIMatcher as b, decodeParams as c, decode as d, encode as e, resolveFriendlyStandardHandleOptions as r, toRou3Pattern as t };
@@ -0,0 +1,237 @@
1
+ import { isObject, NullProtoObj, isAsyncIteratorObject, isORPCErrorJson, createORPCErrorFromJson, toORPCError } from '@temporary-name/shared';
2
+ import { mapEventIterator, ErrorEvent } from '@temporary-name/standard-server';
3
+
4
+ function bracketNotationSerialize(data, segments = [], result = []) {
5
+ if (Array.isArray(data)) {
6
+ data.forEach((item, i) => {
7
+ bracketNotationSerialize(item, [...segments, i], result);
8
+ });
9
+ } else if (isObject(data)) {
10
+ for (const key in data) {
11
+ bracketNotationSerialize(data[key], [...segments, key], result);
12
+ }
13
+ } else {
14
+ result.push([stringifyPath(segments), data]);
15
+ }
16
+ return result;
17
+ }
18
+ function bracketNotationDeserialize(serialized, { maxArrayIndex = 9999 } = {}) {
19
+ if (serialized.length === 0) {
20
+ return {};
21
+ }
22
+ const arrayPushStyles = /* @__PURE__ */ new WeakSet();
23
+ const ref = { value: [] };
24
+ for (const [path, value] of serialized) {
25
+ const segments = parsePath(path);
26
+ let currentRef = ref;
27
+ let nextSegment = "value";
28
+ segments.forEach((segment, i) => {
29
+ if (!Array.isArray(currentRef[nextSegment]) && !isObject(currentRef[nextSegment])) {
30
+ currentRef[nextSegment] = [];
31
+ }
32
+ if (i !== segments.length - 1) {
33
+ if (Array.isArray(currentRef[nextSegment]) && !isValidArrayIndex(segment, maxArrayIndex)) {
34
+ if (arrayPushStyles.has(currentRef[nextSegment])) {
35
+ arrayPushStyles.delete(currentRef[nextSegment]);
36
+ currentRef[nextSegment] = pushStyleArrayToObject(currentRef[nextSegment]);
37
+ } else {
38
+ currentRef[nextSegment] = arrayToObject(currentRef[nextSegment]);
39
+ }
40
+ }
41
+ } else {
42
+ if (Array.isArray(currentRef[nextSegment])) {
43
+ if (segment === "") {
44
+ if (currentRef[nextSegment].length && !arrayPushStyles.has(currentRef[nextSegment])) {
45
+ currentRef[nextSegment] = arrayToObject(currentRef[nextSegment]);
46
+ }
47
+ } else {
48
+ if (arrayPushStyles.has(currentRef[nextSegment])) {
49
+ arrayPushStyles.delete(currentRef[nextSegment]);
50
+ currentRef[nextSegment] = pushStyleArrayToObject(currentRef[nextSegment]);
51
+ } else if (!isValidArrayIndex(segment, maxArrayIndex)) {
52
+ currentRef[nextSegment] = arrayToObject(currentRef[nextSegment]);
53
+ }
54
+ }
55
+ }
56
+ }
57
+ currentRef = currentRef[nextSegment];
58
+ nextSegment = segment;
59
+ });
60
+ if (Array.isArray(currentRef) && nextSegment === "") {
61
+ arrayPushStyles.add(currentRef);
62
+ currentRef.push(value);
63
+ } else if (nextSegment in currentRef) {
64
+ if (Array.isArray(currentRef[nextSegment])) {
65
+ currentRef[nextSegment].push(value);
66
+ } else {
67
+ currentRef[nextSegment] = [currentRef[nextSegment], value];
68
+ }
69
+ } else {
70
+ currentRef[nextSegment] = value;
71
+ }
72
+ }
73
+ return ref.value;
74
+ }
75
+ function stringifyPath(segments) {
76
+ return segments.map((segment) => {
77
+ return segment.toString().replace(/[\\[\]]/g, (match) => {
78
+ switch (match) {
79
+ case "\\":
80
+ return "\\\\";
81
+ case "[":
82
+ return "\\[";
83
+ case "]":
84
+ return "\\]";
85
+ /* v8 ignore next 2 */
86
+ default:
87
+ return match;
88
+ }
89
+ });
90
+ }).reduce((result, segment, i) => {
91
+ if (i === 0) {
92
+ return segment;
93
+ }
94
+ return `${result}[${segment}]`;
95
+ }, "");
96
+ }
97
+ function parsePath(path) {
98
+ const segments = [];
99
+ let inBrackets = false;
100
+ let currentSegment = "";
101
+ let backslashCount = 0;
102
+ for (let i = 0; i < path.length; i++) {
103
+ const char = path[i];
104
+ const nextChar = path[i + 1];
105
+ if (inBrackets && char === "]" && (nextChar === void 0 || nextChar === "[") && backslashCount % 2 === 0) {
106
+ if (nextChar === void 0) {
107
+ inBrackets = false;
108
+ }
109
+ segments.push(currentSegment);
110
+ currentSegment = "";
111
+ i++;
112
+ } else if (segments.length === 0 && char === "[" && backslashCount % 2 === 0) {
113
+ inBrackets = true;
114
+ segments.push(currentSegment);
115
+ currentSegment = "";
116
+ } else if (char === "\\") {
117
+ backslashCount++;
118
+ } else {
119
+ currentSegment += "\\".repeat(backslashCount / 2) + char;
120
+ backslashCount = 0;
121
+ }
122
+ }
123
+ return inBrackets || segments.length === 0 ? [path] : segments;
124
+ }
125
+ function isValidArrayIndex(value, maxIndex) {
126
+ return /^0$|^[1-9]\d*$/.test(value) && Number(value) <= maxIndex;
127
+ }
128
+ function arrayToObject(array) {
129
+ const obj = new NullProtoObj();
130
+ array.forEach((item, i) => {
131
+ obj[i] = item;
132
+ });
133
+ return obj;
134
+ }
135
+ function pushStyleArrayToObject(array) {
136
+ const obj = new NullProtoObj();
137
+ obj[""] = array.length === 1 ? array[0] : array;
138
+ return obj;
139
+ }
140
+
141
+ function jsonSerialize(data, hasBlobRef = { value: false }) {
142
+ if (data instanceof Blob) {
143
+ hasBlobRef.value = true;
144
+ return [data, hasBlobRef.value];
145
+ }
146
+ if (data instanceof Set) {
147
+ return jsonSerialize(Array.from(data), hasBlobRef);
148
+ }
149
+ if (data instanceof Map) {
150
+ return jsonSerialize(Array.from(data.entries()), hasBlobRef);
151
+ }
152
+ if (Array.isArray(data)) {
153
+ const json = data.map((v) => v === void 0 ? null : jsonSerialize(v, hasBlobRef)[0]);
154
+ return [json, hasBlobRef.value];
155
+ }
156
+ if (isObject(data)) {
157
+ const json = {};
158
+ for (const k in data) {
159
+ if (k === "toJSON" && typeof data[k] === "function") {
160
+ continue;
161
+ }
162
+ json[k] = jsonSerialize(data[k], hasBlobRef)[0];
163
+ }
164
+ return [json, hasBlobRef.value];
165
+ }
166
+ if (typeof data === "bigint" || data instanceof RegExp || data instanceof URL) {
167
+ return [data.toString(), hasBlobRef.value];
168
+ }
169
+ if (data instanceof Date) {
170
+ return [Number.isNaN(data.getTime()) ? null : data.toISOString(), hasBlobRef.value];
171
+ }
172
+ if (Number.isNaN(data)) {
173
+ return [null, hasBlobRef.value];
174
+ }
175
+ return [data, hasBlobRef.value];
176
+ }
177
+
178
+ function serialize(data, options = {}) {
179
+ if (isAsyncIteratorObject(data) && !options.outputFormat) {
180
+ return mapEventIterator(data, {
181
+ value: async (value) => _serialize(value, { outputFormat: "plain" }),
182
+ error: async (e) => {
183
+ return new ErrorEvent({
184
+ data: _serialize(toORPCError(e).toJSON(), { outputFormat: "plain" }),
185
+ cause: e
186
+ });
187
+ }
188
+ });
189
+ }
190
+ return _serialize(data, options);
191
+ }
192
+ function _serialize(data, options) {
193
+ const [json, hasBlob] = jsonSerialize(data);
194
+ if (options.outputFormat === "plain") {
195
+ return json;
196
+ }
197
+ if (options.outputFormat === "URLSearchParams") {
198
+ const params = new URLSearchParams();
199
+ for (const [path, value] of bracketNotationSerialize(json)) {
200
+ if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") {
201
+ params.append(path, value.toString());
202
+ }
203
+ }
204
+ return params;
205
+ }
206
+ if (json instanceof Blob || json === void 0 || !hasBlob) {
207
+ return json;
208
+ }
209
+ const form = new FormData();
210
+ for (const [path, value] of bracketNotationSerialize(json)) {
211
+ if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") {
212
+ form.append(path, value.toString());
213
+ } else if (value instanceof Blob) {
214
+ form.append(path, value);
215
+ }
216
+ }
217
+ return form;
218
+ }
219
+ function deserialize(data) {
220
+ if (data instanceof URLSearchParams || data instanceof FormData) {
221
+ return bracketNotationDeserialize(Array.from(data.entries()));
222
+ }
223
+ if (isAsyncIteratorObject(data)) {
224
+ return mapEventIterator(data, {
225
+ value: async (value) => value,
226
+ error: async (e) => {
227
+ if (e instanceof ErrorEvent && isORPCErrorJson(e.data)) {
228
+ return createORPCErrorFromJson(e.data, { cause: e });
229
+ }
230
+ return e;
231
+ }
232
+ });
233
+ }
234
+ return data;
235
+ }
236
+
237
+ export { bracketNotationDeserialize as b, deserialize as d, jsonSerialize as j, serialize as s };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@temporary-name/server",
3
3
  "type": "module",
4
- "version": "1.9.3-alpha.4275e976ddda4d8be107c2cfde9899bdea9a337d",
4
+ "version": "1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6",
5
5
  "license": "MIT",
6
6
  "homepage": "https://www.stainless.com/",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/unnoq/krusty.git",
9
+ "url": "git+https://github.com/stainless-api/krusty.git",
10
10
  "directory": "packages/server"
11
11
  },
12
12
  "keywords": [
@@ -47,6 +47,11 @@
47
47
  "types": "./dist/adapters/aws-lambda/index.d.mts",
48
48
  "import": "./dist/adapters/aws-lambda/index.mjs",
49
49
  "default": "./dist/adapters/aws-lambda/index.mjs"
50
+ },
51
+ "./openapi": {
52
+ "types": "./dist/openapi/index.d.mts",
53
+ "import": "./dist/openapi/index.mjs",
54
+ "default": "./dist/openapi/index.mjs"
50
55
  }
51
56
  },
52
57
  "files": [
@@ -66,21 +71,22 @@
66
71
  },
67
72
  "dependencies": {
68
73
  "cookie": "^1.0.2",
69
- "@standard-schema/spec": "^1.0.0",
74
+ "rou3": "^0.7.7",
70
75
  "zod": "^4.1.12",
71
- "@temporary-name/contract": "1.9.3-alpha.4275e976ddda4d8be107c2cfde9899bdea9a337d",
72
- "@temporary-name/interop": "1.9.3-alpha.4275e976ddda4d8be107c2cfde9899bdea9a337d",
73
- "@temporary-name/openapi": "1.9.3-alpha.4275e976ddda4d8be107c2cfde9899bdea9a337d",
74
- "@temporary-name/standard-server": "1.9.3-alpha.4275e976ddda4d8be107c2cfde9899bdea9a337d",
75
- "@temporary-name/standard-server-aws-lambda": "1.9.3-alpha.4275e976ddda4d8be107c2cfde9899bdea9a337d",
76
- "@temporary-name/shared": "1.9.3-alpha.4275e976ddda4d8be107c2cfde9899bdea9a337d",
77
- "@temporary-name/standard-server-fetch": "1.9.3-alpha.4275e976ddda4d8be107c2cfde9899bdea9a337d",
78
- "@temporary-name/standard-server-node": "1.9.3-alpha.4275e976ddda4d8be107c2cfde9899bdea9a337d"
76
+ "@temporary-name/contract": "1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6",
77
+ "@temporary-name/interop": "1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6",
78
+ "@temporary-name/json-schema": "1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6",
79
+ "@temporary-name/standard-server": "1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6",
80
+ "@temporary-name/standard-server-aws-lambda": "1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6",
81
+ "@temporary-name/standard-server-fetch": "1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6",
82
+ "@temporary-name/standard-server-node": "1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6",
83
+ "@temporary-name/zod": "1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6",
84
+ "@temporary-name/shared": "1.9.3-alpha.47c8371db8c45c361b1db0b785980cc77971e6e6"
79
85
  },
80
86
  "devDependencies": {
87
+ "@types/supertest": "^6.0.3",
81
88
  "@types/ws": "^8.18.1",
82
- "supertest": "^7.1.4",
83
- "type-fest": "^5.0.1"
89
+ "supertest": "^7.1.4"
84
90
  },
85
91
  "scripts": {
86
92
  "build": "unbuild",