@hanzo/event 0.3.31 → 0.3.33

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/react.cjs CHANGED
@@ -309,7 +309,7 @@ function hzAnonId() {
309
309
  }
310
310
 
311
311
  // src/version.ts
312
- var VERSION = "0.3.31";
312
+ var VERSION = "0.3.33";
313
313
 
314
314
  // src/sentry.ts
315
315
  var MAX_FRAMES = 50;
@@ -1116,26 +1116,26 @@ var ErrorBoundary = class extends react.Component {
1116
1116
  }
1117
1117
  };
1118
1118
  ErrorBoundary.contextType = Ctx;
1119
- /*! anon.js — THE anonymous-identity chain. ONE implementation, three distributions.
1119
+ /*! anon.js — THE anonymous-identity chain. ONE implementation, two distributions.
1120
1120
  *
1121
1121
  * One browser is ONE person on every Hanzo surface, whichever client a page
1122
- * happens to have loaded. There were three implementations writing TWO keys —
1123
- * `hz_anon_id` (the npm client, the hosted tag) and `hz_id` (hz.js) — so the same
1124
- * visitor was several people depending on which snippet the surface shipped.
1122
+ * happens to have loaded. There were once three implementations writing TWO keys —
1123
+ * `hz_anon_id` and `hz_id` — so the same visitor was several people depending on
1124
+ * which snippet the surface shipped.
1125
1125
  *
1126
- * The three call sites:
1126
+ * The two call sites:
1127
1127
  * 1. src/storage.ts — the bundled npm client; IMPORTS this file.
1128
- * 2. hz.js — the no-build script tag; INLINES the marked region.
1129
- * 3. hanzoai/cloud apps/analytics/tag.js — the tag the door hosts at
1128
+ * 2. hanzoai/cloud apps/analytics/tag.js — the tag the door hosts at
1130
1129
  * /v1/event.js; vendors this file and its tag.go serves the marked region
1131
1130
  * with the tag as one asset, so the door holds no second copy either.
1132
1131
  *
1133
- * (2) and (3) have no bundler and cannot import anything, which is why the chain
1134
- * lives in a file that is plain ES5 rather than in a .ts: the region between the
1135
- * BEGIN and END markers is COPIED VERBATIM, and src/anon.test.ts fails if hz.js's
1136
- * copy is so much as a byte different. Keep the region ES5, dependency-free,
1137
- * `hz`-prefixed (it is spliced into other people's scopes) and unformatted — a
1138
- * reformat of one copy is a diff against the other.
1132
+ * (2) has no bundler and cannot import anything, which is why the chain lives in a
1133
+ * file that is plain ES5 rather than in a .ts: the region between the BEGIN and END
1134
+ * markers is COPIED VERBATIM. Keep it ES5, dependency-free, `hz`-prefixed (it is
1135
+ * spliced into other people's scopes) and unformatted a reformat here is a diff
1136
+ * against the vendored copy. After editing, resync the door:
1137
+ *
1138
+ * curl -fsSL https://unpkg.com/@hanzo/event/src/anon.js -o apps/analytics/anon.js
1139
1139
  */
1140
1140
 
1141
1141
  exports.AnalyticsProvider = AnalyticsProvider;