feat: add unstable API for dynamic program loading

This commit is contained in:
Michael Vines
2018-10-10 15:19:59 -07:00
parent 715556a611
commit 1436eca398
6 changed files with 118 additions and 34 deletions

View File

@@ -1,10 +1,12 @@
// @flow
import {Account} from '../src/account';
import {Connection} from '../src/connection';
import {SystemProgram} from '../src/system-program';
import {
Account,
Connection,
SystemProgram,
} from '../src';
import {mockRpc, mockRpcEnabled} from './__mocks__/node-fetch';
import {url} from './url.js';
import {url} from './url';
if (!mockRpcEnabled) {
// The default of 5 seconds is too slow for live testing sometimes