@multiplayer-app/session-recorder-react-native 1.3.36 → 2.0.17-alpha.10
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/package.json +13 -8
- package/src/NativeSessionRecorderModule.ts +4 -2
- package/src/NativeSessionRecorderModuleSpec.ts +4 -2
- package/src/NativeSessionRecorderNative.ts +1 -1
- package/src/index.ts +0 -1
- package/src/native/SessionRecorderNative.ts +22 -13
- package/src/otel/helpers.ts +5 -1
- package/src/otel/index.ts +1 -1
- package/src/otel/instrumentations/index.ts +22 -22
- package/src/patch/configs.ts +15 -10
- package/src/patch/fetch.ts +98 -89
- package/src/patch/index.ts +1 -1
- package/src/patch/xhr.ts +3 -4
- package/src/services/screenRecordingService.ts +7 -2
- package/src/services/storage.service.ts +4 -1
- package/src/session-recorder.ts +4 -0
- package/src/types/configs.ts +1 -2
- package/lib/module/NativeSessionRecorderModule.js +0 -5
- package/lib/module/NativeSessionRecorderModule.js.map +0 -1
- package/lib/module/NativeSessionRecorderModuleSpec.js +0 -5
- package/lib/module/NativeSessionRecorderModuleSpec.js.map +0 -1
- package/lib/module/NativeSessionRecorderNative.js +0 -5
- package/lib/module/NativeSessionRecorderNative.js.map +0 -1
- package/lib/module/components/ErrorBoundary.js +0 -32
- package/lib/module/components/ErrorBoundary.js.map +0 -1
- package/lib/module/components/ScreenRecorderView/ScreenRecorderView.js +0 -23
- package/lib/module/components/ScreenRecorderView/ScreenRecorderView.js.map +0 -1
- package/lib/module/components/ScreenRecorderView/index.js +0 -4
- package/lib/module/components/ScreenRecorderView/index.js.map +0 -1
- package/lib/module/components/SessionRecorderWidget/ErrorBanner.js +0 -64
- package/lib/module/components/SessionRecorderWidget/ErrorBanner.js.map +0 -1
- package/lib/module/components/SessionRecorderWidget/FinalPopover.js +0 -74
- package/lib/module/components/SessionRecorderWidget/FinalPopover.js.map +0 -1
- package/lib/module/components/SessionRecorderWidget/FloatingButton.js +0 -191
- package/lib/module/components/SessionRecorderWidget/FloatingButton.js.map +0 -1
- package/lib/module/components/SessionRecorderWidget/InitialPopover.js +0 -138
- package/lib/module/components/SessionRecorderWidget/InitialPopover.js.map +0 -1
- package/lib/module/components/SessionRecorderWidget/ModalContainer.js +0 -177
- package/lib/module/components/SessionRecorderWidget/ModalContainer.js.map +0 -1
- package/lib/module/components/SessionRecorderWidget/ModalHeader.js +0 -27
- package/lib/module/components/SessionRecorderWidget/ModalHeader.js.map +0 -1
- package/lib/module/components/SessionRecorderWidget/SessionRecorderWidget.js +0 -133
- package/lib/module/components/SessionRecorderWidget/SessionRecorderWidget.js.map +0 -1
- package/lib/module/components/SessionRecorderWidget/icons.js +0 -93
- package/lib/module/components/SessionRecorderWidget/icons.js.map +0 -1
- package/lib/module/components/SessionRecorderWidget/index.js +0 -5
- package/lib/module/components/SessionRecorderWidget/index.js.map +0 -1
- package/lib/module/components/SessionRecorderWidget/styles.js +0 -173
- package/lib/module/components/SessionRecorderWidget/styles.js.map +0 -1
- package/lib/module/components/index.js +0 -6
- package/lib/module/components/index.js.map +0 -1
- package/lib/module/config/constants.js +0 -47
- package/lib/module/config/constants.js.map +0 -1
- package/lib/module/config/defaults.js +0 -87
- package/lib/module/config/defaults.js.map +0 -1
- package/lib/module/config/index.js +0 -9
- package/lib/module/config/index.js.map +0 -1
- package/lib/module/config/masking.js +0 -35
- package/lib/module/config/masking.js.map +0 -1
- package/lib/module/config/session-recorder.js +0 -50
- package/lib/module/config/session-recorder.js.map +0 -1
- package/lib/module/config/validators.js +0 -28
- package/lib/module/config/validators.js.map +0 -1
- package/lib/module/config/widget.js +0 -35
- package/lib/module/config/widget.js.map +0 -1
- package/lib/module/context/SessionRecorderContext.js +0 -100
- package/lib/module/context/SessionRecorderContext.js.map +0 -1
- package/lib/module/context/SessionRecorderStore.js +0 -12
- package/lib/module/context/SessionRecorderStore.js.map +0 -1
- package/lib/module/context/createStore.js +0 -27
- package/lib/module/context/createStore.js.map +0 -1
- package/lib/module/context/useSessionRecorderStore.js +0 -45
- package/lib/module/context/useSessionRecorderStore.js.map +0 -1
- package/lib/module/context/useStoreSelector.js +0 -27
- package/lib/module/context/useStoreSelector.js.map +0 -1
- package/lib/module/index.js +0 -14
- package/lib/module/index.js.map +0 -1
- package/lib/module/native/SessionRecorderNative.js +0 -76
- package/lib/module/native/SessionRecorderNative.js.map +0 -1
- package/lib/module/native/index.js +0 -4
- package/lib/module/native/index.js.map +0 -1
- package/lib/module/otel/CrashBufferSpanProcessor.js +0 -42
- package/lib/module/otel/CrashBufferSpanProcessor.js.map +0 -1
- package/lib/module/otel/helpers.js +0 -218
- package/lib/module/otel/helpers.js.map +0 -1
- package/lib/module/otel/index.js +0 -202
- package/lib/module/otel/index.js.map +0 -1
- package/lib/module/otel/instrumentations/index.js +0 -122
- package/lib/module/otel/instrumentations/index.js.map +0 -1
- package/lib/module/package.json +0 -1
- package/lib/module/patch/configs.js +0 -18
- package/lib/module/patch/configs.js.map +0 -1
- package/lib/module/patch/fetch.js +0 -224
- package/lib/module/patch/fetch.js.map +0 -1
- package/lib/module/patch/index.js +0 -6
- package/lib/module/patch/index.js.map +0 -1
- package/lib/module/patch/xhr.js +0 -100
- package/lib/module/patch/xhr.js.map +0 -1
- package/lib/module/recorder/gestureRecorder.js +0 -641
- package/lib/module/recorder/gestureRecorder.js.map +0 -1
- package/lib/module/recorder/index.js +0 -176
- package/lib/module/recorder/index.js.map +0 -1
- package/lib/module/recorder/navigationRecorder.js +0 -238
- package/lib/module/recorder/navigationRecorder.js.map +0 -1
- package/lib/module/recorder/screenRecorder.js +0 -527
- package/lib/module/recorder/screenRecorder.js.map +0 -1
- package/lib/module/services/api.service.js +0 -166
- package/lib/module/services/api.service.js.map +0 -1
- package/lib/module/services/crashBuffer.service.js +0 -280
- package/lib/module/services/crashBuffer.service.js.map +0 -1
- package/lib/module/services/network.service.js +0 -178
- package/lib/module/services/network.service.js.map +0 -1
- package/lib/module/services/screenRecordingService.js +0 -107
- package/lib/module/services/screenRecordingService.js.map +0 -1
- package/lib/module/services/socket.service.js +0 -186
- package/lib/module/services/socket.service.js.map +0 -1
- package/lib/module/services/storage.service.js +0 -178
- package/lib/module/services/storage.service.js.map +0 -1
- package/lib/module/session-recorder.js +0 -750
- package/lib/module/session-recorder.js.map +0 -1
- package/lib/module/types/configs.js +0 -4
- package/lib/module/types/configs.js.map +0 -1
- package/lib/module/types/expo-constants.d.js +0 -2
- package/lib/module/types/expo-constants.d.js.map +0 -1
- package/lib/module/types/index.js +0 -10
- package/lib/module/types/index.js.map +0 -1
- package/lib/module/types/session-recorder.js +0 -68
- package/lib/module/types/session-recorder.js.map +0 -1
- package/lib/module/utils/app-metadata.js +0 -28
- package/lib/module/utils/app-metadata.js.map +0 -1
- package/lib/module/utils/constants.optional.expo.js +0 -6
- package/lib/module/utils/constants.optional.expo.js.map +0 -1
- package/lib/module/utils/constants.optional.js +0 -8
- package/lib/module/utils/constants.optional.js.map +0 -1
- package/lib/module/utils/index.js +0 -11
- package/lib/module/utils/index.js.map +0 -1
- package/lib/module/utils/logger.js +0 -185
- package/lib/module/utils/logger.js.map +0 -1
- package/lib/module/utils/platform.js +0 -340
- package/lib/module/utils/platform.js.map +0 -1
- package/lib/module/utils/request-utils.js +0 -58
- package/lib/module/utils/request-utils.js.map +0 -1
- package/lib/module/utils/rrweb-events.js +0 -276
- package/lib/module/utils/rrweb-events.js.map +0 -1
- package/lib/module/utils/session.js +0 -21
- package/lib/module/utils/session.js.map +0 -1
- package/lib/module/utils/shallowEqual.js +0 -17
- package/lib/module/utils/shallowEqual.js.map +0 -1
- package/lib/module/utils/time.js +0 -17
- package/lib/module/utils/time.js.map +0 -1
- package/lib/module/utils/type-utils.js +0 -69
- package/lib/module/utils/type-utils.js.map +0 -1
- package/lib/module/version.js +0 -4
- package/lib/module/version.js.map +0 -1
- package/lib/typescript/package.json +0 -1
- package/lib/typescript/src/NativeSessionRecorderModule.d.ts +0 -25
- package/lib/typescript/src/NativeSessionRecorderModule.d.ts.map +0 -1
- package/lib/typescript/src/NativeSessionRecorderModuleSpec.d.ts +0 -25
- package/lib/typescript/src/NativeSessionRecorderModuleSpec.d.ts.map +0 -1
- package/lib/typescript/src/NativeSessionRecorderNative.d.ts +0 -25
- package/lib/typescript/src/NativeSessionRecorderNative.d.ts.map +0 -1
- package/lib/typescript/src/components/ErrorBoundary.d.ts +0 -16
- package/lib/typescript/src/components/ErrorBoundary.d.ts.map +0 -1
- package/lib/typescript/src/components/ScreenRecorderView/ScreenRecorderView.d.ts +0 -6
- package/lib/typescript/src/components/ScreenRecorderView/ScreenRecorderView.d.ts.map +0 -1
- package/lib/typescript/src/components/ScreenRecorderView/index.d.ts +0 -2
- package/lib/typescript/src/components/ScreenRecorderView/index.d.ts.map +0 -1
- package/lib/typescript/src/components/SessionRecorderWidget/ErrorBanner.d.ts +0 -8
- package/lib/typescript/src/components/SessionRecorderWidget/ErrorBanner.d.ts.map +0 -1
- package/lib/typescript/src/components/SessionRecorderWidget/FinalPopover.d.ts +0 -13
- package/lib/typescript/src/components/SessionRecorderWidget/FinalPopover.d.ts.map +0 -1
- package/lib/typescript/src/components/SessionRecorderWidget/FloatingButton.d.ts +0 -9
- package/lib/typescript/src/components/SessionRecorderWidget/FloatingButton.d.ts.map +0 -1
- package/lib/typescript/src/components/SessionRecorderWidget/InitialPopover.d.ts +0 -17
- package/lib/typescript/src/components/SessionRecorderWidget/InitialPopover.d.ts.map +0 -1
- package/lib/typescript/src/components/SessionRecorderWidget/ModalContainer.d.ts +0 -9
- package/lib/typescript/src/components/SessionRecorderWidget/ModalContainer.d.ts.map +0 -1
- package/lib/typescript/src/components/SessionRecorderWidget/ModalHeader.d.ts +0 -7
- package/lib/typescript/src/components/SessionRecorderWidget/ModalHeader.d.ts.map +0 -1
- package/lib/typescript/src/components/SessionRecorderWidget/SessionRecorderWidget.d.ts +0 -6
- package/lib/typescript/src/components/SessionRecorderWidget/SessionRecorderWidget.d.ts.map +0 -1
- package/lib/typescript/src/components/SessionRecorderWidget/icons.d.ts +0 -12
- package/lib/typescript/src/components/SessionRecorderWidget/icons.d.ts.map +0 -1
- package/lib/typescript/src/components/SessionRecorderWidget/index.d.ts +0 -3
- package/lib/typescript/src/components/SessionRecorderWidget/index.d.ts.map +0 -1
- package/lib/typescript/src/components/SessionRecorderWidget/styles.d.ts +0 -166
- package/lib/typescript/src/components/SessionRecorderWidget/styles.d.ts.map +0 -1
- package/lib/typescript/src/components/index.d.ts +0 -4
- package/lib/typescript/src/components/index.d.ts.map +0 -1
- package/lib/typescript/src/config/constants.d.ts +0 -22
- package/lib/typescript/src/config/constants.d.ts.map +0 -1
- package/lib/typescript/src/config/defaults.d.ts +0 -5
- package/lib/typescript/src/config/defaults.d.ts.map +0 -1
- package/lib/typescript/src/config/index.d.ts +0 -6
- package/lib/typescript/src/config/index.d.ts.map +0 -1
- package/lib/typescript/src/config/masking.d.ts +0 -3
- package/lib/typescript/src/config/masking.d.ts.map +0 -1
- package/lib/typescript/src/config/session-recorder.d.ts +0 -3
- package/lib/typescript/src/config/session-recorder.d.ts.map +0 -1
- package/lib/typescript/src/config/validators.d.ts +0 -11
- package/lib/typescript/src/config/validators.d.ts.map +0 -1
- package/lib/typescript/src/config/widget.d.ts +0 -10
- package/lib/typescript/src/config/widget.d.ts.map +0 -1
- package/lib/typescript/src/context/SessionRecorderContext.d.ts +0 -22
- package/lib/typescript/src/context/SessionRecorderContext.d.ts.map +0 -1
- package/lib/typescript/src/context/SessionRecorderStore.d.ts +0 -13
- package/lib/typescript/src/context/SessionRecorderStore.d.ts.map +0 -1
- package/lib/typescript/src/context/createStore.d.ts +0 -9
- package/lib/typescript/src/context/createStore.d.ts.map +0 -1
- package/lib/typescript/src/context/useSessionRecorderStore.d.ts +0 -29
- package/lib/typescript/src/context/useSessionRecorderStore.d.ts.map +0 -1
- package/lib/typescript/src/context/useStoreSelector.d.ts +0 -5
- package/lib/typescript/src/context/useStoreSelector.d.ts.map +0 -1
- package/lib/typescript/src/index.d.ts +0 -9
- package/lib/typescript/src/index.d.ts.map +0 -1
- package/lib/typescript/src/native/SessionRecorderNative.d.ts +0 -29
- package/lib/typescript/src/native/SessionRecorderNative.d.ts.map +0 -1
- package/lib/typescript/src/native/index.d.ts +0 -2
- package/lib/typescript/src/native/index.d.ts.map +0 -1
- package/lib/typescript/src/otel/CrashBufferSpanProcessor.d.ts +0 -17
- package/lib/typescript/src/otel/CrashBufferSpanProcessor.d.ts.map +0 -1
- package/lib/typescript/src/otel/helpers.d.ts +0 -46
- package/lib/typescript/src/otel/helpers.d.ts.map +0 -1
- package/lib/typescript/src/otel/index.d.ts +0 -33
- package/lib/typescript/src/otel/index.d.ts.map +0 -1
- package/lib/typescript/src/otel/instrumentations/index.d.ts +0 -5
- package/lib/typescript/src/otel/instrumentations/index.d.ts.map +0 -1
- package/lib/typescript/src/patch/configs.d.ts +0 -9
- package/lib/typescript/src/patch/configs.d.ts.map +0 -1
- package/lib/typescript/src/patch/fetch.d.ts +0 -2
- package/lib/typescript/src/patch/fetch.d.ts.map +0 -1
- package/lib/typescript/src/patch/index.d.ts +0 -4
- package/lib/typescript/src/patch/index.d.ts.map +0 -1
- package/lib/typescript/src/patch/xhr.d.ts +0 -2
- package/lib/typescript/src/patch/xhr.d.ts.map +0 -1
- package/lib/typescript/src/recorder/gestureRecorder.d.ts +0 -66
- package/lib/typescript/src/recorder/gestureRecorder.d.ts.map +0 -1
- package/lib/typescript/src/recorder/index.d.ts +0 -79
- package/lib/typescript/src/recorder/index.d.ts.map +0 -1
- package/lib/typescript/src/recorder/navigationRecorder.d.ts +0 -29
- package/lib/typescript/src/recorder/navigationRecorder.d.ts.map +0 -1
- package/lib/typescript/src/recorder/screenRecorder.d.ts +0 -127
- package/lib/typescript/src/recorder/screenRecorder.d.ts.map +0 -1
- package/lib/typescript/src/services/api.service.d.ts +0 -116
- package/lib/typescript/src/services/api.service.d.ts.map +0 -1
- package/lib/typescript/src/services/crashBuffer.service.d.ts +0 -27
- package/lib/typescript/src/services/crashBuffer.service.d.ts.map +0 -1
- package/lib/typescript/src/services/network.service.d.ts +0 -47
- package/lib/typescript/src/services/network.service.d.ts.map +0 -1
- package/lib/typescript/src/services/screenRecordingService.d.ts +0 -48
- package/lib/typescript/src/services/screenRecordingService.d.ts.map +0 -1
- package/lib/typescript/src/services/socket.service.d.ts +0 -44
- package/lib/typescript/src/services/socket.service.d.ts.map +0 -1
- package/lib/typescript/src/services/storage.service.d.ts +0 -47
- package/lib/typescript/src/services/storage.service.d.ts.map +0 -1
- package/lib/typescript/src/session-recorder.d.ts +0 -191
- package/lib/typescript/src/session-recorder.d.ts.map +0 -1
- package/lib/typescript/src/types/configs.d.ts +0 -92
- package/lib/typescript/src/types/configs.d.ts.map +0 -1
- package/lib/typescript/src/types/index.d.ts +0 -21
- package/lib/typescript/src/types/index.d.ts.map +0 -1
- package/lib/typescript/src/types/session-recorder.d.ts +0 -367
- package/lib/typescript/src/types/session-recorder.d.ts.map +0 -1
- package/lib/typescript/src/utils/app-metadata.d.ts +0 -17
- package/lib/typescript/src/utils/app-metadata.d.ts.map +0 -1
- package/lib/typescript/src/utils/constants.optional.d.ts +0 -22
- package/lib/typescript/src/utils/constants.optional.d.ts.map +0 -1
- package/lib/typescript/src/utils/constants.optional.expo.d.ts +0 -4
- package/lib/typescript/src/utils/constants.optional.expo.d.ts.map +0 -1
- package/lib/typescript/src/utils/index.d.ts +0 -8
- package/lib/typescript/src/utils/index.d.ts.map +0 -1
- package/lib/typescript/src/utils/logger.d.ts +0 -108
- package/lib/typescript/src/utils/logger.d.ts.map +0 -1
- package/lib/typescript/src/utils/platform.d.ts +0 -58
- package/lib/typescript/src/utils/platform.d.ts.map +0 -1
- package/lib/typescript/src/utils/request-utils.d.ts +0 -22
- package/lib/typescript/src/utils/request-utils.d.ts.map +0 -1
- package/lib/typescript/src/utils/rrweb-events.d.ts +0 -67
- package/lib/typescript/src/utils/rrweb-events.d.ts.map +0 -1
- package/lib/typescript/src/utils/session.d.ts +0 -7
- package/lib/typescript/src/utils/session.d.ts.map +0 -1
- package/lib/typescript/src/utils/shallowEqual.d.ts +0 -2
- package/lib/typescript/src/utils/shallowEqual.d.ts.map +0 -1
- package/lib/typescript/src/utils/time.d.ts +0 -5
- package/lib/typescript/src/utils/time.d.ts.map +0 -1
- package/lib/typescript/src/utils/type-utils.d.ts +0 -17
- package/lib/typescript/src/utils/type-utils.d.ts.map +0 -1
- package/lib/typescript/src/version.d.ts +0 -2
- package/lib/typescript/src/version.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session-recorder.d.ts","sourceRoot":"","sources":["../../../../src/types/session-recorder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,KAAK,eAAe,EACrB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAIjF,oBAAY,YAAY;IACtB,OAAO,MAAM;IACb,MAAM,MAAM;IACZ,OAAO,MAAM;CACd;AAED;;GAEG;AACH,oBAAY,qBAAqB;IAC/B,OAAO,aAAa;IACpB,QAAQ,cAAc;IACtB,UAAU,gBAAgB;IAC1B,WAAW,iBAAiB;CAC7B;AAED;;GAEG;AACH,oBAAY,QAAQ;IAClB,KAAK,IAAI;IACT,IAAI,IAAI;IACR,IAAI,IAAI;IACR,KAAK,IAAI;CACV;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IA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IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACvC,UAAU,CAAC,EAAE;QACX,UAAU,EAAE,MAAM,CAAC;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Auto-generated app metadata
|
|
3
|
-
* This file is generated at build time to provide app metadata without developer intervention
|
|
4
|
-
*/
|
|
5
|
-
export interface AppMetadata {
|
|
6
|
-
name?: string;
|
|
7
|
-
version?: string;
|
|
8
|
-
bundleId?: string;
|
|
9
|
-
buildNumber?: string;
|
|
10
|
-
displayName?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const APP_METADATA: AppMetadata;
|
|
13
|
-
/**
|
|
14
|
-
* Get auto-detected app metadata
|
|
15
|
-
*/
|
|
16
|
-
export declare function getAutoDetectedAppMetadata(): AppMetadata;
|
|
17
|
-
//# sourceMappingURL=app-metadata.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app-metadata.d.ts","sourceRoot":"","sources":["../../../../src/utils/app-metadata.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAKH,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAGD,eAAO,MAAM,YAAY,EAAE,WAM1B,CAAC;AAEF;;GAEG;AACH,wBAAgB,0BAA0B,IAAI,WAAW,CAExD"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export type OptionalExpoConstants = {
|
|
2
|
-
expoVersion?: string;
|
|
3
|
-
platform?: {
|
|
4
|
-
ios?: unknown;
|
|
5
|
-
android?: unknown;
|
|
6
|
-
};
|
|
7
|
-
expoConfig?: {
|
|
8
|
-
name?: string;
|
|
9
|
-
version?: string;
|
|
10
|
-
ios?: {
|
|
11
|
-
buildNumber?: string | number;
|
|
12
|
-
bundleIdentifier?: string;
|
|
13
|
-
};
|
|
14
|
-
android?: {
|
|
15
|
-
versionCode?: string | number;
|
|
16
|
-
package?: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
} | undefined;
|
|
20
|
-
declare const OptionalConstants: OptionalExpoConstants;
|
|
21
|
-
export default OptionalConstants;
|
|
22
|
-
//# sourceMappingURL=constants.optional.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.optional.d.ts","sourceRoot":"","sources":["../../../../src/utils/constants.optional.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,qBAAqB,GAC7B;IACE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,OAAO,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IAChD,UAAU,CAAC,EAAE;QACX,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,GAAG,CAAC,EAAE;YAAE,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;YAAC,gBAAgB,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;QACnE,OAAO,CAAC,EAAE;YAAE,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;YAAC,OAAO,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;KAC/D,CAAC;CACH,GACD,SAAS,CAAC;AAEd,QAAA,MAAM,iBAAiB,EAAE,qBAAiC,CAAC;AAE3D,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.optional.expo.d.ts","sourceRoot":"","sources":["../../../../src/utils/constants.optional.expo.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;wBAEtC,qBAAqB;AAAjD,wBAAkD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC"}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Centralized logger utility for the session recorder
|
|
3
|
-
* Provides consistent logging across all components
|
|
4
|
-
*/
|
|
5
|
-
import { LogLevel } from '../types';
|
|
6
|
-
export interface LoggerConfig {
|
|
7
|
-
level: LogLevel;
|
|
8
|
-
enabled: boolean;
|
|
9
|
-
enablePrefix: boolean;
|
|
10
|
-
prefix: string;
|
|
11
|
-
}
|
|
12
|
-
declare class Logger {
|
|
13
|
-
private config;
|
|
14
|
-
private componentPrefixes;
|
|
15
|
-
/**
|
|
16
|
-
* Configure the logger
|
|
17
|
-
* @param config - Logger configuration
|
|
18
|
-
*/
|
|
19
|
-
configure(config: Partial<LoggerConfig>): void;
|
|
20
|
-
/**
|
|
21
|
-
* Set the log level
|
|
22
|
-
* @param level - Log level to set
|
|
23
|
-
*/
|
|
24
|
-
setLevel(level: LogLevel): void;
|
|
25
|
-
/**
|
|
26
|
-
* Enable or disable console output
|
|
27
|
-
* @param enabled - Whether to enable console output
|
|
28
|
-
*/
|
|
29
|
-
setConsoleEnabled(enabled: boolean): void;
|
|
30
|
-
/**
|
|
31
|
-
* Add or update a component prefix
|
|
32
|
-
* @param component - Component name
|
|
33
|
-
* @param emoji - Emoji prefix for the component
|
|
34
|
-
*/
|
|
35
|
-
setComponentPrefix(component: string, emoji: string): void;
|
|
36
|
-
/**
|
|
37
|
-
* Get the formatted prefix for a component
|
|
38
|
-
* @param component - Component name
|
|
39
|
-
* @returns Formatted prefix string
|
|
40
|
-
*/
|
|
41
|
-
private getPrefix;
|
|
42
|
-
/**
|
|
43
|
-
* Check if a log level should be output
|
|
44
|
-
* @param level - Log level to check
|
|
45
|
-
* @returns True if should output
|
|
46
|
-
*/
|
|
47
|
-
private shouldLog;
|
|
48
|
-
/**
|
|
49
|
-
* Format the log message
|
|
50
|
-
* @param component - Component name
|
|
51
|
-
* @param level - Log level
|
|
52
|
-
* @param message - Log message
|
|
53
|
-
* @param data - Additional data to log
|
|
54
|
-
* @returns Formatted log message
|
|
55
|
-
*/
|
|
56
|
-
private formatMessage;
|
|
57
|
-
/**
|
|
58
|
-
* Log a debug message
|
|
59
|
-
* @param component - Component name
|
|
60
|
-
* @param message - Log message
|
|
61
|
-
* @param data - Additional data to log
|
|
62
|
-
*/
|
|
63
|
-
debug(component: string, message: string, data?: any): void;
|
|
64
|
-
/**
|
|
65
|
-
* Log an info message
|
|
66
|
-
* @param component - Component name
|
|
67
|
-
* @param message - Log message
|
|
68
|
-
* @param data - Additional data to log
|
|
69
|
-
*/
|
|
70
|
-
info(component: string, message: string, data?: any): void;
|
|
71
|
-
/**
|
|
72
|
-
* Log a warning message
|
|
73
|
-
* @param component - Component name
|
|
74
|
-
* @param message - Log message
|
|
75
|
-
* @param data - Additional data to log
|
|
76
|
-
*/
|
|
77
|
-
warn(component: string, message: string, data?: any): void;
|
|
78
|
-
/**
|
|
79
|
-
* Log an error message
|
|
80
|
-
* @param component - Component name
|
|
81
|
-
* @param message - Log message
|
|
82
|
-
* @param data - Additional data to log
|
|
83
|
-
*/
|
|
84
|
-
error(component: string, message: string, data?: any): void;
|
|
85
|
-
/**
|
|
86
|
-
* Log a success message (info level with success emoji)
|
|
87
|
-
* @param component - Component name
|
|
88
|
-
* @param message - Log message
|
|
89
|
-
* @param data - Additional data to log
|
|
90
|
-
*/
|
|
91
|
-
success(component: string, message: string, data?: any): void;
|
|
92
|
-
/**
|
|
93
|
-
* Log a failure message (error level with failure emoji)
|
|
94
|
-
* @param component - Component name
|
|
95
|
-
* @param message - Log message
|
|
96
|
-
* @param data - Additional data to log
|
|
97
|
-
*/
|
|
98
|
-
failure(component: string, message: string, data?: any): void;
|
|
99
|
-
}
|
|
100
|
-
export declare const logger: Logger;
|
|
101
|
-
export declare const logDebug: (component: string, message: string, data?: any) => void;
|
|
102
|
-
export declare const logInfo: (component: string, message: string, data?: any) => void;
|
|
103
|
-
export declare const logWarn: (component: string, message: string, data?: any) => void;
|
|
104
|
-
export declare const logError: (component: string, message: string, data?: any) => void;
|
|
105
|
-
export declare const logSuccess: (component: string, message: string, data?: any) => void;
|
|
106
|
-
export declare const logFailure: (component: string, message: string, data?: any) => void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AG,IAAI;IAa1D;;;;;OAKG;IACH,KAAK,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,IAAI;IAa3D;;;;;OAKG;IACH,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,IAAI;IAc7D;;;;;OAKG;IACH,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,IAAI;CAa9D;AAGD,eAAO,MAAM,MAAM,QAAe,CAAC;AAGnC,eAAO,MAAM,QAAQ,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,EAAE,OAAO,GAAG,SAC/B,CAAC;AACzC,eAAO,MAAM,OAAO,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,EAAE,OAAO,GAAG,SAC/B,CAAC;AACxC,eAAO,MAAM,OAAO,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,EAAE,OAAO,GAAG,SAC/B,CAAC;AACxC,eAAO,MAAM,QAAQ,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,EAAE,OAAO,GAAG,SAC/B,CAAC;AACzC,eAAO,MAAM,UAAU,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,EAAE,OAAO,GAAG,SAC/B,CAAC;AAC3C,eAAO,MAAM,UAAU,GAAI,WAAW,MAAM,EAAE,SAAS,MAAM,EAAE,OAAO,GAAG,SAC/B,CAAC"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { type IResourceAttributes } from '@multiplayer-app/session-recorder-common';
|
|
2
|
-
export interface PlatformInfo {
|
|
3
|
-
isExpo: boolean;
|
|
4
|
-
isReactNative: boolean;
|
|
5
|
-
platform: 'ios' | 'android' | 'web' | 'unknown';
|
|
6
|
-
platformVersion?: string;
|
|
7
|
-
expoVersion?: string;
|
|
8
|
-
deviceType: string;
|
|
9
|
-
}
|
|
10
|
-
export declare function detectPlatform(): PlatformInfo;
|
|
11
|
-
export declare function getPlatformAttributes(): Record<string, any>;
|
|
12
|
-
export declare function isExpoEnvironment(): boolean;
|
|
13
|
-
export declare function isReactNativeEnvironment(): boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Configure app metadata for non-Expo React Native apps
|
|
16
|
-
* Call this function in your app initialization to provide app information
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import { configureAppMetadata } from '@multiplayer-app/session-recorder-react-native'
|
|
21
|
-
*
|
|
22
|
-
* // In your App.tsx or index.js
|
|
23
|
-
* configureAppMetadata({
|
|
24
|
-
* name: 'My Awesome App',
|
|
25
|
-
* version: '1.2.3',
|
|
26
|
-
* bundleId: 'com.mycompany.myapp',
|
|
27
|
-
* buildNumber: '123',
|
|
28
|
-
* displayName: 'My App',
|
|
29
|
-
* })
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
export declare function configureAppMetadata(metadata: {
|
|
33
|
-
name?: string;
|
|
34
|
-
version?: string;
|
|
35
|
-
bundleId?: string;
|
|
36
|
-
buildNumber?: string;
|
|
37
|
-
displayName?: string;
|
|
38
|
-
}): void;
|
|
39
|
-
/**
|
|
40
|
-
* Get configured app metadata
|
|
41
|
-
*/
|
|
42
|
-
export declare function getConfiguredAppMetadata(): {
|
|
43
|
-
name?: string;
|
|
44
|
-
version?: string;
|
|
45
|
-
bundleId?: string;
|
|
46
|
-
buildNumber?: string;
|
|
47
|
-
displayName?: string;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Enhanced app metadata detection with automatic fallbacks
|
|
51
|
-
*/
|
|
52
|
-
export declare function getAppMetadata(): {
|
|
53
|
-
name?: string;
|
|
54
|
-
version?: string;
|
|
55
|
-
bundleId?: string;
|
|
56
|
-
};
|
|
57
|
-
export declare const getNavigatorInfo: () => IResourceAttributes;
|
|
58
|
-
//# sourceMappingURL=platform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C,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAsBA;AAoBD,eAAO,MAAM,gBAAgB,QAAO,mBAwLnC,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Request utility functions for React Native
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Convert FormData to query string (React Native compatible)
|
|
6
|
-
* @param formData - FormData object
|
|
7
|
-
* @returns Query string
|
|
8
|
-
*/
|
|
9
|
-
export declare const formDataToQuery: (formData: any) => string;
|
|
10
|
-
/**
|
|
11
|
-
* Convert object to query string
|
|
12
|
-
* @param obj - Object to convert
|
|
13
|
-
* @returns Query string
|
|
14
|
-
*/
|
|
15
|
-
export declare const objectToQuery: (obj: Record<string, any>) => string;
|
|
16
|
-
/**
|
|
17
|
-
* Parse query string to object
|
|
18
|
-
* @param queryString - Query string to parse
|
|
19
|
-
* @returns Object with parsed parameters
|
|
20
|
-
*/
|
|
21
|
-
export declare const queryToObject: (queryString: string) => Record<string, string>;
|
|
22
|
-
//# sourceMappingURL=request-utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"request-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/request-utils.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,UAAU,GAAG,KAAG,MAkB/C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,GAAI,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAG,MAUxD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,GAAI,aAAa,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CASxE,CAAC"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { type eventWithTime, type serializedNodeWithId } from '@rrweb/types';
|
|
2
|
-
/**
|
|
3
|
-
* Creates a meta event to mark the start of recording
|
|
4
|
-
* @param sessionId - The session ID
|
|
5
|
-
* @param sessionType - The type of session (PLAIN or CONTINUOUS)
|
|
6
|
-
* @param additionalData - Additional data to include in the meta event
|
|
7
|
-
* @returns MetaEvent object
|
|
8
|
-
*/
|
|
9
|
-
export declare function createRecordingMetaEvent(): eventWithTime;
|
|
10
|
-
/**
|
|
11
|
-
* Create a full snapshot event with the given base64 image
|
|
12
|
-
* @param base64Image - Base64 encoded image data
|
|
13
|
-
* @param width - Screen width
|
|
14
|
-
* @param height - Screen height
|
|
15
|
-
* @param captureFormat - Image format (png, jpg, etc.)
|
|
16
|
-
* @param nodeIdCounter - Starting node ID counter (will be modified)
|
|
17
|
-
* @param timestamp - Optional timestamp to use for the event
|
|
18
|
-
* @returns Full snapshot event
|
|
19
|
-
*/
|
|
20
|
-
export declare function createFullSnapshotEvent(base64Image: string, width: number, height: number, captureFormat: string | undefined, nodeIdCounter: {
|
|
21
|
-
current: number;
|
|
22
|
-
}, timestamp?: number): eventWithTime;
|
|
23
|
-
/**
|
|
24
|
-
* Create an incremental snapshot event with mutation data to update image src
|
|
25
|
-
* @param base64Image - New base64 encoded image data
|
|
26
|
-
* @param captureFormat - Image format (png, jpg, etc.)
|
|
27
|
-
* @param timestamp - Optional timestamp to use for the event
|
|
28
|
-
* @returns Incremental snapshot event with mutation data
|
|
29
|
-
*/
|
|
30
|
-
export declare function createIncrementalSnapshotWithImageUpdate(base64Image: string, captureFormat?: string, timestamp?: number): eventWithTime;
|
|
31
|
-
/**
|
|
32
|
-
* Create a simple image node for React Native screen capture
|
|
33
|
-
* @param base64Image - Base64 encoded image data
|
|
34
|
-
* @param width - Image width
|
|
35
|
-
* @param height - Image height
|
|
36
|
-
* @param captureFormat - Image format (png, jpg, etc.)
|
|
37
|
-
* @param nodeId - Node ID for the image
|
|
38
|
-
* @returns Serialized node with ID
|
|
39
|
-
*/
|
|
40
|
-
export declare function createImageNode(base64Image: string, width: number, height: number, captureFormat: string | undefined, nodeId: number): serializedNodeWithId;
|
|
41
|
-
/**
|
|
42
|
-
* Create a document node for React Native screen capture
|
|
43
|
-
* @param imageNode - The image node to include
|
|
44
|
-
* @param width - Screen width
|
|
45
|
-
* @param height - Screen height
|
|
46
|
-
* @param nodeIdCounter - Node ID counter (will be modified)
|
|
47
|
-
* @returns Document node
|
|
48
|
-
*/
|
|
49
|
-
export declare function createDocumentNode(imageNode: serializedNodeWithId, width: number, height: number, nodeIdCounter: {
|
|
50
|
-
current: number;
|
|
51
|
-
}): serializedNodeWithId;
|
|
52
|
-
/**
|
|
53
|
-
* Generate a simple hash for screen comparison
|
|
54
|
-
* This is a lightweight hash that focuses on the beginning and end of the base64 string
|
|
55
|
-
* to detect changes without doing a full comparison
|
|
56
|
-
* @param base64Image - Base64 encoded image
|
|
57
|
-
* @param sampleSize - Number of characters to sample from each part
|
|
58
|
-
* @returns Hash string for comparison
|
|
59
|
-
*/
|
|
60
|
-
export declare function generateScreenHash(base64Image: string, sampleSize?: number): string;
|
|
61
|
-
/**
|
|
62
|
-
* Simple hash function for string comparison
|
|
63
|
-
* @param str - String to hash
|
|
64
|
-
* @returns Hash value as string
|
|
65
|
-
*/
|
|
66
|
-
export declare function simpleHash(str: string): string;
|
|
67
|
-
//# sourceMappingURL=rrweb-events.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rrweb-events.d.ts","sourceRoot":"","sources":["../../../../src/utils/rrweb-events.ts"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,aAAa,EAClB,KAAK,oBAAoB,EAC1B,MAAM,cAAc,CAAC;AAGtB;;;;;;GAMG;AACH,wBAAgB,wBAAwB,IAAI,aAAa,CAcxD;AAED;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,CACrC,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,YAAQ,EAC7B,aAAa,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,EAClC,SAAS,CAAC,EAAE,MAAM,GACjB,aAAa,CA2Ff;AAED;;;;;;GAMG;AACH,wBAAgB,wCAAwC,CACtD,WAAW,EAAE,MAAM,EACnB,aAAa,GAAE,MAAc,EAC7B,SAAS,CAAC,EAAE,MAAM,GACjB,aAAa,CAqBf;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAC7B,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,YAAQ,EAC7B,MAAM,EAAE,MAAM,GACb,oBAAoB,CAatB;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,oBAAoB,EAC/B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,aAAa,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,GACjC,oBAAoB,CAkEtB;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,MAAM,EACnB,UAAU,GAAE,MAAY,GACvB,MAAM,CAaR;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAQ9C"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SessionType } from '@multiplayer-app/session-recorder-common';
|
|
2
|
-
/**
|
|
3
|
-
* Session-related utility functions for React Native
|
|
4
|
-
*/
|
|
5
|
-
export declare const isSessionActive: (session: any, sessionType: SessionType | null) => boolean;
|
|
6
|
-
export declare const isConsoleEvent: (event: any) => boolean;
|
|
7
|
-
//# sourceMappingURL=session.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../../../src/utils/session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAGvE;;GAEG;AAEH,eAAO,MAAM,eAAe,GAC1B,SAAS,GAAG,EACZ,aAAa,WAAW,GAAG,IAAI,KAC9B,OAOF,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,GAAG,KAAG,OAE3C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shallowEqual.d.ts","sourceRoot":"","sources":["../../../../src/utils/shallowEqual.ts"],"names":[],"mappings":"AAAA,wBAAgB,YAAY,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACxD,CAAC,EAAE,CAAC,EACJ,CAAC,EAAE,CAAC,GACH,OAAO,CAgBT"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../../src/utils/time.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,eAAO,MAAM,gBAAgB,GAC3B,MAAM,MAAM,GAAG,IAAI,EACnB,UAAU,GAAG,KACZ,MAYF,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const hasOwnProperty: (v: PropertyKey) => boolean;
|
|
2
|
-
export declare const isArray: (arg: any) => arg is any[];
|
|
3
|
-
export declare const isUint8Array: (x: unknown) => x is Uint8Array;
|
|
4
|
-
export declare const isFunction: (f: any) => f is (...args: any[]) => any;
|
|
5
|
-
export declare const isObject: (x: unknown) => x is Record<string, any>;
|
|
6
|
-
export declare const isEmptyObject: (x: unknown) => x is Record<string, any>;
|
|
7
|
-
export declare const isUndefined: (x: unknown) => x is undefined;
|
|
8
|
-
export declare const isString: (x: unknown) => x is string;
|
|
9
|
-
export declare const isEmptyString: (x: unknown) => boolean;
|
|
10
|
-
export declare const isNull: (x: unknown) => x is null;
|
|
11
|
-
export declare const isNullish: (x: unknown) => x is null | undefined;
|
|
12
|
-
export declare const isDate: (x: unknown) => x is Date;
|
|
13
|
-
export declare const isNumber: (x: unknown) => x is number;
|
|
14
|
-
export declare const isBoolean: (x: unknown) => x is boolean;
|
|
15
|
-
export declare const isFormData: (x: unknown) => x is FormData;
|
|
16
|
-
export declare const isFile: (x: unknown) => x is File;
|
|
17
|
-
//# sourceMappingURL=type-utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type-utils.d.ts","sourceRoot":"","sources":["../../../../src/utils/type-utils.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,6BAA0B,CAAC;AAGtD,eAAO,MAAM,OAAO,4BAIjB,CAAC;AACJ,eAAO,MAAM,YAAY,GAAa,GAAG,OAAO,KAAG,CAAC,IAAI,UAEvD,CAAC;AAIF,eAAO,MAAM,UAAU,GAAa,GAAG,GAAG,KAAG,CAAC,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAErE,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAa,GAAG,OAAO,KAAG,CAAC,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAErE,CAAC;AACF,eAAO,MAAM,aAAa,GAAa,GAAG,OAAO,KAAG,CAAC,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAU1E,CAAC;AACF,eAAO,MAAM,WAAW,GAAa,GAAG,OAAO,KAAG,CAAC,IAAI,SAEtD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAa,GAAG,OAAO,KAAG,CAAC,IAAI,MAEnD,CAAC;AAEF,eAAO,MAAM,aAAa,GAAa,GAAG,OAAO,KAAG,OAEnD,CAAC;AAEF,eAAO,MAAM,MAAM,GAAa,GAAG,OAAO,KAAG,CAAC,IAAI,IAEjD,CAAC;AAMF,eAAO,MAAM,SAAS,GAAa,GAAG,OAAO,KAAG,CAAC,IAAI,IAAI,GAAG,SAE3D,CAAC;AAEF,eAAO,MAAM,MAAM,GAAa,GAAG,OAAO,KAAG,CAAC,IAAI,IAEjD,CAAC;AACF,eAAO,MAAM,QAAQ,GAAa,GAAG,OAAO,KAAG,CAAC,IAAI,MAEnD,CAAC;AACF,eAAO,MAAM,SAAS,GAAa,GAAG,OAAO,KAA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