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

@authgear/web

Package Overview
Dependencies
Maintainers
3
Versions
47
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.5.0 to 0.6.0

56

index.d.ts

@@ -65,2 +65,12 @@

responseType?: string;
/**
* WeChat Redirect URI is needed when integrating WeChat login in react-native
* The weChatRedirectURI will be called when user click the login with WeChat button
*/
weChatRedirectURI?: string;
/**
* @internal
* Platform is provided by the sdk
*/
platform?: string;
}

@@ -125,3 +135,3 @@

*/
protected _request(method: "GET" | "POST" | "DELETE", path: string, options?: {
protected _requestJSON(method: "GET" | "POST" | "DELETE", path: string, options?: {
json?: unknown;

@@ -133,2 +143,12 @@ query?: [string, string][];

*/
protected _request(method: "GET" | "POST" | "DELETE", path: string, options?: {
headers?: {
[name: string]: string;
};
query?: [string, string][];
body?: string;
}): Promise<any>;
/**
* @internal
*/
protected _post(path: string, options?: {

@@ -162,2 +182,6 @@ json?: unknown;

_oidcRevocationRequest(refreshToken: string): Promise<void>;
/**
* @internal
*/
_weChatAuthCallbackRequest(code: string, state: string, platform: string): Promise<void>;
appSessionToken(refreshToken: string): Promise<AppSessionTokenResponse>;

@@ -326,2 +350,14 @@ oauthChallenge(purpose: string): Promise<ChallengeResponse>;

onSessionStateChange: <T extends BaseAPIClient>(container: BaseContainer<T>, reason: SessionStateChangeReason) => void;
/**
* This callback will be called when user click login with WeChat in
* react-native.
*
* Developer should implement this function to use WeChat SDK to
* obtain WeChat authentication code. After obtaining the code, developer
* should call weChatAuthCallback with code and state to complete the
* WeChat login.
*
* @public
*/
sendWeChatAuthRequest(state: string): void;
}

@@ -489,2 +525,7 @@

uiLocales?: string[];
/**
* WeChat Redirect URI is needed when integrating WeChat login in react-native
* The weChatRedirectURI will be called when user click the login with WeChat button
*/
weChatRedirectURI?: string;
}

@@ -562,4 +603,17 @@

/**
* Auth UI setting options
*
* @public
*/
export declare interface SettingOptions {
/**
* WeChat Redirect URI is needed when integrating WeChat login in react-native
* The weChatRedirectURI will be called when user click the login with WeChat button
*/
weChatRedirectURI?: string;
}
/**
* @public
*/
export declare interface StorageDriver {

@@ -566,0 +620,0 @@ get(key: string): Promise<string | null>;

4

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

@@ -13,4 +13,4 @@ "main": "dist/authgear-web.cjs.js",

"devDependencies": {
"@authgear/core": "0.5.0"
"@authgear/core": "0.6.0"
}
}

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