Skip to content

Commit e5a0c60

Browse files
committed
feat: Update packages
1 parent 6dd317b commit e5a0c60

File tree

5 files changed

+211
-122
lines changed

5 files changed

+211
-122
lines changed

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,22 @@
6666
"@cozy/minilog": "^1.0.0",
6767
"@sentry/integrations": "^7.114.0",
6868
"@sentry/react": "^8.5.0",
69-
"cozy-bar": "^22.1.1",
70-
"cozy-client": "^57.7.2",
71-
"cozy-dataproxy-lib": "4.1.0",
69+
"cozy-bar": "^24.1.1",
70+
"cozy-client": "^60.13.0",
71+
"cozy-dataproxy-lib": "4.6.1",
7272
"cozy-device-helper": "^3.8.0",
73-
"cozy-devtools": "^1.3.0",
74-
"cozy-doctypes": "^1.97.2",
75-
"cozy-flags": "^4.7.0",
73+
"cozy-devtools": "^1.4.1",
74+
"cozy-doctypes": "^1.98.1",
75+
"cozy-flags": "^4.8.0",
7676
"cozy-intent": "^2.30.0",
7777
"cozy-interapp": "^0.16.0",
7878
"cozy-logger": "^1.17.0",
7979
"cozy-minilog": "^3.10.0",
80-
"cozy-pouch-link": "^57.7.0",
81-
"cozy-realtime": "^5.6.4",
82-
"cozy-search": "^0.6.0",
83-
"cozy-stack-client": "^57.2.0",
84-
"cozy-ui": "^123.2.0",
80+
"cozy-pouch-link": "^60.13.0",
81+
"cozy-realtime": "^5.8.0",
82+
"cozy-search": "^0.11.1",
83+
"cozy-stack-client": "^60.6.0",
84+
"cozy-ui": "^130.7.2",
8585
"emoji-js": "3.7.0",
8686
"focus-trap-react": "4.0.1",
8787
"fuse.js": "6.5.3",

src/targets/browser/index.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ const init = () => {
3838
uri: `${protocol}//${data.domain}`,
3939
schema,
4040
token: data.token,
41-
store: false
41+
useCustomStore: true,
42+
autoHydrate: true
4243
})
4344

4445
client.registerPlugin(RealtimePlugin)

src/targets/intents/index.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ document.addEventListener('DOMContentLoaded', () => {
2727
uri: `${protocol}//${appData.domain}`,
2828
schema,
2929
token: appData.token,
30-
store: false
30+
useCustomStore: true,
31+
autoHydrate: true
3132
})
3233
client.registerPlugin(RealtimePlugin)
3334
client.registerPlugin(flag.plugin)

test/AppLike.jsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { Provider } from 'react-redux'
33
import { HashRouter } from 'react-router-dom'
44

55
import { CozyProvider, createMockClient } from 'cozy-client'
6+
import { Layout } from 'cozy-ui/transpiled/react/Layout'
67
import { BreakpointsProvider } from 'cozy-ui/transpiled/react/providers/Breakpoints'
78
import I18n from 'cozy-ui/transpiled/react/providers/I18n'
89

@@ -19,7 +20,9 @@ const AppLike = ({ children, store, client }) => {
1920
<CozyProvider client={client || mockClient}>
2021
<I18n dictRequire={() => enLocale} lang="en">
2122
<BreakpointsProvider>
22-
<HashRouter>{children}</HashRouter>
23+
<HashRouter>
24+
<Layout>{children}</Layout>
25+
</HashRouter>
2326
</BreakpointsProvider>
2427
</I18n>
2528
</CozyProvider>

0 commit comments

Comments
 (0)