@theholocron/holocron-plugin-clerk 5.0.0-alpha.421 → 5.0.0-alpha.423
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/README.md +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +3 -3
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Token resolution order:
|
|
|
19
19
|
2. `HOLOCRON_CLERK_SECRET_KEY` env var
|
|
20
20
|
3. `CLERK_SECRET_KEY` env var (Clerk's own default; what their docs reference)
|
|
21
21
|
4. Keyring `clerk.<org>` — tried first when an org is active via `--org`, `HOLOCRON_ORG`, or `org` in `holocron.config.ts`
|
|
22
|
-
5. Keyring `clerk` — unnamespaced fallback; set via `holocron
|
|
22
|
+
5. Keyring `clerk` — unnamespaced fallback; set via `holocron new token clerk <key>`
|
|
23
23
|
|
|
24
24
|
> **Why not the `clerk` CLI?** Rando's adapter shells out to `npx clerk@latest
|
|
25
25
|
api …`, but the `clerk` CLI only wraps the same REST API holocron talks to.
|
package/dist/index.d.mts
CHANGED
|
@@ -58,7 +58,7 @@ export declare function createPlugin(options?: ClerkPluginOptions): {
|
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
|
-
* One-line hint printed by `holocron
|
|
61
|
+
* One-line hint printed by `holocron new token clerk` when no token
|
|
62
62
|
* is supplied or the supplied token is rejected. Points operators at
|
|
63
63
|
* the Clerk dashboard's API Keys section — MUST be the SECRET key
|
|
64
64
|
* (sk_test_* / sk_live_*), not the publishable key.
|
package/dist/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const resolveToken = createResolveToken({
|
|
|
8
8
|
envName: "HOLOCRON_CLERK_SECRET_KEY",
|
|
9
9
|
vendorEnvName: "CLERK_SECRET_KEY",
|
|
10
10
|
keyringService: "clerk",
|
|
11
|
-
errorMessage: "no Clerk secret key found. Pass --token <KEY>, set HOLOCRON_CLERK_SECRET_KEY / CLERK_SECRET_KEY, or run: holocron
|
|
11
|
+
errorMessage: "no Clerk secret key found. Pass --token <KEY>, set HOLOCRON_CLERK_SECRET_KEY / CLERK_SECRET_KEY, or run: holocron new token clerk <KEY>"
|
|
12
12
|
});
|
|
13
13
|
/** Every token this plugin takes, for `holocron doctor tokens`. */
|
|
14
14
|
const tokens = [resolveToken.token];
|
|
@@ -211,10 +211,10 @@ function createPlugin(options = {}) {
|
|
|
211
211
|
};
|
|
212
212
|
}
|
|
213
213
|
/**
|
|
214
|
-
* One-line hint printed by `holocron
|
|
214
|
+
* One-line hint printed by `holocron new token clerk` when no token
|
|
215
215
|
* is supplied or the supplied token is rejected. Points operators at
|
|
216
216
|
* the Clerk dashboard's API Keys section — MUST be the SECRET key
|
|
217
217
|
* (sk_test_* / sk_live_*), not the publishable key.
|
|
218
218
|
*/
|
|
219
|
-
const AUTH_HINT = "grab your SECRET key (sk_test_* / sk_live_*) at https://dashboard.clerk.com → API Keys, then run: holocron
|
|
219
|
+
const AUTH_HINT = "grab your SECRET key (sk_test_* / sk_live_*) at https://dashboard.clerk.com → API Keys, then run: holocron new token clerk <KEY>. Do NOT use the publishable key.";
|
|
220
220
|
export { AUTH_HINT, AuthError, ClerkAuth, auth, createClerkClient, createContext, createPlugin, parseWebhook, resolveToken, tokens, verifyToken };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/holocron-plugin-clerk",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.423",
|
|
4
4
|
"description": "Holocron plugin for Clerk. Implements the auth capability against Clerk's Backend REST API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"auth",
|
|
@@ -40,19 +40,19 @@
|
|
|
40
40
|
"tsx": "4.23.15",
|
|
41
41
|
"typescript": "^5.9.3",
|
|
42
42
|
"vitest": "^5.1.0",
|
|
43
|
-
"@theholocron/
|
|
44
|
-
"@theholocron/
|
|
45
|
-
"@theholocron/tsconfig": "^8.9.0-alpha.16",
|
|
46
|
-
"@theholocron/eslint-config": "^8.9.0-alpha.16",
|
|
43
|
+
"@theholocron/cli": "5.0.0-alpha.423",
|
|
44
|
+
"@theholocron/eslint-config": "^8.9.0-alpha.17",
|
|
47
45
|
"@theholocron/misc-utils": "^1.17.0-alpha.4",
|
|
48
|
-
"@theholocron/
|
|
49
|
-
"@theholocron/
|
|
50
|
-
"@theholocron/vitest-config": "^8.9.0-alpha.
|
|
46
|
+
"@theholocron/clerk-client": "^1.58.0-alpha.29",
|
|
47
|
+
"@theholocron/tsconfig": "^8.9.0-alpha.17",
|
|
48
|
+
"@theholocron/vitest-config": "^8.9.0-alpha.17",
|
|
49
|
+
"@theholocron/http-client": "^1.58.0-alpha.29",
|
|
50
|
+
"@theholocron/tsdown-config": "^8.9.0-alpha.17"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@theholocron/clerk-client": "^1.43.1",
|
|
54
54
|
"@theholocron/misc-utils": "^1.16.0",
|
|
55
|
-
"@theholocron/cli": "5.0.0-alpha.
|
|
55
|
+
"@theholocron/cli": "5.0.0-alpha.423"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|
|
58
58
|
"node": ">=22"
|