remult 3.0.0-next.5 → 3.0.0-next.6

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.
@@ -24,5 +24,5 @@ export function remultApi(options) {
24
24
  withRemultAsync: (req, what) => server.withRemultAsync(req, what),
25
25
  });
26
26
  }
27
- // @deprecated use remultApi instead
27
+ /** @deprecated use remultApi instead */
28
28
  export const remultExpress = remultApi;
@@ -69,5 +69,5 @@ export function remultApi(options) {
69
69
  withRemult: (req, what) => api.withRemultAsync(req, what),
70
70
  });
71
71
  }
72
- // @deprecated use remultApi instead
72
+ /** @deprecated use remultApi instead */
73
73
  export const remultFastify = remultApi;
@@ -1,5 +1,5 @@
1
1
  import { createRemultServerCore } from './server/remult-api-server.js';
2
- export function remultFresh(options, response) {
2
+ export function remultApi(options, response) {
3
3
  const server = createRemultServerCore(options, {
4
4
  buildGenericRequestInfo: (r) => r,
5
5
  getRequestBody: (req) => req.json(),
@@ -24,3 +24,5 @@ export function remultFresh(options, response) {
24
24
  },
25
25
  };
26
26
  }
27
+ /** @deprecated use remultApi instead */
28
+ export const remultFresh = remultApi;
@@ -112,5 +112,5 @@ export function remultApi(options) {
112
112
  withRemult: (req, what) => api.withRemultAsync(req, what),
113
113
  });
114
114
  }
115
- // @deprecated use remultApi instead
115
+ /** @deprecated use remultApi instead */
116
116
  export const remultHapi = remultApi;
@@ -102,5 +102,5 @@ export function remultApi(options) {
102
102
  withRemult: async (c, what) => api.withRemultAsync(c, what),
103
103
  });
104
104
  }
105
- // @deprecated use remultApi instead
105
+ /** @deprecated use remultApi instead */
106
106
  export const remultHono = remultApi;
@@ -121,4 +121,5 @@ export function remultApi(options) {
121
121
  withRemult: (what) => result.withRemultAsync({}, what),
122
122
  };
123
123
  }
124
+ /** @deprecated use remultApi instead */
124
125
  export const remultNextApp = remultApi;
@@ -52,4 +52,5 @@ export function remultApi(options) {
52
52
  },
53
53
  });
54
54
  }
55
+ /** @deprecated use remultApi instead */
55
56
  export const remultNuxt = remultApi;
@@ -95,4 +95,5 @@ export function remultApi(options) {
95
95
  DELETE: serverHandler,
96
96
  });
97
97
  }
98
+ /** @deprecated use remultApi instead */
98
99
  export const remultSolidStart = remultApi;
@@ -86,4 +86,5 @@ export function remultApi(options) {
86
86
  DELETE: serverHandler,
87
87
  });
88
88
  }
89
+ /** @deprecated use remultApi instead */
89
90
  export const remultSveltekit = remultApi;