Drop js-sdk

This commit is contained in:
Half-Shot
2025-06-17 13:33:41 +01:00
parent 56d0c5656a
commit b38f0f2dd2
3 changed files with 0 additions and 16 deletions
@@ -4,10 +4,7 @@
```ts ```ts
import { EventStatus } from 'matrix-js-sdk';
import { IEventRelation } from 'matrix-js-sdk';
import { JSX } from 'react'; import { JSX } from 'react';
import { Membership } from 'matrix-js-sdk';
import { ModuleApi } from '@matrix-org/react-sdk-module-api'; import { ModuleApi } from '@matrix-org/react-sdk-module-api';
import { Root } from 'react-dom/client'; import { Root } from 'react-dom/client';
import { RuntimeModule } from '@matrix-org/react-sdk-module-api'; import { RuntimeModule } from '@matrix-org/react-sdk-module-api';
@@ -146,22 +143,16 @@ export interface MatrixEvent {
// (undocumented) // (undocumented)
eventId: string; eventId: string;
// (undocumented) // (undocumented)
membership?: Membership;
// (undocumented)
originServerTs: number; originServerTs: number;
// (undocumented) // (undocumented)
redacts?: string; redacts?: string;
// (undocumented) // (undocumented)
relation?: IEventRelation | null;
// (undocumented)
roomId?: string; roomId?: string;
// (undocumented) // (undocumented)
sender: string; sender: string;
// (undocumented) // (undocumented)
stateKey?: string; stateKey?: string;
// (undocumented) // (undocumented)
status: EventStatus;
// (undocumented)
type: string; type: string;
// (undocumented) // (undocumented)
unsigned: Record<string, unknown>; unsigned: Record<string, unknown>;
@@ -38,7 +38,6 @@
"@types/react-dom": "^19.0.4", "@types/react-dom": "^19.0.4",
"@types/semver": "^7.5.8", "@types/semver": "^7.5.8",
"@vitest/coverage-v8": "^3.0.4", "@vitest/coverage-v8": "^3.0.4",
"matrix-js-sdk": "^37.5.0",
"matrix-web-i18n": "^3.3.0", "matrix-web-i18n": "^3.3.0",
"semver": "^7.6.3", "semver": "^7.6.3",
"typescript": "^5.7.3", "typescript": "^5.7.3",
@@ -51,7 +50,6 @@
"@matrix-org/react-sdk-module-api": "*", "@matrix-org/react-sdk-module-api": "*",
"@types/react": "*", "@types/react": "*",
"@types/react-dom": "*", "@types/react-dom": "*",
"matrix-js-sdk": "*",
"matrix-web-i18n": "*", "matrix-web-i18n": "*",
"react": "^19" "react": "^19"
}, },
@@ -1,5 +1,3 @@
import type { EventStatus, IEventRelation, Membership } from "matrix-js-sdk";
/** /**
* Representation of a Matrix event. * Representation of a Matrix event.
* @beta * @beta
@@ -14,8 +12,5 @@ export interface MatrixEvent {
stateKey?: string; stateKey?: string;
originServerTs: number; originServerTs: number;
redacts?: string; redacts?: string;
membership?: Membership;
status: EventStatus;
relation?: IEventRelation | null;
age?: number; age?: number;
} }