@slates-integrations/microsoft-outlook 0.2.0-rc.4 → 0.2.0-rc.5

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/docs/SPEC.md CHANGED
@@ -11,7 +11,7 @@ Microsoft Outlook uses **OAuth 2.0** exclusively for authentication, via the Mic
11
11
  ### Prerequisites
12
12
 
13
13
  1. **App Registration**: Register your application in the Azure Portal under Microsoft Entra ID → App Registrations. You will receive a **Client ID** (Application ID) and must generate a **Client Secret** or certificate.
14
- 2. **Tenant ID**: Required for constructing auth URLs. Use a specific tenant ID for single-org apps, `common` for multi-tenant + personal accounts, or `organizations` for work/school accounts only.
14
+ 2. **Account Type**: Choose the Outlook auth method that matches the app registration audience. **Work & Personal** uses the Microsoft identity `common` authority, and **Work Only** uses the `organizations` authority.
15
15
 
16
16
  ### OAuth 2.0 Flows
17
17
 
@@ -26,7 +26,6 @@ Microsoft Graph supports two access scenarios: **delegated access** (app calls o
26
26
 
27
27
  - **Client ID**: From your app registration.
28
28
  - **Client Secret** (or certificate): Generated in the app registration under "Certificates & secrets".
29
- - **Tenant ID**: Your directory/tenant identifier (or `common`/`organizations`).
30
29
  - **Redirect URI**: Configured in the app registration.
31
30
 
32
31
  ### Scopes
package/package.json CHANGED
@@ -4,6 +4,7 @@
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "ncc build src/index.ts -o dist -m -s",
7
+ "test": "vitest run --passWithNoTests",
7
8
  "typecheck": "tsc --noEmit"
8
9
  },
9
10
  "dependencies": {
@@ -13,10 +14,12 @@
13
14
  "zod": "^4.2"
14
15
  },
15
16
  "devDependencies": {
17
+ "@slates/test": "1.0.0-rc.6",
16
18
  "@vercel/ncc": "^0.38.4",
17
- "typescript": "^5"
19
+ "typescript": "^5",
20
+ "vitest": "^3.1.2"
18
21
  },
19
- "version": "0.2.0-rc.4",
22
+ "version": "0.2.0-rc.5",
20
23
  "files": [
21
24
  "dist/**",
22
25
  "docs/**",