From 228c16ce7e89d763fcc61f248ebd10934980cbfe Mon Sep 17 00:00:00 2001 From: David Mihalcik Date: Thu, 13 Feb 2025 13:52:59 -0500 Subject: [PATCH] Update index.ts --- lib/tdf3/src/client/index.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/tdf3/src/client/index.ts b/lib/tdf3/src/client/index.ts index 171c3a94..4d2e7621 100644 --- a/lib/tdf3/src/client/index.ts +++ b/lib/tdf3/src/client/index.ts @@ -7,7 +7,7 @@ import { import { base64 } from '../../../src/encodings/index.js'; import { buildKeyAccess, - EncryptConfiguration, + type EncryptConfiguration, fetchKasPublicKey, loadTDFStream, validatePolicyObject, @@ -22,13 +22,13 @@ import { type AuthProvider, HttpRequest, withHeaders } from '../../../src/auth/a import { pemToCryptoPublicKey, rstrip, validateSecureUrl } from '../../../src/utils.js'; import { - EncryptParams, - DecryptParams, + type EncryptParams, + type DecryptParams, type Scope, - DecryptStreamMiddleware, - EncryptKeyMiddleware, - EncryptStreamMiddleware, - SplitStep, + type DecryptStreamMiddleware, + type EncryptKeyMiddleware, + type EncryptStreamMiddleware, + type SplitStep, } from './builders.js'; import { DecoratedReadableStream } from './DecoratedReadableStream.js'; @@ -39,7 +39,7 @@ import { EncryptParamsBuilder, } from './builders.js'; import { - KasPublicKeyInfo, + type KasPublicKeyInfo, keyAlgorithmToPublicKeyAlgorithm, OriginAllowList, } from '../../../src/access.js'; @@ -48,7 +48,7 @@ import { Binary } from '../binary.js'; import { AesGcmCipher } from '../ciphers/aes-gcm-cipher.js'; import { toCryptoKeyPair } from '../crypto/crypto-utils.js'; import * as defaultCryptoService from '../crypto/index.js'; -import { type AttributeObject, type Policy, SplitKey } from '../models/index.js'; +import { type AttributeObject, type KeyAccessType, type Policy, SplitKey } from '../models/index.js'; import { plan } from '../../../src/policy/granter.js'; import { attributeFQNsAsValues } from '../../../src/policy/api.js'; import { type Value } from '../../../src/policy/attributes.js';