react-native-helpscout-beacon
Advanced tools
Comparing version 0.4.0 to 0.5.0
{ | ||
"name": "react-native-helpscout-beacon", | ||
"title": "React Native Helpscout Beacon", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "Integrate Helpscout Beacon in to your React Native app", | ||
"main": "index.js", | ||
"main": "lib/index.js", | ||
"types": "lib/types.d.ts", | ||
"files": [ | ||
"react-native-helpscout-beacon.podspec", | ||
"android/build.gradle", | ||
"android/src", | ||
"ios/", | ||
"lib/**/*" | ||
], | ||
"scripts": { | ||
@@ -25,10 +33,6 @@ "test": "echo \"Error: no test specified\" && exit 1" | ||
"readmeFilename": "README.md", | ||
"peerDependencies": { | ||
"react": "^16.8.1", | ||
"react-native": ">=0.59.0-rc.0 <1.0.x" | ||
}, | ||
"devDependencies": { | ||
"react": "^16.8.3", | ||
"react-native": "^0.59.10" | ||
"@types/react-native": "^0.70.6", | ||
"typescript": "^4.5.4" | ||
} | ||
} |
@@ -7,9 +7,9 @@ # react-native-helpscout-beacon | ||
* [**Android** SDK](https://developer.helpscout.com/beacon-2/android/) | ||
- [**Android** SDK](https://developer.helpscout.com/beacon-2/android/) | ||
Current version: [2.3.1](https://github.com/helpscout/beacon-android-sdk-sample/blob/master/CHANGELOG.md#version-231-2020-12-21) (released 2020-12-21) | ||
Current version: [4.1.0](https://github.com/helpscout/beacon-android-sdk-sample/blob/main/CHANGELOG.md#version-410-2022-09-22) (released 2022-09-22) | ||
* [**iOS** SDK](https://developer.helpscout.com/beacon-2/ios/) | ||
- [**iOS** SDK](https://developer.helpscout.com/beacon-2/ios/) | ||
Tested version: [2.0.2](https://github.com/helpscout/beacon-ios-sdk/blob/master/CHANGELOG.md#202-september-16-2020) (released 2020-09-16) | ||
Tested version: [2.0.2](https://github.com/helpscout/beacon-ios-sdk/blob/master/CHANGELOG.md#202-september-16-2020) (released 2020-09-16) | ||
@@ -44,3 +44,3 @@ This library is compatible with and supported for React Native `v0.60+`. | ||
```java | ||
implementation "com.helpscout:beacon-ui:2.3.1" | ||
implementation "com.helpscout:beacon:4.1.0" | ||
``` | ||
@@ -56,3 +56,7 @@ | ||
// Login into your helpscout account | ||
HelpscoutBeacon.login('email@address.com', 'John Smith', 'user_id_of_john_smith'); | ||
HelpscoutBeacon.login( | ||
'email@address.com', | ||
'John Smith', | ||
'user_id_of_john_smith' | ||
); | ||
// Open the helpscout beacon (using a cryptographic signature) | ||
@@ -130,4 +134,4 @@ HelpscoutBeacon.open('mySignature'); | ||
* There is a limit of 5 article IDs. If the list is larger than 5 the additional articles will be ignored. | ||
* The Helpscout docs integration has to be enabled for this method to work. | ||
- There is a limit of 5 article IDs. If the list is larger than 5 the additional articles will be ignored. | ||
- The Helpscout docs integration has to be enabled for this method to work. | ||
@@ -170,3 +174,7 @@ ```javascript | ||
```javascript | ||
HelpscoutBeacon.login('email@address.com', 'John Smith', 'user_id_of_john_smith'); | ||
HelpscoutBeacon.login( | ||
'email@address.com', | ||
'John Smith', | ||
'user_id_of_john_smith' | ||
); | ||
``` | ||
@@ -186,3 +194,8 @@ | ||
```javascript | ||
HelpscoutBeacon.loginAndOpen('email@address.com', 'John Smith', 'user_id_of_john_smith', 'mySignature'); | ||
``` | ||
HelpscoutBeacon.loginAndOpen( | ||
'email@address.com', | ||
'John Smith', | ||
'user_id_of_john_smith', | ||
'mySignature' | ||
); | ||
``` |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
345
196
41207
15