Skip to content

Commit 366f8e2

Browse files
committed
chore: re-order imports/exports a bit
1 parent cd72dc6 commit 366f8e2

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

packages/common/lib/functions/ProofUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import Debug from 'debug';
22
import jwtDecode from 'jwt-decode';
33

4+
import { VCI_LOG_COMMON } from '..';
45
import {
56
BAD_PARAMS,
67
BaseJWK,
@@ -14,7 +15,6 @@ import {
1415
ProofOfPossession,
1516
ProofOfPossessionCallbacks,
1617
Typ,
17-
VCI_LOG_COMMON,
1818
} from '../types';
1919

2020
const debug = Debug('sphereon:openid4vci:common');

packages/common/lib/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
import { Loggers, LogMethod } from '@sphereon/ssi-types';
2+
3+
export const VCI_LOGGERS = Loggers.default();
4+
export const VCI_LOG_COMMON = VCI_LOGGERS.options('sphereon:oid4vci:common', { methods: [LogMethod.EVENT, LogMethod.DEBUG_PKG] }).get(
5+
'sphereon:oid4vci:common',
6+
);
7+
18
export * from './functions';
29
export * from './types';
310
export * from './experimental/holder-vci';

packages/common/lib/types/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { Loggers, LogMethod } from '@sphereon/ssi-types';
2-
31
export * from './Authorization.types';
42
export * from './CredentialIssuance.types';
53
export * from './Generic.types';
@@ -12,8 +10,3 @@ export * from './OpenID4VCIVersions.types';
1210
export * from './StateManager.types';
1311
export * from './Token.types';
1412
export * from './QRCode.types';
15-
16-
export const VCI_LOGGERS = Loggers.default();
17-
export const VCI_LOG_COMMON = VCI_LOGGERS.options('sphereon:oid4vci:common', { methods: [LogMethod.EVENT, LogMethod.DEBUG_PKG] }).get(
18-
'sphereon:oid4vci:common',
19-
);

0 commit comments

Comments
 (0)