@marktiderman/genesis-native 0.11.0 → 0.13.0
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/README.md +13 -3
- package/dist/{block-Iga-mCeC.d.ts → block-BfJT3F6B.d.ts} +3 -3
- package/dist/{blocks-BQY_df3j.d.ts → blocks-DoY_Z-Lh.d.ts} +69 -7
- package/dist/{chunk-6BT4PTGH.js → chunk-6UVWYJPZ.js} +15 -5
- package/dist/chunk-6UVWYJPZ.js.map +1 -0
- package/dist/{chunk-EWHO5WQU.js → chunk-JWIBRHDE.js} +21 -9
- package/dist/chunk-JWIBRHDE.js.map +1 -0
- package/dist/{chunk-YIF4BFQH.js → chunk-JZHDEU4Q.js} +130 -13
- package/dist/chunk-JZHDEU4Q.js.map +1 -0
- package/dist/devtools.d.ts +101 -8
- package/dist/devtools.js +180 -104
- package/dist/devtools.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/observability.d.ts +14 -8
- package/dist/observability.js +3 -3
- package/dist/persist.d.ts +1 -1
- package/dist/push.d.ts +4 -4
- package/dist/push.js +1 -1
- package/dist/push.js.map +1 -1
- package/dist/{query--ihYsJWC.d.ts → query-DJFrykK_.d.ts} +38 -2
- package/dist/{screen-boundary-B8DlsLwb.d.ts → screen-boundary-Da3qleNz.d.ts} +5 -1
- package/dist/updates.d.ts +3 -3
- package/dist/updates.js +6 -6
- package/dist/updates.js.map +1 -1
- package/package.json +50 -8
- package/src/app.tsx +2 -1
- package/src/blocks.tsx +20 -5
- package/src/devtools/block.tsx +281 -152
- package/src/devtools/index.ts +4 -3
- package/src/devtools/settings.ts +50 -0
- package/src/devtools/slots.ts +15 -0
- package/src/errors.tsx +144 -13
- package/src/index.ts +4 -0
- package/src/observability/block.tsx +1 -1
- package/src/observability/index.ts +1 -1
- package/src/observability/scrub.ts +22 -4
- package/src/push/block.tsx +1 -1
- package/src/screen-boundary.tsx +13 -2
- package/src/updates/block.tsx +7 -5
- package/src/updates/index.ts +1 -1
- package/src/updates/signature.ts +52 -3
- package/dist/chunk-65P7RU4V.js +0 -49
- package/dist/chunk-65P7RU4V.js.map +0 -1
- package/dist/chunk-6BT4PTGH.js.map +0 -1
- package/dist/chunk-EWHO5WQU.js.map +0 -1
- package/dist/chunk-YIF4BFQH.js.map +0 -1
package/dist/observability.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as RouteErrorBoundaryProps, b as ObservabilitySink } from './block-
|
|
2
|
-
export { B as Breadcrumb, c as BreadcrumbLevel, C as ConsoleSinkOptions, E as ErrorContext, d as EventCheck, e as EventPropSpec, f as EventProps, g as EventSchema, h as EventValues, i as OBSERVABILITY_BLOCK_ID, O as ObservabilityBlock, j as ObservabilityOptions, k as ObservabilityProvider, l as ObserveLike, m as ObserveSinkOptions, R as RecentActivity, n as RecentError, o as RecentStore, T as TimingTags, p as checkEvent, q as consoleSink, r as createObservability, s as defineEvents, t as observeSink, u as scrubBreadcrumb, v as scrubbedError, w as useObservability, x as useRecentActivity } from './block-
|
|
1
|
+
import { a as RouteErrorBoundaryProps, b as ObservabilitySink } from './block-BfJT3F6B.js';
|
|
2
|
+
export { B as Breadcrumb, c as BreadcrumbLevel, C as ConsoleSinkOptions, E as ErrorContext, d as EventCheck, e as EventPropSpec, f as EventProps, g as EventSchema, h as EventValues, i as OBSERVABILITY_BLOCK_ID, O as ObservabilityBlock, j as ObservabilityOptions, k as ObservabilityProvider, l as ObserveLike, m as ObserveSinkOptions, R as RecentActivity, n as RecentError, o as RecentStore, T as TimingTags, p as checkEvent, q as consoleSink, r as createObservability, s as defineEvents, t as observeSink, u as scrubBreadcrumb, v as scrubbedError, w as useObservability, x as useRecentActivity } from './block-BfJT3F6B.js';
|
|
3
3
|
import { ComponentType } from 'react';
|
|
4
|
-
import { V as VersionSignature } from './blocks-
|
|
5
|
-
export { c as ScreenErrorProps, d as ScreenErrorScreen, e as createScreenErrorBoundary } from './screen-boundary-
|
|
6
|
-
import './query
|
|
4
|
+
import { V as VersionSignature } from './blocks-DoY_Z-Lh.js';
|
|
5
|
+
export { c as ScreenErrorProps, d as ScreenErrorScreen, e as createScreenErrorBoundary } from './screen-boundary-Da3qleNz.js';
|
|
6
|
+
import './query-DJFrykK_.js';
|
|
7
7
|
import '@tanstack/react-query';
|
|
8
8
|
import '@marktiderman/genesis-core/slots';
|
|
9
|
-
import '@marktiderman/genesis-
|
|
9
|
+
import '@marktiderman/genesis-config/blocks';
|
|
10
10
|
import '@marktiderman/genesis-design-system';
|
|
11
11
|
import '@marktiderman/genesis-core/provider';
|
|
12
12
|
import '@marktiderman/genesis-ui-native/layouts';
|
|
@@ -168,7 +168,13 @@ declare function scrubUrl(value: string): string;
|
|
|
168
168
|
* `"[Truncated]"`. Errors become `{ name, message }`. Header lists
|
|
169
169
|
* (`[["authorization", "…"]]`) are treated like objects.
|
|
170
170
|
*/
|
|
171
|
-
declare function scrubValue(value: unknown, key?: string, depth?: number, seen?: WeakSet<object
|
|
171
|
+
declare function scrubValue(value: unknown, key?: string, depth?: number, seen?: WeakSet<object>, keepIds?: boolean): unknown;
|
|
172
|
+
/**
|
|
173
|
+
* `scrubValue` without the pass for Sentry's own id fields (`release`, `environment`,
|
|
174
|
+
* `event_id`, …): for data that isn't a Sentry envelope (a support dump, an app's own
|
|
175
|
+
* object), where a key named like one can hold anything.
|
|
176
|
+
*/
|
|
177
|
+
declare function scrubValueStrict(value: unknown): unknown;
|
|
172
178
|
/** The fields of a Sentry-shaped event `scrubEvent` treats specially. Anything else is scrubbed by value. */
|
|
173
179
|
interface ScrubbableEvent {
|
|
174
180
|
user?: {
|
|
@@ -193,4 +199,4 @@ declare function scrubEvent<E extends ScrubbableEvent>(event: E): E | null;
|
|
|
193
199
|
/** A breadcrumb, span or any record, scrubbed by value. `null` when scrubbing threw (fail closed). */
|
|
194
200
|
declare function scrubRecord<R extends object>(record: R): R | null;
|
|
195
201
|
|
|
196
|
-
export { FILTERED, ObservabilitySink, RouteErrorBoundaryProps, type ScrubbableEvent, type SentryLike, type SentrySinkOptions, isSecretKey, scrubEvent, scrubRecord, scrubString, scrubUrl, scrubValue, sentryRelease, sentrySink, signatureTags };
|
|
202
|
+
export { FILTERED, ObservabilitySink, RouteErrorBoundaryProps, type ScrubbableEvent, type SentryLike, type SentrySinkOptions, isSecretKey, scrubEvent, scrubRecord, scrubString, scrubUrl, scrubValue, scrubValueStrict, sentryRelease, sentrySink, signatureTags };
|
package/dist/observability.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { scrubRecord, scrubEvent, scrubString } from './chunk-
|
|
2
|
-
export { FILTERED, OBSERVABILITY_BLOCK_ID, ObservabilityProvider, checkEvent, consoleSink, createObservability, defineEvents, isSecretKey, observeSink, scrubBreadcrumb, scrubEvent, scrubRecord, scrubString, scrubUrl, scrubValue, scrubbedError, useObservability, useRecentActivity } from './chunk-
|
|
3
|
-
export { ScreenErrorScreen, createScreenErrorBoundary } from './chunk-
|
|
1
|
+
import { scrubRecord, scrubEvent, scrubString } from './chunk-JWIBRHDE.js';
|
|
2
|
+
export { FILTERED, OBSERVABILITY_BLOCK_ID, ObservabilityProvider, checkEvent, consoleSink, createObservability, defineEvents, isSecretKey, observeSink, scrubBreadcrumb, scrubEvent, scrubRecord, scrubString, scrubUrl, scrubValue, scrubValueStrict, scrubbedError, useObservability, useRecentActivity } from './chunk-JWIBRHDE.js';
|
|
3
|
+
export { ScreenErrorScreen, createScreenErrorBoundary } from './chunk-JZHDEU4Q.js';
|
|
4
4
|
import './chunk-VIC2KXMA.js';
|
|
5
5
|
import './chunk-NGYNYJPL.js';
|
|
6
6
|
|
package/dist/persist.d.ts
CHANGED
package/dist/push.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { Y as PushPermissionStatus, Z as NotificationResponseLike, _ as NotificationLike, p as LinkOptions, $ as QuietHours } from './blocks-DoY_Z-Lh.js';
|
|
2
|
+
export { a0 as ChannelImportance, a1 as ChannelInputLike, a2 as DEFAULT_PREFERENCES, a3 as NotificationActionLike, a4 as NotificationBehaviorLike, a5 as NotificationCategory, a6 as NotificationPreferences, a7 as NotificationsModuleLike, a8 as PermissionRequestLike, a9 as PermissionState, aa as PermissionStatusLike, ab as PermissionStore, ac as PreferencesState, ad as PreferencesStatus, ae as PreferencesStore, af as PromptOptions, ag as PromptState, ah as PromptStore, ai as PushAppStateLike, aj as PushBackend, ak as PushBackendError, al as PushBlock, am as PushChannel, an as PushDeviceCategory, ao as PushErrorSource, ap as PushOnError, aq as PushOptions, ar as PushPromptProps, as as PushPromptSheet, at as PushProvider, au as PushRoot, av as PushRootProps, aw as PushSlots, ax as PushStorageLike, ay as PushSupabaseLike, az as Registration, aA as RegistrationState, aB as RegistrationStatus, aC as SubscriptionLike, aD as canPush, aE as createPermissionStore, aF as createPreferencesStore, aG as createPromptStore, aH as createPush, aI as createRegistration, aJ as statusOf, aK as supabasePushBackend, aL as useBadge, aM as useNotificationPreferences, aN as useOptionalPush, aO as usePush, aP as usePushPermissionState, aQ as usePushPrompt, aR as usePushRegistration, aS as useSuppressNotifications, aT as validPreferences } from './blocks-DoY_Z-Lh.js';
|
|
3
3
|
import * as react from 'react';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
import { Slots, SlotPropsFor } from '@marktiderman/genesis-core/slots';
|
|
6
6
|
import { SettingsPageProps, SettingsPageRow } from '@marktiderman/genesis-ui-native/layouts';
|
|
7
7
|
export { RICH_PUSH_IMAGE_FIELDS, RichPushData, RichPushMessageLike, isRichPushUrl, richPushMessage } from './push-payload.js';
|
|
8
|
-
import '@marktiderman/genesis-
|
|
9
|
-
import './query
|
|
8
|
+
import '@marktiderman/genesis-config/blocks';
|
|
9
|
+
import './query-DJFrykK_.js';
|
|
10
10
|
import '@tanstack/react-query';
|
|
11
11
|
import '@marktiderman/genesis-design-system';
|
|
12
12
|
import '@marktiderman/genesis-core/provider';
|
package/dist/push.js
CHANGED
|
@@ -5,7 +5,7 @@ import { useSession } from './chunk-NGYNYJPL.js';
|
|
|
5
5
|
import { createContext, useSyncExternalStore, useContext, useRef, useEffect, useMemo } from 'react';
|
|
6
6
|
import { View } from 'react-native';
|
|
7
7
|
import { renderSlot } from '@marktiderman/genesis-core/slots';
|
|
8
|
-
import { defineBlock } from '@marktiderman/genesis-
|
|
8
|
+
import { defineBlock } from '@marktiderman/genesis-config/blocks';
|
|
9
9
|
import { NativeSheet, NativeText, NativeButton, NativeTimePicker, NativeSwitch } from '@marktiderman/genesis-ui-native/components';
|
|
10
10
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
11
11
|
import { SettingsPage } from '@marktiderman/genesis-ui-native/layouts';
|