Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/tanstack/react-rou…
Browse files Browse the repository at this point in the history
…ter-1.58.3
  • Loading branch information
maschad committed Sep 23, 2024
2 parents 1b8adbf + cab11ef commit 96b224b
Show file tree
Hide file tree
Showing 16 changed files with 864 additions and 780 deletions.
5 changes: 5 additions & 0 deletions .changeset/cyan-knives-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-fuels": patch
---

build(deps): bump the deps-minor group with 14 updates
5 changes: 5 additions & 0 deletions .changeset/small-readers-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fuel-ts/account": patch
---

feat: add flag to indicate if connector is external
12 changes: 6 additions & 6 deletions apps/create-fuels-counter-guide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"@tanstack/react-query": "^5.55.4",
"@tanstack/react-router": "^1.58.3",
"fuels": "workspace:*",
"@wagmi/connectors": "^5.1.10",
"@wagmi/core": "^2.13.5",
"@wagmi/connectors": "^5.1.12",
"@wagmi/core": "^2.13.6",
"dotenv": "^16.4.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand All @@ -31,8 +31,8 @@
"@eslint/js": "^9.10.0",
"@tanstack/router-plugin": "^1.56.4",
"@types/node": "^22.5.5",
"@playwright/test": "^1.47.1",
"@types/react": "^18.3.6",
"@playwright/test": "^1.47.2",
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3",
"@vitejs/plugin-react-swc": "^3.7.0",
"autoprefixer": "^10.4.20",
Expand All @@ -41,10 +41,10 @@
"eslint-plugin-react-refresh": "^0.4.12",
"globals": "^15.9.0",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.11",
"tailwindcss": "^3.4.12",
"typescript": "~5.6.2",
"typescript-eslint": "^8.5.0",
"vite": "^5.4.5",
"vite": "^5.4.7",
"vitest": "^2.0.5"
}
}
2 changes: 1 addition & 1 deletion apps/demo-bun-fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"fuels": "workspace:*"
},
"devDependencies": {
"bun": "^1.1.27"
"bun": "^1.1.29"
}
}
4 changes: 2 additions & 2 deletions apps/demo-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"@fuels/vm-asm": "0.56.0",
"@types/node": "^22.5.5",
"@types/react-dom": "^18.3",
"@types/react": "^18.3.6",
"@types/react": "^18.3.8",
"fuels": "workspace:*",
"next": "14.2.11",
"next": "14.2.13",
"react-dom": "^18.3.1",
"react": "^18.3.1",
"typescript": "~5.6.2"
Expand Down
2 changes: 1 addition & 1 deletion apps/demo-react-cra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@fuels/vm-asm": "0.56.0",
"@testing-library/react": "^16.0.1",
"@types/node": "^22.5.5",
"@types/react": "^18.3.6",
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3",
"eslint-config-react-app": "^7.0.1",
"fuels": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions apps/demo-react-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"react": "^18.3.1"
},
"devDependencies": {
"@types/react": "^18.3.6",
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.21.0",
Expand All @@ -26,6 +26,6 @@
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.12",
"typescript": "~5.6.2",
"vite": "^5.4.5"
"vite": "^5.4.7"
}
}
8 changes: 4 additions & 4 deletions apps/demo-wallet-sdk-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
"@fuels/react": "^0.27.1",
"@tanstack/react-query": "^5.55.4",
"fuels": "workspace:*",
"next": "14.2.11",
"next": "14.2.13",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@types/node": "^22.5.5",
"@types/react": "^18.3.6",
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3",
"eslint": "^8.57.0",
"eslint-config-next": "14.2.11",
"eslint-config-next": "14.2.13",
"postcss": "^8.4.47",
"postcss-load-config": "^6.0.1",
"tailwindcss": "^3.4.11",
"tailwindcss": "^3.4.12",
"typescript": "~5.6.2"
}
}
6 changes: 3 additions & 3 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
"@vue/devtools-api": "^6.6.3",
"flexsearch": "^0.7.43",
"markdown-it": "^14.1.0",
"nodemon": "^3.1.4",
"nodemon": "^3.1.7",
"replace": "^1.2.2",
"typedoc": "^0.26.3",
"typedoc-plugin-merge-modules": "^6.0.0",
"typedoc-plugin-merge-modules": "^6.0.1",
"vitepress-plugin-search": "1.0.4-alpha.22",
"vitepress": "1.3.4",
"vue": "^3.5.6"
"vue": "^3.5.8"
}
}
4 changes: 4 additions & 0 deletions apps/docs/src/guide/wallets/connectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ The `name` property is simply a `string` on the connector that serves as an iden

<<< @/../../docs-snippets/src/guide/wallets/connectors.test.ts#fuel-connector-name{ts:line-numbers}

### `external`
The `external` property is simply a `boolean` that indicates when a connector is external or not.
Connectors are considered external, or non-native, when they do not support the Fuel Network (e.g. `Solana`, `WalletConnect`).

#### `metadata`

The `metadata` property on the connector provides additional information about the connector. This information will be displayed to the end-user when selecting a connector. The following is the structure of the `metadata` object:
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@
"@internal/fuel-core": "workspace:*",
"@internal/tsup": "workspace:*",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@playwright/test": "^1.47.1",
"@playwright/test": "^1.47.2",
"@types/node": "^22.5.5",
"@types/node-fetch": "^2.6.11",
"@types/web": "^0.0.163",
"@types/web": "^0.0.164",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/browser": "^2.0.5",
Expand All @@ -109,9 +109,9 @@
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-tsdoc": "^0.3.0",
"glob": "^10.4.5",
"knip": "^5.30.2",
"knip": "^5.30.4",
"memfs": "^4.11.1",
"nodemon": "^3.1.4",
"nodemon": "^3.1.7",
"npm-run-all": "^4.1.5",
"nyc": "^17.0.0",
"open": "^10.1.0",
Expand All @@ -125,7 +125,7 @@
"tsx": "^4.19.1",
"turbo": "^2.1.2",
"typescript": "~5.6.2",
"vite": "^5.4.5",
"vite": "^5.4.7",
"vite-plugin-json5": "^1.1.2",
"vite-plugin-node-polyfills": "^0.22.0",
"vite-plugin-plain-text": "^1.4.2",
Expand Down
1 change: 1 addition & 0 deletions packages/account/src/connectors/fuel-connector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export abstract class FuelConnector extends EventEmitter implements Connector {
metadata: ConnectorMetadata = {} as ConnectorMetadata;
connected: boolean = false;
installed: boolean = false;
external: boolean = true;
events = FuelConnectorEventTypes;

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"devDependencies": {
"@types/lodash.camelcase": "^4.3.9",
"@types/rimraf": "^3.0.2",
"vite": "^5.4.5"
"vite": "^5.4.7"
},
"keywords": [
"ethereum",
Expand Down
Loading

0 comments on commit 96b224b

Please sign in to comment.