@hanzo/event 0.3.37 → 0.3.39
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/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/org.d.ts +3 -0
- package/dist/org.d.ts.map +1 -1
- package/dist/react.cjs +4 -4
- package/dist/react.cjs.map +1 -1
- package/dist/react.mjs +4 -4
- package/dist/react.mjs.map +1 -1
- package/package.json +8 -8
- package/src/org.ts +7 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/event",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.39",
|
|
4
4
|
"description": "Hanzo Event — the ONE telemetry client. Emits pageview/event/identify/group to the Hanzo Cloud event stream (POST /v1/event), AND reports errors to Sentry as real Sentry envelopes — the error plane needs a DSN, without one nothing reaches Sentry. First-touch attribution, beacon-on-unload, auto error capture, client-side secret/PII scrubbing, a shared event + goal vocabulary. Subsumes @sentry.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"react": "
|
|
62
|
+
"react": ">=19.2.8"
|
|
63
63
|
},
|
|
64
64
|
"peerDependenciesMeta": {
|
|
65
65
|
"react": {
|
|
@@ -67,15 +67,15 @@
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@types/node": "
|
|
71
|
-
"@types/react": "19.2.
|
|
72
|
-
"react": "19.2.
|
|
70
|
+
"@types/node": "26.4.0",
|
|
71
|
+
"@types/react": "19.2.18",
|
|
72
|
+
"react": "19.2.8",
|
|
73
73
|
"tsup": "^8.5.1",
|
|
74
|
-
"typescript": "
|
|
75
|
-
"vitest": "^4.1.
|
|
74
|
+
"typescript": "7.0.2",
|
|
75
|
+
"vitest": "^4.1.11"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@hanzo/events": "
|
|
78
|
+
"@hanzo/events": "0.2.2"
|
|
79
79
|
},
|
|
80
80
|
"scripts": {
|
|
81
81
|
"build": "tsup && tsc --emitDeclarationOnly --declaration --outDir dist && node ../../scripts/dts.mjs",
|
package/src/org.ts
CHANGED
|
@@ -72,18 +72,21 @@ export const ORG_DOMAIN: Readonly<Record<string, readonly string[]>> = Object.fr
|
|
|
72
72
|
'lux.fund',
|
|
73
73
|
'lux.id',
|
|
74
74
|
]),
|
|
75
|
-
zoo: Object.freeze(['zoo.ngo', 'zoo.network', 'zoolabs.id']),
|
|
75
|
+
zoo: Object.freeze(['zoo.ngo', 'zoo.network', 'zoolabs.id', 'zoolabs.io']),
|
|
76
76
|
})
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
* Each org's publishable key — the same values `universe`'s `SPA_INGEST_KEYRING`
|
|
80
80
|
* serves to the identity hosts, which are each brand's own insights team token.
|
|
81
81
|
* Add an org here the day its project exists, never before.
|
|
82
|
+
*
|
|
83
|
+
* A key is only as real as the project it names: recreate the project and this
|
|
84
|
+
* file moves with it, or every beacon answers 403 and reports nowhere.
|
|
82
85
|
*/
|
|
83
86
|
export const ORG_KEY: Keyring = Object.freeze({
|
|
84
|
-
hanzo: 'pk-
|
|
85
|
-
lux: 'pk-
|
|
86
|
-
zoo: 'pk-
|
|
87
|
+
hanzo: 'pk-bCcNBDOLwdIovV349jVGH1ShEOq7rAcaKLsX_bLnRMo',
|
|
88
|
+
lux: 'pk-GxCDhpEn89qajMyuMdMs6mcE4UVQBkv8F2swEKHC67Y',
|
|
89
|
+
zoo: 'pk-bS-xKESMhuhK_wfSmpRf1H_IH8A3x6Y5NV70TD7ycWE',
|
|
87
90
|
})
|
|
88
91
|
|
|
89
92
|
/** `pk-` is publishable; `sk-` is not, and there is no third thing. Checked at the
|