worldcoin / idkit-js

Javascript toolkit to interact with the World ID protocol. Building the Identity SDK.
https://docs.worldcoin.org
MIT License
280 stars 71 forks source link

fix: bump zustand to ^4.5 #239

Closed 0xPenryn closed 6 months ago

0xPenryn commented 6 months ago

Zustand version was set to ^4.3.3, but we use createWithEqualityFn from zustand/traditional, which wasn't added until 4.4. Curiously, the lockfile had Zustand at 4.4.1.

Updating dependency version to ^4.5 (current latest minor release) resolves any potential dependency issues -- I have not run into it before (seems that usually Zustand 4.4 gets used?), but happened to get Zustand 4.3.x installed as a dependency in another project today and got the errors which this PR resolves.

Tested and working.

vercel[bot] commented 6 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
idkit-js-example ✅ Ready (Inspect) Visit Preview Mar 13, 2024 0:13am