From c133538356471a6a0887322a3f6245aa5193e7e4 Mon Sep 17 00:00:00 2001 From: Ariel Gentile Date: Mon, 6 Mar 2023 08:26:42 -0300 Subject: [PATCH] fix(anoncreds): Buffer not imported from core (#1367) Signed-off-by: Ariel Gentile --- packages/anoncreds/src/utils/credential.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/anoncreds/src/utils/credential.ts b/packages/anoncreds/src/utils/credential.ts index eee27cccab..33a7a05c41 100644 --- a/packages/anoncreds/src/utils/credential.ts +++ b/packages/anoncreds/src/utils/credential.ts @@ -1,7 +1,7 @@ import type { AnonCredsSchema, AnonCredsCredentialValues } from '../models' import type { CredentialPreviewAttributeOptions, LinkedAttachment } from '@aries-framework/core' -import { AriesFrameworkError, Hasher, encodeAttachment } from '@aries-framework/core' +import { AriesFrameworkError, Hasher, encodeAttachment, Buffer } from '@aries-framework/core' import BigNumber from 'bn.js' const isString = (value: unknown): value is string => typeof value === 'string'