@nauth-toolkit/client 0.3.1 → 0.3.2
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/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1508,7 +1508,8 @@ var ApiKeyOperations = class {
|
|
|
1508
1508
|
* List the current user's API keys (sanitized).
|
|
1509
1509
|
*/
|
|
1510
1510
|
async list() {
|
|
1511
|
-
|
|
1511
|
+
const res = await this.get(this.basePath);
|
|
1512
|
+
return res.apiKeys ?? [];
|
|
1512
1513
|
}
|
|
1513
1514
|
/**
|
|
1514
1515
|
* Update a key's label and/or IP allowlist.
|