messageType adding null as option

This commit is contained in:
AtHeartEngineer
2023-11-04 20:35:09 +03:00
parent c9cf2aaad0
commit 8c239996a7
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "discreetly-interfaces",
"version": "0.1.40",
"version": "0.1.41",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "discreetly-interfaces",
"version": "0.1.40",
"version": "0.1.41",
"license": "MIT",
"dependencies": {
"@ethersproject/bytes": "^5.7.0",

View File

@@ -1,6 +1,6 @@
{
"name": "discreetly-interfaces",
"version": "0.1.40",
"version": "0.1.41",
"description": "Common interfaces and utilities for discreetly",
"author": "AtHeartEngineer",
"homepage": "https://github.com/Discreetly",

View File

@@ -1,4 +1,4 @@
export type MessageType = 'TEXT' | 'PIXEL' | 'POLL' | 'DMREQUEST' | string;
export type MessageType = 'TEXT' | 'PIXEL' | 'POLL' | 'DMREQUEST' | string | null;
export type MessageInterfaces = string | PixelMessage | PollMessage;
export type HexColor = `#${string}`;