From 8e45d31a5075a8ebd3b02f4bad80e5f6c1c8f56f Mon Sep 17 00:00:00 2001 From: sandwich <299465+dskvr@users.noreply.github.com> Date: Wed, 14 Feb 2024 12:01:26 +0000 Subject: [PATCH] remove continent code from object mapping for event --- apps/nocapd/package.json | 2 +- packages/publisher/package.json | 2 +- packages/publisher/src/kinds/Kind30066.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/nocapd/package.json b/apps/nocapd/package.json index d6047e2b..0fd44cd2 100644 --- a/apps/nocapd/package.json +++ b/apps/nocapd/package.json @@ -10,7 +10,7 @@ "@nostrwatch/logger": "^0.0.3", "@nostrwatch/nocap": "^0.1.11", "@nostrwatch/nwcache": "^0.0.2", - "@nostrwatch/publisher": "^0.1.3", + "@nostrwatch/publisher": "^0.1.4", "@nostrwatch/seed": "^0.0.1", "@nostrwatch/utils": "^0.0.1", "chalk": "5.3.0", diff --git a/packages/publisher/package.json b/packages/publisher/package.json index fd5f963d..a15dff2d 100644 --- a/packages/publisher/package.json +++ b/packages/publisher/package.json @@ -1,6 +1,6 @@ { "name": "@nostrwatch/publisher", - "version": "0.1.3", + "version": "0.1.4", "type": "module", "description": "Library for publishing nostr.watch relay status and publisher registration events", "main": "index.js", diff --git a/packages/publisher/src/kinds/Kind30066.js b/packages/publisher/src/kinds/Kind30066.js index 46aa0815..710bb0d2 100644 --- a/packages/publisher/src/kinds/Kind30066.js +++ b/packages/publisher/src/kinds/Kind30066.js @@ -195,8 +195,8 @@ const transformGeoResult = geo => { "regionName": "regionName", "country": "countryName", "countryCode": "countryCode", - "continent": "contentName", - "continentCode": "continentCode" + // "continent": "contentName", + // "continentCode": "continentCode" } return mapper(geo, map) }