Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The @dfinity/candid import doesn't seem to be right #952

Open
richtera opened this issue Nov 18, 2024 · 0 comments
Open

The @dfinity/candid import doesn't seem to be right #952

richtera opened this issue Nov 18, 2024 · 0 comments

Comments

@richtera
Copy link

import { bufFromBufLike } from '@dfinity/candid';

I think the method moved to @dfinity/agent? I just upgraded to 2.1.3 and see a compilation error:

[email protected]___oopol5zwpin5cozydez3tvaugy/node_modules/@dfinity/identity/lib/esm/identity/webauthn.js (4:9)
│ 2: import borc from 'borc';
│ 3: import { randomBytes } from '@noble/hashes/utils';
│ 4: import { bufFromBufLike } from '@dfinity/candid';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant