Skip to content

Commit

Permalink
ThrownErrorBoundaryInner fixed
Browse files Browse the repository at this point in the history
5.2.13
  • Loading branch information
arietrouw committed Oct 31, 2024
1 parent 12f3537 commit 5f23523
Show file tree
Hide file tree
Showing 34 changed files with 557 additions and 567 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/sdk-react",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -82,12 +82,12 @@
"@xylabs/react-shared": "workspace:^"
},
"devDependencies": {
"@chromatic-com/storybook": "^3.1.0",
"@chromatic-com/storybook": "^3.2.1",
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@eslint-react/eslint-plugin": "^1.15.0",
"@mui/icons-material": "^6.1.5",
"@mui/material": "^6.1.5",
"@eslint-react/eslint-plugin": "^1.15.2",
"@mui/icons-material": "^6.1.6",
"@mui/material": "^6.1.6",
"@storybook/addon-actions": "^8.3.6",
"@storybook/addon-docs": "^8.3.6",
"@storybook/addon-essentials": "^8.3.6",
Expand All @@ -103,15 +103,15 @@
"@storybook/react-vite": "^8.3.6",
"@storybook/test": "^8.3.6",
"@storybook/theming": "^8.3.6",
"@stylistic/eslint-plugin": "^2.9.0",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"@stylistic/eslint-plugin": "^2.10.0",
"@typescript-eslint/eslint-plugin": "^8.12.2",
"@typescript-eslint/parser": "^8.12.2",
"@xylabs/eslint-config-flat": "^4.2.3",
"@xylabs/eslint-config-react-flat": "^4.2.3",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
"@xylabs/tsconfig": "^4.2.3",
"@xylabs/tsconfig-react": "^4.2.3",
"@xyo-network/react-theme": "^4.1.8",
"@xyo-network/react-theme": "^4.1.16",
"axios": "^1.7.7",
"buffer": "^6.0.3",
"eslint": "^9.13.0",
Expand All @@ -125,7 +125,7 @@
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "^5.6.3",
"vite": "^5.4.10",
"vitest": "^2.1.3"
"vitest": "^2.1.4"
},
"peerDependencies": {
"@mui/icons-material": "^6",
Expand Down
6 changes: 3 additions & 3 deletions packages/accordion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-accordion",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -40,8 +40,8 @@
"@xylabs/react-button": "workspace:^"
},
"devDependencies": {
"@mui/icons-material": "^6.1.5",
"@mui/material": "^6.1.5",
"@mui/icons-material": "^6.1.6",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@xylabs/react-flexbox": "workspace:^",
Expand Down
6 changes: 3 additions & 3 deletions packages/animation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-animation",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -41,8 +41,8 @@
"@xylabs/react-flexbox": "workspace:^"
},
"devDependencies": {
"@mui/icons-material": "^6.1.5",
"@mui/material": "^6.1.5",
"@mui/icons-material": "^6.1.6",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
Expand Down
8 changes: 4 additions & 4 deletions packages/app-settings/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-app-settings",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -45,9 +45,9 @@
"@xylabs/assert": "^4.3.3"
},
"devDependencies": {
"@mui/icons-material": "^6.1.5",
"@mui/material": "^6.1.5",
"@mui/styles": "^6.1.5",
"@mui/icons-material": "^6.1.6",
"@mui/material": "^6.1.6",
"@mui/styles": "^6.1.6",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/appbar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-appbar",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -44,8 +44,8 @@
"@xylabs/react-shared": "workspace:^"
},
"devDependencies": {
"@mui/icons-material": "^6.1.5",
"@mui/material": "^6.1.5",
"@mui/icons-material": "^6.1.6",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/async-effect/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-async-effect",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -40,7 +40,7 @@
"@xylabs/react-promise": "workspace:^"
},
"devDependencies": {
"@mui/material": "^6.1.5",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/base-page/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-base-page",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -45,8 +45,8 @@
"react-helmet": "^6.1.0"
},
"devDependencies": {
"@mui/icons-material": "^6.1.5",
"@mui/material": "^6.1.5",
"@mui/icons-material": "^6.1.6",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@types/react-helmet": "^6.1.11",
Expand Down
4 changes: 2 additions & 2 deletions packages/button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-button",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -42,7 +42,7 @@
"react-router-dom": "^6.27.0"
},
"devDependencies": {
"@mui/material": "^6.1.5",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@xylabs/react-flexbox": "workspace:^",
Expand Down
4 changes: 2 additions & 2 deletions packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-common",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -46,7 +46,7 @@
"react-router-dom": "^6.27.0"
},
"devDependencies": {
"@mui/material": "^6.1.5",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/cookie-consent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-cookie-consent",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -42,7 +42,7 @@
"@xylabs/react-shared": "workspace:^"
},
"devDependencies": {
"@mui/material": "^6.1.5",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
Expand Down
10 changes: 5 additions & 5 deletions packages/crypto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-crypto",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -39,7 +39,7 @@
"dependencies": {
"@emotion/react": "^11.13.3",
"@emotion/styled": "^11.13.0",
"@metamask/providers": "^18.1.0",
"@metamask/providers": "^18.1.1",
"@xylabs/assert": "^4.3.3",
"@xylabs/eth-address": "^4.3.3",
"@xylabs/forget": "^4.3.3",
Expand All @@ -52,12 +52,12 @@
"ethers": "^6.13.4",
"lru-cache": "^11.0.1",
"react-router-dom": "^6.27.0",
"viem": "^2.21.35",
"viem": "^2.21.37",
"webextension-polyfill": "^0.12.0"
},
"devDependencies": {
"@mui/icons-material": "^6.1.5",
"@mui/material": "^6.1.5",
"@mui/icons-material": "^6.1.6",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/dialogs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-dialogs",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -42,7 +42,7 @@
"axios": "^1.7.7"
},
"devDependencies": {
"@mui/material": "^6.1.5",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/error/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-error",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -44,8 +44,8 @@
"rollbar": "^2.26.4"
},
"devDependencies": {
"@mui/icons-material": "^6.1.5",
"@mui/material": "^6.1.5",
"@mui/icons-material": "^6.1.6",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class ThrownErrorBoundaryInner<T> extends Component<ThrownErrorBoundaryProps<T>,
return { hasError: true, xyoError: this.normalizeError<T>(error) } as ThrownErrorBoundaryState<T>
}

static normalizeError<T>(_error: ErrorEx<T>): T {
throw new Error('Method not implemented.')
static normalizeError<T>(error: ErrorEx<T>): T {
return error as T
}

override componentDidCatch(error: Error, errorInfo: ErrorInfo) {
Expand Down
4 changes: 2 additions & 2 deletions packages/experiments/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-experiments",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -45,7 +45,7 @@
"@xylabs/react-shared": "workspace:^"
},
"devDependencies": {
"@mui/material": "^6.1.5",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/flexbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-flexbox",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down
4 changes: 2 additions & 2 deletions packages/hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-hooks",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -37,7 +37,7 @@
"packages/*"
],
"devDependencies": {
"@mui/material": "^6.1.5",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/identicon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-identicon",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -41,7 +41,7 @@
"md5": "^2.3.0"
},
"devDependencies": {
"@mui/material": "^6.1.5",
"@mui/material": "^6.1.6",
"@types/md5": "^2.3.5",
"@types/react": "^18.3.12",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/invertible-theme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-invertible-theme",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -43,8 +43,8 @@
"rfdc": "^1.4.1"
},
"devDependencies": {
"@mui/icons-material": "^6.1.5",
"@mui/material": "^6.1.5",
"@mui/icons-material": "^6.1.6",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/link/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xylabs/react-link",
"version": "5.2.12",
"version": "5.2.13",
"description": "Common React library for all XY Labs projects that use React",
"keywords": [
"utility",
Expand Down Expand Up @@ -41,10 +41,10 @@
"react-router-dom": "^6.27.0"
},
"devDependencies": {
"@mui/material": "^6.1.5",
"@mui/material": "^6.1.6",
"@storybook/react": "^8.3.6",
"@types/react": "^18.3.12",
"@xylabs/react-flexbox": "^5.2.12",
"@xylabs/react-flexbox": "^5.2.13",
"@xylabs/react-pixel": "workspace:^",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
"@xylabs/tsconfig-react": "^4.2.3",
Expand Down
Loading

0 comments on commit 5f23523

Please sign in to comment.