mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-04 03:00:32 +08:00
Update to latest 'caip' package
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
import { AccountID } from 'caip';
|
||||
import { AccountId } from 'caip';
|
||||
import type { EnsProfile } from "@app/base/registrations/registrar";
|
||||
import type { BasicProfile } from "@ceramicstudio/idx-constants";
|
||||
import {
|
||||
@@ -90,7 +90,7 @@ export class Profile {
|
||||
const addr = this.profile?.ens?.anchorsAccount;
|
||||
|
||||
if (addr) {
|
||||
const id = AccountID.parse(addr);
|
||||
const id = new AccountId(addr);
|
||||
|
||||
// Ethereum address.
|
||||
if (typeof id.chainId === "object" && id.chainId.namespace === "eip155") {
|
||||
|
||||
Reference in New Issue
Block a user