use-dcp-worker
Advanced tools
Changelog
[4.0.0] - 2024-08-28
paymentAddress
is no longer saved in window.localStorage
.
cores
option in a future version.Changelog
[3.0.2] - 2024-01-04
error
state when the worker fetches successfully.Changelog
[3.0.1] - 2024-01-04
error
event from the worker. This should help mitigate the vauge
error that's logged when there's no event listener attached when the event fires.Changelog
[3.0.0] - 2024-01-04
useDCPWorker
from a default export to a named export.README.md
and CHANGELOG.md
formats.Changelog
[2.0.1] - 2023-10-20
end
event for sandboxes to prevent lingering UI elements that aren't aware of
terminated sandboxes that are no longer receiving payment
or progress
events.bignumber.js
as a peer dependency to prevent issues with bundling different versions of the
library in application code.Changelog
[2.0.0] - 2023-08-15
workerOptions
passed to worker constructor is a Proxy now
paymentAddress
and maxWorkingSandbox
props to local storage and
trigger component update/re-renderworkerState.isLoaded
since now we're returning the worker
!isLoaded === !worker
workerOptionsState
, start/stop/toggleWorker, sandboxes, originManager
applyWorkerOptions
since editing workerOptions
should be done by directly mutating
worker.workerOptions
Changelog
[1.0.4] - 2023-08-03
Changelog
[1.0.2] - 2023-03-23
paymentAddress
and maxWorkingSandbox
propsChangelog
[1.0.1] - 2023-03-23