@theholocron/infisical-client 1.7.0 → 1.8.0
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.mjs +10 -10
- 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.
|
|
3
|
+
"version": "1.8.0",
|
|
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.
|
|
33
|
+
"@theholocron/http-client": "^1.8.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^26.2.0",
|