applesauce-actions 0.0.0-next-20250606170247 → 0.0.0-next-20250609184904

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,6 +44,7 @@ describe("MuteThread", () => {
44
44
  });
45
45
  describe("UnmuteThread", () => {
46
46
  it("should remove an event from public tags in mute list", async () => {
47
+ vi.setSystemTime(new Date("2025-01-01T00:00:00Z"));
47
48
  // First add the thread to mute list
48
49
  const addSpy = subscribeSpyTo(hub.exec(MuteThread, testEventId), { expectErrors: false });
49
50
  await addSpy.onComplete();
@@ -57,11 +58,12 @@ describe("UnmuteThread", () => {
57
58
  expect(mutedThings.threads).not.toContain(testEventId);
58
59
  });
59
60
  it("should remove an event from hidden tags in mute list", async () => {
61
+ vi.setSystemTime(new Date("2025-01-01T00:00:00Z"));
60
62
  // First add the thread to hidden mute list
61
63
  const addSpy = subscribeSpyTo(hub.exec(MuteThread, testEventId, true), { expectErrors: false });
62
64
  await addSpy.onComplete();
63
65
  // Wait a second to ensure events have newer created_at
64
- await vi.advanceTimersByTime(1000);
66
+ await vi.advanceTimersByTime(2000);
65
67
  // Then unmute it
66
68
  const spy = subscribeSpyTo(hub.exec(UnmuteThread, testEventId, true), { expectErrors: false });
67
69
  await spy.onComplete();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "applesauce-actions",
3
- "version": "0.0.0-next-20250606170247",
3
+ "version": "0.0.0-next-20250609184904",
4
4
  "description": "A package for performing common nostr actions",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -32,15 +32,15 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "applesauce-core": "0.0.0-next-20250606170247",
36
- "applesauce-factory": "0.0.0-next-20250606170247",
35
+ "applesauce-core": "0.0.0-next-20250609184904",
36
+ "applesauce-factory": "0.0.0-next-20250609184904",
37
37
  "nostr-tools": "^2.13",
38
38
  "rxjs": "^7.8.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@hirez_io/observer-spy": "^2.2.0",
42
42
  "@types/debug": "^4.1.12",
43
- "applesauce-signers": "0.0.0-next-20250606170247",
43
+ "applesauce-signers": "0.0.0-next-20250609184904",
44
44
  "nanoid": "^5.1.5",
45
45
  "typescript": "^5.8.3",
46
46
  "vitest": "^3.1.1"