aquaman-plugin 0.3.0 → 0.4.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/package.json +1 -1
- package/src/config-schema.ts +0 -3
- package/src/embedded.ts +1 -1
- package/src/http-interceptor.ts +1 -1
package/package.json
CHANGED
package/src/config-schema.ts
CHANGED
|
@@ -60,9 +60,6 @@ export const ConfigSchema = Type.Object({
|
|
|
60
60
|
vaultNamespace: Type.Optional(Type.String()),
|
|
61
61
|
vaultMountPath: Type.Optional(Type.String({ default: 'secret' })),
|
|
62
62
|
|
|
63
|
-
// Encrypted file options
|
|
64
|
-
encryptionPassword: Type.Optional(Type.String()),
|
|
65
|
-
|
|
66
63
|
// TLS options
|
|
67
64
|
tlsEnabled: Type.Optional(Type.Boolean({ default: true })),
|
|
68
65
|
tlsCertPath: Type.Optional(Type.String()),
|
package/src/embedded.ts
CHANGED
|
@@ -45,7 +45,7 @@ export class EmbeddedMode {
|
|
|
45
45
|
vaultMountPath: this.config.vaultMountPath,
|
|
46
46
|
onePasswordVault: this.config.onePasswordVault,
|
|
47
47
|
onePasswordAccount: this.config.onePasswordAccount,
|
|
48
|
-
encryptionPassword:
|
|
48
|
+
encryptionPassword: process.env['AQUAMAN_ENCRYPTION_PASSWORD']
|
|
49
49
|
});
|
|
50
50
|
|
|
51
51
|
// Initialize audit logger
|
package/src/http-interceptor.ts
CHANGED
|
@@ -101,7 +101,7 @@ export class HttpInterceptor {
|
|
|
101
101
|
newInit = injectToken(newInit, token);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
return origFetch.call(globalThis, proxyUrl, newInit);
|
|
104
|
+
return origFetch.call(globalThis, proxyUrl, { ...newInit, redirect: 'manual' });
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
this.active = true;
|