@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/event",
3
- "version": "0.3.40",
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 — the same values `universe`'s `SPA_INGEST_KEYRING`
80
- * serves to the identity hosts, which are each brand's own insights team token.
81
- * Add an org here the day its project exists, never before.
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: recreate the project and this
84
- * file moves with it, or every beacon answers 403 and reports nowhere.
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-bCcNBDOLwdIovV349jVGH1ShEOq7rAcaKLsX_bLnRMo',
88
- lux: 'pk-GxCDhpEn89qajMyuMdMs6mcE4UVQBkv8F2swEKHC67Y',
89
- zoo: 'pk-bS-xKESMhuhK_wfSmpRf1H_IH8A3x6Y5NV70TD7ycWE',
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