@strav/http 0.3.1 → 0.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strav/http",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "description": "HTTP layer for the Strav framework — router, server, middleware, authentication, sessions, validation, and views",
6
6
  "license": "MIT",
@@ -37,9 +37,9 @@
37
37
  "./providers/*": "./src/providers/*.ts"
38
38
  },
39
39
  "peerDependencies": {
40
- "@strav/kernel": "0.3.1",
41
- "@strav/database": "0.3.1",
42
- "@strav/auth": "0.3.1"
40
+ "@strav/kernel": "0.3.3",
41
+ "@strav/database": "0.3.3",
42
+ "@strav/auth": "0.3.3"
43
43
  },
44
44
  "dependencies": {
45
45
  "@vue/compiler-sfc": "^3.5.28",
@@ -1,7 +1,6 @@
1
1
  export { default as HttpProvider } from './http_provider.ts'
2
2
  export { default as AuthProvider } from './auth_provider.ts'
3
3
  export { default as SessionProvider } from './session_provider.ts'
4
- export { default as ViewProvider } from './view_provider.ts'
5
4
 
6
5
  export type { AuthProviderOptions } from './auth_provider.ts'
7
6
  export type { SessionProviderOptions } from './session_provider.ts'
@@ -1,18 +0,0 @@
1
- import ServiceProvider from '@strav/kernel/core/service_provider'
2
- import type Application from '@strav/kernel/core/application'
3
- // ViewProvider is implemented by @strav/view package
4
- // This provider stub allows http to work without view package
5
- import Context from '../http/context.ts'
6
-
7
- export default class ViewProvider extends ServiceProvider {
8
- readonly name = 'view'
9
- override readonly dependencies = ['config']
10
-
11
- override register(app: Application): void {
12
- // ViewEngine registration handled by @strav/view package
13
- }
14
-
15
- override boot(app: Application): void {
16
- // ViewEngine setup handled by @strav/view package
17
- }
18
- }