fix: remove mute list shit
This commit is contained in:
parent
40aa21cb4b
commit
1e40c1f71d
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@snort/system-react",
|
"name": "@snort/system-react",
|
||||||
"version": "1.3.7",
|
"version": "1.3.8",
|
||||||
"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.16",
|
"@snort/shared": "^1.0.16",
|
||||||
"@snort/system": "^1.3.7",
|
"@snort/system": "^1.3.8",
|
||||||
"react": "^18.2.0"
|
"react": "^18.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@snort/system",
|
"name": "@snort/system",
|
||||||
"version": "1.3.7",
|
"version": "1.3.8",
|
||||||
"description": "Snort nostr system package",
|
"description": "Snort nostr system package",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -134,15 +134,6 @@ export class UserState<TAppData> extends EventEmitter<UserStateEvents> {
|
|||||||
|
|
||||||
await this.#relays.persist(signer, system);
|
await this.#relays.persist(signer, system);
|
||||||
}
|
}
|
||||||
|
|
||||||
// migrate mutes into blocks
|
|
||||||
const muteList = this.#standardLists.get(EventKind.MuteList);
|
|
||||||
if (muteList && muteList.tags.length > 0 && signer) {
|
|
||||||
this.#log("Migrating mutes into blocks mutes=%i, blocks=%i", muteList.tags.length, muteList.encryptedTags.length);
|
|
||||||
muteList.replace([], false);
|
|
||||||
muteList.add(muteList!.tags, true);
|
|
||||||
await muteList.persist(signer, system);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
get version() {
|
get version() {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@snort/wallet",
|
"name": "@snort/wallet",
|
||||||
"version": "0.1.5",
|
"version": "0.1.6",
|
||||||
"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.16",
|
"@snort/shared": "^1.0.16",
|
||||||
"@snort/system": "^1.3.7",
|
"@snort/system": "^1.3.8",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"eventemitter3": "^5.0.1"
|
"eventemitter3": "^5.0.1"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user