@withmarfa/client 0.0.83 → 0.0.84

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +25 -9
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6379,7 +6379,7 @@ interface components {
6379
6379
  */
6380
6380
  enrichment_ocr_enabled: boolean;
6381
6381
  /**
6382
- * @description `true` if error alerts and exception reports are sent. Enabling requires `error_webhook_url` or an exception receiver configured where Marfa runs. Absent: the environment default applies.
6382
+ * @description `true` if error alerts and exception reports are sent. Enabling requires `error_webhook_url`, or both `posthog_host` and `posthog_project_token`. Absent: the environment default applies.
6383
6383
  * @default true
6384
6384
  */
6385
6385
  error_reporting_enabled: boolean;
@@ -6463,7 +6463,7 @@ interface components {
6463
6463
  */
6464
6464
  object_store_access_key_id?: string;
6465
6465
  /**
6466
- * @description `true` if Marfa may send webhooks, the heartbeat, error notices and object store requests to loopback, private and other addresses that aren't public. Changing it needs a sign-in from the last five minutes. Absent: `false`.
6466
+ * @description `true` if Marfa may send webhooks, the heartbeat, error notices, exception reports and object store requests to loopback, private and other addresses that aren't public. Changing it needs a sign-in from the last five minutes. Absent: `false`.
6467
6467
  * @default false
6468
6468
  */
6469
6469
  allow_private_addresses: boolean;
@@ -34880,7 +34880,7 @@ interface operations {
34880
34880
  */
34881
34881
  enrichment_ocr_enabled?: boolean;
34882
34882
  /**
34883
- * @description `true` if error alerts and exception reports are sent. Enabling requires `error_webhook_url` or an exception receiver configured where Marfa runs. Absent: the environment default applies.
34883
+ * @description `true` if error alerts and exception reports are sent. Enabling requires `error_webhook_url`, or both `posthog_host` and `posthog_project_token`. Absent: the environment default applies.
34884
34884
  * @default true
34885
34885
  */
34886
34886
  error_reporting_enabled?: boolean;
@@ -34968,7 +34968,7 @@ interface operations {
34968
34968
  */
34969
34969
  object_store_access_key_id?: string;
34970
34970
  /**
34971
- * @description `true` if Marfa may send webhooks, the heartbeat, error notices and object store requests to loopback, private and other addresses that aren't public. Changing it needs a sign-in from the last five minutes. Absent: `false`.
34971
+ * @description `true` if Marfa may send webhooks, the heartbeat, error notices, exception reports and object store requests to loopback, private and other addresses that aren't public. Changing it needs a sign-in from the last five minutes. Absent: `false`.
34972
34972
  * @default false
34973
34973
  */
34974
34974
  allow_private_addresses?: boolean;
@@ -34984,6 +34984,14 @@ interface operations {
34984
34984
  * @description The `http` or `https` URL Marfa posts a notice to when a request fails with a 500 error. Marfa never returns it. A `PUT` that leaves it out keeps it; `PATCH` with `null` removes it.
34985
34985
  */
34986
34986
  error_webhook_url?: string;
34987
+ /**
34988
+ * Format: uri
34989
+ * @description The PostHog host Marfa sends a report of each of its own faults to, for PostHog's error tracking. It must be an `https` URL, or an `http` URL on this machine, with no user name or password, and it needs `posthog_project_token` set too. Marfa never returns it. A `PUT` that leaves it out keeps it; `PATCH` with `null` removes it.
34990
+ * @example https://eu.i.posthog.com
34991
+ */
34992
+ posthog_host?: string;
34993
+ /** @description The PostHog project token Marfa sends its fault reports with, with no whitespace around it. It needs `posthog_host` set too. Marfa never returns it. A `PUT` that leaves it out keeps it; `PATCH` with `null` removes it. */
34994
+ posthog_project_token?: string;
34987
34995
  /** @description The secret settings `GET /config` says are set, accepted so you can send back what it returned. It sets nothing. */
34988
34996
  secrets_set?: string[];
34989
34997
  /**
@@ -35362,7 +35370,7 @@ interface operations {
35362
35370
  */
35363
35371
  enrichment_ocr_enabled?: boolean | null;
35364
35372
  /**
35365
- * @description `true` if error alerts and exception reports are sent. Enabling requires `error_webhook_url` or an exception receiver configured where Marfa runs. Absent: the environment default applies. `null` removes it, so the server's default applies.
35373
+ * @description `true` if error alerts and exception reports are sent. Enabling requires `error_webhook_url`, or both `posthog_host` and `posthog_project_token`. Absent: the environment default applies. `null` removes it, so the server's default applies.
35366
35374
  * @default true
35367
35375
  */
35368
35376
  error_reporting_enabled?: boolean | null;
@@ -35455,7 +35463,7 @@ interface operations {
35455
35463
  */
35456
35464
  object_store_access_key_id?: string | null;
35457
35465
  /**
35458
- * @description `true` if Marfa may send webhooks, the heartbeat, error notices and object store requests to loopback, private and other addresses that aren't public. Changing it needs a sign-in from the last five minutes. Absent: `false`. `null` removes it, so the server's default applies.
35466
+ * @description `true` if Marfa may send webhooks, the heartbeat, error notices, exception reports and object store requests to loopback, private and other addresses that aren't public. Changing it needs a sign-in from the last five minutes. Absent: `false`. `null` removes it, so the server's default applies.
35459
35467
  * @default false
35460
35468
  */
35461
35469
  allow_private_addresses?: boolean | null;
@@ -35471,6 +35479,14 @@ interface operations {
35471
35479
  * @description The `http` or `https` URL Marfa posts a notice to when a request fails with a 500 error. Marfa never returns it. `null` or an empty string removes it.
35472
35480
  */
35473
35481
  error_webhook_url?: string | null;
35482
+ /**
35483
+ * Format: uri
35484
+ * @description The PostHog host Marfa sends a report of each of its own faults to, for PostHog's error tracking. It must be an `https` URL, or an `http` URL on this machine, with no user name or password, and it needs `posthog_project_token` set too. Marfa never returns it. `null` or an empty string removes it.
35485
+ * @example https://eu.i.posthog.com
35486
+ */
35487
+ posthog_host?: string | null;
35488
+ /** @description The PostHog project token Marfa sends its fault reports with, with no whitespace around it. It needs `posthog_host` set too. Marfa never returns it. `null` or an empty string removes it. */
35489
+ posthog_project_token?: string | null;
35474
35490
  /** @description The secret settings `GET /config` says are set, accepted so you can send back what it returned. It sets nothing. */
35475
35491
  secrets_set?: string[];
35476
35492
  /**
@@ -35853,7 +35869,7 @@ interface operations {
35853
35869
  * },
35854
35870
  * {
35855
35871
  * "name": "reporting_needs_a_receiver",
35856
- * "description": "Error reporting and the heartbeat can be turned from off to on only where a receiver is set.",
35872
+ * "description": "Error reporting and the heartbeat can be turned from off to on only where a receiver is set: error_webhook_url, or posthog_host with posthog_project_token, and heartbeat_url.",
35857
35873
  * "keys": [
35858
35874
  * "error_reporting_enabled",
35859
35875
  * "heartbeat_enabled"
@@ -37873,7 +37889,7 @@ interface operations {
37873
37889
  settings_skipped: number;
37874
37890
  /** @description The names of the settings the archive carried that this instance does not have. Marfa left them out and stored nothing for them. */
37875
37891
  settings_dropped: string[];
37876
- /** @description The reporting switches Marfa stored as on that send nothing, because no receiver is configured where Marfa runs: `heartbeat_enabled` and `error_reporting_enabled`. */
37892
+ /** @description The reporting switches Marfa stored as on that send nothing, because no receiver is set: `heartbeat_enabled` and `error_reporting_enabled`. */
37877
37893
  settings_without_receiver: string[];
37878
37894
  /** @description The archive's enforcement settings Marfa stored, each one the instance didn't store. */
37879
37895
  enforcement_added: ("strict_mode" | "source_allowlist" | "source_filter")[];
@@ -38669,7 +38685,7 @@ interface operations {
38669
38685
  settings_skipped: number;
38670
38686
  /** @description The names of the settings the archive carried that this instance does not have. Marfa left them out and stored nothing for them. */
38671
38687
  settings_dropped: string[];
38672
- /** @description The reporting switches Marfa stored as on that send nothing, because no receiver is configured where Marfa runs: `heartbeat_enabled` and `error_reporting_enabled`. */
38688
+ /** @description The reporting switches Marfa stored as on that send nothing, because no receiver is set: `heartbeat_enabled` and `error_reporting_enabled`. */
38673
38689
  settings_without_receiver: string[];
38674
38690
  /** @description The archive's enforcement settings Marfa stored, each one the instance didn't store. */
38675
38691
  enforcement_added: ("strict_mode" | "source_allowlist" | "source_filter")[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@withmarfa/client",
3
- "version": "0.0.83",
3
+ "version": "0.0.84",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",