@theholocron/clerk-client 1.3.3 → 1.3.5

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.
Files changed (2) hide show
  1. package/dist/index.mjs +10 -10
  2. package/package.json +4 -3
package/dist/index.mjs CHANGED
@@ -1,14 +1,4 @@
1
1
  import { createRestClient } from "@theholocron/http-client";
2
- //#region src/utils.ts
3
- function createClerkRestClient(opts) {
4
- return createRestClient({
5
- baseUrl: opts.baseUrl ?? "https://api.clerk.com/v1",
6
- token: opts.token,
7
- vendor: "Clerk",
8
- fetch: opts.fetch
9
- });
10
- }
11
- //#endregion
12
2
  //#region src/instance/instance.ts
13
3
  function instance(rest) {
14
4
  return { get: () => rest.request("/instance") };
@@ -57,6 +47,16 @@ function users(rest) {
57
47
  };
58
48
  }
59
49
  //#endregion
50
+ //#region src/utils.ts
51
+ function createClerkRestClient(opts) {
52
+ return createRestClient({
53
+ baseUrl: opts.baseUrl ?? "https://api.clerk.com/v1",
54
+ token: opts.token,
55
+ vendor: "Clerk",
56
+ fetch: opts.fetch
57
+ });
58
+ }
59
+ //#endregion
60
60
  //#region src/webhooks/webhooks.ts
61
61
  const PATH = "/webhooks";
62
62
  function webhooks(rest) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/clerk-client",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "description": "A TypeScript client for the Clerk Backend API",
5
5
  "homepage": "https://github.com/theholocron/clients/tree/main/packages/clerk-client#readme",
6
6
  "bugs": "https://github.com/theholocron/clients/issues",
@@ -30,11 +30,11 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@theholocron/http-client": "^1.3.3"
33
+ "@theholocron/http-client": "^1.3.5"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^26.1.1",
37
- "@theholocron/eslint-config": "^7.4.1",
37
+ "@theholocron/eslint-config": "^7.6.0",
38
38
  "@theholocron/tsconfig": "^7.4.1",
39
39
  "@theholocron/tsdown-config": "^7.4.1",
40
40
  "@theholocron/vitest-config": "^7.4.1",
@@ -42,6 +42,7 @@
42
42
  "@vitest/eslint-plugin": "^1.6.23",
43
43
  "eslint": "^10.7.0",
44
44
  "eslint-plugin-n": "^18.2.2",
45
+ "eslint-plugin-simple-import-sort": "^14.0.0",
45
46
  "globals": "^17.7.0",
46
47
  "tsdown": "^0.22.13",
47
48
  "typescript": "^5.9.3",