mirror of
https://github.com/ilyakooo0/purescript-indexedDB.git
synced 2024-09-11 06:55:48 +03:00
add transaction to onUpgradeNeeded callback
This commit is contained in:
parent
652e6518f6
commit
ae0952a5df
@ -16,7 +16,7 @@ import Database.IndexedDB.Core
|
|||||||
--
|
--
|
||||||
type OpenRequest e =
|
type OpenRequest e =
|
||||||
{ onBlocked :: Maybe (Eff (| e) Unit)
|
{ onBlocked :: Maybe (Eff (| e) Unit)
|
||||||
, onUpgradeNeeded :: Maybe (Database -> Eff (| e) Unit)
|
, onUpgradeNeeded :: Maybe (Database -> Transaction -> Eff (| e) Unit)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user