@aguacerowx/react-native 0.0.53 → 0.0.54
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/LICENSE +21 -0
- package/android/src/main/java/com/aguacerowx/reactnative/NexradRadarLayerView.java +14 -2
- package/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +77 -0
- package/index.js +1 -1
- package/ios/WeatherFrameProcessorModule.m +19 -15
- package/ios/WeatherFrameProcessorModule.swift +65 -0
- package/lib/commonjs/AguaceroContext.js +0 -4
- package/lib/commonjs/AguaceroContext.js.map +1 -1
- package/lib/commonjs/GridRenderLayer.js +62 -76
- package/lib/commonjs/GridRenderLayer.js.map +1 -1
- package/lib/commonjs/MapManager.js +110 -224
- package/lib/commonjs/MapManager.js.map +1 -1
- package/lib/commonjs/MapRegistry.js +21 -33
- package/lib/commonjs/MapRegistry.js.map +1 -1
- package/lib/commonjs/NexradRadarLayer.android.js +28 -100
- package/lib/commonjs/NexradRadarLayer.android.js.map +1 -1
- package/lib/commonjs/NexradRadarLayer.ios.js +26 -97
- package/lib/commonjs/NexradRadarLayer.ios.js.map +1 -1
- package/lib/commonjs/NexradSitesMapLayer.js +41 -61
- package/lib/commonjs/NexradSitesMapLayer.js.map +1 -1
- package/lib/commonjs/SatelliteLayer.android.js +26 -38
- package/lib/commonjs/SatelliteLayer.android.js.map +1 -1
- package/lib/commonjs/SatelliteLayer.ios.js +30 -42
- package/lib/commonjs/SatelliteLayer.ios.js.map +1 -1
- package/lib/commonjs/StyleApplicator.js +129 -175
- package/lib/commonjs/StyleApplicator.js.map +1 -1
- package/lib/commonjs/WeatherLayerManager.js +995 -1646
- package/lib/commonjs/WeatherLayerManager.js.map +1 -1
- package/lib/commonjs/aguaceroCoreDebugHooks.js +58 -130
- package/lib/commonjs/aguaceroCoreDebugHooks.js.map +1 -1
- package/lib/commonjs/aguaceroRnDebug.js +147 -288
- package/lib/commonjs/aguaceroRnDebug.js.map +1 -1
- package/lib/commonjs/cdnAuthenticatedFetch.js +104 -0
- package/lib/commonjs/cdnAuthenticatedFetch.js.map +1 -0
- package/lib/commonjs/dispatchViewManagerCommandCompat.js +51 -88
- package/lib/commonjs/dispatchViewManagerCommandCompat.js.map +1 -1
- package/lib/commonjs/gridCdnAuth.js +41 -50
- package/lib/commonjs/gridCdnAuth.js.map +1 -1
- package/lib/commonjs/index.js +14 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/nexrad/nexradAndroidController.js +851 -863
- package/lib/commonjs/nexrad/nexradAndroidController.js.map +1 -1
- package/lib/commonjs/nexrad/nexradCrossSectionSampleAtLatLon.bundled.js +62 -85
- package/lib/commonjs/nexrad/nexradCrossSectionSampleAtLatLon.bundled.js.map +1 -1
- package/lib/commonjs/nexrad/nexradDiag.js +32 -148
- package/lib/commonjs/nexrad/nexradDiag.js.map +1 -1
- package/lib/commonjs/nexrad/nexradLevel2Keys.js +261 -0
- package/lib/commonjs/nexrad/nexradLevel2Keys.js.map +1 -0
- package/lib/commonjs/nexrad/nexradLutBuild.js +64 -111
- package/lib/commonjs/nexrad/nexradLutBuild.js.map +1 -1
- package/lib/commonjs/nexrad/nexradMapboxFrameOpts.bundled.js +136 -164
- package/lib/commonjs/nexrad/nexradMapboxFrameOpts.bundled.js.map +1 -1
- package/lib/commonjs/nexrad/nexradSdkImports.js +51 -0
- package/lib/commonjs/nexrad/nexradSdkImports.js.map +1 -0
- package/lib/commonjs/nexrad/radarArchiveCore.bundled.js +2848 -4455
- package/lib/commonjs/nexrad/radarArchiveCore.bundled.js.map +1 -1
- package/lib/commonjs/nexrad/radarDecode.worker.bundled.js +445 -648
- package/lib/commonjs/nexrad/radarDecode.worker.bundled.js.map +1 -1
- package/lib/commonjs/nexrad/radarFrameGpuMatch.bundled.js +52 -68
- package/lib/commonjs/nexrad/radarFrameGpuMatch.bundled.js.map +1 -1
- package/lib/commonjs/nexradNativeCommandIds.js +24 -0
- package/lib/commonjs/nexradNativeCommandIds.js.map +1 -0
- package/lib/commonjs/nws/NwsAlertsOverlay.android.js.map +1 -1
- package/lib/commonjs/nws/NwsAlertsOverlay.ios.js.map +1 -1
- package/lib/commonjs/nws/NwsAlertsOverlay.js +3 -3
- package/lib/commonjs/nws/NwsAlertsOverlay.js.map +1 -1
- package/lib/commonjs/nws/NwsAlertsOverlay.native.js +235 -361
- package/lib/commonjs/nws/NwsAlertsOverlay.native.js.map +1 -1
- package/lib/commonjs/nws/eventSourceRnPolyfill.js +92 -146
- package/lib/commonjs/nws/eventSourceRnPolyfill.js.map +1 -1
- package/lib/commonjs/nws/nwsAndroidConstants.js +2 -8
- package/lib/commonjs/nws/nwsAndroidConstants.js.map +1 -1
- package/lib/commonjs/satellite/satelliteAndroidController.js +117 -202
- package/lib/commonjs/satellite/satelliteAndroidController.js.map +1 -1
- package/lib/commonjs/satelliteBridgeDiag.js +3 -13
- package/lib/commonjs/satelliteBridgeDiag.js.map +1 -1
- package/lib/commonjs/satelliteRnDebug.js +117 -218
- package/lib/commonjs/satelliteRnDebug.js.map +1 -1
- package/lib/module/AguaceroContext.js +2 -7
- package/lib/module/AguaceroContext.js.map +1 -1
- package/lib/module/GridRenderLayer.js +66 -80
- package/lib/module/GridRenderLayer.js.map +1 -1
- package/lib/module/MapManager.js +125 -239
- package/lib/module/MapManager.js.map +1 -1
- package/lib/module/MapRegistry.js +21 -33
- package/lib/module/MapRegistry.js.map +1 -1
- package/lib/module/NexradRadarLayer.android.js +32 -104
- package/lib/module/NexradRadarLayer.android.js.map +1 -1
- package/lib/module/NexradRadarLayer.ios.js +30 -101
- package/lib/module/NexradRadarLayer.ios.js.map +1 -1
- package/lib/module/NexradSitesMapLayer.js +44 -63
- package/lib/module/NexradSitesMapLayer.js.map +1 -1
- package/lib/module/SatelliteLayer.android.js +32 -44
- package/lib/module/SatelliteLayer.android.js.map +1 -1
- package/lib/module/SatelliteLayer.ios.js +36 -48
- package/lib/module/SatelliteLayer.ios.js.map +1 -1
- package/lib/module/StyleApplicator.js +144 -191
- package/lib/module/StyleApplicator.js.map +1 -1
- package/lib/module/WeatherLayerManager.js +1024 -1675
- package/lib/module/WeatherLayerManager.js.map +1 -1
- package/lib/module/aguaceroCoreDebugHooks.js +59 -130
- package/lib/module/aguaceroCoreDebugHooks.js.map +1 -1
- package/lib/module/aguaceroRnDebug.js +151 -292
- package/lib/module/aguaceroRnDebug.js.map +1 -1
- package/lib/module/cdnAuthenticatedFetch.js +97 -0
- package/lib/module/cdnAuthenticatedFetch.js.map +1 -0
- package/lib/module/dispatchViewManagerCommandCompat.js +52 -90
- package/lib/module/dispatchViewManagerCommandCompat.js.map +1 -1
- package/lib/module/gridCdnAuth.js +38 -50
- package/lib/module/gridCdnAuth.js.map +1 -1
- package/lib/module/index.js +9 -7
- package/lib/module/index.js.map +1 -1
- package/lib/module/nexrad/nexradAndroidController.js +865 -876
- package/lib/module/nexrad/nexradAndroidController.js.map +1 -1
- package/lib/module/nexrad/nexradCrossSectionSampleAtLatLon.bundled.js +62 -85
- package/lib/module/nexrad/nexradCrossSectionSampleAtLatLon.bundled.js.map +1 -1
- package/lib/module/nexrad/nexradDiag.js +31 -145
- package/lib/module/nexrad/nexradDiag.js.map +1 -1
- package/lib/module/nexrad/nexradLevel2Keys.js +245 -0
- package/lib/module/nexrad/nexradLevel2Keys.js.map +1 -0
- package/lib/module/nexrad/nexradLutBuild.js +64 -110
- package/lib/module/nexrad/nexradLutBuild.js.map +1 -1
- package/lib/module/nexrad/nexradMapboxFrameOpts.bundled.js +136 -163
- package/lib/module/nexrad/nexradMapboxFrameOpts.bundled.js.map +1 -1
- package/lib/module/nexrad/nexradSdkImports.js +4 -0
- package/lib/module/nexrad/nexradSdkImports.js.map +1 -0
- package/lib/module/nexrad/radarArchiveCore.bundled.js +2839 -4448
- package/lib/module/nexrad/radarArchiveCore.bundled.js.map +1 -1
- package/lib/module/nexrad/radarDecode.worker.bundled.js +445 -648
- package/lib/module/nexrad/radarDecode.worker.bundled.js.map +1 -1
- package/lib/module/nexrad/radarFrameGpuMatch.bundled.js +50 -66
- package/lib/module/nexrad/radarFrameGpuMatch.bundled.js.map +1 -1
- package/lib/module/nexradNativeCommandIds.js +18 -0
- package/lib/module/nexradNativeCommandIds.js.map +1 -0
- package/lib/module/nws/NwsAlertsOverlay.android.js +1 -1
- package/lib/module/nws/NwsAlertsOverlay.android.js.map +1 -1
- package/lib/module/nws/NwsAlertsOverlay.ios.js +1 -1
- package/lib/module/nws/NwsAlertsOverlay.ios.js.map +1 -1
- package/lib/module/nws/NwsAlertsOverlay.js +5 -5
- package/lib/module/nws/NwsAlertsOverlay.js.map +1 -1
- package/lib/module/nws/NwsAlertsOverlay.native.js +248 -373
- package/lib/module/nws/NwsAlertsOverlay.native.js.map +1 -1
- package/lib/module/nws/eventSourceRnPolyfill.js +92 -146
- package/lib/module/nws/eventSourceRnPolyfill.js.map +1 -1
- package/lib/module/nws/nwsAndroidConstants.js +2 -8
- package/lib/module/nws/nwsAndroidConstants.js.map +1 -1
- package/lib/module/satellite/satelliteAndroidController.js +123 -208
- package/lib/module/satellite/satelliteAndroidController.js.map +1 -1
- package/lib/module/satelliteBridgeDiag.js +3 -13
- package/lib/module/satelliteBridgeDiag.js.map +1 -1
- package/lib/module/satelliteRnDebug.js +123 -223
- package/lib/module/satelliteRnDebug.js.map +1 -1
- package/lib/typescript/AguaceroContext.d.ts +0 -4
- package/lib/typescript/AguaceroContext.d.ts.map +1 -1
- package/lib/typescript/GridRenderLayer.d.ts.map +1 -1
- package/lib/typescript/MapManager.d.ts +0 -12
- package/lib/typescript/MapManager.d.ts.map +1 -1
- package/lib/typescript/MapRegistry.d.ts +10 -12
- package/lib/typescript/MapRegistry.d.ts.map +1 -1
- package/lib/typescript/NexradRadarLayer.android.d.ts.map +1 -1
- package/lib/typescript/NexradRadarLayer.ios.d.ts.map +1 -1
- package/lib/typescript/NexradSitesMapLayer.d.ts +4 -10
- package/lib/typescript/NexradSitesMapLayer.d.ts.map +1 -1
- package/lib/typescript/SatelliteLayer.android.d.ts.map +1 -1
- package/lib/typescript/SatelliteLayer.ios.d.ts.map +1 -1
- package/lib/typescript/StyleApplicator.d.ts +1 -1
- package/lib/typescript/StyleApplicator.d.ts.map +1 -1
- package/lib/typescript/WeatherLayerManager.d.ts.map +1 -1
- package/lib/typescript/aguaceroCoreDebugHooks.d.ts +2 -9
- package/lib/typescript/aguaceroCoreDebugHooks.d.ts.map +1 -1
- package/lib/typescript/aguaceroRnDebug.d.ts +47 -66
- package/lib/typescript/aguaceroRnDebug.d.ts.map +1 -1
- package/lib/typescript/cdnAuthenticatedFetch.d.ts +10 -0
- package/lib/typescript/cdnAuthenticatedFetch.d.ts.map +1 -0
- package/lib/typescript/dispatchViewManagerCommandCompat.d.ts +1 -17
- package/lib/typescript/dispatchViewManagerCommandCompat.d.ts.map +1 -1
- package/lib/typescript/gridCdnAuth.d.ts +16 -21
- package/lib/typescript/gridCdnAuth.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/nexrad/nexradAndroidController.d.ts +39 -89
- package/lib/typescript/nexrad/nexradAndroidController.d.ts.map +1 -1
- package/lib/typescript/nexrad/nexradCrossSectionSampleAtLatLon.bundled.d.ts +2 -1
- package/lib/typescript/nexrad/nexradCrossSectionSampleAtLatLon.bundled.d.ts.map +1 -1
- package/lib/typescript/nexrad/nexradDiag.d.ts +13 -101
- package/lib/typescript/nexrad/nexradDiag.d.ts.map +1 -1
- package/lib/typescript/nexrad/nexradLevel2Keys.d.ts +36 -0
- package/lib/typescript/nexrad/nexradLevel2Keys.d.ts.map +1 -0
- package/lib/typescript/nexrad/nexradLutBuild.d.ts +3 -10
- package/lib/typescript/nexrad/nexradLutBuild.d.ts.map +1 -1
- package/lib/typescript/nexrad/nexradMapboxFrameOpts.bundled.d.ts +4 -3
- package/lib/typescript/nexrad/nexradMapboxFrameOpts.bundled.d.ts.map +1 -1
- package/lib/typescript/nexrad/nexradSdkImports.d.ts +2 -0
- package/lib/typescript/nexrad/nexradSdkImports.d.ts.map +1 -0
- package/lib/typescript/nexrad/radarArchiveCore.bundled.d.ts +12 -7
- package/lib/typescript/nexrad/radarArchiveCore.bundled.d.ts.map +1 -1
- package/lib/typescript/nexrad/radarDecode.worker.bundled.d.ts +20 -20
- package/lib/typescript/nexrad/radarDecode.worker.bundled.d.ts.map +1 -1
- package/lib/typescript/nexrad/radarFrameGpuMatch.bundled.d.ts +4 -3
- package/lib/typescript/nexrad/radarFrameGpuMatch.bundled.d.ts.map +1 -1
- package/lib/typescript/nexradNativeCommandIds.d.ts +2 -0
- package/lib/typescript/nexradNativeCommandIds.d.ts.map +1 -0
- package/lib/typescript/nws/NwsAlertsOverlay.native.d.ts +6 -17
- package/lib/typescript/nws/NwsAlertsOverlay.native.d.ts.map +1 -1
- package/lib/typescript/nws/eventSourceRnPolyfill.d.ts +0 -3
- package/lib/typescript/nws/eventSourceRnPolyfill.d.ts.map +1 -1
- package/lib/typescript/nws/nwsAndroidConstants.d.ts +0 -5
- package/lib/typescript/nws/nwsAndroidConstants.d.ts.map +1 -1
- package/lib/typescript/satellite/satelliteAndroidController.d.ts +9 -47
- package/lib/typescript/satellite/satelliteAndroidController.d.ts.map +1 -1
- package/lib/typescript/satelliteBridgeDiag.d.ts +1 -5
- package/lib/typescript/satelliteBridgeDiag.d.ts.map +1 -1
- package/lib/typescript/satelliteRnDebug.d.ts +24 -30
- package/lib/typescript/satelliteRnDebug.d.ts.map +1 -1
- package/package.json +75 -74
- package/src/AguaceroContext.js +1 -7
- package/src/GridRenderLayer.js +1 -128
- package/src/MapManager.js +1 -277
- package/src/MapRegistry.js +1 -56
- package/src/NexradRadarLayer.android.js +1 -121
- package/src/NexradRadarLayer.ios.js +1 -115
- package/src/NexradSitesMapLayer.js +1 -75
- package/src/SatelliteLayer.android.js +1 -63
- package/src/SatelliteLayer.ios.js +1 -70
- package/src/StyleApplicator.js +1 -241
- package/src/WeatherLayerManager.js +1 -2045
- package/src/aguaceroCoreDebugHooks.js +1 -142
- package/src/aguaceroRnDebug.js +1 -336
- package/src/cdnAuthenticatedFetch.js +1 -0
- package/src/dispatchViewManagerCommandCompat.js +1 -100
- package/src/gridCdnAuth.js +1 -56
- package/src/index.js +1 -27
- package/src/nexrad/nexradAndroidController.js +1 -1078
- package/src/nexrad/nexradCrossSectionSampleAtLatLon.bundled.js +1 -91
- package/src/nexrad/nexradDiag.js +1 -150
- package/src/nexrad/nexradLevel2Keys.js +1 -0
- package/src/nexrad/nexradLutBuild.js +1 -126
- package/src/nexrad/nexradMapboxFrameOpts.bundled.js +1 -245
- package/src/nexrad/nexradSdkImports.js +1 -0
- package/src/nexrad/radarArchiveCore.bundled.js +1 -7085
- package/src/nexrad/radarDecode.worker.bundled.js +1 -813
- package/src/nexrad/radarFrameGpuMatch.bundled.js +1 -79
- package/src/nexradNativeCommandIds.js +1 -0
- package/src/nws/NwsAlertsOverlay.android.js +1 -1
- package/src/nws/NwsAlertsOverlay.ios.js +1 -1
- package/src/nws/NwsAlertsOverlay.js +1 -7
- package/src/nws/NwsAlertsOverlay.native.js +1 -463
- package/src/nws/eventSourceRnPolyfill.js +7 -193
- package/src/nws/nwsAndroidConstants.js +1 -8
- package/src/satellite/satelliteAndroidController.js +1 -257
- package/src/satelliteBridgeDiag.js +1 -15
- package/src/satelliteRnDebug.js +1 -269
- package/lib/commonjs/nexrad/nexradNativeCommandIds.js +0 -51
- package/lib/commonjs/nexrad/nexradNativeCommandIds.js.map +0 -1
- package/lib/module/nexrad/nexradNativeCommandIds.js +0 -44
- package/lib/module/nexrad/nexradNativeCommandIds.js.map +0 -1
- package/lib/typescript/nexrad/nexradNativeCommandIds.d.ts +0 -9
- package/lib/typescript/nexrad/nexradNativeCommandIds.d.ts.map +0 -1
- package/src/nexrad/nexradNativeCommandIds.js +0 -44
- /package/lib/commonjs/{nexrad/nexradSitesUs.json → nexradSitesUs.json} +0 -0
- /package/lib/module/{nexrad/nexradSitesUs.json → nexradSitesUs.json} +0 -0
- /package/src/{nexrad/nexradSitesUs.json → nexradSitesUs.json} +0 -0
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
declare function Zn(t: any, n: any, i: any, l: any, s: any, d: any): Promise<any>;
|
|
2
|
+
declare function Bt(t: any): any;
|
|
3
|
+
declare function Be(): "native" | "js-fetch";
|
|
4
|
+
declare function Nt(t: any, n?: string): any;
|
|
5
|
+
declare function rn(t: any): void;
|
|
6
|
+
declare function nn(t: any): void;
|
|
7
|
+
declare function an(t: any): void;
|
|
8
|
+
declare function on(t: any): void;
|
|
9
|
+
declare function ln(t: any): void;
|
|
10
|
+
declare function Lr(t: any, n: any): void;
|
|
11
|
+
declare function Br(t: any): void;
|
|
12
|
+
export { Zn as fetchAndParseArchive, Bt as getNexradArchiveAuthSnapshot, Be as getNexradLevel2FetchTransport, Nt as objectKeyToUrl, rn as setNexradArchiveApiKey, nn as setNexradArchiveBundleId, an as setNexradArchiveSiteOrigin, on as setNexradArchiveUserId, ln as setNexradLevel2CloudFrontFetch, Lr as setNexradSitesFetchAuth, Br as setNexradSitesJsonUrl };
|
|
8
13
|
//# sourceMappingURL=radarArchiveCore.bundled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radarArchiveCore.bundled.d.ts","sourceRoot":"","sources":["../../../src/nexrad/radarArchiveCore.bundled.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"radarArchiveCore.bundled.d.ts","sourceRoot":"","sources":["../../../src/nexrad/radarArchiveCore.bundled.js"],"names":[],"mappings":"AAAqj3F,kFAA+gI;AAA1nwB,iCAA+iB;AAA3lB,6CAA4C;AAA21I,6CAAkL;AAA/xJ,kCAAwB;AAAA,kCAAwB;AAAA,kCAAiF;AAAA,kCAA+D;AAAY,kCAA0B;AAA/qW,0CAAiD;AAAzF,kCAAwB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare function decompress(
|
|
2
|
-
declare function isZstd(
|
|
3
|
-
declare function parseObjectKey(
|
|
1
|
+
declare function decompress(t: any, e: any): any;
|
|
2
|
+
declare function isZstd(t: any): boolean;
|
|
3
|
+
declare function parseObjectKey(t: any): {
|
|
4
4
|
stationId: any;
|
|
5
5
|
} | null;
|
|
6
|
-
declare function buildRayBoundariesDeg(
|
|
7
|
-
declare function decodeRadarSlotMessage(
|
|
6
|
+
declare function buildRayBoundariesDeg(t: any): Float32Array<any>;
|
|
7
|
+
declare function decodeRadarSlotMessage(t: any): {
|
|
8
8
|
type: string;
|
|
9
9
|
requestId: any;
|
|
10
10
|
gateData: null;
|
|
@@ -38,14 +38,14 @@ declare var u8: Uint8ArrayConstructor;
|
|
|
38
38
|
declare var u16: Uint16ArrayConstructor;
|
|
39
39
|
declare var i16: Int16ArrayConstructor;
|
|
40
40
|
declare var i32: Int32ArrayConstructor;
|
|
41
|
-
declare function slc(
|
|
42
|
-
declare function fill(
|
|
43
|
-
declare function cpw(
|
|
41
|
+
declare function slc(t: any, e: any, a: any): Uint8Array<ArrayBuffer>;
|
|
42
|
+
declare function fill(t: any, e: any, a: any, n: any): any;
|
|
43
|
+
declare function cpw(t: any, e: any, a: any, n: any): Uint8Array<ArrayBufferLike> | undefined;
|
|
44
44
|
declare var ec: string[];
|
|
45
|
-
declare function err(
|
|
46
|
-
declare function rb(
|
|
47
|
-
declare function b4(
|
|
48
|
-
declare function rzfh(
|
|
45
|
+
declare function err(t: any, e: any, a: any): Error;
|
|
46
|
+
declare function rb(t: any, e: any, a: any): number;
|
|
47
|
+
declare function b4(t: any, e: any): number;
|
|
48
|
+
declare function rzfh(t: any, e: any): number | {
|
|
49
49
|
b: number;
|
|
50
50
|
y: number;
|
|
51
51
|
l: number;
|
|
@@ -57,14 +57,14 @@ declare function rzfh(dat: any, w: any): number | {
|
|
|
57
57
|
c: number;
|
|
58
58
|
m: number;
|
|
59
59
|
} | undefined;
|
|
60
|
-
declare function msb(
|
|
61
|
-
declare function rfse(
|
|
60
|
+
declare function msb(t: any): number;
|
|
61
|
+
declare function rfse(t: any, e: any, a: any): (number | {
|
|
62
62
|
b: number;
|
|
63
63
|
s: Uint8Array<ArrayBuffer>;
|
|
64
64
|
n: Uint8Array<ArrayBuffer>;
|
|
65
65
|
t: Uint16Array<ArrayBuffer>;
|
|
66
66
|
})[];
|
|
67
|
-
declare function rhu(
|
|
67
|
+
declare function rhu(t: any, e: any): any[];
|
|
68
68
|
declare var dllt: number | {
|
|
69
69
|
b: number;
|
|
70
70
|
s: Uint8Array<ArrayBuffer>;
|
|
@@ -83,14 +83,14 @@ declare var doct: number | {
|
|
|
83
83
|
n: Uint8Array<ArrayBuffer>;
|
|
84
84
|
t: Uint16Array<ArrayBuffer>;
|
|
85
85
|
};
|
|
86
|
-
declare function b2bl(
|
|
86
|
+
declare function b2bl(t: any, e: any): Int32Array<any>;
|
|
87
87
|
declare var llb: Uint8Array<ArrayBuffer>;
|
|
88
88
|
declare var llbl: Int32Array<any>;
|
|
89
89
|
declare var mlb: Uint8Array<ArrayBuffer>;
|
|
90
90
|
declare var mlbl: Int32Array<any>;
|
|
91
|
-
declare function dhu(
|
|
92
|
-
declare function dhu4(
|
|
93
|
-
declare function rzb(
|
|
94
|
-
declare function cct(
|
|
91
|
+
declare function dhu(t: any, e: any, a: any): void;
|
|
92
|
+
declare function dhu4(t: any, e: any, a: any): void;
|
|
93
|
+
declare function rzb(t: any, e: any, a: any): any;
|
|
94
|
+
declare function cct(t: any, e: any): any;
|
|
95
95
|
declare var SLOT_HDR_BYTES: number;
|
|
96
96
|
//# sourceMappingURL=radarDecode.worker.bundled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radarDecode.worker.bundled.d.ts","sourceRoot":"","sources":["../../../src/nexrad/radarDecode.worker.bundled.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"radarDecode.worker.bundled.d.ts","sourceRoot":"","sources":["../../../src/nexrad/radarDecode.worker.bundled.js"],"names":[],"mappings":"AAAssN,iDAA8V;AAAsB,yCAAoF;AAAA;;SAAwF;AAAA,kEAAkZ;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6yD;AAAj6S,uCAAc;AAAC,sCAAa;AAAC,wCAAe;AAAC,uCAAc;AAAC,uCAAc;AAA9E,sEAAqsN;AAArsN,2DAAqsN;AAArsN,8FAAqsN;AAA/lM,yBAAsJ;AAA5vB,oDAAqsN;AAArsN,oDAAqsN;AAArsN,4CAAqsN;AAArsN;;;;;;;;;;;cAAqsN;AAArsN,qCAAqsN;AAArsN;;;;;KAAqsN;AAArsN,4CAAqsN;AAArhH;;;;;EAA0F;AAAC;;;;;EAA6G;AAAC;;;;;EAAmE;AAA57G,uDAAqsN;AAA7qG,yCAA0F;AAAC,kCAAgB;AAAC,yCAAqG;AAAC,kCAAgB;AAA1vH,mDAAqsN;AAArsN,oDAAqsN;AAArsN,kDAAqsN;AAArsN,0CAAqsN;AAA+V,mCAAsB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare function f(a: any): any;
|
|
2
|
+
declare function m(a: any, r: any): any;
|
|
3
|
+
declare function B(a: any): any;
|
|
4
|
+
export { f as canonicalBinsRadarFrame, m as prepareRadarFrameForGpuReadout, B as sortRadarFrameByAzimuth };
|
|
4
5
|
//# sourceMappingURL=radarFrameGpuMatch.bundled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radarFrameGpuMatch.bundled.d.ts","sourceRoot":"","sources":["../../../src/nexrad/radarFrameGpuMatch.bundled.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"radarFrameGpuMatch.bundled.d.ts","sourceRoot":"","sources":["../../../src/nexrad/radarFrameGpuMatch.bundled.js"],"names":[],"mappings":"AAAkE,gCAAkoB;AAA6Z,wCAAsF;AAAnf,gCAA6Z"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nexradNativeCommandIds.d.ts","sourceRoot":"","sources":["../../src/nexradNativeCommandIds.js"],"names":[],"mappings":"AAA2L,oDAAqM"}
|
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
* @param {object} state - {@link AguaceroCore} state
|
|
3
|
-
* @param {object} wopt - watches/warnings options (same shape as mapsgl {@link WeatherLayerManager#configureWatchesWarnings})
|
|
4
|
-
* @returns {{ weatherLayerId: string | null, fillBelowId: string | null, lineBelowId: string }}
|
|
5
|
-
*/
|
|
6
|
-
export function resolveNwsAndroidLayerAnchors(state: object, wopt: object): {
|
|
1
|
+
export function resolveNwsAndroidLayerAnchors(l: any, t: any): {
|
|
7
2
|
weatherLayerId: string | null;
|
|
8
|
-
fillBelowId:
|
|
9
|
-
lineBelowId:
|
|
3
|
+
fillBelowId: any;
|
|
4
|
+
lineBelowId: any;
|
|
10
5
|
};
|
|
11
|
-
|
|
12
|
-
* @param {object} props
|
|
13
|
-
* @param {import('@aguacerowx/javascript-sdk').AguaceroCore} props.core
|
|
14
|
-
* @param {object} props.watchesWarnings - merged options ({ enabled, alertsBaseUrl, nwsAlertSettings, ... })
|
|
15
|
-
* @param {(payload: object) => void} [props.onNwsAlertClick]
|
|
16
|
-
*/
|
|
17
|
-
export default function NwsAlertsOverlay({ core, watchesWarnings, onNwsAlertClick }: {
|
|
6
|
+
export default function le({ core: l, watchesWarnings: t, onNwsAlertClick: a }: {
|
|
18
7
|
core: any;
|
|
19
|
-
watchesWarnings:
|
|
20
|
-
onNwsAlertClick
|
|
8
|
+
watchesWarnings: any;
|
|
9
|
+
onNwsAlertClick: any;
|
|
21
10
|
}): any;
|
|
22
11
|
//# sourceMappingURL=NwsAlertsOverlay.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NwsAlertsOverlay.native.d.ts","sourceRoot":"","sources":["../../../src/nws/NwsAlertsOverlay.native.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NwsAlertsOverlay.native.d.ts","sourceRoot":"","sources":["../../../src/nws/NwsAlertsOverlay.native.js"],"names":[],"mappings":"AAA2tF;;;;EAA8X;AAAA;;;;QAAq/H"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventSourceRnPolyfill.d.ts","sourceRoot":"","sources":["../../../src/nws/eventSourceRnPolyfill.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eventSourceRnPolyfill.d.ts","sourceRoot":"","sources":["../../../src/nws/eventSourceRnPolyfill.js"],"names":[],"mappings":"AAM6zB,qDAAqG"}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Stable Mapbox custom layer id for Android {@link NexradRadarLayerView} — must match Java
|
|
3
|
-
* {@code NexradRadarLayerView.NEXRAD_LAYER_ID} so NWS alert fill can anchor under radar like mapsgl.
|
|
4
|
-
*/
|
|
5
1
|
export const AGUACERO_NEXRAD_MAP_LAYER_ID: "aguacero-nexrad-custom-layer";
|
|
6
|
-
/** Must match {@link AguaceroStyleLayerIds#SATELLITE_CUSTOM_LAYER} and mapsgl default satellite layer id. */
|
|
7
2
|
export const AGUACERO_SATELLITE_MAP_LAYER_ID: "aguacero-satellite-layer";
|
|
8
3
|
//# sourceMappingURL=nwsAndroidConstants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nwsAndroidConstants.d.ts","sourceRoot":"","sources":["../../../src/nws/nwsAndroidConstants.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"nwsAndroidConstants.d.ts","sourceRoot":"","sources":["../../../src/nws/nwsAndroidConstants.js"],"names":[],"mappings":"AAAa,2CAA6B,8BAA8B,CAAA;AAAC,8CAAgC,0BAA0B,CAAA"}
|
|
@@ -1,58 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* @param {{ unix: number; url: string; shaderFileName: string }[]} frames
|
|
4
|
-
* @param {number | null} targetUnix
|
|
5
|
-
*/
|
|
6
|
-
export function sortFramesByTargetProximity(frames: {
|
|
7
|
-
unix: number;
|
|
8
|
-
url: string;
|
|
9
|
-
shaderFileName: string;
|
|
10
|
-
}[], targetUnix: number | null): {
|
|
11
|
-
unix: number;
|
|
12
|
-
url: string;
|
|
13
|
-
shaderFileName: string;
|
|
14
|
-
}[];
|
|
15
|
-
/**
|
|
16
|
-
* @param {import('@aguacerowx/javascript-sdk').AguaceroCoreState} state
|
|
17
|
-
* @param {number} satelliteTimestamp
|
|
18
|
-
*/
|
|
19
|
-
export function buildSatelliteFetchParts(state: any, satelliteTimestamp: number): {
|
|
1
|
+
export function sortFramesByTargetProximity(r: any, e: any): any;
|
|
2
|
+
export function buildSatelliteFetchParts(r: any, e: any): {
|
|
20
3
|
url: string;
|
|
21
4
|
shaderFileName: any;
|
|
22
5
|
frameKey: number;
|
|
23
6
|
apiKey: any;
|
|
24
7
|
} | null;
|
|
25
8
|
export class SatelliteAndroidController {
|
|
26
|
-
|
|
27
|
-
* @param {import('@aguacerowx/javascript-sdk').AguaceroCore} core
|
|
28
|
-
* @param {React.RefObject<{ syncSatellite?: (json: string) => void; clearSatellite?: () => void; activateSatelliteCachedUnix?: (unix: number) => void; updateSatelliteStyle?: (json: string) => void }>} satelliteLayerRef
|
|
29
|
-
*/
|
|
30
|
-
constructor(core: any, satelliteLayerRef: React.RefObject<{
|
|
31
|
-
syncSatellite?: (json: string) => void;
|
|
32
|
-
clearSatellite?: () => void;
|
|
33
|
-
activateSatelliteCachedUnix?: (unix: number) => void;
|
|
34
|
-
updateSatelliteStyle?: (json: string) => void;
|
|
35
|
-
}>);
|
|
9
|
+
constructor(e: any, n: any);
|
|
36
10
|
core: any;
|
|
37
|
-
satelliteLayerRef:
|
|
38
|
-
syncSatellite?: (json: string) => void;
|
|
39
|
-
clearSatellite?: () => void;
|
|
40
|
-
activateSatelliteCachedUnix?: (unix: number) => void;
|
|
41
|
-
updateSatelliteStyle?: (json: string) => void;
|
|
42
|
-
}>;
|
|
11
|
+
satelliteLayerRef: any;
|
|
43
12
|
_destroyed: boolean;
|
|
44
|
-
/** @type {string | undefined} */
|
|
45
|
-
_cachedRunKey: string | undefined;
|
|
46
|
-
/** @type {string | undefined} */
|
|
47
|
-
_cachedTimelineSig: string | undefined;
|
|
48
|
-
/** @type {number | null | undefined} */
|
|
49
|
-
_lastTargetUnix: number | null | undefined;
|
|
50
|
-
/** @type {string | undefined} */
|
|
51
|
-
_lastStyleJson: string | undefined;
|
|
52
13
|
destroy(): void;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
14
|
+
sync(e: any): void;
|
|
15
|
+
_cachedRunKey: any;
|
|
16
|
+
_cachedTimelineSig: any;
|
|
17
|
+
_lastTargetUnix: any;
|
|
18
|
+
_lastStyleJson: any;
|
|
57
19
|
}
|
|
58
20
|
//# sourceMappingURL=satelliteAndroidController.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"satelliteAndroidController.d.ts","sourceRoot":"","sources":["../../../src/satellite/satelliteAndroidController.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"satelliteAndroidController.d.ts","sourceRoot":"","sources":["../../../src/satellite/satelliteAndroidController.js"],"names":[],"mappings":"AAA0P,iEAAwO;AAAA;;;;;SAA4iB;AAAA;IAAwC,4BAAyL;IAAxK,UAAW;IAAC,uBAAwB;IAAC,oBAAkB;IAAiH,gBAAiM;IAAA,mBAAw3G;IAA/hB,mBAAoB;IAAC,wBAAyB;IAAC,qBAAuD;IAAC,oBAAqB;CAAoa"}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* Always-on warnings for satellite bridge debugging (Metro + many device log sinks).
|
|
3
|
-
* Filter Xcode / Metro: `sat-bridge` or `AguaceroWX`.
|
|
4
|
-
*/
|
|
5
|
-
export function satBridgeWarn(tag: any, detail: any): void;
|
|
1
|
+
export function satBridgeWarn(a: any, o: any): void;
|
|
6
2
|
//# sourceMappingURL=satelliteBridgeDiag.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"satelliteBridgeDiag.d.ts","sourceRoot":"","sources":["../../src/satelliteBridgeDiag.js"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"satelliteBridgeDiag.d.ts","sourceRoot":"","sources":["../../src/satelliteBridgeDiag.js"],"names":[],"mappings":"AAAA,oDAAwJ"}
|
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export function basisFormatLabel(ordinal: number | undefined): any;
|
|
5
|
-
/**
|
|
6
|
-
* Actionable hints when imagery is black but JS sync looks healthy.
|
|
7
|
-
* @param {Record<string, unknown>} ctx
|
|
8
|
-
*/
|
|
9
|
-
export function interpretSatelliteBlackScreenHints(ctx: Record<string, unknown>): string[];
|
|
10
|
-
/**
|
|
11
|
-
* One-shot integration audit (call when WeatherLayerManager mounts with debug).
|
|
12
|
-
* @param {{ core?: import('@aguacerowx/javascript-sdk').AguaceroCore; satelliteLayerRef?: React.RefObject<unknown> }} opts
|
|
13
|
-
*/
|
|
14
|
-
export function auditSatelliteIntegration(opts?: {
|
|
15
|
-
core?: any;
|
|
16
|
-
satelliteLayerRef?: React.RefObject<unknown>;
|
|
17
|
-
}): {
|
|
1
|
+
export function basisFormatLabel(t: any): any;
|
|
2
|
+
export function interpretSatelliteBlackScreenHints(t: any): string[];
|
|
3
|
+
export function auditSatelliteIntegration(t?: {}): {
|
|
18
4
|
platform: "ios" | "android" | "windows" | "macos" | "web";
|
|
19
5
|
satelliteNativeCommands: any[];
|
|
20
6
|
satelliteNativeMissing: boolean;
|
|
@@ -37,7 +23,25 @@ export function auditSatelliteIntegration(opts?: {
|
|
|
37
23
|
platform: "ios" | "android" | "windows" | "macos" | "web";
|
|
38
24
|
isReactNative: boolean;
|
|
39
25
|
baseGridUrl: any;
|
|
40
|
-
apiKey:
|
|
26
|
+
apiKey: {
|
|
27
|
+
present: boolean;
|
|
28
|
+
length: number;
|
|
29
|
+
trimmedLength?: undefined;
|
|
30
|
+
hasLeadingWhitespace?: undefined;
|
|
31
|
+
hasTrailingWhitespace?: undefined;
|
|
32
|
+
hasInternalWhitespace?: undefined;
|
|
33
|
+
fingerprint?: undefined;
|
|
34
|
+
looksLikePlaceholder?: undefined;
|
|
35
|
+
} | {
|
|
36
|
+
present: boolean;
|
|
37
|
+
length: number;
|
|
38
|
+
trimmedLength: number;
|
|
39
|
+
hasLeadingWhitespace: boolean;
|
|
40
|
+
hasTrailingWhitespace: boolean;
|
|
41
|
+
hasInternalWhitespace: boolean;
|
|
42
|
+
fingerprint: string;
|
|
43
|
+
looksLikePlaceholder: boolean;
|
|
44
|
+
};
|
|
41
45
|
bundleId: {
|
|
42
46
|
present: boolean;
|
|
43
47
|
value: string;
|
|
@@ -64,18 +68,8 @@ export function auditSatelliteIntegration(opts?: {
|
|
|
64
68
|
willSendOriginHeaders: boolean;
|
|
65
69
|
} | undefined;
|
|
66
70
|
} | undefined;
|
|
67
|
-
|
|
68
|
-
* @param {object} params
|
|
69
|
-
*/
|
|
70
|
-
export function logSatelliteSyncReport(params: object): void;
|
|
71
|
-
/**
|
|
72
|
-
* Subscribe to native → JS diagnostic events (Android). Returns unsubscribe.
|
|
73
|
-
* @returns {() => void}
|
|
74
|
-
*/
|
|
71
|
+
export function logSatelliteSyncReport(t: any): void;
|
|
75
72
|
export function installSatelliteDiagnosticListener(): () => void;
|
|
76
|
-
|
|
77
|
-
* @param {Record<string, unknown>} nativePayload
|
|
78
|
-
*/
|
|
79
|
-
export function logSatelliteNativeDiagnostic(nativePayload: Record<string, unknown>): void;
|
|
73
|
+
export function logSatelliteNativeDiagnostic(t: any): void;
|
|
80
74
|
export const SATELLITE_DIAGNOSTIC_EVENT: "AguaceroSatelliteDiagnostic";
|
|
81
75
|
//# sourceMappingURL=satelliteRnDebug.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"satelliteRnDebug.d.ts","sourceRoot":"","sources":["../../src/satelliteRnDebug.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"satelliteRnDebug.d.ts","sourceRoot":"","sources":["../../src/satelliteRnDebug.js"],"names":[],"mappings":"AAAgf,8CAAmH;AAAA,qEAA8rD;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAi3C;AAAA,qDAA42B;AAAA,iEAAo6B;AAAA,2DAA+G;AAA3xK,yCAAwC,6BAA6B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,74 +1,75 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@aguacerowx/react-native",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Native weather rendering for React Native",
|
|
5
|
-
"license": "
|
|
6
|
-
"author": "Michael Barletta",
|
|
7
|
-
"keywords": [
|
|
8
|
-
"react-native",
|
|
9
|
-
"android",
|
|
10
|
-
"weather",
|
|
11
|
-
"map"
|
|
12
|
-
],
|
|
13
|
-
"main": "lib/commonjs/index.js",
|
|
14
|
-
"module": "lib/module/index.js",
|
|
15
|
-
"types": "lib/typescript/index.d.ts",
|
|
16
|
-
"react-native": "index.js",
|
|
17
|
-
"source": "index.js",
|
|
18
|
-
"files": [
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"ios/
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"compile-shaders": "node scripts/compile-shaders.js",
|
|
33
|
-
"clean": "node -e \"require('fs').rmSync('lib', {recursive: true, force: true})\"",
|
|
34
|
-
"build": "npm run compile-shaders && npm run clean && bob build",
|
|
35
|
-
"prepare": "npm run build"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"react
|
|
46
|
-
"react-native
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@aguacerowx/react-native",
|
|
3
|
+
"version": "0.0.54",
|
|
4
|
+
"description": "Native weather rendering for React Native",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Michael Barletta",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"react-native",
|
|
9
|
+
"android",
|
|
10
|
+
"weather",
|
|
11
|
+
"map"
|
|
12
|
+
],
|
|
13
|
+
"main": "lib/commonjs/index.js",
|
|
14
|
+
"module": "lib/module/index.js",
|
|
15
|
+
"types": "lib/typescript/index.d.ts",
|
|
16
|
+
"react-native": "index.js",
|
|
17
|
+
"source": "index.js",
|
|
18
|
+
"files": [
|
|
19
|
+
"LICENSE",
|
|
20
|
+
"src",
|
|
21
|
+
"index.js",
|
|
22
|
+
"lib",
|
|
23
|
+
"android",
|
|
24
|
+
"ios",
|
|
25
|
+
"cpp",
|
|
26
|
+
"*.podspec",
|
|
27
|
+
"ios/generated",
|
|
28
|
+
"ios/compiled-shaders",
|
|
29
|
+
"android/src/main/java/com/facebook/react/viewmanagers"
|
|
30
|
+
],
|
|
31
|
+
"scripts": {
|
|
32
|
+
"compile-shaders": "node scripts/compile-shaders.js",
|
|
33
|
+
"clean": "node -e \"require('fs').rmSync('lib', {recursive: true, force: true})\"",
|
|
34
|
+
"build": "npm run compile-shaders && npm run clean && bob build",
|
|
35
|
+
"prepare": "npm run build",
|
|
36
|
+
"prepublishOnly": "npm run build && node ../../scripts/minify-js-tree.mjs lib src index.js"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"proj4": "^2.11.0",
|
|
40
|
+
"react-native-builder-bob": "^0.23.2",
|
|
41
|
+
"typescript": "^5.0.2"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@rnmapbox/maps": "*",
|
|
45
|
+
"react": "*",
|
|
46
|
+
"react-native": "*",
|
|
47
|
+
"react-native-device-info": ">=10.0.0"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@aguacerowx/javascript-sdk": "^0.0.31",
|
|
51
|
+
"base64-js": "^1.5.1"
|
|
52
|
+
},
|
|
53
|
+
"react-native-builder-bob": {
|
|
54
|
+
"source": "src",
|
|
55
|
+
"output": "lib",
|
|
56
|
+
"targets": [
|
|
57
|
+
"commonjs",
|
|
58
|
+
"module",
|
|
59
|
+
[
|
|
60
|
+
"typescript",
|
|
61
|
+
{
|
|
62
|
+
"project": "tsconfig.json"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"codegenConfig": {
|
|
68
|
+
"name": "AguaceroWxReactNativeSpec",
|
|
69
|
+
"type": "components",
|
|
70
|
+
"jsSrcsDir": "src",
|
|
71
|
+
"android": {
|
|
72
|
+
"javaPackageName": "com.aguacerowx.reactnative"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
package/src/AguaceroContext.js
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Map + anchors from {@link MapManager}: `getMap`, `getCenter`, `weatherBeforeLayerId`, `resolvedStyleURL`.
|
|
5
|
-
* When `weatherBeforeLayerId` is null, weather layers use `AML_-_terrain` (Aguacero base style).
|
|
6
|
-
*/
|
|
7
|
-
export const AguaceroContext = React.createContext(null);
|
|
1
|
+
import t from"react";export const AguaceroContext=t.createContext(null);
|