Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
chore: upgrade deps.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdethier committed Apr 12, 2024
1 parent 1d74207 commit dc0ecf9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"typeorm": "node ./node_modules/typeorm/cli.js -d ./dist/db-tools/ormconfig.js"
},
"dependencies": {
"@logion/node-api": "^0.29.0-2",
"@logion/rest-api-core": "^0.4.8-6",
"@logion/node-api": "^0.29.0-5",
"@logion/rest-api-core": "^0.4.8-7",
"ansi-regex": "^6.0.1",
"body-parser": "^1.20.2",
"bson": "^4.7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/logion/controllers/legalofficer.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export class LegalOfficerController extends ApiController {
@Async()
async createOrUpdateLegalOfficer(createOrUpdate: CreateOrUpdateLegalOfficerView): Promise<LegalOfficerView> {
const authenticatedUser = await this.authenticationService.authenticatedUser(this.request);
const account = authenticatedUser.toValidAccountId();
const account = authenticatedUser.validAccountId;
if (!await authenticatedUser.isLegalOfficer()) {
throw new UnauthorizedException(`${ account.address } is not a Legal Officer.`);
}
Expand Down
32 changes: 16 additions & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -494,12 +494,12 @@ __metadata:
languageName: node
linkType: hard

"@logion/authenticator@npm:^0.5.6-4":
version: 0.5.6-4
resolution: "@logion/authenticator@npm:0.5.6-4"
"@logion/authenticator@npm:^0.5.6-5":
version: 0.5.6-5
resolution: "@logion/authenticator@npm:0.5.6-5"
dependencies:
"@ethersproject/transactions": ^5.7.0
"@logion/node-api": ^0.29.0-2
"@logion/node-api": ^0.29.0-4
"@multiversx/sdk-core": ^12.19.1
"@multiversx/sdk-wallet": ^4.3.0
ethers: ^6.11.1
Expand All @@ -509,29 +509,29 @@ __metadata:
web3-utils: ^4.2.1
peerDependencies:
"@logion/node-api": 0.x
checksum: 43568b5446ccdfe7b9d0eedc526caa7e2dda64702f83ebe7a326d3c9480d17214b6c06cf3e964dcec98c9c472f7efbb35de6715fb888303c310ff98938217580
checksum: 99485487135cfdb300d756a80cf6f7dc017289af009b17e63824869a0f618f65c95b03a6e87b77d2a07218f3c007cb13a844bec3339d33e05c6e09efa8c8355c
languageName: node
linkType: hard

"@logion/node-api@npm:^0.29.0-2":
version: 0.29.0-3
resolution: "@logion/node-api@npm:0.29.0-3"
"@logion/node-api@npm:^0.29.0-4, @logion/node-api@npm:^0.29.0-5":
version: 0.29.0-5
resolution: "@logion/node-api@npm:0.29.0-5"
dependencies:
"@polkadot/api": ^10.12.2
"@polkadot/util": ^12.6.2
"@polkadot/util-crypto": ^12.6.2
"@types/uuid": ^9.0.2
fast-sha256: ^1.3.0
uuid: ^9.0.0
checksum: 8b7759ec19d4ebbf7eddf1c8a9d6308f2ee83c9fd9232538d04eaa2b35344eaf36554304ac8a95cf40baa5475eb75d990070b49b72bb84f21c3e0c73cc21f016
checksum: 77ff276c92d2613ff9874fa1932c56de62d4d13949b1cbff26ed6b0d3bdaa3c305c1b212e6fc4cb68dccecfc22a47da312531b391e91221b0e8e5c3c087a54d8
languageName: node
linkType: hard

"@logion/rest-api-core@npm:^0.4.8-6":
version: 0.4.8-6
resolution: "@logion/rest-api-core@npm:0.4.8-6"
"@logion/rest-api-core@npm:^0.4.8-7":
version: 0.4.8-7
resolution: "@logion/rest-api-core@npm:0.4.8-7"
dependencies:
"@logion/authenticator": ^0.5.6-4
"@logion/authenticator": ^0.5.6-5
dinoloop: ^2.4.0
express: ^4.18.2
express-fileupload: ^1.4.0
Expand All @@ -541,7 +541,7 @@ __metadata:
swagger-ui-express: ^5.0.0
typeorm: ^0.3.11
typeorm-transactional: ^0.4.1
checksum: 4b49b7a9c8d32def4c501296bd0b45cacec4cffb053495d38270ccaec0e8172bb8584f28f7bb437cea6e3b3b4da96faacfe6ec75d98a36d5dcb12f2bc862ef8f
checksum: 36f38a6a96d71b51c9518c9a53c1240545ad79b6a2efc0cac0d9b56c66e639fb1d806cbfc3fe031250201fc1ab081a1c2625cfe74bf5554edd10b19a175cf32b
languageName: node
linkType: hard

Expand Down Expand Up @@ -3923,8 +3923,8 @@ __metadata:
resolution: "logion-directory@workspace:."
dependencies:
"@istanbuljs/nyc-config-typescript": ^1.0.2
"@logion/node-api": ^0.29.0-2
"@logion/rest-api-core": ^0.4.8-6
"@logion/node-api": ^0.29.0-5
"@logion/rest-api-core": ^0.4.8-7
"@tsconfig/node18": ^1.0.1
"@types/cors": ^2.8.12
"@types/express": ^4.17.13
Expand Down

0 comments on commit dc0ecf9

Please sign in to comment.