@meistrari/auth-nuxt 3.2.1 → 3.3.0
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/dist/module.json
CHANGED
|
@@ -24,6 +24,11 @@ export interface UseTelaApiKey {
|
|
|
24
24
|
* @returns A list of API keys
|
|
25
25
|
*/
|
|
26
26
|
listApiKeys: ApiKeyClient['listApiKeys'];
|
|
27
|
+
/**
|
|
28
|
+
* Lists all API keys of the active organization.
|
|
29
|
+
* @returns A list of API keys
|
|
30
|
+
*/
|
|
31
|
+
listOrganizationApiKeys: ApiKeyClient['listOrganizationApiKeys'];
|
|
27
32
|
/**
|
|
28
33
|
* Retrieves an existing API key.
|
|
29
34
|
* @param id - The ID of the API key to retrieve
|
|
@@ -16,6 +16,9 @@ export function useTelaApiKey() {
|
|
|
16
16
|
async function listApiKeys() {
|
|
17
17
|
return await authClient.apiKey.listApiKeys();
|
|
18
18
|
}
|
|
19
|
+
async function listOrganizationApiKeys() {
|
|
20
|
+
return await authClient.apiKey.listOrganizationApiKeys();
|
|
21
|
+
}
|
|
19
22
|
async function getApiKey(id) {
|
|
20
23
|
return await authClient.apiKey.getApiKey(id);
|
|
21
24
|
}
|
|
@@ -24,6 +27,7 @@ export function useTelaApiKey() {
|
|
|
24
27
|
updateApiKey,
|
|
25
28
|
deleteApiKey,
|
|
26
29
|
listApiKeys,
|
|
30
|
+
listOrganizationApiKeys,
|
|
27
31
|
getApiKey
|
|
28
32
|
};
|
|
29
33
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meistrari/auth-nuxt",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"build": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt-module-build build"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@meistrari/auth-core": "1.
|
|
38
|
+
"@meistrari/auth-core": "1.13.1",
|
|
39
39
|
"jose": "6.1.3"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|