@theholocron/clerk-client 1.31.0 → 1.32.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.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import "@theholocron/http-client";
2
2
  import { ErrorSink, Logger } from "@theholocron/observability/core";
3
- //#region src/utils.d.ts
3
+ //#region ../../../../../src/utils.d.ts
4
4
  interface ClerkClientOptions {
5
5
  /** Clerk secret key (sk_live_... or sk_test_...). */
6
6
  token: string;
@@ -14,14 +14,14 @@ interface ClerkClientOptions {
14
14
  errors?: ErrorSink;
15
15
  }
16
16
  //#endregion
17
- //#region src/instance/instance.d.ts
17
+ //#region ../../../../../src/instance/instance.d.ts
18
18
  interface ClerkInstance {
19
19
  id?: string;
20
20
  object?: string;
21
21
  environment_type?: "development" | "production" | "staging" | string;
22
22
  }
23
23
  //#endregion
24
- //#region src/users/users.d.ts
24
+ //#region ../../../../../src/users/users.d.ts
25
25
  interface ClerkEmailAddress {
26
26
  id: string;
27
27
  object: "email_address";
@@ -146,7 +146,7 @@ interface UpdateClerkUserInput {
146
146
  create_organization_enabled?: boolean;
147
147
  }
148
148
  //#endregion
149
- //#region src/webhooks/webhooks.d.ts
149
+ //#region ../../../../../src/webhooks/webhooks.d.ts
150
150
  interface ClerkSvixApp {
151
151
  svix_app_id?: string;
152
152
  }
@@ -156,7 +156,7 @@ interface ClerkSvixUrl {
156
156
  svix_url?: string;
157
157
  }
158
158
  //#endregion
159
- //#region src/index.d.ts
159
+ //#region ../../../../../src/index.d.ts
160
160
  declare function createClerkClient(opts: ClerkClientOptions): {
161
161
  instance: {
162
162
  get: () => Promise<ClerkInstance>;
package/dist/index.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  import { createRestClient } from "@theholocron/http-client";
2
- //#region src/instance/instance.ts
2
+ //#region ../../../../../src/instance/instance.ts
3
3
  function instance(rest) {
4
4
  return { get: () => rest.request("/instance") };
5
5
  }
6
6
  //#endregion
7
- //#region src/users/users.ts
7
+ //#region ../../../../../src/users/users.ts
8
8
  const PATH$1 = "/users";
9
9
  function buildUsersQuery(params) {
10
10
  const qs = new URLSearchParams();
@@ -47,7 +47,7 @@ function users(rest) {
47
47
  };
48
48
  }
49
49
  //#endregion
50
- //#region src/utils.ts
50
+ //#region ../../../../../src/utils.ts
51
51
  function createClerkRestClient(opts) {
52
52
  return createRestClient({
53
53
  baseUrl: opts.baseUrl ?? "https://api.clerk.com/v1",
@@ -59,7 +59,7 @@ function createClerkRestClient(opts) {
59
59
  });
60
60
  }
61
61
  //#endregion
62
- //#region src/webhooks/webhooks.ts
62
+ //#region ../../../../../src/webhooks/webhooks.ts
63
63
  const PATH = "/webhooks";
64
64
  function webhooks(rest) {
65
65
  return {
@@ -68,7 +68,7 @@ function webhooks(rest) {
68
68
  };
69
69
  }
70
70
  //#endregion
71
- //#region src/index.ts
71
+ //#region ../../../../../src/index.ts
72
72
  function createClerkClient(opts) {
73
73
  const rest = createClerkRestClient(opts);
74
74
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/clerk-client",
3
- "version": "1.31.0",
3
+ "version": "1.32.1",
4
4
  "description": "A TypeScript client for the Clerk Backend API",
5
5
  "keywords": [
6
6
  "clerk",
@@ -33,13 +33,13 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@theholocron/observability": "^0.3.0",
36
- "@theholocron/http-client": "^1.31.0"
36
+ "@theholocron/http-client": "^1.32.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@theholocron/cli": "5.0.0-alpha.33",
39
+ "@theholocron/cli": "5.0.0-alpha.79",
40
40
  "@theholocron/eslint-config": "^8.4.3",
41
41
  "@theholocron/tsconfig": "^8.2.0",
42
- "@theholocron/tsdown-config": "^8.2.0",
42
+ "@theholocron/tsdown-config": "^8.6.1",
43
43
  "@theholocron/vitest-config": "^8.2.0",
44
44
  "@types/node": "^26.4.1",
45
45
  "@vitest/coverage-v8": "^5.0.0",
@@ -61,7 +61,7 @@
61
61
  "releases": "https://github.com/theholocron/clients/releases",
62
62
  "wiki": "https://github.com/theholocron/clients/wiki",
63
63
  "scripts": {
64
- "delivery.build": "tsdown",
64
+ "delivery.build": "holocron run delivery.build -- && node ../../scripts/check-bundle-size.mjs",
65
65
  "sourceQuality.staticAnalysis": "holocron run sourceQuality.staticAnalysis --",
66
66
  "test:watch": "vitest",
67
67
  "verification.typeSafety": "holocron run verification.typeSafety --",