From 26cce077bbf06740e49ee86eadae96f88f2bf0c3 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Fri, 17 Jan 2025 15:21:41 -0800 Subject: [PATCH] Secret key to editor type --- package-lock.json | 8 ++++---- package.json | 2 +- plugins/auth-jwt/src/index.ts | 3 ++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index e01ed848..19c020c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "plugins/*" ], "dependencies": { - "@yaakapp/api": "^0.3.0" + "@yaakapp/api": "^0.3.2" }, "devDependencies": { "@types/node": "^22.7.4", @@ -1013,9 +1013,9 @@ } }, "node_modules/@yaakapp/api": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.3.0.tgz", - "integrity": "sha512-A2msKEiqVIOdqn2q9oVXT69aJ7EwrbwNZ6gdrvqTqeTERLddRtO0OKj6wYUUpiqbGr1QY8Byu4BzHclp/aYHWw==", + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.3.2.tgz", + "integrity": "sha512-NiYQiVClAGfWelg5hwPhjRmYhC8K5KUtJS4tXdQpq573lUDQ7Dql7qsgnRwMUZ8gaiiDN7OXuphHXopndHLA+A==", "dependencies": { "@types/node": "^22.5.4" } diff --git a/package.json b/package.json index f73d48a6..2f214778 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,6 @@ "workspaces-run": "^1.0.2" }, "dependencies": { - "@yaakapp/api": "^0.3.0" + "@yaakapp/api": "^0.3.2" } } diff --git a/plugins/auth-jwt/src/index.ts b/plugins/auth-jwt/src/index.ts index 309c6809..9edc2521 100644 --- a/plugins/auth-jwt/src/index.ts +++ b/plugins/auth-jwt/src/index.ts @@ -34,10 +34,11 @@ export const plugin: PluginDefinition = { options: algorithms.map(value => ({ name: value === 'none' ? 'None' : value, value })), }, { - type: 'text', + type: 'editor', name: 'secret', label: 'Secret or Private Key', optional: true, + hideGutter: true, }, { type: 'checkbox',