Skip to content

Commit

Permalink
fix: build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
njlie committed Aug 23, 2022
1 parent a4fa4cd commit 041ffc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/auth/src/client/service.test.ts
Expand Up @@ -2,7 +2,7 @@ import crypto from 'crypto'
import nock from 'nock'
import { importJWK } from 'jose'
import { v4 } from 'uuid'
import Knex, { Transaction } from 'knex'
import { Knex } from 'knex'

import { createTestApp, TestContainer } from '../tests/app'
import { truncateTables } from '../tests/tableManager'
Expand Down Expand Up @@ -138,7 +138,7 @@ describe('Client Service', (): void => {
let grant: Grant
let token: AccessToken
let knex: Knex
let trx: Transaction
let trx: Knex.Transaction
// eslint-disable-next-line @typescript-eslint/no-explicit-any
let next: () => Promise<any>
let managementId: string
Expand Down
4 changes: 2 additions & 2 deletions packages/auth/src/tests/signature.ts
@@ -1,14 +1,14 @@
import crypto from 'crypto'
import { importJWK } from 'jose'
import { KEY_REGISTRY_ORIGIN, TEST_KID_PATH } from '../grant/routes.test'
import { KID_ORIGIN, KID_PATH } from '../grant/routes.test'

export const SIGNATURE_METHOD = 'GET'
export const SIGNATURE_TARGET_URI = '/test'

export const TEST_CLIENT_KEY = {
proof: 'httpsig',
jwk: {
kid: KEY_REGISTRY_ORIGIN + TEST_KID_PATH,
kid: KID_ORIGIN + KID_PATH,
x: 'hin88zzQxp79OOqIFNCME26wMiz0yqjzgkcBe0MW8pE',
kty: 'OKP',
alg: 'EdDSA',
Expand Down

0 comments on commit 041ffc4

Please sign in to comment.