@hanzo/event 0.3.40 → 0.3.41
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 +10 -5
- 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 +1 -1
- package/src/org.ts +13 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/event",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.41",
|
|
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/",
|
package/src/org.ts
CHANGED
|
@@ -76,17 +76,22 @@ export const ORG_DOMAIN: Readonly<Record<string, readonly string[]>> = Object.fr
|
|
|
76
76
|
})
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
|
-
* Each org's publishable key
|
|
80
|
-
*
|
|
81
|
-
*
|
|
79
|
+
* Each org's publishable key, and a copy: the values live in universe at
|
|
80
|
+
* infra/k8s/id/configmap.yaml as SPA_INGEST_KEYRING, which serves them to the
|
|
81
|
+
* identity hosts, and this table is what a statically exported page carries when
|
|
82
|
+
* it cannot ask. The two must say the same thing. Add an org the day its project
|
|
83
|
+
* exists, never before.
|
|
82
84
|
*
|
|
83
|
-
* A key is only as real as the project it names
|
|
84
|
-
*
|
|
85
|
+
* A key is only as real as the project it names, and these had stopped naming
|
|
86
|
+
* one: all three answered `403 ingest_key_unknown` against /v1/event, so every
|
|
87
|
+
* page that fell back to this table reported nowhere while looking fine. The
|
|
88
|
+
* copy drifted silently because nothing compares it to the keyring. If you
|
|
89
|
+
* recreate a project, move BOTH.
|
|
85
90
|
*/
|
|
86
91
|
export const ORG_KEY: Keyring = Object.freeze({
|
|
87
|
-
hanzo: 'pk-
|
|
88
|
-
lux: 'pk-
|
|
89
|
-
zoo: 'pk-
|
|
92
|
+
hanzo: 'pk-rM_CdaF2MQckGCrla113SrR1oH4zvqN8xh2I95Z9tY8',
|
|
93
|
+
lux: 'pk-gUZp6ZVfhJzSwK-rb4oLbVkpCnMBx5uSCpxf_5yEhQk',
|
|
94
|
+
zoo: 'pk-3TKpKnERV9AQSsBUERWkZejC1O1mUxc1jRzsP3MPbs4',
|
|
90
95
|
})
|
|
91
96
|
|
|
92
97
|
/** `pk-` is publishable; `sk-` is not, and there is no third thing. Checked at the
|