@wooksjs/event-http 0.7.2 → 0.7.4

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": "@wooksjs/event-http",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
4
4
  "description": "@wooksjs/event-http",
5
5
  "keywords": [
6
6
  "api",
@@ -47,14 +47,14 @@
47
47
  "devDependencies": {
48
48
  "typescript": "^5.9.3",
49
49
  "vitest": "^3.2.4",
50
- "@wooksjs/event-core": "^0.7.2",
51
- "wooks": "^0.7.2"
50
+ "@wooksjs/event-core": "^0.7.4",
51
+ "wooks": "^0.7.4"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@prostojs/logger": "^0.4.3",
55
- "@prostojs/router": "^0.3.2",
56
- "@wooksjs/event-core": "^0.7.2",
57
- "wooks": "^0.7.2"
55
+ "@prostojs/router": "^0.3.3",
56
+ "wooks": "^0.7.4",
57
+ "@wooksjs/event-core": "^0.7.4"
58
58
  },
59
59
  "scripts": {
60
60
  "build": "rolldown -c ../../rolldown.config.mjs",
@@ -107,13 +107,13 @@ if (is('basic')) {
107
107
 
108
108
  **Returned properties:**
109
109
 
110
- | Property | Type | Description |
111
- | ---------------------- | -------------------------------- | -------------------------------------------------------------- |
112
- | `authorization` | `string \| undefined` | Raw Authorization header value |
113
- | `type()` | `string \| null` | Auth scheme: `'Basic'`, `'Bearer'`, etc. |
114
- | `credentials()` | `string \| null` | Everything after the scheme |
115
- | `is(type)` | `boolean` | Check auth scheme: `'basic'`, `'bearer'`, or any custom scheme |
116
- | `basicCredentials()` | `{ username, password } \| null` | Decoded Basic credentials |
110
+ | Property | Type | Description |
111
+ | -------------------- | -------------------------------- | -------------------------------------------------------------- |
112
+ | `authorization` | `string \| undefined` | Raw Authorization header value |
113
+ | `type()` | `string \| null` | Auth scheme: `'Basic'`, `'Bearer'`, etc. |
114
+ | `credentials()` | `string \| null` | Everything after the scheme |
115
+ | `is(type)` | `boolean` | Check auth scheme: `'basic'`, `'bearer'`, or any custom scheme |
116
+ | `basicCredentials()` | `{ username, password } \| null` | Decoded Basic credentials |
117
117
 
118
118
  ### `useAccept(ctx?)`
119
119