@genex-ai/embed-sdk 0.11.0 → 0.12.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/dist/sentry.js +9 -9
- package/package.json +1 -1
package/dist/sentry.js
CHANGED
|
@@ -41,15 +41,15 @@ function initGameSentry(opts) {
|
|
|
41
41
|
Sentry.init({
|
|
42
42
|
dsn: opts.dsn ?? DEFAULT_GAMES_DSN,
|
|
43
43
|
environment: opts.environment ?? "production",
|
|
44
|
-
//
|
|
45
|
-
//
|
|
46
|
-
//
|
|
47
|
-
//
|
|
48
|
-
//
|
|
49
|
-
//
|
|
50
|
-
tracesSampleRate: touchSession ? 0.
|
|
51
|
-
replaysSessionSampleRate:
|
|
52
|
-
replaysOnErrorSampleRate:
|
|
44
|
+
// Rates are sized to the org quota, which every project shares: 5M spans and
|
|
45
|
+
// 50 replays per month. The previous desktop 1.0/1.0 exhausted both in July
|
|
46
|
+
// 2026, after which Sentry drops everything. Touch stays lower than desktop
|
|
47
|
+
// for the 2026-07-21 mobile-readiness reason (replay + canvas readback burns
|
|
48
|
+
// phone memory), and session replay is off outright — 50/month only stretches
|
|
49
|
+
// to errored sessions.
|
|
50
|
+
tracesSampleRate: touchSession ? 0.05 : 0.1,
|
|
51
|
+
replaysSessionSampleRate: 0,
|
|
52
|
+
replaysOnErrorSampleRate: 0.01,
|
|
53
53
|
dataCollection: { userInfo: true },
|
|
54
54
|
initialScope: { tags: { game_slug: opts.slug } },
|
|
55
55
|
integrations: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genex-ai/embed-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"description": "Player identity + durable game state for genex games \u2014 signed-in or guest play, per-player save slots, shared world state, and soft-trust leaderboards.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|