pointzi-react
Advanced tools
Comparing version 1.7.0 to 1.7.1-beta.0
39
index.js
@@ -1,2 +0,37 @@ | ||
import {NativeModules} from 'react-native'; | ||
module.exports = NativeModules.PointziReact; | ||
import { NativeModules } from "react-native"; | ||
var pz = Object.create(NativeModules.PointziReact); | ||
pz.tagCuid = function (tag) { | ||
NativeModules.PointziReact.tagCuid(String(tag)); | ||
}; | ||
pz.tagString = function (key, tag) { | ||
NativeModules.PointziReact.tagString(String(key), String(tag)); | ||
}; | ||
pz.tagDatetime = function (key, date) { | ||
NativeModules.PointziReact.tagDatetime(String(key), String(date)); | ||
}; | ||
pz.removeTag = function (key) { | ||
NativeModules.PointziReact.removeTag(String(key)); | ||
}; | ||
pz.tagUserLanguage = function (language) { | ||
NativeModules.PointziReact.tagUserLanguage(String(language)); | ||
}; | ||
pz.showGuide = function (id) { | ||
NativeModules.PointziReact.showGuide(String(id)); | ||
}; | ||
pz.pointziReactWillDidMount = function (reactViewName) { | ||
NativeModules.PointziReact.pointziReactWillDidMount(String(reactViewName)); | ||
}; | ||
pz.viewWillRender = function (reactViewName) { | ||
NativeModules.PointziReact.viewWillRender(String(reactViewName)); | ||
}; | ||
module.exports = pz; |
{ | ||
"name": "pointzi-react", | ||
"version": "1.7.0", | ||
"version": "1.7.1-beta.0", | ||
"description": "This is an IOS/Android wrapper file for Pointzi that allows the use of Pointzi in React Native Enviroment", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
26721
27
0
3