@livetiles/reach-components-react 0.4.0-preview.71 → 0.4.0-preview.72

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 CHANGED
@@ -1,7 +1,24 @@
1
- # reach-components-react
1
+ # Reach Components React
2
2
 
3
- This library was generated with [Nx](https://nx.dev).
3
+ The Reach Components for React allows one to render data from LiveTiles Reach in custom third party web applications.
4
4
 
5
- ## Running unit tests
5
+ ## Getting Started
6
6
 
7
- Run `nx test reach-components-react` to execute the unit tests via [Jest](https://jestjs.io).
7
+ `$ npm i reach-components-react`
8
+
9
+ ```
10
+ const App = () => {
11
+ const token = "A JWT bearer token";
12
+ const subscriptionId = "the subscription ID";
13
+ const itemId = "some item ID";
14
+
15
+ return (
16
+ <ReachContextProvider
17
+ subscriptionId={subscriptionId}
18
+ onRequestToken={async () => token}
19
+ >
20
+ <NewsDetail itemId={itemId} />
21
+ </ReachContextProvider>
22
+ )
23
+ }
24
+ ```
package/index.esm2.js CHANGED
@@ -87374,9 +87374,9 @@ var AuthenticationContextProvider = function AuthenticationContextProvider(_a) {
87374
87374
  }), void 0);
87375
87375
  };
87376
87376
 
87377
- var version$1 = "0.4.0-preview.71";
87378
- var buildId = "95785";
87379
- var commitId = "ad387bb06a7e1ee04c4c20e7a9bccb55d3783ab3";
87377
+ var version$1 = "0.4.0-preview.72";
87378
+ var buildId = "95788";
87379
+ var commitId = "f49f0cb706928f1318c7fd74f5c57da900ec8e8e";
87380
87380
  var isCustomerBuild = false;
87381
87381
  var buildInfo = {
87382
87382
  version: version$1,
package/index.umd.js CHANGED
@@ -87231,9 +87231,9 @@
87231
87231
  }), void 0);
87232
87232
  };
87233
87233
 
87234
- var version$1 = "0.4.0-preview.71";
87235
- var buildId = "95785";
87236
- var commitId = "ad387bb06a7e1ee04c4c20e7a9bccb55d3783ab3";
87234
+ var version$1 = "0.4.0-preview.72";
87235
+ var buildId = "95788";
87236
+ var commitId = "f49f0cb706928f1318c7fd74f5c57da900ec8e8e";
87237
87237
  var isCustomerBuild = false;
87238
87238
  var buildInfo = {
87239
87239
  version: version$1,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@livetiles/reach-components-react",
3
3
  "description": "Provides React components to consume LiveTiles Reach data",
4
- "version": "0.4.0-preview.71",
4
+ "version": "0.4.0-preview.72",
5
5
  "peerDependencies": {
6
6
  "react": "^16.14.0 || ^17",
7
7
  "react-dom": "^16.14.0 || ^17",