@orpc/openapi 0.0.0-next.6a8bf13 → 0.0.0-next.8125984

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 (2) hide show
  1. package/dist/fetch.js +4 -2
  2. package/package.json +6 -6
package/dist/fetch.js CHANGED
@@ -45,7 +45,7 @@ function createOpenAPIHandler(createHonoRouter) {
45
45
  procedure,
46
46
  path
47
47
  });
48
- const output = await caller(mergedInput);
48
+ const output = await caller(mergedInput, { signal: options.signal });
49
49
  const { body, headers } = serializer.serialize(output);
50
50
  return new Response(body, {
51
51
  status: 200,
@@ -58,7 +58,9 @@ function createOpenAPIHandler(createHonoRouter) {
58
58
  hooks: options,
59
59
  execute: handler,
60
60
  input: options.request,
61
- meta: void 0
61
+ meta: {
62
+ signal: options.signal
63
+ }
62
64
  });
63
65
  } catch (e) {
64
66
  const error = toORPCError(e);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/openapi",
3
3
  "type": "module",
4
- "version": "0.0.0-next.6a8bf13",
4
+ "version": "0.0.0-next.8125984",
5
5
  "license": "MIT",
6
6
  "homepage": "https://orpc.unnoq.com",
7
7
  "repository": {
@@ -37,11 +37,11 @@
37
37
  "escape-string-regexp": "^5.0.0",
38
38
  "json-schema-typed": "^8.0.1",
39
39
  "openapi3-ts": "^4.4.0",
40
- "@orpc/contract": "0.0.0-next.6a8bf13",
41
- "@orpc/server": "0.0.0-next.6a8bf13",
42
- "@orpc/shared": "0.0.0-next.6a8bf13",
43
- "@orpc/transformer": "0.0.0-next.6a8bf13",
44
- "@orpc/zod": "0.0.0-next.6a8bf13"
40
+ "@orpc/shared": "0.0.0-next.8125984",
41
+ "@orpc/contract": "0.0.0-next.8125984",
42
+ "@orpc/transformer": "0.0.0-next.8125984",
43
+ "@orpc/server": "0.0.0-next.8125984",
44
+ "@orpc/zod": "0.0.0-next.8125984"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@readme/openapi-parser": "^2.6.0",