Skip to content

Commit

Permalink
feat: add fuel-ts/utils to fuels umbrella package (#1364)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizAsFight authored Oct 21, 2023
1 parent 6e7f04f commit 2e170af
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/nine-glasses-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"fuels": patch
---

include "fuel-ts/utils" in "fuels" umbrella package
5 changes: 2 additions & 3 deletions internal/check-imports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"@fuel-ts/wallet-manager": "workspace:*",
"@fuel-ts/wallet": "workspace:*",
"@fuel-ts/wordlists": "workspace:*",
"fuels": "workspace:^"
},
"version": null
"fuels": "workspace:*"
}
}
9 changes: 8 additions & 1 deletion internal/check-imports/src/references.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { FUEL_NETWORK_URL } from '@fuel-ts/wallet/configs';
// TODO: Add `launchNode` and `launchNodeAndGetWallets` here
import { generateTestWallet, seedTestWallet } from '@fuel-ts/wallet/test-utils';
import { english, Language } from '@fuel-ts/wordlists';
import { ScriptRequest } from 'fuels';
import { ScriptRequest, chunkAndPadBytes, normalizeString, concatBytes } from 'fuels';

const { log } = console;

Expand Down Expand Up @@ -136,6 +136,13 @@ log(Signer);
*/
log(InputCoinCoder);

/**
* utils
*/
log(chunkAndPadBytes);
log(normalizeString);
log(concatBytes);

/**
* versions
*/
Expand Down
1 change: 1 addition & 0 deletions packages/fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"@fuel-ts/signer": "workspace:*",
"@fuel-ts/testcases": "workspace:*",
"@fuel-ts/transactions": "workspace:*",
"@fuel-ts/utils": "workspace:*",
"@fuel-ts/versions": "workspace:*",
"@fuel-ts/wallet": "workspace:*",
"@fuel-ts/wallet-manager": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/fuels/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export * from '@fuel-ts/program';
export * from '@fuel-ts/providers';
export * from '@fuel-ts/signer';
export * from '@fuel-ts/transactions';
export * from '@fuel-ts/utils';
export * from '@fuel-ts/wallet';
export { Script } from '@fuel-ts/script';
export * from '@fuel-ts/transactions/configs';
Expand Down
5 changes: 4 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2e170af

Please sign in to comment.