From 5fea9f3dfb418c921765c2a28764ffa95ceeaefd Mon Sep 17 00:00:00 2001 From: Kieran Date: Tue, 14 Nov 2023 12:07:25 +0000 Subject: [PATCH] chore: bump packages --- packages/shared/package.json | 2 +- packages/system-react/package.json | 6 +++--- packages/system/package.json | 4 ++-- packages/system/src/utils.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/shared/package.json b/packages/shared/package.json index 35d24077..b94d3d14 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@snort/shared", - "version": "1.0.8", + "version": "1.0.9", "description": "Shared components for Snort", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/system-react/package.json b/packages/system-react/package.json index 10f165ce..0b9916d5 100644 --- a/packages/system-react/package.json +++ b/packages/system-react/package.json @@ -1,6 +1,6 @@ { "name": "@snort/system-react", - "version": "1.0.19", + "version": "1.1.1", "description": "React hooks for @snort/system", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -15,8 +15,8 @@ "dist" ], "dependencies": { - "@snort/shared": "^1.0.8", - "@snort/system": "^1.0.22", + "@snort/shared": "^1.0.9", + "@snort/system": "^1.1.1", "react": "^18.2.0" }, "devDependencies": { diff --git a/packages/system/package.json b/packages/system/package.json index 27d28d5d..2db4a005 100644 --- a/packages/system/package.json +++ b/packages/system/package.json @@ -1,6 +1,6 @@ { "name": "@snort/system", - "version": "1.0.22", + "version": "1.1.1", "description": "Snort nostr system package", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -33,7 +33,7 @@ "@noble/curves": "^1.2.0", "@noble/hashes": "^1.3.2", "@scure/base": "^1.1.2", - "@snort/shared": "^1.0.7", + "@snort/shared": "^1.0.9", "@stablelib/xchacha20": "^1.0.1", "debug": "^4.3.4", "eventemitter3": "^5.0.1", diff --git a/packages/system/src/utils.ts b/packages/system/src/utils.ts index 319e30c0..d5d48137 100644 --- a/packages/system/src/utils.ts +++ b/packages/system/src/utils.ts @@ -46,7 +46,7 @@ export function flatFilterEq(a: FlatReqFilter, b: FlatReqFilter): boolean { export function splitByUrl(str: string) { const urlRegex = - /((?:http|ftp|https|nostr|web\+nostr|magnet):\/?\/?(?:[\w+?.\w+])+(?:[\p{L}\p{N}~!@#$%^&*()_\-=+\\/?.:;',]*)?(?:[-a-z0-9+&@#/%=~()_|]))/iu; + /((?:http|ftp|https|nostr|web\+nostr|magnet|lnurl[p|w]?):\/?\/?(?:[\w+?.\w+])+(?:[\p{L}\p{N}~!@#$%^&*()_\-=+\\/?.:;',]*)?(?:[-a-z0-9+&@#/%=~()_|]))/iu; return str.split(urlRegex); }