Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
penpenpng committed Dec 3, 2023
1 parent 3362d96 commit 5d7b21f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rx-nostr",
"version": "1.8.1",
"version": "2.0.0",
"description": "A library based on RxJS, which allows Nostr applications to easily communicate with relays.",
"author": "penpenpng",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/__test__/keep-alive.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { afterEach, beforeEach, describe, expect, test } from "vitest";
import { createMockRelay, type MockRelay } from "vitest-nostr";

import { createRxForwardReq, createRxNostr, RxNostr } from "../index.js";
import { disposeMockRelay, faker, spyEvent, stateWillBe } from "./helper.js";
import { disposeMockRelay, faker, stateWillBe } from "./helper.js";

describe("", () => {
const DEFAULT_RELAY = "ws://localhost:1234";
Expand Down
2 changes: 1 addition & 1 deletion src/__test__/operator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ test("tie()", async () => {
}))
);

// eslint-disable-next-line @typescript-eslint/no-explicit-any
expectObservable(packet$).toEqual(
// eslint-disable-next-line @typescript-eslint/no-explicit-any
of<any[]>(
{
...packets[0],
Expand Down
4 changes: 1 addition & 3 deletions src/rx-nostr/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { filter, type OperatorFunction } from "rxjs";

import type { LazyFilter, LazyREQ, MessagePacket } from "../packet.js";
import type { LazyFilter, LazyREQ } from "../packet.js";
import type { RxReq } from "../req.js";
import type {
AcceptableDefaultRelaysConfig,
Expand Down

0 comments on commit 5d7b21f

Please sign in to comment.