Skip to content

Commit

Permalink
build: bump dependencies (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
tien authored Mar 4, 2025
1 parent 9304e56 commit cdb1b32
Show file tree
Hide file tree
Showing 14 changed files with 285 additions and 390 deletions.
2 changes: 1 addition & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@docusaurus/module-type-aliases": "3.5.2",
"@docusaurus/tsconfig": "3.5.2",
"@docusaurus/types": "3.5.2",
"typescript": "^5.7.3"
"typescript": "^5.8.2"
},
"browserslist": {
"production": [
Expand Down
4 changes: 2 additions & 2 deletions examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@reactive-dot/wallet-walletconnect": "workspace:^",
"date-fns": "^4.1.0",
"jotai-devtools": "^0.11.0",
"polkadot-api": "^1.9.2",
"polkadot-api": "^1.9.4",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-error-boundary": "^5.0.0",
Expand All @@ -32,7 +32,7 @@
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react": "^4.3.4",
"eslint": "^9.21.0",
"typescript": "^5.7.3",
"typescript": "^5.8.2",
"vite": "^6.2.0"
}
}
4 changes: 2 additions & 2 deletions examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@polkadot-api/descriptors": "portal:.papi/descriptors",
"@reactive-dot/vue": "workspace:^",
"polkadot-api": "^1.9.2",
"polkadot-api": "^1.9.4",
"vue": "^3.5.13"
},
"devDependencies": {
Expand All @@ -21,7 +21,7 @@
"@tsconfig/strictest": "^2.0.5",
"@vitejs/plugin-vue": "^5.2.1",
"eslint": "^9.21.0",
"typescript": "^5.7.3",
"typescript": "^5.8.2",
"vite": "^6.2.0"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@vitest/coverage-v8": "3.0.7",
"husky": "^9.1.7",
"nx": "^20.4.6",
"prettier": "^3.5.2",
"prettier": "^3.5.3",
"vitest": "^3.0.7"
}
}
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"@tsconfig/recommended": "^1.0.8",
"@tsconfig/strictest": "^2.0.5",
"eslint": "^9.21.0",
"polkadot-api": "^1.9.2",
"typescript": "^5.7.3",
"polkadot-api": "^1.9.4",
"typescript": "^5.8.2",
"vitest": "^3.0.7"
},
"peerDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"type": "module",
"main": "index.js",
"devDependencies": {
"@eslint-react/eslint-plugin": "^1.28.0",
"@eslint-react/eslint-plugin": "^1.30.1",
"@eslint/compat": "^1.2.7",
"@eslint/js": "^9.21.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-tsdoc": "^0.4.0",
"eslint-plugin-vue": "^9.32.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.25.0"
"typescript": "^5.8.2",
"typescript-eslint": "^8.26.0"
},
"peerDependencies": {
"eslint": "*"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"eslint": "^9.21.0",
"jsdom": "^26.0.0",
"react": "^19.0.0",
"typescript": "^5.7.3",
"typescript": "^5.8.2",
"vitest": "^3.0.7"
},
"peerDependencies": {
Expand Down
6 changes: 4 additions & 2 deletions packages/react/src/contexts/query-options.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createContext, type PropsWithChildren } from "react";
import { createContext, useMemo, type PropsWithChildren } from "react";

export const SubscriptionContext = createContext({ active: true });

Expand All @@ -14,6 +14,8 @@ type SubscriptionProps = PropsWithChildren<{
*/
export function QueryOptionsProvider({ active, children }: SubscriptionProps) {
return (
<SubscriptionContext value={{ active }}>{children}</SubscriptionContext>
<SubscriptionContext value={useMemo(() => ({ active }), [active])}>
{children}
</SubscriptionContext>
);
}
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@tsconfig/recommended": "^1.0.8",
"@tsconfig/strictest": "^2.0.5",
"eslint": "^9.21.0",
"typescript": "^5.7.3",
"typescript": "^5.8.2",
"vitest": "^3.0.7"
}
}
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@tsconfig/recommended": "^1.0.8",
"@tsconfig/strictest": "^2.0.5",
"eslint": "^9.21.0",
"typescript": "^5.7.3",
"typescript": "^5.8.2",
"vitest": "^3.0.7",
"vue": "^3.5.13"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-ledger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@tsconfig/recommended": "^1.0.8",
"@tsconfig/strictest": "^2.0.5",
"eslint": "^9.21.0",
"typescript": "^5.7.3",
"typescript": "^5.8.2",
"vitest": "^3.0.7"
}
}
2 changes: 1 addition & 1 deletion packages/wallet-mimir/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@tsconfig/recommended": "^1.0.8",
"@tsconfig/strictest": "^2.0.5",
"eslint": "^9.21.0",
"typescript": "^5.7.3",
"typescript": "^5.8.2",
"vitest": "^3.0.7"
}
}
2 changes: 1 addition & 1 deletion packages/wallet-walletconnect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@tsconfig/recommended": "^1.0.8",
"@tsconfig/strictest": "^2.0.5",
"eslint": "^9.21.0",
"typescript": "^5.7.3",
"typescript": "^5.8.2",
"vitest": "^3.0.7"
}
}
Loading

0 comments on commit cdb1b32

Please sign in to comment.