@alineo-labs/vault 0.3.0 → 0.3.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.
- package/dist/index.d.mts +5 -6
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { CredentialBinding, CredentialBroker } from "@alineo-labs/core";
|
|
2
2
|
import { ControlClient } from "@alineo-labs/opensandbox";
|
|
3
|
-
|
|
4
3
|
//#region src/vault-client.d.ts
|
|
5
4
|
/** Thrown for a non-2xx response from the egress sidecar's Credential Vault API. */
|
|
6
|
-
declare class VaultClientError extends Error {
|
|
5
|
+
export declare class VaultClientError extends Error {
|
|
7
6
|
readonly status: number;
|
|
8
7
|
constructor(message: string, status: number);
|
|
9
8
|
}
|
|
@@ -107,7 +106,7 @@ interface MutationRequest {
|
|
|
107
106
|
* (values and full auth config are never echoed back), and `DELETE /credential-vault` removes
|
|
108
107
|
* the whole vault — there is no per-credential DELETE route.
|
|
109
108
|
*/
|
|
110
|
-
declare class VaultClient {
|
|
109
|
+
export declare class VaultClient {
|
|
111
110
|
private readonly control;
|
|
112
111
|
private static readonly PORT;
|
|
113
112
|
constructor(control: ControlClient);
|
|
@@ -143,7 +142,7 @@ declare class VaultClient {
|
|
|
143
142
|
* `{ type: "substitution" }` → `passthrough` — round-trip; anything else is a binding some
|
|
144
143
|
* other client created.
|
|
145
144
|
*/
|
|
146
|
-
declare class UnsupportedInjectionError extends Error {
|
|
145
|
+
export declare class UnsupportedInjectionError extends Error {
|
|
147
146
|
constructor(injectionType: string);
|
|
148
147
|
}
|
|
149
148
|
/**
|
|
@@ -167,7 +166,7 @@ declare class UnsupportedInjectionError extends Error {
|
|
|
167
166
|
* });
|
|
168
167
|
* ```
|
|
169
168
|
*/
|
|
170
|
-
declare class OpenSandboxCredentialBroker implements CredentialBroker {
|
|
169
|
+
export declare class OpenSandboxCredentialBroker implements CredentialBroker {
|
|
171
170
|
private readonly useServerProxy?;
|
|
172
171
|
private readonly vault;
|
|
173
172
|
constructor(control: ControlClient, useServerProxy?: boolean | undefined);
|
|
@@ -188,4 +187,4 @@ declare class OpenSandboxCredentialBroker implements CredentialBroker {
|
|
|
188
187
|
}>>;
|
|
189
188
|
}
|
|
190
189
|
//#endregion
|
|
191
|
-
export {
|
|
190
|
+
export type { CreateRequest, MutationRequest, VaultState, WireAuth, WireBinding, WireCredential, WireCredentialSource, WireMatch };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alineo-labs/vault",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"test": "bun test"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@alineo-labs/core": "0.4.
|
|
32
|
-
"@alineo-labs/opensandbox": "0.3.
|
|
31
|
+
"@alineo-labs/core": "0.4.2",
|
|
32
|
+
"@alineo-labs/opensandbox": "0.3.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"bun-types": "1.
|
|
36
|
-
"tsdown": "0.
|
|
35
|
+
"bun-types": "1.4.2",
|
|
36
|
+
"tsdown": "0.23.0",
|
|
37
37
|
"typescript": "6.0.3"
|
|
38
38
|
}
|
|
39
39
|
}
|