sitepong 0.2.2 → 0.2.4
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/android/build.gradle +39 -0
- package/android/src/main/java/com/sitepong/deviceid/DeviceIdHelper.kt +45 -0
- package/android/src/main/java/com/sitepong/deviceid/DeviceIdModule.kt +45 -0
- package/android/src/main/java/com/sitepong/screenrecorder/ChunkUploader.kt +78 -0
- package/android/src/main/java/com/sitepong/screenrecorder/H264Encoder.kt +163 -0
- package/android/src/main/java/com/sitepong/screenrecorder/ScreenCapture.kt +103 -0
- package/android/src/main/java/com/sitepong/screenrecorder/ScreenRecorderModule.kt +80 -0
- package/android/src/main/java/com/sitepong/screenrecorder/SensitiveViewManager.kt +19 -0
- package/app.plugin.js +426 -0
- package/dist/cdn/sitepong.min.js +5 -5
- package/dist/cdn/sitepong.min.js.map +1 -1
- package/dist/entries/rn.d.ts +188 -16
- package/dist/entries/rn.js +188 -35
- package/dist/entries/rn.js.map +1 -1
- package/dist/entries/web.js +2 -1
- package/dist/entries/web.js.map +1 -1
- package/dist/entries/web.mjs +2 -1
- package/dist/entries/web.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/react/index.js +2 -1
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +2 -1
- package/dist/react/index.mjs.map +1 -1
- package/expo-module.config.json +16 -0
- package/ios/DeviceId/DeviceIdModule.swift +55 -0
- package/ios/DeviceId/KeychainHelper.swift +68 -0
- package/ios/LiveActivity/ConfigStore.swift +43 -0
- package/ios/LiveActivity/DSLNode.swift +188 -0
- package/ios/LiveActivity/SitePongActivityAttributes.swift +112 -0
- package/ios/LiveActivity/SitePongLiveActivityModule.swift +250 -0
- package/ios/LiveActivity/widget/ColorHex.swift +30 -0
- package/ios/LiveActivity/widget/DSLAnimations.swift +128 -0
- package/ios/LiveActivity/widget/DSLRenderer.swift +538 -0
- package/ios/LiveActivity/widget/SitePongLiveActivityWidget.swift +393 -0
- package/ios/LiveActivity/widget/SitePongWidgetBundle.swift +84 -0
- package/ios/ScreenRecorder/ChunkUploader.swift +52 -0
- package/ios/ScreenRecorder/H264Encoder.swift +229 -0
- package/ios/ScreenRecorder/ScreenCapture.swift +149 -0
- package/ios/ScreenRecorder/ScreenRecorderModule.swift +179 -0
- package/ios/ScreenRecorder/SensitiveViewManager.swift +63 -0
- package/ios/Sitepong.podspec +57 -0
- package/ios/WatchtowerCore/Screenshotter.swift +163 -0
- package/ios/WatchtowerCore/SwiftUIModifiers.swift +78 -0
- package/ios/WatchtowerCore/Swizzling.swift +59 -0
- package/ios/WatchtowerCore/TapEvent.swift +61 -0
- package/ios/WatchtowerCore/Transport.swift +136 -0
- package/ios/WatchtowerCore/UIViewExtensions.swift +31 -0
- package/ios/WatchtowerCore/Watchtower.swift +80 -0
- package/ios/WatchtowerCore/WatchtowerEngine.swift +565 -0
- package/ios/WatchtowerCore/WatchtowerHash.swift +120 -0
- package/ios/WatchtowerCore/WatchtowerRegistry.swift +87 -0
- package/package.json +19 -8
package/dist/index.d.mts
CHANGED
|
@@ -698,7 +698,7 @@ interface EnvironmentAdapter {
|
|
|
698
698
|
}
|
|
699
699
|
/**
|
|
700
700
|
* RN environment extension: the React Native provider collects device info
|
|
701
|
-
* and storage after app boot (AsyncStorage,
|
|
701
|
+
* and storage after app boot (AsyncStorage, the bundled SitePongDeviceId native module, etc.), so
|
|
702
702
|
* the RN adapter exposes typed mutation hooks the provider can call.
|
|
703
703
|
*
|
|
704
704
|
* These are NOT on the base EnvironmentAdapter because web/node adapters
|
package/dist/index.d.ts
CHANGED
|
@@ -698,7 +698,7 @@ interface EnvironmentAdapter {
|
|
|
698
698
|
}
|
|
699
699
|
/**
|
|
700
700
|
* RN environment extension: the React Native provider collects device info
|
|
701
|
-
* and storage after app boot (AsyncStorage,
|
|
701
|
+
* and storage after app boot (AsyncStorage, the bundled SitePongDeviceId native module, etc.), so
|
|
702
702
|
* the RN adapter exposes typed mutation hooks the provider can call.
|
|
703
703
|
*
|
|
704
704
|
* These are NOT on the base EnvironmentAdapter because web/node adapters
|
package/dist/index.js
CHANGED
|
@@ -1824,7 +1824,8 @@ var RemoteConfigManager = class {
|
|
|
1824
1824
|
if (this.refreshTimer) {
|
|
1825
1825
|
clearTimeout(this.refreshTimer);
|
|
1826
1826
|
}
|
|
1827
|
-
const
|
|
1827
|
+
const ttlSec = typeof this.config.ttl === "number" && this.config.ttl > 0 ? this.config.ttl : 300;
|
|
1828
|
+
const ttlMs = ttlSec * 1e3;
|
|
1828
1829
|
this.refreshTimer = setTimeout(() => {
|
|
1829
1830
|
this.fetchAndApply().catch((err) => {
|
|
1830
1831
|
this.log("Refresh failed:", err);
|