diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b1ec6ed43d..338c004e91 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,6 +1,6 @@ { "apps/cowswap-frontend": "1.85.0", - "apps/explorer": "2.35.0", + "apps/explorer": "2.35.1", "libs/permit-utils": "0.4.0", "libs/widget-lib": "0.15.0", "libs/widget-react": "0.11.0", diff --git a/apps/explorer/CHANGELOG.md b/apps/explorer/CHANGELOG.md index ef7ef6517a..3c9f1687c5 100644 --- a/apps/explorer/CHANGELOG.md +++ b/apps/explorer/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [2.35.1](https://github.com/cowprotocol/cowswap/compare/explorer-v2.35.0...explorer-v2.35.1) (2024-10-14) + + +### Bug Fixes + +* **explorer:** do not crash when appData is not parsed ([#4983](https://github.com/cowprotocol/cowswap/issues/4983)) ([b960bde](https://github.com/cowprotocol/cowswap/commit/b960bde94570dba2a297ecb59a7a79cbbbfcefb8)) + ## [2.35.0](https://github.com/cowprotocol/cowswap/compare/explorer-v2.34.1...explorer-v2.35.0) (2024-10-10) diff --git a/apps/explorer/package.json b/apps/explorer/package.json index 9fb7310293..34f4e6a3e7 100644 --- a/apps/explorer/package.json +++ b/apps/explorer/package.json @@ -1,6 +1,6 @@ { "name": "@cowprotocol/explorer", - "version": "2.35.0", + "version": "2.35.1", "description": "CoW Swap Explorer", "main": "src/main.tsx", "author": "", diff --git a/apps/explorer/src/components/orders/OrderHooksDetails/index.tsx b/apps/explorer/src/components/orders/OrderHooksDetails/index.tsx index da037bbec8..719eeb2df3 100644 --- a/apps/explorer/src/components/orders/OrderHooksDetails/index.tsx +++ b/apps/explorer/src/components/orders/OrderHooksDetails/index.tsx @@ -17,7 +17,7 @@ interface OrderHooksDetailsProps { export function OrderHooksDetails({ appData, fullAppData, children }: OrderHooksDetailsProps) { const { appDataDoc } = useAppData(appData, fullAppData) - if (!appDataDoc) return null + if (!appDataDoc?.metadata) return null const metadata = appDataDoc.metadata as latest.Metadata diff --git a/libs/events/package.json b/libs/events/package.json index 1200458823..dc1d6d0916 100644 --- a/libs/events/package.json +++ b/libs/events/package.json @@ -20,6 +20,6 @@ "dex" ], "dependencies": { - "@cowprotocol/types": "^1.1.1-RC.0" + "@cowprotocol/types": "^1.2.0" } -} \ No newline at end of file +} diff --git a/libs/iframe-transport/package.json b/libs/iframe-transport/package.json index 7e102849ef..6649036570 100644 --- a/libs/iframe-transport/package.json +++ b/libs/iframe-transport/package.json @@ -1,6 +1,6 @@ { "name": "@cowprotocol/iframe-transport", - "version": "1.0.0", + "version": "1.1.0", "type": "commonjs", "description": "CoW Swap iframe-transport", "main": "index.js", diff --git a/libs/widget-lib/package.json b/libs/widget-lib/package.json index 90d297d6f6..b2dcdaa138 100644 --- a/libs/widget-lib/package.json +++ b/libs/widget-lib/package.json @@ -21,6 +21,7 @@ "widget-lib" ], "dependencies": { - "@cowprotocol/events": "^1.4.1-RC.0" + "@cowprotocol/events": "^1.5.0", + "@cowprotocol/iframe-transport": "^1.1.0" } -} \ No newline at end of file +} diff --git a/libs/widget-react/package.json b/libs/widget-react/package.json index 8045b3c400..ede317c850 100644 --- a/libs/widget-react/package.json +++ b/libs/widget-react/package.json @@ -22,6 +22,6 @@ "react" ], "dependencies": { - "@cowprotocol/widget-lib": "^0.14.1-RC.0" + "@cowprotocol/widget-lib": "^0.15.0" } -} \ No newline at end of file +}