@midnight-ntwrk/midnight-js-level-private-state-provider v0.2.5 • API
Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-level-private-state-provider / levelPrivateStateProvider
Function: levelPrivateStateProvider()
levelPrivateStateProvider<
PSS
>(partialConfig
):PrivateStateProvider
<PSS
>
Constructs an instance of PrivateStateProvider based on Level database.
Type parameters
• PSS extends PrivateStateSchema
Parameters
• partialConfig: Partial
<LevelPrivateStateProviderConfig
>= {}
Database configuration options.
Returns
PrivateStateProvider
<PSS
>