@twin.org/api-auth-entity-storage-rest-client 0.0.1-next.32 → 0.0.1-next.33
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,21 @@
|
|
|
1
1
|
# @twin.org/api-auth-entity-storage-rest-client - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.1-next.33](https://github.com/twinfoundation/api/compare/api-auth-entity-storage-rest-client-v0.0.1-next.32...api-auth-entity-storage-rest-client-v0.0.1-next.33) (2025-04-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* use shared store mechanism ([#19](https://github.com/twinfoundation/api/issues/19)) ([32116df](https://github.com/twinfoundation/api/commit/32116df3b4380a30137f5056f242a5c99afa2df9))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/api-auth-entity-storage-models bumped from 0.0.1-next.32 to 0.0.1-next.33
|
|
16
|
+
* @twin.org/api-core bumped from 0.0.1-next.32 to 0.0.1-next.33
|
|
17
|
+
* @twin.org/api-models bumped from 0.0.1-next.32 to 0.0.1-next.33
|
|
18
|
+
|
|
3
19
|
## [0.0.1-next.32](https://github.com/twinfoundation/api/compare/api-auth-entity-storage-rest-client-v0.0.1-next.31...api-auth-entity-storage-rest-client-v0.0.1-next.32) (2025-03-28)
|
|
4
20
|
|
|
5
21
|
|
|
@@ -12,9 +12,9 @@ The client to connect to the authentication service.
|
|
|
12
12
|
|
|
13
13
|
## Constructors
|
|
14
14
|
|
|
15
|
-
###
|
|
15
|
+
### Constructor
|
|
16
16
|
|
|
17
|
-
> **new EntityStorageAuthenticationClient**(`config`):
|
|
17
|
+
> **new EntityStorageAuthenticationClient**(`config`): `EntityStorageAuthenticationClient`
|
|
18
18
|
|
|
19
19
|
Create a new instance of EntityStorageAuthenticationClient.
|
|
20
20
|
|
|
@@ -28,7 +28,7 @@ The configuration for the client.
|
|
|
28
28
|
|
|
29
29
|
#### Returns
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
`EntityStorageAuthenticationClient`
|
|
32
32
|
|
|
33
33
|
#### Overrides
|
|
34
34
|
|
|
@@ -82,7 +82,7 @@ The authentication token for the user, if it uses a mechanism with public access
|
|
|
82
82
|
|
|
83
83
|
### logout()
|
|
84
84
|
|
|
85
|
-
> **logout**(`token
|
|
85
|
+
> **logout**(`token?`): `Promise`\<`void`\>
|
|
86
86
|
|
|
87
87
|
Logout the current user.
|
|
88
88
|
|
|
@@ -108,7 +108,7 @@ Nothing.
|
|
|
108
108
|
|
|
109
109
|
### refresh()
|
|
110
110
|
|
|
111
|
-
> **refresh**(`token
|
|
111
|
+
> **refresh**(`token?`): `Promise`\<\{ `token`: `string`; `expiry`: `number`; \}\>
|
|
112
112
|
|
|
113
113
|
Refresh the token.
|
|
114
114
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/api-auth-entity-storage-rest-client",
|
|
3
|
-
"version": "0.0.1-next.
|
|
3
|
+
"version": "0.0.1-next.33",
|
|
4
4
|
"description": "Perform REST authentication using entity storage.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/api-auth-entity-storage-models": "0.0.1-next.
|
|
18
|
-
"@twin.org/api-core": "0.0.1-next.
|
|
19
|
-
"@twin.org/api-models": "0.0.1-next.
|
|
17
|
+
"@twin.org/api-auth-entity-storage-models": "0.0.1-next.33",
|
|
18
|
+
"@twin.org/api-core": "0.0.1-next.33",
|
|
19
|
+
"@twin.org/api-models": "0.0.1-next.33",
|
|
20
20
|
"@twin.org/core": "next",
|
|
21
21
|
"@twin.org/nameof": "next",
|
|
22
22
|
"@twin.org/web": "next"
|