@flareapp/svelte 2.5.0 → 2.6.0
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/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -51,6 +51,16 @@ eight syslog levels (`debug`, `info`, `notice`, `warning`, `error`, `critical`,
|
|
|
51
51
|
</script>
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
+
## Identifying users
|
|
55
|
+
|
|
56
|
+
```ts
|
|
57
|
+
import { flare } from '@flareapp/js';
|
|
58
|
+
|
|
59
|
+
flare.setUser({ id: 123, email: 'jane@example.com', fullName: 'Jane Doe' });
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
See the [JavaScript identifying-users docs](https://flareapp.io/docs/javascript/data-collection/identifying-users) for the full field list. Pass `null` to clear.
|
|
63
|
+
|
|
54
64
|
## Documentation
|
|
55
65
|
|
|
56
66
|
Full documentation on the error boundary, lifecycle callbacks, reset keys, custom boundary usage, and more is available
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PACKAGE_VERSION = "2.
|
|
1
|
+
export declare const PACKAGE_VERSION = "2.6.0";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// generated during release, do not modify
|
|
2
|
-
export const PACKAGE_VERSION = '2.
|
|
2
|
+
export const PACKAGE_VERSION = '2.6.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flareapp/svelte",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Svelte client for flareapp.io",
|
|
5
5
|
"homepage": "https://flareapp.io",
|
|
6
6
|
"bugs": "https://github.com/spatie/flare-client-js/issues",
|
|
@@ -76,14 +76,14 @@
|
|
|
76
76
|
"vitest": "^4.0.0"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
|
-
"@flareapp/js": "^2.
|
|
79
|
+
"@flareapp/js": "^2.6.0",
|
|
80
80
|
"svelte": "^5.3.0"
|
|
81
81
|
},
|
|
82
82
|
"publishConfig": {
|
|
83
83
|
"access": "public"
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"@flareapp/core": "2.
|
|
86
|
+
"@flareapp/core": "2.6.0",
|
|
87
87
|
"error-stack-parser": "^2.1.4"
|
|
88
88
|
}
|
|
89
89
|
}
|