@http-forge/core 0.3.3 → 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/README.md +2 -1
- package/dist/di/service-identifiers.d.ts +1 -0
- package/dist/index.d.ts +9 -1
- package/dist/index.js +169 -169
- package/dist/index.mjs +170 -170
- package/dist/infrastructure/config/config.interface.d.ts +32 -0
- package/dist/infrastructure/environment/environment-config-service.d.ts +26 -2
- package/dist/infrastructure/environment/environment-file-loader.d.ts +5 -0
- package/dist/infrastructure/execution/request-preparer.d.ts +3 -1
- package/dist/infrastructure/secrets/aws-secret-resolver.d.ts +18 -0
- package/dist/infrastructure/secrets/azure-keyvault-resolver.d.ts +20 -0
- package/dist/infrastructure/secrets/doppler-resolver.d.ts +22 -0
- package/dist/infrastructure/secrets/gcp-secret-resolver.d.ts +21 -0
- package/dist/infrastructure/secrets/hashicorp-vault-resolver.d.ts +25 -0
- package/dist/infrastructure/secrets/onepassword-resolver.d.ts +26 -0
- package/dist/infrastructure/secrets/secret-resolver-registry.d.ts +43 -0
- package/dist/types/environment-config.d.ts +13 -0
- package/dist/types/secret-resolver.d.ts +106 -0
- package/package.json +13 -1
package/README.md
CHANGED
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
- 📝 **JavaScript Scripting** - Pre-request and post-response scripts with full `pm.*` API (variables, assertions, execution flow, visualizer)
|
|
15
15
|
- 🔄 **Dynamic Variables** - Built-in generators: `{{$randomInt}}`, `{{$timestamp}}`, `{{$uuid}}`, `{{$guid}}`, etc.
|
|
16
16
|
- 🌍 **Environments** - Full variable scoping (globals, collection, environment, session, iterationData)
|
|
17
|
-
-
|
|
17
|
+
- � **Cloud Secret Resolvers** - Resolve `{{secret:alias/path}}` from AWS Secrets Manager, Azure Key Vault, Google Secret Manager, HashiCorp Vault, 1Password, and Doppler; credentials read from the ambient environment, never from config
|
|
18
|
+
- �👁️ **File Watching** - Automatic reload on collection/environment file changes with notification callbacks
|
|
18
19
|
- 🍪 **Cookie Persistence** - Automatic cookie storage and reuse, `pm.cookies.jar()` and `.toObject()`
|
|
19
20
|
- 📊 **Test Assertions** - BDD-style testing with `pm.test()` (sync/async) and full Chai `expect()` chains
|
|
20
21
|
- 🔐 **CryptoJS** - Full crypto library: hash, HMAC, AES/DES/TripleDES, PBKDF2, encoding helpers
|
|
@@ -31,5 +31,6 @@ export declare const ServiceIdentifiers: {
|
|
|
31
31
|
readonly SchemaInferenceService: symbol;
|
|
32
32
|
readonly OpenApiExporter: symbol;
|
|
33
33
|
readonly OpenApiImporter: symbol;
|
|
34
|
+
readonly SecretResolverRegistry: symbol;
|
|
34
35
|
};
|
|
35
36
|
export type ServiceIdentifier = typeof ServiceIdentifiers[keyof typeof ServiceIdentifiers] | string;
|
package/dist/index.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ export { ForgeEnv } from './infrastructure/environment/forge-env';
|
|
|
76
76
|
export type { IForgeEnv } from './infrastructure/environment/forge-env';
|
|
77
77
|
export { createVariableResolver, VariableInterpolator, VariableResolver } from './infrastructure/environment/variable-interpolator';
|
|
78
78
|
export type { VariableResolverConfig } from './infrastructure/environment/variable-interpolator';
|
|
79
|
-
export type { IEnvironmentConfigService, ResolvedEnvironment } from './types/environment-config';
|
|
79
|
+
export type { IEnvironmentConfigService, LocalConfig, ResolvedEnvironment, SharedConfig } from './types/environment-config';
|
|
80
80
|
export { CollectionRequestExecutor } from './infrastructure/execution/collection-request-executor';
|
|
81
81
|
export * from './infrastructure/execution/collection-request-executor-interfaces';
|
|
82
82
|
export { RequestExecutor } from './infrastructure/execution/request-executor';
|
|
@@ -116,6 +116,14 @@ export { exportCollectionToRestClient, getRestClientExportFolder, writeEnvFile,
|
|
|
116
116
|
export { DataFileParser } from './infrastructure/platform/data-file-parser';
|
|
117
117
|
export type { IDataFileParser } from './infrastructure/platform/data-file-parser';
|
|
118
118
|
export { NodeFileSystem } from './infrastructure/platform/node-file-system';
|
|
119
|
+
export { AwsSecretResolver } from './infrastructure/secrets/aws-secret-resolver';
|
|
120
|
+
export { AzureKeyVaultResolver } from './infrastructure/secrets/azure-keyvault-resolver';
|
|
121
|
+
export { DopplerResolver } from './infrastructure/secrets/doppler-resolver';
|
|
122
|
+
export { GcpSecretResolver } from './infrastructure/secrets/gcp-secret-resolver';
|
|
123
|
+
export { HashiCorpVaultResolver } from './infrastructure/secrets/hashicorp-vault-resolver';
|
|
124
|
+
export { OnePasswordResolver } from './infrastructure/secrets/onepassword-resolver';
|
|
125
|
+
export { SecretResolverRegistry } from './infrastructure/secrets/secret-resolver-registry';
|
|
126
|
+
export type { DopplerConfig, GcpSecretsConfig, ISecretResolver, SecretProviderConfig, SecretsConfig } from './types/secret-resolver';
|
|
119
127
|
export { augmentWithDynamicVars, DYNAMIC_VARIABLES, resolveDynamicVariable, resolveDynamicVariablesInString } from './utils/dynamic-variables';
|
|
120
128
|
export { evaluateExpression, isExpression } from './utils/expression-evaluator';
|
|
121
129
|
export { applyFilterChain, parseFilterChain } from './utils/filter-engine';
|