@crossauth/common 0.0.27 → 0.0.29

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.
@@ -1,4 +1,5 @@
1
- import { OpenIdConfiguration, OAuthTokenConsumerBase, type GrantType } from '..';
1
+ import { OpenIdConfiguration, OAuthTokenConsumerBase, GrantType } from '..';
2
+
2
3
  /**
3
4
  * Crossauth allows you to define which flows are valid for a given client.
4
5
  */
@@ -1,5 +1,5 @@
1
+ import { OpenIdConfiguration } from './wellknown';
1
2
  import * as jose from 'jose';
2
- import { type OpenIdConfiguration } from './wellknown';
3
3
  /** Allows passing either a Jose KeyLike object or a key as a binary array */
4
4
  export type EncryptionKey = jose.KeyLike | Uint8Array;
5
5
  /**
@@ -1,5 +1,5 @@
1
- /// <reference types="node" />
2
1
  import { JsonWebKey } from 'crypto';
2
+
3
3
  export type TokenEndpointAuthMethod = "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt";
4
4
  export type ResponseMode = "query" | "fragment";
5
5
  export type GrantType = "authorization_code" | "implicit" | "client_credentials" | "password" | "refresh_token" | "http://auth0.com/oauth/grant-type/mfa-otp" | "http://auth0.com/oauth/grant-type/mfa-oob" | "urn:ietf:params:oauth:grant-type:device_code";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@crossauth/common",
3
3
  "private": false,
4
- "version": "0.0.27",
4
+ "version": "0.0.29",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs",