@hiveposh/so-many-frontends
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -59,2 +59,5 @@ const hiveDomains = [ | ||
} | ||
if (hiveLink.includes("leofinance.io/threads/view")) { | ||
hiveLink = hiveLink.replace("leofinance.io/threads/view/", "leofinance.io/@"); | ||
} | ||
if (hiveLink.includes("3speak.tv")) { | ||
@@ -61,0 +64,0 @@ hiveLink = hiveLink.replace("3speak.tv/watch?v=", "3speak.tv/@"); |
{ | ||
"name": "@hiveposh/so-many-frontends", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "JS module for listing Hive front ends", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -204,1 +204,10 @@ const test = require("node:test"); | ||
test("leofinance new UI threads view URL", (t) => { | ||
assert.deepEqual(parseHiveUrl("https://alpha.leofinance.io/threads/view/theycallmedan/re-leothreads-7tyyx8co"), { | ||
domain: "alpha.leofinance.io", | ||
author: "theycallmedan", | ||
permlink: "re-leothreads-7tyyx8co" | ||
}); | ||
}); | ||
10886
286