diff --git a/lib/tests/web/auth/auth.test.ts b/lib/tests/web/auth/auth.test.ts index 35272011..6303d448 100644 --- a/lib/tests/web/auth/auth.test.ts +++ b/lib/tests/web/auth/auth.test.ts @@ -83,7 +83,10 @@ describe('AccessToken', () => { describe('exchanging refresh token for token with TDF claims', () => { describe('using client credentials', () => { it('passes client creds with refresh grant type to token endpoint', async () => { - const signingKey = await crypto.subtle.generateKey(algorithmSigner, true, ['sign', 'verify']); + const signingKey = await crypto.subtle.generateKey(algorithmSigner, true, [ + 'sign', + 'verify', + ]); const mf = mockFetch({ access_token: 'fdfsdffsdf' }); const accessToken = new AccessToken( { @@ -112,7 +115,10 @@ describe('AccessToken', () => { }); describe('using browser flow', () => { it('passes only refresh token with refresh grant type to token endpoint', async () => { - const signingKey = await crypto.subtle.generateKey(algorithmSigner, true, ['sign', 'verify']); + const signingKey = await crypto.subtle.generateKey(algorithmSigner, true, [ + 'sign', + 'verify', + ]); const mf = mockFetch({ access_token: 'fake_token' }); const accessToken = new AccessToken( { @@ -140,7 +146,10 @@ describe('AccessToken', () => { describe('exchanging external JWT for token with TDF claims', () => { describe('using client credentials', () => { it('passes client creds and JWT with exchange grant type to token endpoint', async () => { - const signingKey = await crypto.subtle.generateKey(algorithmSigner, true, ['sign', 'verify']); + const signingKey = await crypto.subtle.generateKey(algorithmSigner, true, [ + 'sign', + 'verify', + ]); const mf = mockFetch({ access_token: 'fake_token' }); const accessToken = new AccessToken( { diff --git a/remote-store/package-lock.json b/remote-store/package-lock.json index 1a795b12..2a106c74 100644 --- a/remote-store/package-lock.json +++ b/remote-store/package-lock.json @@ -1649,8 +1649,7 @@ "node_modules/@opentdf/client": { "version": "2.0.0", "resolved": "file:../lib/opentdf-client-2.0.0.tgz", - "integrity": "sha512-o0Dhfj6sgBH7G/Fyov0m0oyZHLoWC7c7Fgarrbq5u/R+iODUzo4QHaOzmcBjTMG0rJhBjJTnLxWtNASoIhXbAQ==", - "license": "BSD-3-Clause-Clear", + "integrity": "sha512-uHQ/wEL64Fbd+Zy6iLhka9kz0yUbbBMGCxZuPZxhliIy+KaNytZCpqs/uDuLxEk7/TKz54kY1TjOlWm1a0SbBw==", "dependencies": { "ajv": "^8.12.0", "axios": "^1.6.1", diff --git a/web-app/package-lock.json b/web-app/package-lock.json index 9ec0923d..491db44a 100644 --- a/web-app/package-lock.json +++ b/web-app/package-lock.json @@ -602,8 +602,7 @@ "node_modules/@opentdf/client": { "version": "2.0.0", "resolved": "file:../lib/opentdf-client-2.0.0.tgz", - "integrity": "sha512-o0Dhfj6sgBH7G/Fyov0m0oyZHLoWC7c7Fgarrbq5u/R+iODUzo4QHaOzmcBjTMG0rJhBjJTnLxWtNASoIhXbAQ==", - "license": "BSD-3-Clause-Clear", + "integrity": "sha512-uHQ/wEL64Fbd+Zy6iLhka9kz0yUbbBMGCxZuPZxhliIy+KaNytZCpqs/uDuLxEk7/TKz54kY1TjOlWm1a0SbBw==", "dependencies": { "ajv": "^8.12.0", "axios": "^1.6.1", @@ -4098,7 +4097,7 @@ }, "@opentdf/client": { "version": "file:../lib/opentdf-client-2.0.0.tgz", - "integrity": "sha512-o0Dhfj6sgBH7G/Fyov0m0oyZHLoWC7c7Fgarrbq5u/R+iODUzo4QHaOzmcBjTMG0rJhBjJTnLxWtNASoIhXbAQ==", + "integrity": "sha512-uHQ/wEL64Fbd+Zy6iLhka9kz0yUbbBMGCxZuPZxhliIy+KaNytZCpqs/uDuLxEk7/TKz54kY1TjOlWm1a0SbBw==", "requires": { "ajv": "^8.12.0", "axios": "^1.6.1",