gmail-inbox
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -345,2 +345,4 @@ "use strict"; | ||
switch (dateType.precision) { | ||
case undefined: | ||
case null: | ||
case 'milliseconds': | ||
@@ -347,0 +349,0 @@ return date.getTime(); |
export declare type MessageIsType = 'read' | 'unread' | 'snoozed' | 'starred' | 'important'; | ||
export interface MessageDateType { | ||
date: Date; | ||
precision: 'year' | 'day' | 'milliseconds'; | ||
precision?: 'year' | 'day' | 'milliseconds'; | ||
} | ||
@@ -6,0 +6,0 @@ export declare type UnixTimestamp = number; |
{ | ||
"name": "gmail-inbox", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Receive Gmail emails in code!", | ||
@@ -5,0 +5,0 @@ "main": "lib/Inbox.js", |
48590
918