Skip to content

Commit

Permalink
chore: un-deprecated network URLs (#3532)
Browse files Browse the repository at this point in the history
  • Loading branch information
petertonysmith94 authored Jan 21, 2025
1 parent 79ffb82 commit f986891
Show file tree
Hide file tree
Showing 15 changed files with 160 additions and 240 deletions.
5 changes: 5 additions & 0 deletions .changeset/clever-wasps-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fuel-ts/account": patch
---

chore: un-deprecated network URLs
13 changes: 0 additions & 13 deletions internal/utils/CHANGELOG.md

This file was deleted.

1 change: 0 additions & 1 deletion internal/utils/README.md

This file was deleted.

26 changes: 0 additions & 26 deletions internal/utils/package.json

This file was deleted.

2 changes: 0 additions & 2 deletions internal/utils/src/constants.ts

This file was deleted.

1 change: 0 additions & 1 deletion internal/utils/src/index.ts

This file was deleted.

7 changes: 0 additions & 7 deletions internal/utils/tsconfig.json

This file was deleted.

3 changes: 0 additions & 3 deletions internal/utils/tsup.config.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/account/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"@graphql-codegen/typescript": "4.0.9",
"@graphql-codegen/typescript-generic-sdk": "4.0.1",
"@graphql-codegen/typescript-operations": "4.2.3",
"@internal/utils": "workspace:*",
"@types/ramda": "0.30.2",
"get-graphql-schema": "2.1.2",
"type-fest": "4.26.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/account/src/configs.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DEVNET_NETWORK_URL, TESTNET_NETWORK_URL } from '@internal/utils';
import { DEVNET_NETWORK_URL, TESTNET_NETWORK_URL } from './configs';

/**
* @group node
Expand Down
4 changes: 2 additions & 2 deletions packages/account/src/configs.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* @deprecated This export is deprecated and will be removed in the future.
* Devnet network URL
*/
export const DEVNET_NETWORK_URL = 'https://devnet.fuel.network/v1/graphql';

/**
* @deprecated This export is deprecated and will be removed in the future.
* Testnet network URL
*/
export const TESTNET_NETWORK_URL = 'https://testnet.fuel.network/v1/graphql';
2 changes: 1 addition & 1 deletion packages/account/test/fuel-wallet-connector.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import { expectToThrowFuelError } from '@fuel-ts/errors/test-utils';
import type { BN } from '@fuel-ts/math';
import { bn } from '@fuel-ts/math';
import type { BytesLike } from '@fuel-ts/utils';
import { TESTNET_NETWORK_URL } from '@internal/utils';
import { EventEmitter } from 'events';

import type { AccountSendTxParams, Network, ProviderOptions, SelectNetworkArguments } from '../src';
import { TESTNET_NETWORK_URL } from '../src/configs';
import { Fuel } from '../src/connectors/fuel';
import { FuelConnectorEventType } from '../src/connectors/types';
import { Provider, ScriptTransactionRequest, TransactionStatus } from '../src/providers';
Expand Down
3 changes: 1 addition & 2 deletions packages/fuel-gauge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"@fuel-ts/account": "workspace:*",
"@fuel-ts/errors": "workspace:*",
"@fuel-ts/merkle": "workspace:*",
"@fuel-ts/utils": "workspace:*",
"@internal/utils": "workspace:*"
"@fuel-ts/utils": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion packages/fuel-gauge/src/e2e-script.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable no-console */
import { DEVNET_NETWORK_URL, TESTNET_NETWORK_URL } from '@internal/utils';
import { DEVNET_NETWORK_URL, TESTNET_NETWORK_URL } from '@fuel-ts/account/configs';
import { WalletUnlocked, Provider, TransactionType, CHAIN_IDS, rawAssets, assets, bn } from 'fuels';

import { ScriptMainArgBool } from '../test/typegen';
Expand Down
Loading

0 comments on commit f986891

Please sign in to comment.