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