Socket
Socket
Sign inDemoInstall

@haventech/amorphic-contracts

Package Overview
Dependencies
0
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.2.0

HISTORY.md

10

index.d.ts
/**
* application configuration store object
*
* get => Gets properties from this config object
* set => Sets a key value pair for this config object
* loadFile => loads a file into config object
*/

@@ -8,5 +12,9 @@ export interface Config {

loadFile(fileKey: string, file: string): any
buildConfig(configRootDirectory: string, merge: boolean): any
}
/**
* Type to define what the config builder function should look like for Amorphic
*/
export type AmorphicConfigBuilder = (configRootDirectory: string, merge?: boolean) => ApplicationNameToConfigMap;
export interface ApplicationNameToConfigMap {

@@ -13,0 +21,0 @@ [appName: string]: Config

2

package.json
{
"description": "Typescript contracts for amorphic dependency injection",
"name": "@haventech/amorphic-contracts",
"version": "0.1.0",
"version": "0.2.0",
"license": "MIT",
"types": "index.d.ts"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc