@satorijs/core
Advanced tools
Comparing version 2.1.1 to 2.1.2
/// <reference types="ws" /> | ||
import * as cordis from 'cordis'; | ||
import segment, { Fragment, Render } from '@satorijs/element'; | ||
import segment from '@satorijs/element'; | ||
import WebSocket from 'ws'; | ||
@@ -78,2 +78,3 @@ import { Awaitable, Dict } from 'cosmokit'; | ||
session?: Session; | ||
linkPreview?: boolean; | ||
} | ||
@@ -159,7 +160,6 @@ export interface Session extends Session.Payload, Satori.Session { | ||
} | ||
export type Component = Render<Awaitable<Fragment>, Session>; | ||
export type Component = segment.Render<Awaitable<segment.Fragment>, Session>; | ||
export namespace Component { | ||
interface Options { | ||
session?: boolean; | ||
passive?: boolean; | ||
} | ||
@@ -166,0 +166,0 @@ } |
{ | ||
"name": "@satorijs/core", | ||
"description": "Core components of Satorijs", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"main": "lib/index.cjs", | ||
@@ -37,3 +37,3 @@ "module": "lib/index.mjs", | ||
"dependencies": { | ||
"@satorijs/element": "^2.3.1", | ||
"@satorijs/element": "^2.3.2", | ||
"cordis": "^2.7.2", | ||
@@ -40,0 +40,0 @@ "cordis-axios": "^3.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
93286
Updated@satorijs/element@^2.3.2