Skip to content

Commit d76af35

Browse files
authored
Fix incorrect variable name in GmailCache definition (#757)
* Fix incorrect variable name in GmailCache definition The threadCache variable name is incorrectly defined in the d.ts file * Update changelog and version
1 parent edd1bee commit d76af35

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11

22
# Changelog
33

4+
## Version 1.1.8
5+
6+
- Fix incorrect variable name in GmailCache definition
7+
48
## Version 1.1.7
59

610
- Fix for `api.tools.parse_attachment_url`.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gmail-js",
3-
"version": "1.1.7",
3+
"version": "1.1.8",
44
"description": "JavaScript API for Gmail (useful for chrome extensions)",
55
"main": "src/gmail.js",
66
"types": "src/gmail.d.ts",

src/gmail.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ interface GmailCache {
10211021
debug_xhr_fetch: boolean;
10221022
emailIdCache: { (emailId: string): GmailNewEmailData };
10231023
emailLegacyIdCache: { (legacyEmailId: string): GmailNewEmailData };
1024-
emailThreadIdCache: { (threadId: string): GmailNewThreadData };
1024+
threadCache: { (threadId: string): GmailNewThreadData };
10251025
}
10261026

10271027
////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)