@twin.org/web 0.0.1-next.6 → 0.0.1-next.7

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.
@@ -39,35 +39,35 @@ const HeaderTypes = {
39
39
  /**
40
40
  * Content Type.
41
41
  */
42
- ContentType: "Content-Type",
42
+ ContentType: "content-type",
43
43
  /**
44
44
  * Content Length.
45
45
  */
46
- ContentLength: "Content-Length",
46
+ ContentLength: "content-length",
47
47
  /**
48
48
  * Content Disposition.
49
49
  */
50
- ContentDisposition: "Content-Disposition",
50
+ ContentDisposition: "content-disposition",
51
51
  /**
52
52
  * Accept.
53
53
  */
54
- Accept: "Accept",
54
+ Accept: "accept",
55
55
  /**
56
56
  * Authorization.
57
57
  */
58
- Authorization: "Authorization",
58
+ Authorization: "authorization",
59
59
  /**
60
60
  * Cookie.
61
61
  */
62
- Cookie: "Cookie",
62
+ Cookie: "cookie",
63
63
  /**
64
64
  * Set Cookie.
65
65
  */
66
- SetCookie: "Set-Cookie",
66
+ SetCookie: "set-cookie",
67
67
  /**
68
68
  * Location
69
69
  */
70
- Location: "Location"
70
+ Location: "location"
71
71
  };
72
72
 
73
73
  // Copyright 2024 IOTA Stiftung.
@@ -37,35 +37,35 @@ const HeaderTypes = {
37
37
  /**
38
38
  * Content Type.
39
39
  */
40
- ContentType: "Content-Type",
40
+ ContentType: "content-type",
41
41
  /**
42
42
  * Content Length.
43
43
  */
44
- ContentLength: "Content-Length",
44
+ ContentLength: "content-length",
45
45
  /**
46
46
  * Content Disposition.
47
47
  */
48
- ContentDisposition: "Content-Disposition",
48
+ ContentDisposition: "content-disposition",
49
49
  /**
50
50
  * Accept.
51
51
  */
52
- Accept: "Accept",
52
+ Accept: "accept",
53
53
  /**
54
54
  * Authorization.
55
55
  */
56
- Authorization: "Authorization",
56
+ Authorization: "authorization",
57
57
  /**
58
58
  * Cookie.
59
59
  */
60
- Cookie: "Cookie",
60
+ Cookie: "cookie",
61
61
  /**
62
62
  * Set Cookie.
63
63
  */
64
- SetCookie: "Set-Cookie",
64
+ SetCookie: "set-cookie",
65
65
  /**
66
66
  * Location
67
67
  */
68
- Location: "Location"
68
+ Location: "location"
69
69
  };
70
70
 
71
71
  // Copyright 2024 IOTA Stiftung.
@@ -5,35 +5,35 @@ export declare const HeaderTypes: {
5
5
  /**
6
6
  * Content Type.
7
7
  */
8
- readonly ContentType: "Content-Type";
8
+ readonly ContentType: "content-type";
9
9
  /**
10
10
  * Content Length.
11
11
  */
12
- readonly ContentLength: "Content-Length";
12
+ readonly ContentLength: "content-length";
13
13
  /**
14
14
  * Content Disposition.
15
15
  */
16
- readonly ContentDisposition: "Content-Disposition";
16
+ readonly ContentDisposition: "content-disposition";
17
17
  /**
18
18
  * Accept.
19
19
  */
20
- readonly Accept: "Accept";
20
+ readonly Accept: "accept";
21
21
  /**
22
22
  * Authorization.
23
23
  */
24
- readonly Authorization: "Authorization";
24
+ readonly Authorization: "authorization";
25
25
  /**
26
26
  * Cookie.
27
27
  */
28
- readonly Cookie: "Cookie";
28
+ readonly Cookie: "cookie";
29
29
  /**
30
30
  * Set Cookie.
31
31
  */
32
- readonly SetCookie: "Set-Cookie";
32
+ readonly SetCookie: "set-cookie";
33
33
  /**
34
34
  * Location
35
35
  */
36
- readonly Location: "Location";
36
+ readonly Location: "location";
37
37
  };
38
38
  /**
39
39
  * Common http header types.
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/web - Changelog
2
2
 
3
- ## 0.0.1-next.6
3
+ ## 0.0.1-next.7
4
4
 
5
5
  - Initial Release
@@ -8,48 +8,48 @@ Common http header types.
8
8
 
9
9
  ### ContentType
10
10
 
11
- > `readonly` **ContentType**: `"Content-Type"` = `"Content-Type"`
11
+ > `readonly` **ContentType**: `"content-type"` = `"content-type"`
12
12
 
13
13
  Content Type.
14
14
 
15
15
  ### ContentLength
16
16
 
17
- > `readonly` **ContentLength**: `"Content-Length"` = `"Content-Length"`
17
+ > `readonly` **ContentLength**: `"content-length"` = `"content-length"`
18
18
 
19
19
  Content Length.
20
20
 
21
21
  ### ContentDisposition
22
22
 
23
- > `readonly` **ContentDisposition**: `"Content-Disposition"` = `"Content-Disposition"`
23
+ > `readonly` **ContentDisposition**: `"content-disposition"` = `"content-disposition"`
24
24
 
25
25
  Content Disposition.
26
26
 
27
27
  ### Accept
28
28
 
29
- > `readonly` **Accept**: `"Accept"` = `"Accept"`
29
+ > `readonly` **Accept**: `"accept"` = `"accept"`
30
30
 
31
31
  Accept.
32
32
 
33
33
  ### Authorization
34
34
 
35
- > `readonly` **Authorization**: `"Authorization"` = `"Authorization"`
35
+ > `readonly` **Authorization**: `"authorization"` = `"authorization"`
36
36
 
37
37
  Authorization.
38
38
 
39
39
  ### Cookie
40
40
 
41
- > `readonly` **Cookie**: `"Cookie"` = `"Cookie"`
41
+ > `readonly` **Cookie**: `"cookie"` = `"cookie"`
42
42
 
43
43
  Cookie.
44
44
 
45
45
  ### SetCookie
46
46
 
47
- > `readonly` **SetCookie**: `"Set-Cookie"` = `"Set-Cookie"`
47
+ > `readonly` **SetCookie**: `"set-cookie"` = `"set-cookie"`
48
48
 
49
49
  Set Cookie.
50
50
 
51
51
  ### Location
52
52
 
53
- > `readonly` **Location**: `"Location"` = `"Location"`
53
+ > `readonly` **Location**: `"location"` = `"location"`
54
54
 
55
55
  Location
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/web",
3
- "version": "0.0.1-next.6",
3
+ "version": "0.0.1-next.7",
4
4
  "description": "Contains classes for use with web operations",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,8 +14,8 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/core": "0.0.1-next.6",
18
- "@twin.org/crypto": "0.0.1-next.6",
17
+ "@twin.org/core": "0.0.1-next.7",
18
+ "@twin.org/crypto": "0.0.1-next.7",
19
19
  "@twin.org/nameof": "next"
20
20
  },
21
21
  "main": "./dist/cjs/index.cjs",