@livespace/plugin-cli 0.1.0 → 0.1.1

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.
@@ -147,6 +147,6 @@ export async function keysJwks(ctx) {
147
147
  await mkdir(dirname(path), { recursive: true });
148
148
  await writeFile(path, `${JSON.stringify({ keys }, null, 2)}\n`);
149
149
  ctx.out.success(`Wrote ${out}.`);
150
- ctx.out.end("For a plugin also installed by URL: serve it at /.well-known/livespace/jwks.json on the plugin's origin, as application/json with Access-Control-Allow-Origin: *, no redirect, under 16 KiB.");
150
+ ctx.out.end('For a plugin also installed by URL: serve it at /.well-known/livespace/jwks.json on the plugin\'s origin, as application/json, no redirect, under 16 KiB, with Access-Control-Allow-Origin: * on any request header (browsers send priority and cache-control). On S3, that\'s a CORS rule with "AllowedHeaders": ["*"].');
151
151
  ctx.out.result({ jwks: out, keys: keys.map((k) => k.kid) });
152
152
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livespace/plugin-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Sets up a Livespace plugin's catalog manifest, its key pairs included.",
5
5
  "author": "LS FE team",
6
6
  "license": "MIT",
@@ -8,11 +8,18 @@
8
8
  "bin": {
9
9
  "livespace-plugin": "./dist/cli.js"
10
10
  },
11
- "files": ["dist"],
11
+ "files": [
12
+ "dist"
13
+ ],
12
14
  "engines": {
13
15
  "node": ">=20.12"
14
16
  },
15
- "keywords": ["livespace", "plugin", "manifest", "cli"],
17
+ "keywords": [
18
+ "livespace",
19
+ "plugin",
20
+ "manifest",
21
+ "cli"
22
+ ],
16
23
  "homepage": "https://www.npmjs.com/package/@livespace/plugin-cli",
17
24
  "repository": {
18
25
  "type": "git",