Update object for autumn

This commit is contained in:
Paul
2021-04-24 17:57:01 +01:00
parent ca1db4cb3b
commit 86189ebbf8
3 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "revolt.js",
"version": "4.1.1-alpha.5-patch.0",
"version": "4.1.1-alpha.6",
"main": "dist/index.js",
"repository": "https://gitlab.insrt.uk/revolt/revolt.js",
"author": "Paul Makles <insrt.uk>",
+4 -1
View File
@@ -99,6 +99,7 @@ export namespace Channels {
export type Metadata = (
{ type: 'File' } |
{ type: 'Text' } |
{ type: 'Audio' } |
{ type: 'Image', width: number, height: number } |
{ type: 'Video', width: number, height: number }
@@ -106,9 +107,11 @@ export namespace Channels {
export type Attachment = {
_id: string,
tag: string,
size: string,
filename: string,
metadata: Metadata,
content_type: string
content_type: string,
};
export type Message = {
+1 -1
View File
@@ -1,7 +1,7 @@
export * from './Client';
export { Channel, User, Message } from './api/objects';
export const LIBRARY_VERSION = '4.1.1-alpha.5-patch.0';
export const LIBRARY_VERSION = '4.1.1-alpha.6';
export const defaultConfig = {
apiURL: 'https://api.revolt.chat',