@celo/identity error. #236
Replies: 0 comments 9 replies
-
When I change the version to
My code gets stuck at the following line> console.log("Awaiting response");
const response = await OdisUtils.PhoneNumberIdentifier.getPhoneNumberIdentifier(
this.phoneNumber, this.account, this.authSigner, serviceContext);
console.log("gotten response", response); |
Beta Was this translation helpful? Give feedback.
-
Hey @Allen-Muhani, thanks for sharing this here! @alecps might this error relate to wasm issue @jsaur shared below? The first line of @Allen-Muhani's error mentions:
|
Beta Was this translation helpful? Give feedback.
-
https://github.com/celo-org/identity/discussions/24#discussion-4126457 @0xarthurxyz, @jsaur Could this issue be related to the following issue in react native?? The typescript export of OdisUtils is a constant (variable) import * as BlsBlindingClient from './bls-blinding-client';
import * as CircuitBreaker from './circuit-breaker';
import * as Matchmaking from './matchmaking';
import * as PhoneNumberIdentifier from './phone-number-identifier';
import * as Query from './query';
export declare const OdisUtils: {
BlsBlindingClient: typeof BlsBlindingClient;
Query: typeof Query;
Matchmaking: typeof Matchmaking;
PhoneNumberIdentifier: typeof PhoneNumberIdentifier;
CircuitBreaker: typeof CircuitBreaker;
}; |
Beta Was this translation helpful? Give feedback.
-
Hi @0xarthurxyz.
I am using @celo/identity version 2.0.0
I am running into the following error when using the @celo/identity library to perform attestation.
It occurs when I add the following code to my utility file.
Here is how I import ODIS:
import { OdisUtils } from '@celo/identity';
Here is the node_modules/@celo/identity/lib/index.js file content
Thanks
Beta Was this translation helpful? Give feedback.
All reactions