@octokit/oauth-methods
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -12,3 +12,3 @@ 'use strict'; | ||
const VERSION = "1.0.0"; | ||
const VERSION = "1.1.0"; | ||
@@ -15,0 +15,0 @@ function _defineProperty(obj, key, value) { |
@@ -1,1 +0,1 @@ | ||
export const VERSION = "1.0.0"; | ||
export const VERSION = "1.1.0"; |
@@ -12,1 +12,2 @@ export { VERSION } from "./version"; | ||
export { deleteAuthorization } from "./delete-authorization"; | ||
export { OAuthAppAuthentication, GitHubAppAuthentication, GitHubAppAuthenticationWithExpiration, } from "./types"; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "1.0.0"; | ||
export declare const VERSION = "1.1.0"; |
{ | ||
"name": "@octokit/oauth-methods", | ||
"description": "Set of stateless request methods to create, check, reset, refresh, and delete user access tokens for OAuth and GitHub Apps", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "files": [ |
@@ -47,2 +47,4 @@ # oauth-methods.js | ||
Some of the methods will work, but others do not have CORS headers enabled and will fail (`exchangeWebFlowCode()`, `createDeviceCode()`, `exchangeDeviceCode()`, `refreshToken()`). Also the Client Secret should not be exposed to clients as it can be used for a [Person-in-the-middle attack](https://en.wikipedia.org/wiki/Person-in-the-middle_attack). | ||
</td></tr> | ||
@@ -1563,2 +1565,12 @@ <tr><th> | ||
## Types | ||
```ts | ||
import { | ||
OAuthAppAuthentication, | ||
GitHubAppAuthentication, | ||
GitHubAppAuthenticationWithExpiration, | ||
} from "@octokit/oauth-methods"; | ||
``` | ||
## Contributing | ||
@@ -1565,0 +1577,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97157
899
1581