sitepong 0.2.8 → 0.2.9
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/entries/rn.d.ts +20 -0
- package/dist/entries/rn.js +1341 -1187
- package/dist/entries/rn.js.map +1 -1
- package/ios/WatchtowerCore/StructuralRecorder.swift +64 -5
- package/package.json +1 -1
package/dist/entries/rn.d.ts
CHANGED
|
@@ -798,15 +798,35 @@ declare class StructuralCapture {
|
|
|
798
798
|
private cfg;
|
|
799
799
|
private sessionId;
|
|
800
800
|
private running;
|
|
801
|
+
private sentCount;
|
|
802
|
+
private flushing;
|
|
803
|
+
private readonly scrollOffsets;
|
|
804
|
+
private overloadSkip;
|
|
805
|
+
private appStateSub;
|
|
806
|
+
private readonly teardowns;
|
|
801
807
|
private now;
|
|
802
808
|
isRunning(): boolean;
|
|
803
809
|
getSessionId(): string;
|
|
804
810
|
start(cfg: StructuralCaptureConfig): void;
|
|
811
|
+
/** Best-effort flush the pre-crash tail before the app tears down. */
|
|
812
|
+
private installCrashFlush;
|
|
813
|
+
/** Flush on background/inactive so timer suspension doesn't strand the tail. */
|
|
814
|
+
private installBackgroundFlush;
|
|
805
815
|
private sample;
|
|
806
816
|
setScreen(name: string): void;
|
|
807
817
|
/** Resolve a native touch to a node + emit a tap. `target` is the RN
|
|
808
818
|
* nativeTag from `nativeEvent.target`. */
|
|
809
819
|
handleTap(target: number, pageX: number, pageY: number): void;
|
|
820
|
+
/** Feed a scroll/drag delta from a touch onto the nearest scrollable ancestor
|
|
821
|
+
* of the touched node. `target` is the RN nativeTag under the finger; `dx`/`dy`
|
|
822
|
+
* are content-offset deltas (px, sign = content motion). Native-driven scroll
|
|
823
|
+
* never reaches the fiber walk, so this is the only way the replay can ride the
|
|
824
|
+
* scroll instead of freezing on a stale frame. */
|
|
825
|
+
handleScroll(target: number, dx: number, dy: number): void;
|
|
826
|
+
/** Public best-effort flush — used by the shared RN error handler to push the
|
|
827
|
+
* pre-crash tail (the in-class ErrorUtils hook covers apps that don't call
|
|
828
|
+
* setupRNErrorHandler; both are idempotent via the `flushing` guard). */
|
|
829
|
+
flushNow(): Promise<void>;
|
|
810
830
|
private flush;
|
|
811
831
|
stop(): Promise<void>;
|
|
812
832
|
}
|