
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@transak/web-view
Advanced tools
An SDK for react native integration of Transak widget.
Wrapped over webview(react-native-webview
), it provides option to listen to order events.
Using this you get Google Pay integrated by default.
yarn add @transak/web-view
Install these required peer dependencies to facilitate auto-linking (If not already part of your app)
yarn add react-native-webview react-native-inappbrowser-reborn @react-native-community/netinfo
Then use it in your app:
import TransakWebView from '@transak/web-view';
function TransakReactNativeIntegration() {
return (
<TransakWebView
config={{
apiKey: '<your-api-key>',
environment: '<environment: STAGING/PRODUCTION>',
}}
onTransakEventHandler={(event, data) => console.log(event, data)}
/>
);
};
The component accepts all the valid props for react-native-webview except the following: injectJavaScript, sharedCookiesEnabled, injectedJavaScript, injectedJavaScriptBeforeContentLoaded
Prop | Description |
---|---|
config | Refer here for a full list of valid options |
onTransakEventHandler | Accepts callback function to listen to order related events |
MIT Licensed. Copyright (c) Transak Inc. 2022.
FAQs
Transak WebView Wrapper
We found that @transak/web-view demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.