From 3fdf932a6a510a8983e3ce86838ae73dd281639f Mon Sep 17 00:00:00 2001 From: Alessio Onori Date: Fri, 19 Aug 2022 15:06:31 +0200 Subject: [PATCH] fix --- charts/polkadot-registrar-watcher/Chart.yaml | 4 ++-- package.json | 2 +- src/utils.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/polkadot-registrar-watcher/Chart.yaml b/charts/polkadot-registrar-watcher/Chart.yaml index b5055c3..7fa7d31 100644 --- a/charts/polkadot-registrar-watcher/Chart.yaml +++ b/charts/polkadot-registrar-watcher/Chart.yaml @@ -1,5 +1,5 @@ description: Polkadot Watcher name: polkadot-registrar-watcher -version: v0.3.32 -appVersion: v0.3.32 +version: v0.3.33 +appVersion: v0.3.33 apiVersion: v2 diff --git a/package.json b/package.json index 74d6d0f..395ca03 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "polkadot-registrar-watcher", - "version": "0.3.31", + "version": "0.3.33", "description": "Registrar", "repository": "git@github.com:w3f/polkadot-registrar-watcher.git", "author": "W3F Infrastructure Team ", diff --git a/src/utils.ts b/src/utils.ts index bfbae83..46b26a7 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -10,7 +10,7 @@ export const initPersistenceDir = (dir: string): void =>{ } export const isDataPresent = (data: Data): boolean => { - return !data == null && !data.isEmpty && !data.isNone + return !data.isEmpty && !data.isNone } export const buildWsChallengeRequestData = (accountId: string, info: IdentityInfo): WsChallengeRequestData => {