Skip to content

Commit

Permalink
fix: fix TxExecutionStatus import
Browse files Browse the repository at this point in the history
  • Loading branch information
gtsonevv committed May 31, 2024
1 parent 80d2a10 commit aa45e93
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/providers/src/failover-rpc-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
} from '@near-js/types';
import { SignedTransaction } from '@near-js/transactions';
import { Provider } from './provider';
import { TxExecutionStatus } from '@near-js/types/src/provider/protocol';
import { TxExecutionStatus } from '@near-js/types';

/**
* Client class to interact with the [NEAR RPC API](https://docs.near.org/api/rpc/introduction).
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/src/json-rpc-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import {
import { exponentialBackoff } from './exponential-backoff';
import { Provider } from './provider';
import { ConnectionInfo, fetchJson } from './fetch_json';
import { TxExecutionStatus } from '@near-js/types/src/provider/protocol';
import { TxExecutionStatus } from '@near-js/types';

/** @hidden */
// Default number of retries before giving up on a request.
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
RpcQueryRequest,
EpochValidatorInfo,
} from '@near-js/types';
import { TxExecutionStatus } from '@near-js/types/src/provider/protocol';
import { TxExecutionStatus } from '@near-js/types';

/** @hidden */
export abstract class Provider {
Expand Down
1 change: 1 addition & 0 deletions packages/types/src/provider/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export {
SyncInfo,
TotalWeight,
Transaction as ProviderTransaction,
TxExecutionStatus
} from './protocol';
export {
CallFunctionRequest,
Expand Down

0 comments on commit aa45e93

Please sign in to comment.