Skip to content

Commit

Permalink
chore: update Logger identifier, update identity package
Browse files Browse the repository at this point in the history
  • Loading branch information
eum602 committed Jun 1, 2023
1 parent 621479f commit e61a617
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lacpass-chain-of-trust",
"version": "0.0.4",
"version": "0.0.7",
"description": "Rest api for laccpass Chain Of Trust built on top of Lacchain",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
Expand Down Expand Up @@ -83,7 +83,7 @@
"express-rate-limit": "^6.3.0",
"helmet": "^5.0.2",
"jsonwebtoken": "^9.0.0",
"lacpass-identity": "^0.0.16",
"lacpass-identity": "^0.0.20",
"morgan": "^1.10.0",
"multer": "^1.4.4",
"nodemailer": "^6.7.3",
Expand Down
3 changes: 2 additions & 1 deletion src/config/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { randomUUID } from 'crypto';
import { config } from 'dotenv';
import { LogLevel } from 'typescript-logging';
import { Log4TSProvider } from 'typescript-logging-log4ts-style';

config({ path: `.env.${process.env.ENV || 'dev'}` });

export const log4TSProvider = Log4TSProvider.createProvider(
'Log4ProviderChainOfTrust',
'Log4ProviderChainOfTrust' + randomUUID(),
{
level: LogLevel.Debug,
groups: [
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from './interfaces/manager/manager';
export { INewAccountIdAttribute } from 'lacpass-identity';
export { INewAccountIdAttribute, DidEntity } from 'lacpass-identity';
export { ManagerService } from './services/manager';
export { ErrorsMessages } from './constants/errorMessages';
export * from './dto/lac1/managerDTO';
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5217,10 +5217,10 @@ koa@^2.8.2:
type-is "^1.6.16"
vary "^1.1.2"

lacpass-identity@^0.0.16:
version "0.0.16"
resolved "https://registry.yarnpkg.com/lacpass-identity/-/lacpass-identity-0.0.16.tgz#87f3c67b5b707875aa5161c2cde994585298d090"
integrity sha512-l0b2rRksM0uWS4uei1fOmSQ+q3yhIr52NO3Sy1gQY2N5B5VFv1RT0agJLhggsVx1IMhBbx2K8GJm4/415tBbLw==
lacpass-identity@^0.0.20:
version "0.0.20"
resolved "https://registry.yarnpkg.com/lacpass-identity/-/lacpass-identity-0.0.20.tgz#b463f8cc11b9b285e3116ec4481b22933cc8c453"
integrity sha512-jsI2Yf2pxpQzZ4Tt519Si2gOhldAZUBgrvw0qgErBskDwEScctVblF6KCPbxS2SnvTcHfk+kW13GyeTwJZpyuw==
dependencies:
"@lacchain/gas-model-provider" "^1.0.1"
aws-sdk "^2.1116.0"
Expand All @@ -5239,7 +5239,7 @@ lacpass-identity@^0.0.16:
express-rate-limit "^6.3.0"
helmet "^5.0.2"
jsonwebtoken "^9.0.0"
lacpass-key-manager "^0.0.15"
lacpass-key-manager "^0.0.17"
morgan "^1.10.0"
multer "^1.4.4"
nodemailer "^6.7.3"
Expand All @@ -5259,10 +5259,10 @@ lacpass-identity@^0.0.16:
typescript-logging "^2.1.0"
typescript-logging-log4ts-style "^2.1.0"

lacpass-key-manager@^0.0.15:
version "0.0.15"
resolved "https://registry.yarnpkg.com/lacpass-key-manager/-/lacpass-key-manager-0.0.15.tgz#f227f6dc564716c7aede62043d7ea41e83300e00"
integrity sha512-f3FbSbHZEKaw/TSVWYhROCe1thEttljgUqLLOxIMddq/useJQV/UO9P8mjfta0+ALpVHHWJAwnC6IJ8yO7KaLg==
lacpass-key-manager@^0.0.17:
version "0.0.17"
resolved "https://registry.yarnpkg.com/lacpass-key-manager/-/lacpass-key-manager-0.0.17.tgz#3e8ddc87e4a2766467c53f6f22d06975c1723030"
integrity sha512-D36Lau2UKK0LwDQSrE6xQM4JMiI5/tS+Z6fmFBFUiYg4/hrtPWL6ii50S6IM/lVcm5UcEhwzMxwoI/QHHUs2Pw==
dependencies:
"@lacchain/gas-model-provider" "^1.0.1"
aws-sdk "^2.1116.0"
Expand Down

0 comments on commit e61a617

Please sign in to comment.