New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@oslojs/oauth2

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oslojs/oauth2 - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

6

dist/index.d.ts

@@ -1,2 +0,2 @@

export declare class OAuthRequestErrorResult {
export declare class OAuth2RequestResult {
body: object;

@@ -13,3 +13,3 @@ constructor(body: object);

}
export declare class TokenRequestResult extends OAuthRequestErrorResult {
export declare class TokenRequestResult extends OAuth2RequestResult {
tokenType(): string;

@@ -24,3 +24,3 @@ accessToken(): string;

}
export declare class DeviceAuthorizationRequestResult extends OAuthRequestErrorResult {
export declare class DeviceAuthorizationRequestResult extends OAuth2RequestResult {
deviceCode(): string;

@@ -27,0 +27,0 @@ userCode(): string;

@@ -1,2 +0,2 @@

export class OAuthRequestErrorResult {
export class OAuth2RequestResult {
body;

@@ -43,3 +43,3 @@ constructor(body) {

}
export class TokenRequestResult extends OAuthRequestErrorResult {
export class TokenRequestResult extends OAuth2RequestResult {
tokenType() {

@@ -85,3 +85,3 @@ if ("token_type" in this.body && typeof this.body.token_type === "string") {

}
export class DeviceAuthorizationRequestResult extends OAuthRequestErrorResult {
export class DeviceAuthorizationRequestResult extends OAuth2RequestResult {
deviceCode() {

@@ -88,0 +88,0 @@ if ("device_code" in this.body && typeof this.body.device_code === "string") {

{
"name": "@oslojs/oauth2",
"type": "module",
"version": "0.4.0",
"version": "0.5.0",
"description": "A runtime-agnostic OAuth 2.0 library",

@@ -6,0 +6,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc