Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

v2.0.0 Now in TypeScript

Choose a tag to compare

@ofrobots ofrobots released this 14 Nov 06:52
· 366 commits to main since this release

This is a semver major release.

  • The module is now in TypeScript and ships with type definitions. (#17)
    • BREAKING: GoogleToken is now a class type, and must be instantiated.
    • BREAKING: Certain property names have been changed from snake_case to camelCase:
      • GoogleToken.expires_at renamed to GoogleToken.expiresAt
      • GoogleToken.raw_token renamed to GoogleToken.rawToken
      • GoogleToken.token_expires renamed to GoogleToken.tokenExpires
  • The module now supports promises and async/await.