@databrainhq/plugin 0.4.2 → 0.4.3

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.
Files changed (2) hide show
  1. package/README.md +10 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @databrainhq/plugin
2
2
 
3
+ ### NOTE:
4
+
5
+ Before npm publish do this way:
6
+
7
+ VITE_END_POINT=.. npm install
8
+
3
9
  > Databrain app ui plugin.
4
10
 
5
11
  [![NPM](https://img.shields.io/npm/v/@databrainhq/plugin.svg)](https://www.npmjs.com/package/@databrainhq/plugin) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
@@ -13,12 +19,12 @@ VITE_END_POINT="GET YOUR END POINT FROM DATABRAIN MANAGER" npm install github:da
13
19
  ## Usage
14
20
 
15
21
  ```tsx
16
- import { Dashboard } from '@databrainhq/plugin'
17
- import '@databrainhq/plugin/dist/style.css'
22
+ import { Dashboard } from '@databrainhq/plugin';
23
+ import '@databrainhq/plugin/dist/style.css';
18
24
 
19
25
  const Example = () => {
20
- return <Dashboard token={/* Your Guest Token */} />
21
- }
26
+ return <Dashboard token={/* Your Guest Token */} />;
27
+ };
22
28
  ```
23
29
 
24
30
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databrainhq/plugin",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Databrain app dashboard ui plugin.",
5
5
  "author": "",
6
6
  "license": "MIT",