Skip to content

Commit

Permalink
remove hurdak since it is giving problems
Browse files Browse the repository at this point in the history
  • Loading branch information
pablof7z committed Aug 20, 2023
1 parent 50b78bc commit 7a330de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nostr-dev-kit/ndk-svelte-components",
"version": "0.8.18-1",
"version": "0.8.18-2",
"scripts": {
"dev": "vite dev",
"build": "vite build && npm run package",
Expand Down Expand Up @@ -72,7 +72,6 @@
"@nostr-dev-kit/ndk": "^0.8.17",
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"classnames": "^2.3.2",
"hurdak": "github:ConsignCloud/hurdak",
"isomorphic-dompurify": "^1.8.0",
"lucide-svelte": "^0.268.0",
"marked": "^7.0.3",
Expand Down
3 changes: 2 additions & 1 deletion src/lib/utils/notes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { first } from "hurdak/lib/hurdak";
import { nip19 } from "nostr-tools";
import { last, pluck, identity } from "ramda";

Expand All @@ -14,6 +13,8 @@ export const NOSTR_NPUB = "nostr:npub";
export const NOSTR_NPROFILE = "nostr:nprofile";
export const NOSTR_NADDR = "nostr:naddr";

const first = (list: any) => list ? list[0] : undefined

export const fromNostrURI = (s) => s.replace(/^[\w\+]+:\/?\/?/, "");

export const urlIsMedia = (url) =>
Expand Down

0 comments on commit 7a330de

Please sign in to comment.