o1-labs / o1js

TypeScript framework for zk-SNARKs and zkApps
https://docs.minaprotocol.com/en/zkapps/how-to-write-a-zkapp
Apache License 2.0
475 stars 105 forks source link

Fix absolute imports #1628

Closed mitschabaude closed 1 month ago

mitschabaude commented 2 months ago

Fixes two places where the code accidentally used absolute instead of relative imports.

This prevents successful compilation in some TS projects that use o1js. A workaround until this fix is released is to set skipLibCheck: true in the TS config.

bindings: https://github.com/o1-labs/o1js-bindings/pull/270