Update export

This commit is contained in:
Miguel Mota 2022-11-30 21:25:16 -08:00
parent e6f8c50fbf
commit 25743c92d3
No known key found for this signature in database
GPG Key ID: 67EC1161588A00F9
1 changed files with 6 additions and 0 deletions

View File

@ -159,3 +159,9 @@ export class MerkleSumTree extends Base {
return curr.size === root.size && curr.hashed.toString('hex') === root.hashed.toString('hex')
}
}
if (typeof window !== 'undefined') {
;(window as any).MerkleSumTree = MerkleSumTree
}
export default MerkleSumTree