@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/dist/org.d.ts
CHANGED
|
@@ -44,12 +44,17 @@ export type Keyring = Readonly<Record<string, string>>;
|
|
|
44
44
|
*/
|
|
45
45
|
export declare const ORG_DOMAIN: Readonly<Record<string, readonly string[]>>;
|
|
46
46
|
/**
|
|
47
|
-
* Each org's publishable key
|
|
48
|
-
*
|
|
49
|
-
*
|
|
47
|
+
* Each org's publishable key, and a copy: the values live in universe at
|
|
48
|
+
* infra/k8s/id/configmap.yaml as SPA_INGEST_KEYRING, which serves them to the
|
|
49
|
+
* identity hosts, and this table is what a statically exported page carries when
|
|
50
|
+
* it cannot ask. The two must say the same thing. Add an org the day its project
|
|
51
|
+
* exists, never before.
|
|
50
52
|
*
|
|
51
|
-
* A key is only as real as the project it names
|
|
52
|
-
*
|
|
53
|
+
* A key is only as real as the project it names, and these had stopped naming
|
|
54
|
+
* one: all three answered `403 ingest_key_unknown` against /v1/event, so every
|
|
55
|
+
* page that fell back to this table reported nowhere while looking fine. The
|
|
56
|
+
* copy drifted silently because nothing compares it to the keyring. If you
|
|
57
|
+
* recreate a project, move BOTH.
|
|
53
58
|
*/
|
|
54
59
|
export declare const ORG_KEY: Keyring;
|
|
55
60
|
/**
|
package/dist/org.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"org.d.ts","sourceRoot":"","sources":["../src/org.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,mCAAmC;AACnC,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAEtD;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CA6BjE,CAAA;AAEF
|
|
1
|
+
{"version":3,"file":"org.d.ts","sourceRoot":"","sources":["../src/org.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,mCAAmC;AACnC,MAAM,MAAM,OAAO,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAEtD;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CA6BjE,CAAA;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,OAAO,EAAE,OAIpB,CAAA;AAWF;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CActD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,OAAiB,GAAG,MAAM,GAAG,SAAS,CAOnF;AAED,6EAA6E;AAC7E,wBAAgB,UAAU,CAAC,OAAO,GAAE,OAAiB,GAAG,MAAM,GAAG,SAAS,CAGzE"}
|
package/dist/react.cjs
CHANGED
|
@@ -118,9 +118,9 @@ var ORG_DOMAIN = Object.freeze({
|
|
|
118
118
|
zoo: Object.freeze(["zoo.ngo", "zoo.network", "zoolabs.id", "zoolabs.io"])
|
|
119
119
|
});
|
|
120
120
|
var ORG_KEY = Object.freeze({
|
|
121
|
-
hanzo: "pk-
|
|
122
|
-
lux: "pk-
|
|
123
|
-
zoo: "pk-
|
|
121
|
+
hanzo: "pk-rM_CdaF2MQckGCrla113SrR1oH4zvqN8xh2I95Z9tY8",
|
|
122
|
+
lux: "pk-gUZp6ZVfhJzSwK-rb4oLbVkpCnMBx5uSCpxf_5yEhQk",
|
|
123
|
+
zoo: "pk-3TKpKnERV9AQSsBUERWkZejC1O1mUxc1jRzsP3MPbs4"
|
|
124
124
|
});
|
|
125
125
|
var PUBLISHABLE = "pk-";
|
|
126
126
|
var normalize = (host) => host.trim().toLowerCase().replace(/\.$/, "").split(":")[0] ?? "";
|
|
@@ -382,7 +382,7 @@ function hzAnonId() {
|
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
// package.json
|
|
385
|
-
var version = "0.3.
|
|
385
|
+
var version = "0.3.41";
|
|
386
386
|
|
|
387
387
|
// src/version.ts
|
|
388
388
|
var VERSION = version;
|