@domicile-desktop/manganese-inbox-gmail 0.0.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,23 +1,22 @@
1
1
  {
2
2
  "dependencies": {
3
- "@domicile-desktop/manganese-bar-module-gmail": "1.0.0",
4
- "@domicile-desktop/manganese-notifications": "1.0.0",
5
- "@domicile-desktop/react": "0.0.0",
6
- "@domicile-desktop/sdk": "1.0.0",
3
+ "@domicile-desktop/manganese-bar-module-gmail": "2.0.2",
4
+ "@domicile-desktop/manganese-notifications": "2.0.0",
5
+ "@domicile-desktop/react": "0.1.2",
6
+ "@domicile-desktop/sdk": "2.2.0",
7
7
  "@phosphor-icons/react": "^2.1.10"
8
8
  },
9
9
  "description": "Manganese's Gmail inbox: one account's conversation count in the notification drawer, read with the Gmail API.",
10
10
  "devDependencies": {
11
11
  "@cprussin/tsconfig": "^5.0.0",
12
- "@domicile-desktop/test-support": "0.0.1",
12
+ "@domicile-desktop/test-support": "0.0.2",
13
13
  "@types/bun": "^1.4.2",
14
14
  "@types/react": "^19.2.18",
15
15
  "react": "^19.2.8",
16
16
  "typescript": "^7.0.2"
17
17
  },
18
18
  "engines": {
19
- "bun": ">=1.4.2",
20
- "node": ">=24"
19
+ "bun": ">=1.4.2"
21
20
  },
22
21
  "exports": {
23
22
  ".": "./src/gmail-inbox.ts"
@@ -42,5 +41,5 @@
42
41
  "test:unit": "bun test"
43
42
  },
44
43
  "type": "module",
45
- "version": "0.0.0"
44
+ "version": "0.1.2"
46
45
  }
@@ -43,7 +43,12 @@ export const gmailInbox = ({
43
43
  }: Options): Inbox =>
44
44
  Inbox.Watched({
45
45
  account: email,
46
- app: { appId: gmailAppId(email), url: inboxAddress(email) },
46
+ // Gmail's page notifies the same mail while its window is open.
47
+ app: {
48
+ appId: gmailAppId(email),
49
+ pageNotifies: true,
50
+ url: inboxAddress(email),
51
+ },
47
52
  icon: EnvelopeSimpleIcon,
48
53
  ...(launcherName === undefined ? {} : { launcherName }),
49
54
  name: nickname,