@expofp/debug 3.6.0 → 3.6.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.
@@ -1,12 +1,12 @@
1
1
  import type { CSSProperties } from 'react';
2
- export type FormattedSegment = {
2
+ export interface FormattedSegment {
3
3
  text: string;
4
4
  style: CSSProperties;
5
- };
6
- export type FormattedArgs = {
5
+ }
6
+ export interface FormattedArgs {
7
7
  segments: FormattedSegment[];
8
8
  trailing: unknown[];
9
- };
9
+ }
10
10
  /**
11
11
  * Parse a console-style format string with `%c`/`%s`/`%d`/`%i`/`%f`/`%o`/`%O`/`%%`
12
12
  * into styled text segments plus any trailing unconsumed args. Mirrors browser
@@ -1,9 +1,9 @@
1
1
  export type LogLevel = 'log' | 'debug' | 'info' | 'warn' | 'error';
2
- export type LogEntry = {
2
+ export interface LogEntry {
3
3
  level: LogLevel;
4
4
  args: unknown[];
5
5
  ts: number;
6
- };
6
+ }
7
7
  export declare function getLogSnapshot(): readonly LogEntry[];
8
8
  export declare function subscribeLogStore(listener: () => void): () => void;
9
9
  export declare function appendLog(entry: LogEntry): void;
@@ -1,7 +1,7 @@
1
- export type EditorProps<T, K = void> = {
1
+ export interface EditorProps<T, K = void> {
2
2
  label: string;
3
3
  value: T;
4
4
  context: K;
5
5
  onChange: (value: T) => void;
6
- };
6
+ }
7
7
  //# sourceMappingURL=editor-props.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expofp/debug",
3
- "version": "3.6.0",
3
+ "version": "3.6.1",
4
4
  "type": "module",
5
5
  "description": "ExpoFP SDK internal: debug utilities",
6
6
  "homepage": "https://developer.expofp.com/",