style: remove cicular imports
This commit is contained in:
parent
55b2b4f598
commit
910ab671dc
|
@ -2,9 +2,12 @@
|
||||||
|
|
||||||
import elfy from 'elfy';
|
import elfy from 'elfy';
|
||||||
|
|
||||||
import {Account, PublicKey, Loader, SystemProgram} from '.';
|
import {Account} from './account';
|
||||||
|
import {PublicKey} from './publickey';
|
||||||
|
import {Loader} from './loader';
|
||||||
|
import {SystemProgram} from './system-program';
|
||||||
import {sendAndConfirmTransaction} from './util/send-and-confirm-transaction';
|
import {sendAndConfirmTransaction} from './util/send-and-confirm-transaction';
|
||||||
import type {Connection} from '.';
|
import type {Connection} from './connection';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Factory class for transactions to interact with a program loader
|
* Factory class for transactions to interact with a program loader
|
||||||
|
|
|
@ -2,9 +2,12 @@
|
||||||
|
|
||||||
import * as BufferLayout from 'buffer-layout';
|
import * as BufferLayout from 'buffer-layout';
|
||||||
|
|
||||||
import {PublicKey, SystemProgram, Transaction} from '.';
|
import {Account} from './account';
|
||||||
|
import {PublicKey} from './publickey';
|
||||||
|
import {SystemProgram} from './system-program';
|
||||||
|
import {Transaction} from './transaction';
|
||||||
import {sendAndConfirmTransaction} from './util/send-and-confirm-transaction';
|
import {sendAndConfirmTransaction} from './util/send-and-confirm-transaction';
|
||||||
import type {Account, Connection} from '.';
|
import type {Connection} from './connection';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Program loader interface
|
* Program loader interface
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
|
||||||
import {Account, PublicKey, Loader, SystemProgram} from '.';
|
import {Account} from './account';
|
||||||
|
import {PublicKey} from './publickey';
|
||||||
|
import {Loader} from './loader';
|
||||||
|
import {SystemProgram} from './system-program';
|
||||||
import {sendAndConfirmTransaction} from './util/send-and-confirm-transaction';
|
import {sendAndConfirmTransaction} from './util/send-and-confirm-transaction';
|
||||||
import type {Connection} from '.';
|
import type {Connection} from './connection';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Factory class for transactions to interact with a program loader
|
* Factory class for transactions to interact with a program loader
|
||||||
|
|
|
@ -7,15 +7,12 @@ import BN from 'bn.js';
|
||||||
import * as BufferLayout from 'buffer-layout';
|
import * as BufferLayout from 'buffer-layout';
|
||||||
|
|
||||||
import * as Layout from './layout';
|
import * as Layout from './layout';
|
||||||
import {
|
import {Account} from './account';
|
||||||
Account,
|
import {PublicKey} from './publickey';
|
||||||
PublicKey,
|
import {SystemProgram} from './system-program';
|
||||||
SystemProgram,
|
import {Transaction, TransactionInstruction} from './transaction';
|
||||||
Transaction,
|
import {sendAndConfirmTransaction} from './util/send-and-confirm-transaction';
|
||||||
TransactionInstruction,
|
import type {Connection} from './connection';
|
||||||
sendAndConfirmTransaction,
|
|
||||||
} from '.';
|
|
||||||
import type {Connection} from '.';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Some amount of tokens
|
* Some amount of tokens
|
||||||
|
|
Loading…
Reference in New Issue