Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@authgear/web

Package Overview
Dependencies
Maintainers
3
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@authgear/web - npm Package Compare versions

Comparing version 0.17.1 to 0.18.0

38

index.d.ts

@@ -315,2 +315,26 @@ /**

/**
* Auth UI anonymous user promotion options
*
* @public
*/
export declare interface PromoteOptions {
/**
* Redirect uri. Redirection URI to which the response will be sent after authorization.
*/
redirectURI: string;
/**
* OAuth 2.0 state value.
*/
state?: string;
/**
* UI locale tags
*/
uiLocales?: string[];
/**
* OAuth response type
*/
responseType?: "code" | "none";
}
/**
* Options for reauthentication

@@ -431,2 +455,6 @@ * @public

/**
* Start promote anonymous user by redirecting to the authorization endpoint.
*/
startPromoteAnonymousUser(options: PromoteOptions): Promise<void>;
/**
* Finish authorization.

@@ -444,2 +472,8 @@ *

/**
* Finish promote anonymous user.
*
* It may reject with OAuthError.
*/
finishPromoteAnonymousUser(): Promise<ReauthenticateResult>;
/**
* Logout.

@@ -459,2 +493,6 @@ *

}): Promise<void>;
/**
* Authenticate as an anonymous user.
*/
authenticateAnonymously(): Promise<AuthorizeResult>;
private _logoutRefreshToken;

@@ -461,0 +499,0 @@ private _logoutCookie;

4

package.json
{
"name": "@authgear/web",
"version": "0.17.1",
"version": "0.18.0",
"license": "Apache-2.0",

@@ -14,5 +14,5 @@ "main": "dist/authgear-web.cjs.js",

"devDependencies": {
"@authgear/core": "0.17.1",
"@authgear/core": "0.18.0",
"core-js-pure": "3.6.5"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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