Skip to content

Commit 729457f

Browse files
committed
👍 Use indexer library instead
1 parent e601d81 commit 729457f

File tree

4 files changed

+2
-57
lines changed

4 files changed

+2
-57
lines changed

indexer.ts

Lines changed: 0 additions & 30 deletions
This file was deleted.

indexer_test.ts

Lines changed: 0 additions & 25 deletions
This file was deleted.

session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import {
44
deferred,
55
} from "https://deno.land/[email protected]/async/deferred.ts";
66
import type { Disposable } from "https://deno.land/x/[email protected]/mod.ts";
7+
import { Indexer } from "https://deno.land/x/[email protected]/mod.ts";
78
// NOTE:
89
// streamparser-json must be v0.0.5 because it automatically end-up parsing without separator after v0.0.5
910
// https://github.com/juanjoDiaz/streamparser-json/commit/577e918b90c19d6758b87d41bdb6c5571a2c012d
1011
import JSONParser from "https://deno.land/x/[email protected]/jsonparse.ts#=";
1112
import { isMessage, Message } from "./message.ts";
1213
import * as command from "./command.ts";
13-
import { Indexer } from "./indexer.ts";
1414
import { ResponseWaiter } from "./response_waiter.ts";
1515

1616
const MSGID_THRESHOLD = 2 ** 32;

session_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import {
55
} from "https://deno.land/[email protected]/testing/asserts.ts";
66
import { delay } from "https://deno.land/[email protected]/async/mod.ts";
77
import { using } from "https://deno.land/x/[email protected]/mod.ts";
8+
import { Indexer } from "https://deno.land/x/[email protected]/mod.ts";
89
// NOTE:
910
// streamparser-json must be v0.0.5 because it automatically end-up parsing without separator after v0.0.5
1011
// https://github.com/juanjoDiaz/streamparser-json/commit/577e918b90c19d6758b87d41bdb6c5571a2c012d
1112
import JSONParser from "https://deno.land/x/[email protected]/jsonparse.ts#=";
1213
import { Session, SessionClosedError } from "./session.ts";
13-
import { Indexer } from "./indexer.ts";
1414
import * as command from "./command.ts";
1515

1616
const MSGID_THRESHOLD = 2 ** 32;

0 commit comments

Comments
 (0)