Skip to content

Releases: nylas/javascript

@nylas/[email protected]

12 Jan 14:51
03e912f

Choose a tag to compare

Patch Changes

  • f31895d: Update @nylas/web-elements dependency from 2.3.0 to 2.3.2

@nylas/[email protected]

11 Dec 14:25
632c5a6

Choose a tag to compare

Patch Changes

  • 93bc4db: Update release workflow to use npm trusted publishing with OIDC authentication

@nylas/[email protected]

05 Dec 17:05
6fcd247

Choose a tag to compare

Patch Changes

  • 3b179b4: Changed the header name from x-nylas-application-public-id to improve API consistency.

@nylas/[email protected]

05 Dec 15:19
c4f14e8

Choose a tag to compare

Patch Changes

  • 948428e: Updated the x-nylas-public-application-id header.

@nylas/[email protected]

02 Dec 15:59
e053f81

Choose a tag to compare

Patch Changes

  • 86253d9: Fix publishing process by removing prepublishOnly hooks that caused TypeScript compilation errors during changeset publish
  • Updated dependencies [86253d9]

@nylas/[email protected]

02 Dec 15:47
999b160

Choose a tag to compare

Major Changes

  • 0ba7885: Add @nylas/react to the monorepo with initial components, hooks, and build setup.

    • Introduces React utilities for integrating with the Nylas platform
    • Includes basic docs and distribution configuration

    Cosmetic updates to @nylas/connect.

    • Style and documentation polish; no functional changes

Patch Changes

@nylas/[email protected]

02 Dec 15:59
e053f81

Choose a tag to compare

Patch Changes

  • 86253d9: Fix publishing process by removing prepublishOnly hooks that caused TypeScript compilation errors during changeset publish

@nylas/[email protected]

21 Oct 12:32
f01da14

Choose a tag to compare

Minor Changes

  • bf03a1e: Export CodeExchangeMethod and CodeExchangeParams types for custom code exchange implementations.

@nylas/[email protected]

20 Oct 16:12
1fb0a7f

Choose a tag to compare

Minor Changes

  • 75d6769: - Added IdentityProviderTokenCallback type for providing JWT tokens
    • Added optional identityProviderToken callback to ConnectConfig
    • Token exchange now uses JSON format instead of form-encoded requests
    • Added idp_claims field to token exchange when IDP token is provided

@nylas/[email protected]

07 Oct 19:34
f5ae27f

Choose a tag to compare

Major Changes

  • 2408953: Add custom code exchange functionality for enhanced security.

    Usage

    // Handle code exchange on your backend
    const nylasConnect = new NylasConnect({
      clientId: "your-client-id",
      redirectUri: "http://localhost:3000/callback",
      codeExchange: async (params) => {
        const response = await fetch("/api/auth/exchange", {
          method: "POST",
          body: JSON.stringify(params),
        });
        return await response.json();
      },
    });
    
    // Use normally - custom exchange is called automatically
    const result = await nylasConnect.connect({ method: "popup" });