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

Commit

Permalink
Merge pull request #122 from w3f/up
Browse files Browse the repository at this point in the history
upgraded deps
  • Loading branch information
ironoa authored Aug 18, 2022
2 parents 82d5607 + 6e837c6 commit 1cbcdec
Show file tree
Hide file tree
Showing 4 changed files with 240 additions and 234 deletions.
4 changes: 2 additions & 2 deletions charts/polkadot-registrar-watcher/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: Polkadot Watcher
name: polkadot-registrar-watcher
version: v0.3.30
appVersion: v0.3.30
version: v0.3.31
appVersion: v0.3.31
apiVersion: v2
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polkadot-registrar-watcher",
"version": "0.3.30",
"version": "0.3.31",
"description": "Registrar",
"repository": "[email protected]:w3f/polkadot-registrar-watcher.git",
"author": "W3F Infrastructure Team <[email protected]>",
Expand All @@ -18,7 +18,7 @@
"start": "node ./dist/index.js start"
},
"dependencies": {
"@polkadot/api": "^8.14.1",
"@polkadot/api": "^9.2.2",
"@types/ws": "^7.2.7",
"@w3f/config": "^0.1.1",
"@w3f/logger": "^0.4.3",
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const initPersistenceDir = (dir: string): void =>{
}

export const isDataPresent = (data: Data): boolean => {
return !data.isNull && !data.isEmpty && !data.isNone
return !data == null && !data.isEmpty && !data.isNone
}

export const buildWsChallengeRequestData = (accountId: string, info: IdentityInfo): WsChallengeRequestData => {
Expand Down
Loading

0 comments on commit 1cbcdec

Please sign in to comment.