chore: bump pkgs
This commit is contained in:
parent
e9fd593468
commit
f8f07a02bb
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@snort/system-react",
|
"name": "@snort/system-react",
|
||||||
"version": "1.6.0",
|
"version": "1.6.1",
|
||||||
"description": "React hooks for @snort/system",
|
"description": "React hooks for @snort/system",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"module": "src/index.ts",
|
"module": "src/index.ts",
|
||||||
@ -17,7 +17,7 @@
|
|||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@snort/shared": "^1.0.17",
|
"@snort/shared": "^1.0.17",
|
||||||
"@snort/system": "^1.6.0",
|
"@snort/system": "^1.6.1",
|
||||||
"react": "^18.2.0"
|
"react": "^18.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@snort/system",
|
"name": "@snort/system",
|
||||||
"version": "1.6.0",
|
"version": "1.6.1",
|
||||||
"description": "Snort nostr system package",
|
"description": "Snort nostr system package",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -14,7 +14,7 @@ export interface TaggedNostrEvent extends NostrEvent {
|
|||||||
/**
|
/**
|
||||||
* A list of relays this event was seen on
|
* A list of relays this event was seen on
|
||||||
*/
|
*/
|
||||||
relays: Array<string>;
|
relays?: Array<string>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Additional context
|
* Additional context
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { SortedMap, dedupe } from "@snort/shared";
|
import { SortedMap, appendDedupe, dedupe } from "@snort/shared";
|
||||||
import { EventExt, EventType, TaggedNostrEvent } from ".";
|
import { EventExt, EventType, TaggedNostrEvent } from ".";
|
||||||
import { findTag } from "./utils";
|
import { findTag } from "./utils";
|
||||||
import { EventEmitter } from "eventemitter3";
|
import { EventEmitter } from "eventemitter3";
|
||||||
@ -72,7 +72,7 @@ export class KeyedReplaceableNoteStore extends HookedNoteStore {
|
|||||||
const existing = this.#events.get(keyOnEvent);
|
const existing = this.#events.get(keyOnEvent);
|
||||||
if (a.created_at > (existing?.created_at ?? 0)) {
|
if (a.created_at > (existing?.created_at ?? 0)) {
|
||||||
if (existing) {
|
if (existing) {
|
||||||
a.relays = dedupe([...(existing.relays ?? []), ...a.relays]);
|
a.relays = appendDedupe(existing.relays, a.relays);
|
||||||
}
|
}
|
||||||
this.#events.set(keyOnEvent, a);
|
this.#events.set(keyOnEvent, a);
|
||||||
changes.push(a);
|
changes.push(a);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@snort/wallet",
|
"name": "@snort/wallet",
|
||||||
"version": "0.2.3",
|
"version": "0.2.4",
|
||||||
"description": "Snort wallet system package",
|
"description": "Snort wallet system package",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
@ -23,7 +23,7 @@
|
|||||||
"@lightninglabs/lnc-web": "^0.3.1-alpha",
|
"@lightninglabs/lnc-web": "^0.3.1-alpha",
|
||||||
"@scure/base": "^1.1.6",
|
"@scure/base": "^1.1.6",
|
||||||
"@snort/shared": "^1.0.17",
|
"@snort/shared": "^1.0.17",
|
||||||
"@snort/system": "^1.6.0",
|
"@snort/system": "^1.6.1",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"eventemitter3": "^5.0.1"
|
"eventemitter3": "^5.0.1"
|
||||||
},
|
},
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@snort/worker-relay",
|
"name": "@snort/worker-relay",
|
||||||
"version": "1.3.0",
|
"version": "1.3.1",
|
||||||
"description": "A nostr relay in a service worker",
|
"description": "A nostr relay in a service worker",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user