diff --git a/extensions/matrix/src/matrix/client/file-sync-store.test.ts b/extensions/matrix/src/matrix/client/file-sync-store.test.ts index 665925798b6..8404a1eefdf 100644 --- a/extensions/matrix/src/matrix/client/file-sync-store.test.ts +++ b/extensions/matrix/src/matrix/client/file-sync-store.test.ts @@ -1,7 +1,7 @@ import fs from "node:fs"; import os from "node:os"; import path from "node:path"; -import type { ISyncResponse } from "matrix-js-sdk"; +import type { ISyncResponse } from "matrix-js-sdk/lib/matrix.js"; import * as jsonStore from "openclaw/plugin-sdk/json-store"; import { afterEach, describe, expect, it, vi } from "vitest"; import { FileBackedMatrixSyncStore } from "./file-sync-store.js"; diff --git a/extensions/matrix/src/matrix/sdk/event-helpers.test.ts b/extensions/matrix/src/matrix/sdk/event-helpers.test.ts index b768262cd24..9020b1e8b7b 100644 --- a/extensions/matrix/src/matrix/sdk/event-helpers.test.ts +++ b/extensions/matrix/src/matrix/sdk/event-helpers.test.ts @@ -1,4 +1,4 @@ -import type { MatrixEvent } from "matrix-js-sdk"; +import type { MatrixEvent } from "matrix-js-sdk/lib/matrix.js"; import { describe, expect, it } from "vitest"; import { buildHttpError, matrixEventToRaw, parseMxc } from "./event-helpers.js";