fix(matrix): pin event-helpers import to canonical matrix-js-sdk subpath (refs #50477) (#68498)

Merged via squash.

Prepared head SHA: 32e08e4d8e
Co-authored-by: masatohoshino <246810661+masatohoshino@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
This commit is contained in:
Masato Hoshino
2026-04-20 04:35:34 +09:00
committed by GitHub
parent c206702add
commit 517801282a
4 changed files with 4 additions and 3 deletions

View File

@@ -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";

View File

@@ -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";

View File

@@ -1,4 +1,4 @@
import type { MatrixEvent } from "matrix-js-sdk";
import type { MatrixEvent } from "matrix-js-sdk/lib/matrix.js";
import type { MatrixRawEvent } from "./types.js";
export type MatrixEventContentMode = "current" | "original";