Skip to content

Commit

Permalink
Merge branch 'master' into changeset-release/master
Browse files Browse the repository at this point in the history
  • Loading branch information
gtsonevv committed May 31, 2024
2 parents 1d19de9 + ccf50b2 commit d7d6a62
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changeset/khaki-paws-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@near-js/providers": patch
"@near-js/types": patch
---

Fix TxExecutionStatus import.
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 d7d6a62

Please sign in to comment.