@sentiance-react-native/user-context 6.0.0-beta.18 → 6.0.0-beta.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -21
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,26 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
# Sentiance User Context module for React Native
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
npm i @sentiance-react-native/core
|
|
3
|
+
## Demo Application
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
```
|
|
5
|
+
https://github.com/sentiance/sample-apps-react-native
|
|
8
6
|
|
|
9
7
|
## Usage
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
You can import the entire contents of the package for use under a namespace of your choosing:
|
|
14
|
-
|
|
15
|
-
```javascript
|
|
16
|
-
import * as SentianceUserContext from "@sentiance-react-native/user-context";
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
or you can require specific functionality using named imports:
|
|
20
|
-
|
|
21
|
-
```javascript
|
|
22
|
-
import {
|
|
23
|
-
getUserContext,
|
|
24
|
-
listenUserContextUpdates
|
|
25
|
-
} from "@sentiance-react-native/user-context";
|
|
26
|
-
```
|
|
9
|
+
To use the user context SDK module, please visit the corresponding [API reference page.](https://docs.sentiance.com/sdk/api-reference/react-native/user-context)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentiance-react-native/user-context",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.19",
|
|
4
4
|
"description": "React Native Sentiance - This module provides an easy API to add user context awareness into your apps.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"sentiance"
|
|
15
15
|
],
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@sentiance-react-native/core": "6.0.0-beta.
|
|
17
|
+
"@sentiance-react-native/core": "6.0.0-beta.19"
|
|
18
18
|
},
|
|
19
19
|
"author": "",
|
|
20
20
|
"license": "",
|