@picked/sentry 0.0.1-dev.1765490623116 → 0.0.1-dev.1765824208742

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 +12 -0
  2. package/package.json +3 -4
package/README.md CHANGED
@@ -9,6 +9,18 @@ This are the events listened by the Plugin:
9
9
  - `feature_decide`: When the `feature_decide` event happens, the Plugin will add the tag `picked.feature.[EVENT_NAME]` to the Sentry global scope with the bucket as value. Example: `picked.feature.my_feature: true`
10
10
  - `user_decide`: When the `user_decide` event happens, the Plugin will add the tag `picked.is_user` with the `user_decide` value. Example: `picked.is_user: true`
11
11
 
12
+ ## ⚠️ Version Compatibility
13
+
14
+ This plugin depends on Sentry's internal carrier implementation. **Version mismatches between your application's Sentry SDK and the version used by `@picked/sentry` plugin will cause the plugin to stop working.**
15
+
16
+ **Requirements:**
17
+
18
+ - **Sentry SDK Version**: This plugin requires Sentry SDK version `^10.0.0`
19
+ - **Peer Dependencies**: This plugin requires `@sentry/browser` to be installed in the client, as it is a peerdepency in this package. This ensures version compatibility between the client and the plugin
20
+ - **Package Compatibility**: All Sentry packages (`@sentry/browser`, `@sentry/svelte`, `@sentry/node`, etc.) must use the same major version to ensure proper functionality
21
+
22
+ **Note**: Install the appropriate Sentry package for your framework alongside this plugin. The plugin will use the same Sentry instance from the client, preventing version conflicts.
23
+
12
24
  ## 🚀 Quick Start
13
25
 
14
26
  Here's a basic example of how to use the `Sentry` Plugin:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@picked/sentry",
3
3
  "description": "Sentry plugin",
4
- "version": "0.0.1-dev.1765490623116",
4
+ "version": "0.0.1-dev.1765824208742",
5
5
  "dependencies": {},
6
6
  "devDependencies": {
7
7
  "@picked/client": "workspace:*",
@@ -9,7 +9,6 @@
9
9
  "@repo/eslint-config": "workspace:*",
10
10
  "@repo/typescript-config": "workspace:*",
11
11
  "@rollup/plugin-replace": "^6.0.2",
12
- "@sentry/browser": "10.30.0",
13
12
  "@types/jsdom": "^21.1.7",
14
13
  "@types/node": "^22",
15
14
  "@vitest/coverage-v8": "^3.2.4",
@@ -33,8 +32,8 @@
33
32
  "main": "./dist/cjs/index.js",
34
33
  "module": "./dist/esm/index.js",
35
34
  "peerDependencies": {
36
- "@picked/client": "0.0.1-dev.1765490623116",
37
- "@sentry/browser": "10.30.0"
35
+ "@picked/client": "0.0.1-dev.1765824208742",
36
+ "@sentry/browser": "^10"
38
37
  },
39
38
  "private": false,
40
39
  "scripts": {