-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make vm serializable * Fix webpack ts issue * Support manual workflow triggering * Bumped version to 0.1.13 [ci-skip]" Co-authored-by: Luke Wilson <luke.wilson@intelligenthack.com>
- Loading branch information
1 parent
e62e217
commit 6ccf7ff
Showing
7 changed files
with
1,344 additions
and
1,462 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { eddsa as ellipticEddsa } from "elliptic"; | ||
|
||
declare global { | ||
var _eddsa: ellipticEddsa; // we use a global to prevent serialization issues for the calling class | ||
function eddsa(): ellipticEddsa; | ||
} | ||
|
||
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
import { eddsa } from 'elliptic'; | ||
|
||
export * from './memory'; | ||
export * from './backend'; | ||
export * from './instance'; | ||
export * from './environment'; | ||
|
||
global.eddsa = () => global._eddsa || (global._eddsa = new eddsa('ed25519')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.