@twin.org/web 0.0.1-next.56 → 0.0.1-next.58

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/docs/changelog.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @twin.org/web - Changelog
2
2
 
3
+ ## [0.0.1-next.58](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.57...web-v0.0.1-next.58) (2025-06-13)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **web:** Synchronize repo versions
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/core bumped from 0.0.1-next.57 to 0.0.1-next.58
16
+ * @twin.org/crypto bumped from 0.0.1-next.57 to 0.0.1-next.58
17
+
18
+ ## [0.0.1-next.57](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.56...web-v0.0.1-next.57) (2025-06-10)
19
+
20
+
21
+ ### Features
22
+
23
+ * add guards arrayEndsWith and arrayStartsWith ([95d875e](https://github.com/twinfoundation/framework/commit/95d875ec8ccb4713c145fdde941d4cfedcec2ed3))
24
+
25
+
26
+ ### Dependencies
27
+
28
+ * The following workspace dependencies were updated
29
+ * dependencies
30
+ * @twin.org/core bumped from 0.0.1-next.56 to 0.0.1-next.57
31
+ * @twin.org/crypto bumped from 0.0.1-next.56 to 0.0.1-next.57
32
+
3
33
  ## [0.0.1-next.56](https://github.com/twinfoundation/framework/compare/web-v0.0.1-next.55...web-v0.0.1-next.56) (2025-05-08)
4
34
 
5
35
 
@@ -88,7 +88,7 @@ The crypto key.
88
88
 
89
89
  ### toRaw()
90
90
 
91
- > `static` **toRaw**(`jwk`): `Promise`\<\{ `publicKey`: `Uint8Array`\<`ArrayBufferLike`\>; `privateKey`: `Uint8Array`\<`ArrayBufferLike`\>; \}\>
91
+ > `static` **toRaw**(`jwk`): `Promise`\<\{ `publicKey?`: `Uint8Array`\<`ArrayBufferLike`\>; `privateKey?`: `Uint8Array`\<`ArrayBufferLike`\>; \}\>
92
92
 
93
93
  Convert the JWK to raw keys.
94
94
 
@@ -102,6 +102,6 @@ The JWK to convert to raw.
102
102
 
103
103
  #### Returns
104
104
 
105
- `Promise`\<\{ `publicKey`: `Uint8Array`\<`ArrayBufferLike`\>; `privateKey`: `Uint8Array`\<`ArrayBufferLike`\>; \}\>
105
+ `Promise`\<\{ `publicKey?`: `Uint8Array`\<`ArrayBufferLike`\>; `privateKey?`: `Uint8Array`\<`ArrayBufferLike`\>; \}\>
106
106
 
107
107
  The crypto key.
@@ -104,7 +104,7 @@ The encoded token.
104
104
 
105
105
  ### decode()
106
106
 
107
- > `static` **decode**\<`T`, `U`\>(`token`): `Promise`\<\{ `header`: `T`; `payload`: `U`; `signature`: `Uint8Array`\<`ArrayBufferLike`\>; \}\>
107
+ > `static` **decode**\<`T`, `U`\>(`token`): `Promise`\<\{ `header?`: `T`; `payload?`: `U`; `signature?`: `Uint8Array`\<`ArrayBufferLike`\>; \}\>
108
108
 
109
109
  Decode a token.
110
110
 
@@ -128,7 +128,7 @@ The token to decode.
128
128
 
129
129
  #### Returns
130
130
 
131
- `Promise`\<\{ `header`: `T`; `payload`: `U`; `signature`: `Uint8Array`\<`ArrayBufferLike`\>; \}\>
131
+ `Promise`\<\{ `header?`: `T`; `payload?`: `U`; `signature?`: `Uint8Array`\<`ArrayBufferLike`\>; \}\>
132
132
 
133
133
  The decoded payload.
134
134
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/web",
3
- "version": "0.0.1-next.56",
3
+ "version": "0.0.1-next.58",
4
4
  "description": "Contains classes for use with web operations",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,10 +14,10 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/core": "0.0.1-next.56",
18
- "@twin.org/crypto": "0.0.1-next.56",
17
+ "@twin.org/core": "0.0.1-next.58",
18
+ "@twin.org/crypto": "0.0.1-next.58",
19
19
  "@twin.org/nameof": "next",
20
- "jose": "6.0.10"
20
+ "jose": "6.0.11"
21
21
  },
22
22
  "main": "./dist/cjs/index.cjs",
23
23
  "module": "./dist/esm/index.mjs",