diff --git a/examples/cra-dapp/package.json b/examples/cra-dapp/package.json index adfaecf44..48f0fbfe9 100644 --- a/examples/cra-dapp/package.json +++ b/examples/cra-dapp/package.json @@ -8,9 +8,9 @@ }, "dependencies": { "@fuels/connectors": "0.35.1", - "@fuels/react": "0.35.1", + "@fuels/react": "0.39.0-pr-446-73", "@tanstack/react-query": "5.28.4", - "fuels": "0.96.1", + "fuels": "0.0.0-pr-3487-20241220190150", "react": "18.3.1", "react-dom": "18.3.1" }, diff --git a/package.json b/package.json index e88a941ca..45c900602 100644 --- a/package.json +++ b/package.json @@ -124,7 +124,7 @@ "send@<0.19.0": ">=0.19.0", "serve-static@<1.16.0": ">=1.16.0", "rollup@>=4.0.0 <4.22.4": ">=4.22.4", - "fuels": "0.96.1", + "fuels": "0.0.0-pr-3487-20241220190150", "secp256k1@=5.0.0": ">=5.0.1", "elliptic@<6.6.0": ">=6.6.0", "cross-spawn@<7.0.5": ">=7.0.5", diff --git a/packages/app/package.json b/packages/app/package.json index b524d4492..8b017b7fe 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -21,6 +21,8 @@ }, "dependencies": { "@fontsource/source-code-pro": "5.0.13", + "@fuel-ts/math": "0.97.2", + "@fuel-ts/providers": "0.73.0", "@fuel-ui/css": "0.23.3", "@fuel-ui/icons": "0.23.3", "@fuel-ui/react": "0.23.3", @@ -44,7 +46,7 @@ "events": "3.3.0", "fake-indexeddb": "4.0.2", "framer-motion": "10.16.4", - "fuels": "0.96.1", + "fuels": "0.0.0-pr-3487-20241220190150", "json-edit-react": "1.13.3", "json-rpc-2.0": "1.7.0", "lodash.debounce": "4.0.8", diff --git a/packages/app/src/systems/DApp/hooks/useTransactionRequest.tsx b/packages/app/src/systems/DApp/hooks/useTransactionRequest.tsx index 6ff1ba477..f4d7aa391 100644 --- a/packages/app/src/systems/DApp/hooks/useTransactionRequest.tsx +++ b/packages/app/src/systems/DApp/hooks/useTransactionRequest.tsx @@ -142,6 +142,7 @@ export function useTransactionRequest(opts: UseTransactionRequestOpts = {}) { } function request(input: TxInputs['request']) { + console.log('request', input); service.send('START', { input }); } diff --git a/packages/app/src/systems/DApp/pages/TransactionRequest/TransactionRequest.tsx b/packages/app/src/systems/DApp/pages/TransactionRequest/TransactionRequest.tsx index 433923442..e5de4132f 100644 --- a/packages/app/src/systems/DApp/pages/TransactionRequest/TransactionRequest.tsx +++ b/packages/app/src/systems/DApp/pages/TransactionRequest/TransactionRequest.tsx @@ -93,6 +93,7 @@ export function TransactionRequest() { errors={errors.simulateTxErrors} isConfirm fees={fees} + skipCustomFee={txRequest.input.skipCustomFee} /> )} {shouldShowTxExecuted && ( @@ -100,6 +101,7 @@ export function TransactionRequest() { showDetails tx={txSummaryExecuted} txStatus={executedStatus()} + skipCustomFee={txRequest.input.skipCustomFee} footer={ status('failed') && (