fix: remove mute list shit
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing

This commit is contained in:
kieran 2024-07-01 14:31:04 +01:00
parent 40aa21cb4b
commit 1e40c1f71d
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
4 changed files with 5 additions and 14 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@snort/system-react",
"version": "1.3.7",
"version": "1.3.8",
"description": "React hooks for @snort/system",
"main": "dist/index.js",
"module": "src/index.ts",
@ -17,7 +17,7 @@
],
"dependencies": {
"@snort/shared": "^1.0.16",
"@snort/system": "^1.3.7",
"@snort/system": "^1.3.8",
"react": "^18.2.0"
},
"devDependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@snort/system",
"version": "1.3.7",
"version": "1.3.8",
"description": "Snort nostr system package",
"type": "module",
"main": "dist/index.js",

View File

@ -134,15 +134,6 @@ export class UserState<TAppData> extends EventEmitter<UserStateEvents> {
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() {

View File

@ -1,6 +1,6 @@
{
"name": "@snort/wallet",
"version": "0.1.5",
"version": "0.1.6",
"description": "Snort wallet system package",
"type": "module",
"main": "dist/index.js",
@ -23,7 +23,7 @@
"@lightninglabs/lnc-web": "^0.3.1-alpha",
"@scure/base": "^1.1.6",
"@snort/shared": "^1.0.16",
"@snort/system": "^1.3.7",
"@snort/system": "^1.3.8",
"debug": "^4.3.4",
"eventemitter3": "^5.0.1"
},