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

@banuba/react-native

Package Overview
Dependencies
Maintainers
5
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@banuba/react-native - npm Package Compare versions

Comparing version 0.1.3 to 0.2.0

5

lib/commonjs/index.js

@@ -6,3 +6,3 @@ "use strict";

});
exports.EffectPlayerView = exports.BanubaSdkManager = void 0;
exports.default = exports.EffectPlayerView = void 0;
var _reactNative = require("react-native");

@@ -23,3 +23,4 @@ const LINKING_ERROR = `The package 'banuba-sdk-react-native' doesn't seem to be linked. Make sure: \n\n` + _reactNative.Platform.select({

});
exports.BanubaSdkManager = BanubaSdkManager;
var _default = BanubaSdkManager;
exports.default = _default;
//# sourceMappingURL=index.js.map

3

lib/module/index.js

@@ -10,3 +10,3 @@ import { requireNativeComponent, UIManager, Platform, NativeModules } from 'react-native';

};
export const BanubaSdkManager = NativeModules.BanubaSdkManager ? NativeModules.BanubaSdkManager : new Proxy({}, {
const BanubaSdkManager = NativeModules.BanubaSdkManager ? NativeModules.BanubaSdkManager : new Proxy({}, {
get() {

@@ -16,2 +16,3 @@ throw new Error(LINKING_ERROR);

});
export default BanubaSdkManager;
//# sourceMappingURL=index.js.map
import { ViewStyle } from 'react-native';
interface BanubaSdkManagerI {
/**
* SDK initialization.
* @param resourcePaths extra path to find effects
* @param clientToken
*/
initialize(resourcePaths: string[], clientToken: string): void;
deinitialize(): void;
attachView(tag: number): void;
openCamera(): void;
closeCamera(): void;
startPlayer(): void;
stopPlayer(): void;
loadEffect(path: string): void;
/**
* Evaluate JS code in context of the current effect.
* @param script code to evalute
*/
evalJs(script: string): void;
}
type EffectPlayerViewProps = {

@@ -7,4 +27,4 @@ style: ViewStyle;

export declare const EffectPlayerView: import("react-native").HostComponent<EffectPlayerViewProps> | (() => never);
export declare const BanubaSdkManager: any;
export {};
declare const _default: BanubaSdkManagerI;
export default _default;
//# sourceMappingURL=index.d.ts.map
{
"name": "@banuba/react-native",
"version": "0.1.3",
"version": "0.2.0",
"description": "Banuba SDK for React Native",

@@ -5,0 +5,0 @@ "main": "lib/commonjs/index",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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