mirror of
https://github.com/status-im/status-go.git
synced 2025-03-03 08:00:54 +00:00
This PR adds Fetch API and fixes #289 by using concurrency safe Otto VM wrapper wherever it's possible. This involves new package geth/jail/vm that is used by jail and by our forked ottoext/{fetch/timers/loop} packages. It also adds more tests that are supposed to be run with --race flag of go test.
5 lines
146 B
JavaScript
5 lines
146 B
JavaScript
require('expose?fetch!./fetch');
|
|
require('expose?Headers!./headers');
|
|
require('expose?Request!./request');
|
|
require('expose?Response!./response');
|