diff --git a/.changeset/clever-wasps-nail.md b/.changeset/clever-wasps-nail.md new file mode 100644 index 00000000000..544a229175b --- /dev/null +++ b/.changeset/clever-wasps-nail.md @@ -0,0 +1,6 @@ +--- +"@fuel-ts/account": minor +"fuels": minor +--- + +chore!: removed network URLs diff --git a/packages/account/package.json b/packages/account/package.json index 446a5ecad12..691f100ed90 100644 --- a/packages/account/package.json +++ b/packages/account/package.json @@ -15,11 +15,6 @@ "require": "./dist/index.js", "import": "./dist/index.mjs" }, - "./configs": { - "types": "./dist/configs.d.ts", - "require": "./dist/configs.js", - "import": "./dist/configs.mjs" - }, "./test-utils": { "types": "./dist/test-utils.d.ts", "require": "./dist/test-utils.js", @@ -28,9 +23,6 @@ }, "typesVersions": { "*": { - "configs": [ - "./dist/configs.d.ts" - ], "test-utils": [ "./dist/test-utils.d.ts" ] diff --git a/packages/account/src/configs.test.ts b/packages/account/src/configs.test.ts deleted file mode 100644 index 94aea7a9427..00000000000 --- a/packages/account/src/configs.test.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { DEVNET_NETWORK_URL, TESTNET_NETWORK_URL } from '@internal/utils'; - -/** - * @group node - * @group browser - */ -describe('Configs', () => { - it('exports DEVNET_NETWORK_URL', async () => { - const configs = await import('./configs'); - expect(configs.DEVNET_NETWORK_URL).toBe(DEVNET_NETWORK_URL); - }); - - it('exports TESTNET_NETWORK_URL', async () => { - const configs = await import('./configs'); - expect(configs.TESTNET_NETWORK_URL).toBe(TESTNET_NETWORK_URL); - }); -}); diff --git a/packages/account/src/configs.ts b/packages/account/src/configs.ts deleted file mode 100644 index 6e7eb50642a..00000000000 --- a/packages/account/src/configs.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * @deprecated This export is deprecated and will be removed in the future. - */ -export const DEVNET_NETWORK_URL = 'https://devnet.fuel.network/v1/graphql'; - -/** - * @deprecated This export is deprecated and will be removed in the future. - */ -export const TESTNET_NETWORK_URL = 'https://testnet.fuel.network/v1/graphql'; diff --git a/packages/account/tsup.config.ts b/packages/account/tsup.config.ts index aac3b41345a..746b5348818 100644 --- a/packages/account/tsup.config.ts +++ b/packages/account/tsup.config.ts @@ -9,7 +9,6 @@ const configs: Options = { ...tsupDefaults, entry: { index: 'src/index.ts', - configs: 'src/configs.ts', 'test-utils': 'src/test-utils.ts', }, // eslint-disable-next-line @typescript-eslint/require-await diff --git a/packages/fuels/src/index.ts b/packages/fuels/src/index.ts index e13cabc50c4..104d1d66121 100644 --- a/packages/fuels/src/index.ts +++ b/packages/fuels/src/index.ts @@ -15,5 +15,4 @@ export * from '@fuel-ts/transactions'; export * from '@fuel-ts/utils'; export * from '@fuel-ts/account'; export * from '@fuel-ts/transactions/configs'; -export * from '@fuel-ts/account/configs'; export * from '@fuel-ts/recipes';