@flareapp/vue 2.5.0 → 2.5.1
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 +10 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -40,6 +40,16 @@ flare.configure({ enableLogs: true });
|
|
|
40
40
|
flare.logger.info('Checkout started', { cartId: cart.id, total: cart.total });
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
+
## Identifying users
|
|
44
|
+
|
|
45
|
+
```js
|
|
46
|
+
import { flare } from '@flareapp/js';
|
|
47
|
+
|
|
48
|
+
flare.setUser({ id: 123, email: 'jane@example.com', fullName: 'Jane Doe' });
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
See the [JavaScript identifying-users docs](https://flareapp.io/docs/javascript/data-collection/identifying-users) for the full field list. Pass `null` to clear.
|
|
52
|
+
|
|
43
53
|
## Documentation
|
|
44
54
|
|
|
45
55
|
Full documentation on the Vue error handler and its options is available at [flareapp.io/docs/vue/general/installation](https://flareapp.io/docs/vue/general/installation).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flareapp/vue",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Vue client for flareapp.io",
|
|
5
5
|
"homepage": "https://flareapp.io",
|
|
6
6
|
"bugs": "https://github.com/spatie/flare-client-js/issues",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"verify:inject": "node scripts/verify-inject-no-root.mjs"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@flareapp/core": "2.5.
|
|
65
|
+
"@flareapp/core": "2.5.1"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@flareapp/electron": "file:../electron",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"vue-router": "^5.0.0"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
|
-
"@flareapp/js": "^2.5.
|
|
79
|
+
"@flareapp/js": "^2.5.1",
|
|
80
80
|
"vue": "^3.0.0",
|
|
81
81
|
"vue-router": "^4.0.0 || ^5.0.0"
|
|
82
82
|
},
|