Skip to content

Commit

Permalink
feat: upgrade fuels packages (#11)
Browse files Browse the repository at this point in the history
* feat: upgrade fuels packages

* feat: upgrade @fuels/react

* chore: delete useless changeset
  • Loading branch information
helciofranco authored Mar 18, 2024
1 parent a137b46 commit b037bb9
Show file tree
Hide file tree
Showing 9 changed files with 706 additions and 970 deletions.
8 changes: 8 additions & 0 deletions .changeset/rich-chairs-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@fuel-connectors/fuel-development-wallet": patch
"@fuel-connectors/fuelet-wallet": patch
"@fuel-connectors/fuel-wallet": patch
"@fuels/connectors": patch
---

feat: upgrade `fuels` packages to 0.77.0
8 changes: 5 additions & 3 deletions examples/react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
},
"dependencies": {
"@fuels/connectors": "workspace:*",
"@fuels/react": "0.16.0",
"fuels": "0.74.0",
"@fuels/react": "0.17.0",
"@tanstack/react-query": "5.28.4",
"fuels": "0.77.0",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@types/react": "18.2.65",
"@tanstack/react-query-devtools": "5.28.4",
"@types/react": "18.2.67",
"@types/react-dom": "18.2.22",
"@vitejs/plugin-react": "4.2.1",
"typescript": "5.4.2",
Expand Down
23 changes: 16 additions & 7 deletions examples/react-app/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
import React from 'react';
import ReactDOM from 'react-dom/client';

import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';

import { defaultConnectors } from '@fuels/connectors';
import { FuelProvider } from '@fuels/react';

import App from './App.tsx';

const queryClient = new QueryClient();

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<React.StrictMode>
<FuelProvider
fuelConfig={{
connectors: defaultConnectors({ devMode: true }),
}}
>
<App />
</FuelProvider>
<QueryClientProvider client={queryClient}>
<FuelProvider
fuelConfig={{
connectors: defaultConnectors({ devMode: true }),
}}
>
<App />
</FuelProvider>

<ReactQueryDevtools initialIsOpen={false} />
</QueryClientProvider>
</React.StrictMode>,
);
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"@biomejs/biome": "1.6.1",
"@changesets/changelog-github": "0.5.0",
"@changesets/cli": "2.27.1",
"@fuels/ts-config": "0.16.0",
"@fuels/tsup-config": "0.16.0",
"@vitest/coverage-v8": "1.3.1",
"@fuels/ts-config": "0.17.0",
"@fuels/tsup-config": "0.17.0",
"@vitest/coverage-v8": "1.4.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"turbo": "1.12.5",
"vitest": "1.3.1"
"vitest": "1.4.0"
},
"packageManager": "[email protected]",
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions packages/connectors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"ts:check": "tsc --noEmit"
},
"peerDependencies": {
"fuels": ">=0.74.0"
"fuels": ">=0.77.0"
},
"dependencies": {
"json-rpc-2.0": "1.7.0"
Expand All @@ -26,8 +26,8 @@
"@fuel-connectors/fuel-development-wallet": "workspace:*",
"@fuel-connectors/fuel-wallet": "workspace:*",
"@fuel-connectors/fuelet-wallet": "workspace:*",
"fuels": "0.74.0",
"terser": "5.29.1",
"fuels": "0.77.0",
"terser": "5.29.2",
"tsup": "8.0.2",
"typescript": "5.4.2"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/fuel-development-wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"test": "vitest"
},
"peerDependencies": {
"fuels": ">=0.74.0"
"fuels": ">=0.77.0"
},
"devDependencies": {
"@fuel-connectors/fuel-wallet": "workspace:*",
"fuels": "0.74.0",
"fuels": "0.77.0",
"tsup": "8.0.2",
"typescript": "5.4.2",
"undici": "6.8.0",
"undici": "6.9.0",
"web-streams-polyfill": "4.0.0"
}
}
6 changes: 3 additions & 3 deletions packages/fuel-wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
"test": "vitest"
},
"peerDependencies": {
"fuels": ">=0.74.0"
"fuels": ">=0.77.0"
},
"dependencies": {
"json-rpc-2.0": "1.7.0"
},
"devDependencies": {
"events": "3.3.0",
"fuels": "0.74.0",
"fuels": "0.77.0",
"tsup": "8.0.2",
"typescript": "5.4.2",
"undici": "6.8.0",
"undici": "6.9.0",
"web-streams-polyfill": "4.0.0"
}
}
6 changes: 3 additions & 3 deletions packages/fuelet-wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"test": "vitest"
},
"peerDependencies": {
"fuels": ">=0.74.0"
"fuels": ">=0.77.0"
},
"devDependencies": {
"@fuel-connectors/fuel-wallet": "workspace:*",
"fuels": "0.74.0",
"fuels": "0.77.0",
"tsup": "8.0.2",
"typescript": "5.4.2",
"undici": "6.8.0",
"undici": "6.9.0",
"web-streams-polyfill": "4.0.0"
}
}
Loading

0 comments on commit b037bb9

Please sign in to comment.