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

@tef-novum/webview-bridge

Package Overview
Dependencies
Maintainers
7
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tef-novum/webview-bridge - npm Package Compare versions

Comparing version 3.9.0 to 3.10.0

4

CHANGELOG.md
# CHANGELOG
## v.3.10.0 - 2022-06-22
- Logout: added new method to end session in native app
## v.3.9.0 - 2022-06-16

@@ -4,0 +8,0 @@

@@ -242,2 +242,7 @@ /**

};
LOG_OUT: {
type: 'LOG_OUT';
id: string;
payload: void;
};
};

@@ -244,0 +249,0 @@ export declare type NativeAppResponsePayload<Type extends keyof ResponsesFromNativeApp> = ResponsesFromNativeApp[Type]['payload'];

@@ -15,1 +15,5 @@ /**

export declare const onSessionRenewed: (handler: (newAccessToken: string) => void) => (() => void);
/**
* This method is used by webapp to request the native app to end the current session
*/
export declare const logout: () => Promise<void>;

2

package.json
{
"name": "@tef-novum/webview-bridge",
"version": "3.9.0",
"version": "3.10.0",
"description": "JavaScript library to access to native functionality. Requires a webview with a postMessage bridge.",

@@ -5,0 +5,0 @@ "main": "./dist/webview-bridge-cjs.js",

@@ -89,2 +89,3 @@ <p align="center">

- [onSessionRenewed](#onSessionRenewed)
- [logout](#logout)
- [getTopazToken](#getTopazToken)

@@ -804,2 +805,10 @@

### logout
Method that requests a user logout.
```ts
logout = () => Promise<void>
```
### getTopazToken

@@ -806,0 +815,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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