@twin.org/api-auth-entity-storage-models 0.0.1-next.34 → 0.0.1-next.35

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,12 @@
1
1
  # @twin.org/api-auth-entity-storage-models - Changelog
2
2
 
3
+ ## [0.0.1-next.35](https://github.com/twinfoundation/api/compare/api-auth-entity-storage-models-v0.0.1-next.34...api-auth-entity-storage-models-v0.0.1-next.35) (2025-06-11)
4
+
5
+
6
+ ### Features
7
+
8
+ * update dependencies ([1171dc4](https://github.com/twinfoundation/api/commit/1171dc416a9481737f6a640e3cf30145768f37e9))
9
+
3
10
  ## [0.0.1-next.34](https://github.com/twinfoundation/api/compare/api-auth-entity-storage-models-v0.0.1-next.33...api-auth-entity-storage-models-v0.0.1-next.34) (2025-05-27)
4
11
 
5
12
 
@@ -10,7 +10,7 @@ Contract definition for authentication component.
10
10
 
11
11
  ### login()
12
12
 
13
- > **login**(`email`, `password`): `Promise`\<\{ `token`: `string`; `expiry`: `number`; \}\>
13
+ > **login**(`email`, `password`): `Promise`\<\{ `token?`: `string`; `expiry`: `number`; \}\>
14
14
 
15
15
  Perform a login for the user.
16
16
 
@@ -30,7 +30,7 @@ The password for the user.
30
30
 
31
31
  #### Returns
32
32
 
33
- `Promise`\<\{ `token`: `string`; `expiry`: `number`; \}\>
33
+ `Promise`\<\{ `token?`: `string`; `expiry`: `number`; \}\>
34
34
 
35
35
  The authentication token for the user, if it uses a mechanism with public access.
36
36
 
@@ -60,7 +60,7 @@ Nothing.
60
60
 
61
61
  ### refresh()
62
62
 
63
- > **refresh**(`token?`): `Promise`\<\{ `token`: `string`; `expiry`: `number`; \}\>
63
+ > **refresh**(`token?`): `Promise`\<\{ `token?`: `string`; `expiry`: `number`; \}\>
64
64
 
65
65
  Refresh the token.
66
66
 
@@ -74,6 +74,6 @@ The token to refresh, if it uses a mechanism with public access.
74
74
 
75
75
  #### Returns
76
76
 
77
- `Promise`\<\{ `token`: `string`; `expiry`: `number`; \}\>
77
+ `Promise`\<\{ `token?`: `string`; `expiry`: `number`; \}\>
78
78
 
79
79
  The refreshed token, if it uses a mechanism with public access.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/api-auth-entity-storage-models",
3
- "version": "0.0.1-next.34",
3
+ "version": "0.0.1-next.35",
4
4
  "description": "Models which define the structure of the Auth Entity Storage contracts.",
5
5
  "repository": {
6
6
  "type": "git",