@ttt-productions/monitoring-core 0.13.0 → 0.13.1

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.
@@ -8,9 +8,9 @@
8
8
  *
9
9
  * This package is GENERIC — it ships only obvious, domain-neutral defaults
10
10
  * (full IPv4/IPv6 addresses, bearer/authorization tokens, generic credential
11
- * assignments). TTT-specific patterns (evidence-bucket URL prefixes,
11
+ * assignments). Product-specific patterns (evidence-bucket URL prefixes,
12
12
  * detector-hash shapes, NCMEC credential markers) are INJECTED by the consuming
13
- * app via {@link createTelemetryScrubber}'s `patterns` option. No `ttt-core`
13
+ * app via {@link createTelemetryScrubber}'s `patterns` option. No app-data-package
14
14
  * import, no app-specific literals.
15
15
  */
16
16
  /** The fixed replacement written over any matched forbidden substring. */
@@ -82,14 +82,14 @@ export declare function redactEvent<T extends ScrubbableEvent>(event: T, options
82
82
  export type BeforeSendHook = (event: ScrubbableEvent, hint?: unknown) => ScrubbableEvent | null;
83
83
  /**
84
84
  * Build a `beforeSend` hook that scrubs every outgoing event. The app supplies
85
- * its TTT-specific `patterns`; generic defaults are included unless disabled.
85
+ * its product-specific `patterns`; generic defaults are included unless disabled.
86
86
  *
87
87
  * @example
88
88
  * Sentry.init({
89
89
  * dsn,
90
90
  * beforeSend: createTelemetryScrubber({
91
91
  * patterns: [
92
- * 'https://storage.googleapis.com/ttt-prod-ncii-evidence/',
92
+ * 'https://storage.googleapis.com/example-ncii-evidence/',
93
93
  * /\bncmec-[a-z0-9]{16,}\b/gi,
94
94
  * /\b[a-f0-9]{64}\b/g, // detector hash shape
95
95
  * ],
package/dist/scrubber.js CHANGED
@@ -8,9 +8,9 @@
8
8
  *
9
9
  * This package is GENERIC — it ships only obvious, domain-neutral defaults
10
10
  * (full IPv4/IPv6 addresses, bearer/authorization tokens, generic credential
11
- * assignments). TTT-specific patterns (evidence-bucket URL prefixes,
11
+ * assignments). Product-specific patterns (evidence-bucket URL prefixes,
12
12
  * detector-hash shapes, NCMEC credential markers) are INJECTED by the consuming
13
- * app via {@link createTelemetryScrubber}'s `patterns` option. No `ttt-core`
13
+ * app via {@link createTelemetryScrubber}'s `patterns` option. No app-data-package
14
14
  * import, no app-specific literals.
15
15
  */
16
16
  /** The fixed replacement written over any matched forbidden substring. */
@@ -134,14 +134,14 @@ export function redactEvent(event, options = {}) {
134
134
  }
135
135
  /**
136
136
  * Build a `beforeSend` hook that scrubs every outgoing event. The app supplies
137
- * its TTT-specific `patterns`; generic defaults are included unless disabled.
137
+ * its product-specific `patterns`; generic defaults are included unless disabled.
138
138
  *
139
139
  * @example
140
140
  * Sentry.init({
141
141
  * dsn,
142
142
  * beforeSend: createTelemetryScrubber({
143
143
  * patterns: [
144
- * 'https://storage.googleapis.com/ttt-prod-ncii-evidence/',
144
+ * 'https://storage.googleapis.com/example-ncii-evidence/',
145
145
  * /\bncmec-[a-z0-9]{16,}\b/gi,
146
146
  * /\b[a-f0-9]{64}\b/g, // detector hash shape
147
147
  * ],
package/dist/types.d.ts CHANGED
@@ -9,8 +9,8 @@ export type MonitoringInitOptions = {
9
9
  * Omit to use the provider default. */
10
10
  tracesSampleRate?: number;
11
11
  /** Provider integrations passed through to the SDK init — e.g. `[]` to disable the
12
- * default auto-integrations and keep init lightweight (the TTT Cloud Functions
13
- * bootstrap does this). Typed loosely: it is a provider-specific pass-through. */
12
+ * default auto-integrations and keep init lightweight (the consuming app's Cloud
13
+ * Functions bootstrap does this). Typed loosely: it is a provider-specific pass-through. */
14
14
  integrations?: unknown[];
15
15
  };
16
16
  export type MonitoringUser = {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,aAAa,GAAG,MAAM,CAAC;AAEnE,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,GAAG,CAAC,EAAE,MAAM,CAA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GAE6F;IAC7F,YAAY,CAAC,EAAE,OAAO,EAAE,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,OAAO,EAAE,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/C,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;CACrE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttt-productions/monitoring-core",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ttt-productions/ttt-packages.git",