@twin.org/api-auth-entity-storage-models 0.0.1-next.33 → 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,19 @@
|
|
|
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
|
+
|
|
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)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Miscellaneous Chores
|
|
14
|
+
|
|
15
|
+
* **api-auth-entity-storage-models:** Synchronize repo versions
|
|
16
|
+
|
|
3
17
|
## [0.0.1-next.33](https://github.com/twinfoundation/api/compare/api-auth-entity-storage-models-v0.0.1-next.32...api-auth-entity-storage-models-v0.0.1-next.33) (2025-04-17)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -10,7 +10,7 @@ Contract definition for authentication component.
|
|
|
10
10
|
|
|
11
11
|
### login()
|
|
12
12
|
|
|
13
|
-
> **login**(`email`, `password`): `Promise`\<\{ `token
|
|
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
|
|
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
|
|
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
|
|
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