@powfaucet/sdk
v2.5.2
Published
The surface a PoWFaucet module builds against: module contract, server SDK types, testing surface
Readme
@powfaucet/sdk
What a PoWFaucet module builds against.
@powfaucet/sdk- the server surface a module's backend uses (BaseModule,ModuleHookAction,ServiceManager, sessions, config, ...). Declare it as a webpack external: at run time the faucet injects its own live objects.@powfaucet/sdk/module- the module contract:IModulePackage,IFaucetSdk,IModuleManifest,MODULE_API_VERSION.@powfaucet/sdk/testing- the harness a module's specs boot a real faucet with.
The version is the faucet's: a module built against @powfaucet/[email protected] runs on
@powfaucet/[email protected]. See docs/modules.md in the faucet repository.
