@ripple-ts/adapter-bun 0.2.211 → 0.2.213
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.
- package/CHANGELOG.md +14 -0
- package/README.md +3 -0
- package/package.json +2 -2
- package/types/index.d.ts +2 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @ripple-ts/adapter-bun
|
|
2
2
|
|
|
3
|
+
## 0.2.213
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies []:
|
|
8
|
+
- @ripple-ts/adapter@0.2.213
|
|
9
|
+
|
|
10
|
+
## 0.2.212
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies []:
|
|
15
|
+
- @ripple-ts/adapter@0.2.212
|
|
16
|
+
|
|
3
17
|
## 0.2.211
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# @ripple-ts/adapter-bun
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@ripple-ts/adapter-bun)
|
|
4
|
+
[](https://www.npmjs.com/package/@ripple-ts/adapter-bun)
|
|
5
|
+
|
|
3
6
|
Bun adapter for Ripple metaframework apps.
|
|
4
7
|
|
|
5
8
|
It exposes the same `serve(fetch_handler, options?)` contract as
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Bun adapter for Ripple metaframework (Web Request/Response bridge)",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Dominic Gannaway",
|
|
6
|
-
"version": "0.2.
|
|
6
|
+
"version": "0.2.213",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"module": "src/index.js",
|
|
9
9
|
"main": "src/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@ripple-ts/adapter": "0.2.
|
|
18
|
+
"@ripple-ts/adapter": "0.2.213"
|
|
19
19
|
},
|
|
20
20
|
"homepage": "https://ripplejs.com",
|
|
21
21
|
"repository": {
|
package/types/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
AdapterCoreOptions,
|
|
3
|
-
FetchHandler,
|
|
4
3
|
NextMiddleware,
|
|
4
|
+
ServeFunction,
|
|
5
5
|
ServeStaticOptions as BaseServeStaticOptions,
|
|
6
6
|
ServeStaticDirectoryOptions as BaseServeStaticDirectoryOptions,
|
|
7
|
-
ServeResult,
|
|
8
7
|
} from '@ripple-ts/adapter';
|
|
9
8
|
|
|
10
9
|
export type ServeOptions = AdapterCoreOptions & {
|
|
@@ -14,10 +13,7 @@ export type ServeOptions = AdapterCoreOptions & {
|
|
|
14
13
|
|
|
15
14
|
export type ServeStaticOptions = BaseServeStaticOptions;
|
|
16
15
|
|
|
17
|
-
export
|
|
18
|
-
fetch_handler: FetchHandler<{ bun_server: any }>,
|
|
19
|
-
options?: ServeOptions,
|
|
20
|
-
): ServeResult<any>;
|
|
16
|
+
export const serve: ServeFunction<{ bun_server: any }, ServeOptions, any>;
|
|
21
17
|
|
|
22
18
|
export function serveStatic(
|
|
23
19
|
dir: string,
|