@theholocron/infisical-client 1.5.0 → 1.5.2

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 +2 -2
package/dist/index.mjs CHANGED
@@ -1,14 +1,4 @@
1
1
  import { createRestClient } from "@theholocron/http-client";
2
- //#region src/utils.ts
3
- function createInfisicalRestClient(opts) {
4
- return createRestClient({
5
- baseUrl: opts.baseUrl ?? "https://app.infisical.com/api",
6
- token: opts.token,
7
- vendor: "Infisical",
8
- fetch: opts.fetch
9
- });
10
- }
11
- //#endregion
12
2
  //#region src/secrets/secrets.ts
13
3
  function secrets(rest) {
14
4
  return {
@@ -50,6 +40,16 @@ function secrets(rest) {
50
40
  };
51
41
  }
52
42
  //#endregion
43
+ //#region src/utils.ts
44
+ function createInfisicalRestClient(opts) {
45
+ return createRestClient({
46
+ baseUrl: opts.baseUrl ?? "https://app.infisical.com/api",
47
+ token: opts.token,
48
+ vendor: "Infisical",
49
+ fetch: opts.fetch
50
+ });
51
+ }
52
+ //#endregion
53
53
  //#region src/workspaces/workspaces.ts
54
54
  function workspaces(rest) {
55
55
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/infisical-client",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "A TypeScript client for the Infisical API",
5
5
  "homepage": "https://github.com/theholocron/clients/tree/main/packages/infisical-client#readme",
6
6
  "bugs": "https://github.com/theholocron/clients/issues",
@@ -30,7 +30,7 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@theholocron/http-client": "^1.5.0"
33
+ "@theholocron/http-client": "^1.5.2"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^26.1.2",