Skip to content

Commit

Permalink
refactor: update to correct import path
Browse files Browse the repository at this point in the history
  • Loading branch information
janniks committed Mar 7, 2024
1 parent 5a0760c commit a736172
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/network/src/network.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TransactionVersion, ChainID } from '@stacks/common';
import { createFetchFn, FetchFn } from '../../common/src/fetch';
import { createFetchFn, FetchFn } from '@stacks/common';

export const HIRO_MAINNET_DEFAULT = 'https://api.mainnet.hiro.so';
export const HIRO_TESTNET_DEFAULT = 'https://api.testnet.hiro.so';
Expand Down
2 changes: 1 addition & 1 deletion packages/network/tests/fetch.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fetchMock from 'jest-fetch-mock';
import { fetchWrapper, getFetchOptions, setFetchOptions } from '../../common/src/fetch';
import { fetchWrapper, getFetchOptions, setFetchOptions } from '@stacks/common';

test('Verify fetch private options', async () => {
const defaultOptioins = getFetchOptions();
Expand Down
2 changes: 1 addition & 1 deletion packages/network/tests/fetchMiddleware.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
FetchMiddleware,
RequestContext,
ResponseContext,
} from '../../common/src/fetch';
} from '@stacks/common';

beforeEach(() => {
fetchMock.resetMocks();
Expand Down

0 comments on commit a736172

Please sign in to comment.