Skip to content

Commit ad16009

Browse files
committed
fix: remove deno deps from common code
1 parent 2043660 commit ad16009

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

typescript/packages/common-memory/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import type {
1212
AuthorizationError,
1313
} from "./interface.ts";
1414
import { MemorySpace } from "./interface.ts";
15-
import { refer } from "./util.ts";
15+
import { refer } from "merkle-reference";
1616

1717
export const unauthorized = (message: string, cause?: Error): AuthorizationError =>
1818
new TheAuthorizationError(message, cause);

typescript/packages/common-memory/test/space-test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import * as Changes from "../changes.ts";
44
import * as Commit from "../commit.ts";
55
import * as Transaction from "../transaction.ts";
66
import * as Fact from "../fact.ts";
7-
import { refer, createTemporaryDirectory } from "../util.ts";
7+
import { createTemporaryDirectory } from "../util.ts";
8+
import { refer } from "merkle-reference";
89

910
import { alice, space } from "./principal.ts";
1011
const the = "application/json";

typescript/packages/common-memory/util.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import * as Path from "@std/path";
2-
export { refer } from "npm:merkle-reference";
32

43
/**
54
* Returns file URL for the current working directory.

0 commit comments

Comments
 (0)