@robono/messaging-react-native 0.20.2 → 0.20.3

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.
@@ -47,7 +47,7 @@ The standard screen accepts the same `components` and `header` options as within
47
47
 
48
48
  The supplied storage adapter prepares, uploads and screens a private staging object, then sends it through the existing Bridge delivery service. The original Bridge owns the delivered attachment. Thumbnails, the standard viewer, waveform display choices and attachment batches are retained. Stored waveforms are not deleted when hidden; the connector withholds them when the Bridge connection disallows receiving them, and the screen also respects the saved display choice.
49
49
 
50
- `onDownloadAttachment` receives an authorized temporary file. Copy it into the host's private Files destination before resolving; the SDK then removes its temporary copy. Honor its cancellation signal. `mediaViewer` controls Share, Forward, Download and Open; `linkHandling` controls URL/address taps and disabled links. These are the same shared options as ordinary Messenger, not a separate Bridge viewer.
50
+ `onDownloadAttachment` receives an authorized temporary file. Copy it into the host's private Files destination before resolving; the SDK then removes its temporary copy. Honor its cancellation signal. `mediaViewer` controls Share, Forward, Download and Delete; the viewer has no external Open action; `linkHandling` controls URL/address taps and disabled links. These are the same shared options as ordinary Messenger, not a separate Bridge viewer.
51
51
 
52
52
  A failed send retries its original `clientMessageId`. The service checks the durable Bridge send receipt before using an attachment URL. If delivery already happened, it returns the original message—or an acknowledgement if retention already removed it. If not, it obtains a fresh source URL for the same staged object. It never resends under a new ID automatically. Staging objects expire after 24 hours; if an undelivered object has expired, the user must choose the file again. Finished deliveries do not depend on staging lifetime.
53
53
 
@@ -125,3 +125,9 @@ The standard bubble shows **Cancel** while processing. Custom hosts may pass an
125
125
  Release together: migrations `20261108040000_standard_bridge_messenger.sql` , `20261108060000_bridge_language_authorization.sql` and `20261109010000_bridge_spoken_translation.sql`, functions `external-app-bridge-messenger` and `external-app-usage`, and the speech worker duration endpoint, API router `/v1/bridge/messenger`, and core/server/Expo/web packages. Verify deployment before publishing supported install versions. Website/API uploads remain owner-operated.
126
126
 
127
127
  Local verification uses synthetic accepted Bridge connections in an isolated service, through the public adapter and standard screens. iPhone and Android checks cover photo, video, document and voice upload/send/download, thumbnails, native voice playback, changing permissions and revoked access. Browser checks cover opening retained history and sending through the standard composer. Service checks cover original IDs, pagination, private access, duplicate prevention after a lost response and recovery after a missed notification. This is not a claim that a new push notification was delivered through Apple's or Google's service in this check.
128
+
129
+ ### Media startup (0.20.3 phone / 0.19.3 web)
130
+
131
+ The shared player uses short-lived original-media access returned with an authorized Bridge thumbnail. This avoids an additional request when that photo or video is opened soon afterward. The history request does not wait for this preparation. Access expires within 60 seconds (earlier when retention ends); expired access falls back to a fresh permission check. Download and Share actions still reauthorize. No URLs are saved in persistent history.
132
+
133
+ Both phone and website players pause speculative original-media downloads while a viewer is open. Already completed recent-media copies remain available, subject to their existing access window. The `preloadRecentMedia` host option remains unchanged. These optimizations require the updated shared player; the thumbnail preparation also requires the service update.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 0.20.3
2
+
3
+ - Reuse short-lived original-media access returned with Bridge thumbnails to avoid another playback authorization request. Explicit exports still reauthorize; expired or mismatched grants are rejected.
4
+ - Skip outgoing draft-file lookups for remote Bridge and managed-storage attachments.
5
+ - Pause speculative original-media transfers while a viewer is open; resume after closing and keep already completed private copies.
6
+ - Remove the dark overlay behind message options.
7
+
1
8
  ## 0.20.2
2
9
 
3
10
  - Match the original Messenger media viewer: Download, Delete, Forward, Share and Close, with no external Open action. Keep unavailable message actions disabled and preserve customer permission controls.
package/SBOM.spdx.json CHANGED
@@ -2,10 +2,10 @@
2
2
  "spdxVersion": "SPDX-2.3",
3
3
  "dataLicense": "CC0-1.0",
4
4
  "SPDXID": "SPDXRef-DOCUMENT",
5
- "name": "@robono/messaging-react-native@0.20.2",
6
- "documentNamespace": "https://robono.com/sbom/messaging-react-native/0.20.2/b1d130827b282ca0c6ff175011d031d1fb3f0329",
5
+ "name": "@robono/messaging-react-native@0.20.3",
6
+ "documentNamespace": "https://robono.com/sbom/messaging-react-native/0.20.3/2bea92cbee190dae52b5ec28b34be040a82da674",
7
7
  "creationInfo": {
8
- "created": "2026-11-09T10:08:37.849Z",
8
+ "created": "2026-11-09T17:33:05.268Z",
9
9
  "creators": [
10
10
  "Organization: Robono (support@robono.com)"
11
11
  ]
@@ -14,11 +14,11 @@
14
14
  {
15
15
  "name": "@robono/messaging-react-native",
16
16
  "SPDXID": "SPDXRef-Package",
17
- "versionInfo": "0.20.2",
17
+ "versionInfo": "0.20.3",
18
18
  "downloadLocation": "NOASSERTION",
19
19
  "filesAnalyzed": true,
20
20
  "packageVerificationCode": {
21
- "packageVerificationCodeValue": "b1d130827b282ca0c6ff175011d031d1fb3f0329"
21
+ "packageVerificationCodeValue": "2bea92cbee190dae52b5ec28b34be040a82da674"
22
22
  },
23
23
  "licenseConcluded": "LicenseRef-RobonoSDK",
24
24
  "licenseDeclared": "LicenseRef-RobonoSDK",
@@ -26,7 +26,7 @@
26
26
  "LicenseRef-RobonoSDK"
27
27
  ],
28
28
  "copyrightText": "Copyright (c) 2026 Add to Loop LLC.",
29
- "comment": "Host-supplied peers (not bundled): {\"@robono/messaging\":\"^0.15.0\",\"react\":\">=18.2 <20\",\"react-native\":\">=0.76 <1\",\"expo-audio\":\">=55 <57\",\"expo-image-picker\":\">=55 <57\",\"expo-document-picker\":\">=55 <57\",\"expo-file-system\":\">=55.0.5 <57\",\"expo-sharing\":\">=55 <57\",\"expo-video\":\">=55 <57\",\"expo-crypto\":\">=55 <57\",\"react-native-safe-area-context\":\">=5 <6\",\"react-native-svg\":\">=15 <16\",\"@robono/calling-react-native\":\"^0.9.3\",\"expo-clipboard\":\">=8 <57\",\"expo-image-manipulator\":\">=14 <57\",\"expo-video-thumbnails\":\">=14 <57\",\"react-native-webview\":\">=13 <14\",\"expo-blur\":\">=55 <57\",\"expo-notifications\":\">=55 <57\",\"expo-secure-store\":\">=55 <57\",\"@robono/location-react-native\":\"^0.4.1\",\"expo-location\":\">=55 <57\",\"expo-constants\":\">=55 <57\",\"@robono/location\":\"^0.4.1\",\"expo-haptics\":\">=55 <57\",\"@robono/calling\":\"^0.6.2\",\"expo-media-library\":\">=55 <57\"}"
29
+ "comment": "Host-supplied peers (not bundled): {\"@robono/messaging\":\"^0.15.1\",\"react\":\">=18.2 <20\",\"react-native\":\">=0.76 <1\",\"expo-audio\":\">=55 <57\",\"expo-image-picker\":\">=55 <57\",\"expo-document-picker\":\">=55 <57\",\"expo-file-system\":\">=55.0.5 <57\",\"expo-sharing\":\">=55 <57\",\"expo-video\":\">=55 <57\",\"expo-crypto\":\">=55 <57\",\"react-native-safe-area-context\":\">=5 <6\",\"react-native-svg\":\">=15 <16\",\"@robono/calling-react-native\":\"^0.9.3\",\"expo-clipboard\":\">=8 <57\",\"expo-image-manipulator\":\">=14 <57\",\"expo-video-thumbnails\":\">=14 <57\",\"react-native-webview\":\">=13 <14\",\"expo-blur\":\">=55 <57\",\"expo-notifications\":\">=55 <57\",\"expo-secure-store\":\">=55 <57\",\"@robono/location-react-native\":\"^0.4.1\",\"expo-location\":\">=55 <57\",\"expo-constants\":\">=55 <57\",\"@robono/location\":\"^0.4.1\",\"expo-haptics\":\">=55 <57\",\"@robono/calling\":\"^0.6.2\",\"expo-media-library\":\">=55 <57\"}"
30
30
  }
31
31
  ],
32
32
  "files": [
@@ -36,11 +36,11 @@
36
36
  "checksums": [
37
37
  {
38
38
  "algorithm": "SHA256",
39
- "checksumValue": "4c1241f7068c6f37b68612755a86129ef0676ecf78880be1e48017a467768a86"
39
+ "checksumValue": "f229d1e6453f00c4f1c58de8d8ce2d2eeb5431a39a23c40e4315fe04dcb7c657"
40
40
  },
41
41
  {
42
42
  "algorithm": "SHA1",
43
- "checksumValue": "958580e8b21b20f9951e205c62ec2eb4119edb76"
43
+ "checksumValue": "387a6dfc3ecb12369dc2eafae9b253db2660bc72"
44
44
  }
45
45
  ],
46
46
  "licenseConcluded": "LicenseRef-RobonoSDK",
@@ -55,11 +55,11 @@
55
55
  "checksums": [
56
56
  {
57
57
  "algorithm": "SHA256",
58
- "checksumValue": "b022bc287a2c8cc651e44d66ed7c6042c8e2c9fa34a281238623ef0bdc837974"
58
+ "checksumValue": "3f21c01dab6fc5e524b43c3b26666b808e3a625cdac1221402e32b8760e432e8"
59
59
  },
60
60
  {
61
61
  "algorithm": "SHA1",
62
- "checksumValue": "f93c33000ec249f0791d6499b992a37910d00089"
62
+ "checksumValue": "1aba4e23fa983e3b848b1d84aeeaa23ed879304d"
63
63
  }
64
64
  ],
65
65
  "licenseConcluded": "LicenseRef-RobonoSDK",
@@ -986,11 +986,11 @@
986
986
  "checksums": [
987
987
  {
988
988
  "algorithm": "SHA256",
989
- "checksumValue": "5707eed4feb766c37ca1854820a4abb116164aefaa6be5c4ef768316fa448fb2"
989
+ "checksumValue": "d332f2c4cbcdf1810e35070bc49624fbe240f3230674e4f0cf89d764c819ccd1"
990
990
  },
991
991
  {
992
992
  "algorithm": "SHA1",
993
- "checksumValue": "7f32aa0bafe6048e18bfb9bff9994e5443ba75b2"
993
+ "checksumValue": "1c007f17ba6e904c8db8a91009166cd4c9d4f764"
994
994
  }
995
995
  ],
996
996
  "licenseConcluded": "LicenseRef-RobonoSDK",
@@ -1214,11 +1214,11 @@
1214
1214
  "checksums": [
1215
1215
  {
1216
1216
  "algorithm": "SHA256",
1217
- "checksumValue": "c6d44c6562e568595339543105b7e9ad38b1be7748069986180459a41480419a"
1217
+ "checksumValue": "0f3b2663ae3577d5e7bc49f4a55e2e8c7683d00c38fcfaec6a44e4322569ecb8"
1218
1218
  },
1219
1219
  {
1220
1220
  "algorithm": "SHA1",
1221
- "checksumValue": "82a6c4addcdfbc6bc88557b35e3c8a817789d7b4"
1221
+ "checksumValue": "961812c3d4368253d4f8c7bde5acd56cea8d04d9"
1222
1222
  }
1223
1223
  ],
1224
1224
  "licenseConcluded": "LicenseRef-RobonoSDK",
@@ -1912,8 +1912,46 @@
1912
1912
  "copyrightText": "Copyright (c) 2026 Add to Loop LLC."
1913
1913
  },
1914
1914
  {
1915
- "fileName": "./dist/media-controller.d.ts",
1915
+ "fileName": "./dist/media-access.d.ts",
1916
1916
  "SPDXID": "SPDXRef-File-99",
1917
+ "checksums": [
1918
+ {
1919
+ "algorithm": "SHA256",
1920
+ "checksumValue": "5cc051cce05f61697e363eda9094e0eaff75891ebe1e3f73d8987f6bac0f887e"
1921
+ },
1922
+ {
1923
+ "algorithm": "SHA1",
1924
+ "checksumValue": "f91f0ba501d445c5ec12de07eae587c6370473be"
1925
+ }
1926
+ ],
1927
+ "licenseConcluded": "LicenseRef-RobonoSDK",
1928
+ "licenseInfoInFiles": [
1929
+ "LicenseRef-RobonoSDK"
1930
+ ],
1931
+ "copyrightText": "Copyright (c) 2026 Add to Loop LLC."
1932
+ },
1933
+ {
1934
+ "fileName": "./dist/media-access.js",
1935
+ "SPDXID": "SPDXRef-File-100",
1936
+ "checksums": [
1937
+ {
1938
+ "algorithm": "SHA256",
1939
+ "checksumValue": "88ca03f01828a74b29df1cefafd987046b122b14d4cebb105e400bf3e7431344"
1940
+ },
1941
+ {
1942
+ "algorithm": "SHA1",
1943
+ "checksumValue": "cdea5ec30a576df7a379bf3bc94d232ce116e6d3"
1944
+ }
1945
+ ],
1946
+ "licenseConcluded": "LicenseRef-RobonoSDK",
1947
+ "licenseInfoInFiles": [
1948
+ "LicenseRef-RobonoSDK"
1949
+ ],
1950
+ "copyrightText": "Copyright (c) 2026 Add to Loop LLC."
1951
+ },
1952
+ {
1953
+ "fileName": "./dist/media-controller.d.ts",
1954
+ "SPDXID": "SPDXRef-File-101",
1917
1955
  "checksums": [
1918
1956
  {
1919
1957
  "algorithm": "SHA256",
@@ -1932,7 +1970,7 @@
1932
1970
  },
1933
1971
  {
1934
1972
  "fileName": "./dist/media-controller.js",
1935
- "SPDXID": "SPDXRef-File-100",
1973
+ "SPDXID": "SPDXRef-File-102",
1936
1974
  "checksums": [
1937
1975
  {
1938
1976
  "algorithm": "SHA256",
@@ -1951,7 +1989,7 @@
1951
1989
  },
1952
1990
  {
1953
1991
  "fileName": "./dist/media-readiness.d.ts",
1954
- "SPDXID": "SPDXRef-File-101",
1992
+ "SPDXID": "SPDXRef-File-103",
1955
1993
  "checksums": [
1956
1994
  {
1957
1995
  "algorithm": "SHA256",
@@ -1970,7 +2008,7 @@
1970
2008
  },
1971
2009
  {
1972
2010
  "fileName": "./dist/media-readiness.js",
1973
- "SPDXID": "SPDXRef-File-102",
2011
+ "SPDXID": "SPDXRef-File-104",
1974
2012
  "checksums": [
1975
2013
  {
1976
2014
  "algorithm": "SHA256",
@@ -1989,7 +2027,7 @@
1989
2027
  },
1990
2028
  {
1991
2029
  "fileName": "./dist/media-screening.d.ts",
1992
- "SPDXID": "SPDXRef-File-103",
2030
+ "SPDXID": "SPDXRef-File-105",
1993
2031
  "checksums": [
1994
2032
  {
1995
2033
  "algorithm": "SHA256",
@@ -2008,7 +2046,7 @@
2008
2046
  },
2009
2047
  {
2010
2048
  "fileName": "./dist/media-screening.js",
2011
- "SPDXID": "SPDXRef-File-104",
2049
+ "SPDXID": "SPDXRef-File-106",
2012
2050
  "checksums": [
2013
2051
  {
2014
2052
  "algorithm": "SHA256",
@@ -2027,7 +2065,7 @@
2027
2065
  },
2028
2066
  {
2029
2067
  "fileName": "./dist/media-ui.d.ts",
2030
- "SPDXID": "SPDXRef-File-105",
2068
+ "SPDXID": "SPDXRef-File-107",
2031
2069
  "checksums": [
2032
2070
  {
2033
2071
  "algorithm": "SHA256",
@@ -2046,7 +2084,7 @@
2046
2084
  },
2047
2085
  {
2048
2086
  "fileName": "./dist/media-ui.js",
2049
- "SPDXID": "SPDXRef-File-106",
2087
+ "SPDXID": "SPDXRef-File-108",
2050
2088
  "checksums": [
2051
2089
  {
2052
2090
  "algorithm": "SHA256",
@@ -2065,7 +2103,7 @@
2065
2103
  },
2066
2104
  {
2067
2105
  "fileName": "./dist/message-links.d.ts",
2068
- "SPDXID": "SPDXRef-File-107",
2106
+ "SPDXID": "SPDXRef-File-109",
2069
2107
  "checksums": [
2070
2108
  {
2071
2109
  "algorithm": "SHA256",
@@ -2084,7 +2122,7 @@
2084
2122
  },
2085
2123
  {
2086
2124
  "fileName": "./dist/message-links.js",
2087
- "SPDXID": "SPDXRef-File-108",
2125
+ "SPDXID": "SPDXRef-File-110",
2088
2126
  "checksums": [
2089
2127
  {
2090
2128
  "algorithm": "SHA256",
@@ -2103,7 +2141,7 @@
2103
2141
  },
2104
2142
  {
2105
2143
  "fileName": "./dist/message-menu.d.ts",
2106
- "SPDXID": "SPDXRef-File-109",
2144
+ "SPDXID": "SPDXRef-File-111",
2107
2145
  "checksums": [
2108
2146
  {
2109
2147
  "algorithm": "SHA256",
@@ -2122,15 +2160,15 @@
2122
2160
  },
2123
2161
  {
2124
2162
  "fileName": "./dist/message-menu.js",
2125
- "SPDXID": "SPDXRef-File-110",
2163
+ "SPDXID": "SPDXRef-File-112",
2126
2164
  "checksums": [
2127
2165
  {
2128
2166
  "algorithm": "SHA256",
2129
- "checksumValue": "3b593505d577e7333ee12d1ac51dd9696cf40021c15348f83ec44f02b3ce3efa"
2167
+ "checksumValue": "3eedd2898053141c4becd1f8e8c4cf6518aef61207971a7ec40625e1d47acce6"
2130
2168
  },
2131
2169
  {
2132
2170
  "algorithm": "SHA1",
2133
- "checksumValue": "8fff0ab9e6bb6572644613ca7fdaa5d9b4a1d93a"
2171
+ "checksumValue": "09b53c8bd7490e18699560a9f44eb5ca43912741"
2134
2172
  }
2135
2173
  ],
2136
2174
  "licenseConcluded": "LicenseRef-RobonoSDK",
@@ -2141,7 +2179,7 @@
2141
2179
  },
2142
2180
  {
2143
2181
  "fileName": "./dist/message-order.d.ts",
2144
- "SPDXID": "SPDXRef-File-111",
2182
+ "SPDXID": "SPDXRef-File-113",
2145
2183
  "checksums": [
2146
2184
  {
2147
2185
  "algorithm": "SHA256",
@@ -2160,7 +2198,7 @@
2160
2198
  },
2161
2199
  {
2162
2200
  "fileName": "./dist/message-order.js",
2163
- "SPDXID": "SPDXRef-File-112",
2201
+ "SPDXID": "SPDXRef-File-114",
2164
2202
  "checksums": [
2165
2203
  {
2166
2204
  "algorithm": "SHA256",
@@ -2179,7 +2217,7 @@
2179
2217
  },
2180
2218
  {
2181
2219
  "fileName": "./dist/messenger-video-view.d.ts",
2182
- "SPDXID": "SPDXRef-File-113",
2220
+ "SPDXID": "SPDXRef-File-115",
2183
2221
  "checksums": [
2184
2222
  {
2185
2223
  "algorithm": "SHA256",
@@ -2198,7 +2236,7 @@
2198
2236
  },
2199
2237
  {
2200
2238
  "fileName": "./dist/messenger-video-view.js",
2201
- "SPDXID": "SPDXRef-File-114",
2239
+ "SPDXID": "SPDXRef-File-116",
2202
2240
  "checksums": [
2203
2241
  {
2204
2242
  "algorithm": "SHA256",
@@ -2217,7 +2255,7 @@
2217
2255
  },
2218
2256
  {
2219
2257
  "fileName": "./dist/native-outbox.d.ts",
2220
- "SPDXID": "SPDXRef-File-115",
2258
+ "SPDXID": "SPDXRef-File-117",
2221
2259
  "checksums": [
2222
2260
  {
2223
2261
  "algorithm": "SHA256",
@@ -2236,7 +2274,7 @@
2236
2274
  },
2237
2275
  {
2238
2276
  "fileName": "./dist/native-outbox.js",
2239
- "SPDXID": "SPDXRef-File-116",
2277
+ "SPDXID": "SPDXRef-File-118",
2240
2278
  "checksums": [
2241
2279
  {
2242
2280
  "algorithm": "SHA256",
@@ -2255,7 +2293,7 @@
2255
2293
  },
2256
2294
  {
2257
2295
  "fileName": "./dist/pdf-preview.d.ts",
2258
- "SPDXID": "SPDXRef-File-117",
2296
+ "SPDXID": "SPDXRef-File-119",
2259
2297
  "checksums": [
2260
2298
  {
2261
2299
  "algorithm": "SHA256",
@@ -2274,7 +2312,7 @@
2274
2312
  },
2275
2313
  {
2276
2314
  "fileName": "./dist/pdf-preview.js",
2277
- "SPDXID": "SPDXRef-File-118",
2315
+ "SPDXID": "SPDXRef-File-120",
2278
2316
  "checksums": [
2279
2317
  {
2280
2318
  "algorithm": "SHA256",
@@ -2293,7 +2331,7 @@
2293
2331
  },
2294
2332
  {
2295
2333
  "fileName": "./dist/pdf-renderer.generated.d.ts",
2296
- "SPDXID": "SPDXRef-File-119",
2334
+ "SPDXID": "SPDXRef-File-121",
2297
2335
  "checksums": [
2298
2336
  {
2299
2337
  "algorithm": "SHA256",
@@ -2312,7 +2350,7 @@
2312
2350
  },
2313
2351
  {
2314
2352
  "fileName": "./dist/pdf-renderer.generated.js",
2315
- "SPDXID": "SPDXRef-File-120",
2353
+ "SPDXID": "SPDXRef-File-122",
2316
2354
  "checksums": [
2317
2355
  {
2318
2356
  "algorithm": "SHA256",
@@ -2331,7 +2369,7 @@
2331
2369
  },
2332
2370
  {
2333
2371
  "fileName": "./dist/photo-gesture.d.ts",
2334
- "SPDXID": "SPDXRef-File-121",
2372
+ "SPDXID": "SPDXRef-File-123",
2335
2373
  "checksums": [
2336
2374
  {
2337
2375
  "algorithm": "SHA256",
@@ -2350,7 +2388,7 @@
2350
2388
  },
2351
2389
  {
2352
2390
  "fileName": "./dist/photo-gesture.js",
2353
- "SPDXID": "SPDXRef-File-122",
2391
+ "SPDXID": "SPDXRef-File-124",
2354
2392
  "checksums": [
2355
2393
  {
2356
2394
  "algorithm": "SHA256",
@@ -2369,7 +2407,7 @@
2369
2407
  },
2370
2408
  {
2371
2409
  "fileName": "./dist/polls.d.ts",
2372
- "SPDXID": "SPDXRef-File-123",
2410
+ "SPDXID": "SPDXRef-File-125",
2373
2411
  "checksums": [
2374
2412
  {
2375
2413
  "algorithm": "SHA256",
@@ -2388,7 +2426,7 @@
2388
2426
  },
2389
2427
  {
2390
2428
  "fileName": "./dist/polls.js",
2391
- "SPDXID": "SPDXRef-File-124",
2429
+ "SPDXID": "SPDXRef-File-126",
2392
2430
  "checksums": [
2393
2431
  {
2394
2432
  "algorithm": "SHA256",
@@ -2407,7 +2445,7 @@
2407
2445
  },
2408
2446
  {
2409
2447
  "fileName": "./dist/pollVoteQueue.d.ts",
2410
- "SPDXID": "SPDXRef-File-125",
2448
+ "SPDXID": "SPDXRef-File-127",
2411
2449
  "checksums": [
2412
2450
  {
2413
2451
  "algorithm": "SHA256",
@@ -2426,7 +2464,7 @@
2426
2464
  },
2427
2465
  {
2428
2466
  "fileName": "./dist/pollVoteQueue.js",
2429
- "SPDXID": "SPDXRef-File-126",
2467
+ "SPDXID": "SPDXRef-File-128",
2430
2468
  "checksums": [
2431
2469
  {
2432
2470
  "algorithm": "SHA256",
@@ -2445,7 +2483,7 @@
2445
2483
  },
2446
2484
  {
2447
2485
  "fileName": "./dist/popup.d.ts",
2448
- "SPDXID": "SPDXRef-File-127",
2486
+ "SPDXID": "SPDXRef-File-129",
2449
2487
  "checksums": [
2450
2488
  {
2451
2489
  "algorithm": "SHA256",
@@ -2464,7 +2502,7 @@
2464
2502
  },
2465
2503
  {
2466
2504
  "fileName": "./dist/popup.js",
2467
- "SPDXID": "SPDXRef-File-128",
2505
+ "SPDXID": "SPDXRef-File-130",
2468
2506
  "checksums": [
2469
2507
  {
2470
2508
  "algorithm": "SHA256",
@@ -2483,7 +2521,7 @@
2483
2521
  },
2484
2522
  {
2485
2523
  "fileName": "./dist/preview-cache.d.ts",
2486
- "SPDXID": "SPDXRef-File-129",
2524
+ "SPDXID": "SPDXRef-File-131",
2487
2525
  "checksums": [
2488
2526
  {
2489
2527
  "algorithm": "SHA256",
@@ -2502,7 +2540,7 @@
2502
2540
  },
2503
2541
  {
2504
2542
  "fileName": "./dist/preview-cache.js",
2505
- "SPDXID": "SPDXRef-File-130",
2543
+ "SPDXID": "SPDXRef-File-132",
2506
2544
  "checksums": [
2507
2545
  {
2508
2546
  "algorithm": "SHA256",
@@ -2521,7 +2559,7 @@
2521
2559
  },
2522
2560
  {
2523
2561
  "fileName": "./dist/public-rooms.d.ts",
2524
- "SPDXID": "SPDXRef-File-131",
2562
+ "SPDXID": "SPDXRef-File-133",
2525
2563
  "checksums": [
2526
2564
  {
2527
2565
  "algorithm": "SHA256",
@@ -2540,7 +2578,7 @@
2540
2578
  },
2541
2579
  {
2542
2580
  "fileName": "./dist/public-rooms.js",
2543
- "SPDXID": "SPDXRef-File-132",
2581
+ "SPDXID": "SPDXRef-File-134",
2544
2582
  "checksums": [
2545
2583
  {
2546
2584
  "algorithm": "SHA256",
@@ -2559,7 +2597,7 @@
2559
2597
  },
2560
2598
  {
2561
2599
  "fileName": "./dist/quick-send.d.ts",
2562
- "SPDXID": "SPDXRef-File-133",
2600
+ "SPDXID": "SPDXRef-File-135",
2563
2601
  "checksums": [
2564
2602
  {
2565
2603
  "algorithm": "SHA256",
@@ -2578,7 +2616,7 @@
2578
2616
  },
2579
2617
  {
2580
2618
  "fileName": "./dist/quick-send.js",
2581
- "SPDXID": "SPDXRef-File-134",
2619
+ "SPDXID": "SPDXRef-File-136",
2582
2620
  "checksums": [
2583
2621
  {
2584
2622
  "algorithm": "SHA256",
@@ -2597,15 +2635,15 @@
2597
2635
  },
2598
2636
  {
2599
2637
  "fileName": "./dist/recent-media.d.ts",
2600
- "SPDXID": "SPDXRef-File-135",
2638
+ "SPDXID": "SPDXRef-File-137",
2601
2639
  "checksums": [
2602
2640
  {
2603
2641
  "algorithm": "SHA256",
2604
- "checksumValue": "fc4798510e24e15e1e44e5e9af3055701fa676ad85b07552dfdbb4f65b55f539"
2642
+ "checksumValue": "7252bf273e9850bd5ffee4d624fa9a03a9b2d54613b92d704211135a02d53356"
2605
2643
  },
2606
2644
  {
2607
2645
  "algorithm": "SHA1",
2608
- "checksumValue": "f22b56247bd5715d50449dd66753935f46305964"
2646
+ "checksumValue": "3c6457ca08275d4137793ee58ededb1368e5a1e3"
2609
2647
  }
2610
2648
  ],
2611
2649
  "licenseConcluded": "LicenseRef-RobonoSDK",
@@ -2616,15 +2654,15 @@
2616
2654
  },
2617
2655
  {
2618
2656
  "fileName": "./dist/recent-media.js",
2619
- "SPDXID": "SPDXRef-File-136",
2657
+ "SPDXID": "SPDXRef-File-138",
2620
2658
  "checksums": [
2621
2659
  {
2622
2660
  "algorithm": "SHA256",
2623
- "checksumValue": "f4e6d66f082b4fdb41bb3659209b42da04e4bff5a823213b6372ab1a612844ea"
2661
+ "checksumValue": "5b857573cccf3890306aa10f3199731e41df5f380f928728f674ccd385b62b88"
2624
2662
  },
2625
2663
  {
2626
2664
  "algorithm": "SHA1",
2627
- "checksumValue": "35e3404d6f6e5474a97c55ad8cb5fe8b8a5d4d12"
2665
+ "checksumValue": "a11dc800cad58bdd6506db2575a9aba0a1bbc0b2"
2628
2666
  }
2629
2667
  ],
2630
2668
  "licenseConcluded": "LicenseRef-RobonoSDK",
@@ -2635,7 +2673,7 @@
2635
2673
  },
2636
2674
  {
2637
2675
  "fileName": "./dist/recording-permission.d.ts",
2638
- "SPDXID": "SPDXRef-File-137",
2676
+ "SPDXID": "SPDXRef-File-139",
2639
2677
  "checksums": [
2640
2678
  {
2641
2679
  "algorithm": "SHA256",
@@ -2654,7 +2692,7 @@
2654
2692
  },
2655
2693
  {
2656
2694
  "fileName": "./dist/recording-permission.js",
2657
- "SPDXID": "SPDXRef-File-138",
2695
+ "SPDXID": "SPDXRef-File-140",
2658
2696
  "checksums": [
2659
2697
  {
2660
2698
  "algorithm": "SHA256",
@@ -2673,7 +2711,7 @@
2673
2711
  },
2674
2712
  {
2675
2713
  "fileName": "./dist/room-moderation.d.ts",
2676
- "SPDXID": "SPDXRef-File-139",
2714
+ "SPDXID": "SPDXRef-File-141",
2677
2715
  "checksums": [
2678
2716
  {
2679
2717
  "algorithm": "SHA256",
@@ -2692,7 +2730,7 @@
2692
2730
  },
2693
2731
  {
2694
2732
  "fileName": "./dist/room-moderation.js",
2695
- "SPDXID": "SPDXRef-File-140",
2733
+ "SPDXID": "SPDXRef-File-142",
2696
2734
  "checksums": [
2697
2735
  {
2698
2736
  "algorithm": "SHA256",
@@ -2711,7 +2749,7 @@
2711
2749
  },
2712
2750
  {
2713
2751
  "fileName": "./dist/safety.d.ts",
2714
- "SPDXID": "SPDXRef-File-141",
2752
+ "SPDXID": "SPDXRef-File-143",
2715
2753
  "checksums": [
2716
2754
  {
2717
2755
  "algorithm": "SHA256",
@@ -2730,7 +2768,7 @@
2730
2768
  },
2731
2769
  {
2732
2770
  "fileName": "./dist/safety.js",
2733
- "SPDXID": "SPDXRef-File-142",
2771
+ "SPDXID": "SPDXRef-File-144",
2734
2772
  "checksums": [
2735
2773
  {
2736
2774
  "algorithm": "SHA256",
@@ -2749,7 +2787,7 @@
2749
2787
  },
2750
2788
  {
2751
2789
  "fileName": "./dist/saved.d.ts",
2752
- "SPDXID": "SPDXRef-File-143",
2790
+ "SPDXID": "SPDXRef-File-145",
2753
2791
  "checksums": [
2754
2792
  {
2755
2793
  "algorithm": "SHA256",
@@ -2768,7 +2806,7 @@
2768
2806
  },
2769
2807
  {
2770
2808
  "fileName": "./dist/saved.js",
2771
- "SPDXID": "SPDXRef-File-144",
2809
+ "SPDXID": "SPDXRef-File-146",
2772
2810
  "checksums": [
2773
2811
  {
2774
2812
  "algorithm": "SHA256",
@@ -2787,7 +2825,7 @@
2787
2825
  },
2788
2826
  {
2789
2827
  "fileName": "./dist/scheduled.d.ts",
2790
- "SPDXID": "SPDXRef-File-145",
2828
+ "SPDXID": "SPDXRef-File-147",
2791
2829
  "checksums": [
2792
2830
  {
2793
2831
  "algorithm": "SHA256",
@@ -2806,7 +2844,7 @@
2806
2844
  },
2807
2845
  {
2808
2846
  "fileName": "./dist/scheduled.js",
2809
- "SPDXID": "SPDXRef-File-146",
2847
+ "SPDXID": "SPDXRef-File-148",
2810
2848
  "checksums": [
2811
2849
  {
2812
2850
  "algorithm": "SHA256",
@@ -2825,7 +2863,7 @@
2825
2863
  },
2826
2864
  {
2827
2865
  "fileName": "./dist/search.d.ts",
2828
- "SPDXID": "SPDXRef-File-147",
2866
+ "SPDXID": "SPDXRef-File-149",
2829
2867
  "checksums": [
2830
2868
  {
2831
2869
  "algorithm": "SHA256",
@@ -2844,7 +2882,7 @@
2844
2882
  },
2845
2883
  {
2846
2884
  "fileName": "./dist/search.js",
2847
- "SPDXID": "SPDXRef-File-148",
2885
+ "SPDXID": "SPDXRef-File-150",
2848
2886
  "checksums": [
2849
2887
  {
2850
2888
  "algorithm": "SHA256",
@@ -2863,7 +2901,7 @@
2863
2901
  },
2864
2902
  {
2865
2903
  "fileName": "./dist/sign-in.d.ts",
2866
- "SPDXID": "SPDXRef-File-149",
2904
+ "SPDXID": "SPDXRef-File-151",
2867
2905
  "checksums": [
2868
2906
  {
2869
2907
  "algorithm": "SHA256",
@@ -2882,7 +2920,7 @@
2882
2920
  },
2883
2921
  {
2884
2922
  "fileName": "./dist/sign-in.js",
2885
- "SPDXID": "SPDXRef-File-150",
2923
+ "SPDXID": "SPDXRef-File-152",
2886
2924
  "checksums": [
2887
2925
  {
2888
2926
  "algorithm": "SHA256",
@@ -2901,7 +2939,7 @@
2901
2939
  },
2902
2940
  {
2903
2941
  "fileName": "./dist/social.d.ts",
2904
- "SPDXID": "SPDXRef-File-151",
2942
+ "SPDXID": "SPDXRef-File-153",
2905
2943
  "checksums": [
2906
2944
  {
2907
2945
  "algorithm": "SHA256",
@@ -2920,7 +2958,7 @@
2920
2958
  },
2921
2959
  {
2922
2960
  "fileName": "./dist/social.js",
2923
- "SPDXID": "SPDXRef-File-152",
2961
+ "SPDXID": "SPDXRef-File-154",
2924
2962
  "checksums": [
2925
2963
  {
2926
2964
  "algorithm": "SHA256",
@@ -2939,7 +2977,7 @@
2939
2977
  },
2940
2978
  {
2941
2979
  "fileName": "./dist/storage-digest-cache.d.ts",
2942
- "SPDXID": "SPDXRef-File-153",
2980
+ "SPDXID": "SPDXRef-File-155",
2943
2981
  "checksums": [
2944
2982
  {
2945
2983
  "algorithm": "SHA256",
@@ -2958,7 +2996,7 @@
2958
2996
  },
2959
2997
  {
2960
2998
  "fileName": "./dist/storage-digest-cache.js",
2961
- "SPDXID": "SPDXRef-File-154",
2999
+ "SPDXID": "SPDXRef-File-156",
2962
3000
  "checksums": [
2963
3001
  {
2964
3002
  "algorithm": "SHA256",
@@ -2977,7 +3015,7 @@
2977
3015
  },
2978
3016
  {
2979
3017
  "fileName": "./dist/translation-settings.d.ts",
2980
- "SPDXID": "SPDXRef-File-155",
3018
+ "SPDXID": "SPDXRef-File-157",
2981
3019
  "checksums": [
2982
3020
  {
2983
3021
  "algorithm": "SHA256",
@@ -2996,7 +3034,7 @@
2996
3034
  },
2997
3035
  {
2998
3036
  "fileName": "./dist/translation-settings.js",
2999
- "SPDXID": "SPDXRef-File-156",
3037
+ "SPDXID": "SPDXRef-File-158",
3000
3038
  "checksums": [
3001
3039
  {
3002
3040
  "algorithm": "SHA256",
@@ -3015,7 +3053,7 @@
3015
3053
  },
3016
3054
  {
3017
3055
  "fileName": "./dist/typography.d.ts",
3018
- "SPDXID": "SPDXRef-File-157",
3056
+ "SPDXID": "SPDXRef-File-159",
3019
3057
  "checksums": [
3020
3058
  {
3021
3059
  "algorithm": "SHA256",
@@ -3034,7 +3072,7 @@
3034
3072
  },
3035
3073
  {
3036
3074
  "fileName": "./dist/typography.js",
3037
- "SPDXID": "SPDXRef-File-158",
3075
+ "SPDXID": "SPDXRef-File-160",
3038
3076
  "checksums": [
3039
3077
  {
3040
3078
  "algorithm": "SHA256",
@@ -3053,7 +3091,7 @@
3053
3091
  },
3054
3092
  {
3055
3093
  "fileName": "./dist/use-quote-gesture.d.ts",
3056
- "SPDXID": "SPDXRef-File-159",
3094
+ "SPDXID": "SPDXRef-File-161",
3057
3095
  "checksums": [
3058
3096
  {
3059
3097
  "algorithm": "SHA256",
@@ -3072,7 +3110,7 @@
3072
3110
  },
3073
3111
  {
3074
3112
  "fileName": "./dist/use-quote-gesture.js",
3075
- "SPDXID": "SPDXRef-File-160",
3113
+ "SPDXID": "SPDXRef-File-162",
3076
3114
  "checksums": [
3077
3115
  {
3078
3116
  "algorithm": "SHA256",
@@ -3091,7 +3129,7 @@
3091
3129
  },
3092
3130
  {
3093
3131
  "fileName": "./dist/visual/icon-nodes.d.ts",
3094
- "SPDXID": "SPDXRef-File-161",
3132
+ "SPDXID": "SPDXRef-File-163",
3095
3133
  "checksums": [
3096
3134
  {
3097
3135
  "algorithm": "SHA256",
@@ -3110,7 +3148,7 @@
3110
3148
  },
3111
3149
  {
3112
3150
  "fileName": "./dist/visual/icon-nodes.js",
3113
- "SPDXID": "SPDXRef-File-162",
3151
+ "SPDXID": "SPDXRef-File-164",
3114
3152
  "checksums": [
3115
3153
  {
3116
3154
  "algorithm": "SHA256",
@@ -3129,7 +3167,7 @@
3129
3167
  },
3130
3168
  {
3131
3169
  "fileName": "./dist/visual/icon-paths.d.ts",
3132
- "SPDXID": "SPDXRef-File-163",
3170
+ "SPDXID": "SPDXRef-File-165",
3133
3171
  "checksums": [
3134
3172
  {
3135
3173
  "algorithm": "SHA256",
@@ -3148,7 +3186,7 @@
3148
3186
  },
3149
3187
  {
3150
3188
  "fileName": "./dist/visual/icon-paths.js",
3151
- "SPDXID": "SPDXRef-File-164",
3189
+ "SPDXID": "SPDXRef-File-166",
3152
3190
  "checksums": [
3153
3191
  {
3154
3192
  "algorithm": "SHA256",
@@ -3167,7 +3205,7 @@
3167
3205
  },
3168
3206
  {
3169
3207
  "fileName": "./dist/visual/RobonoIcon.d.ts",
3170
- "SPDXID": "SPDXRef-File-165",
3208
+ "SPDXID": "SPDXRef-File-167",
3171
3209
  "checksums": [
3172
3210
  {
3173
3211
  "algorithm": "SHA256",
@@ -3186,7 +3224,7 @@
3186
3224
  },
3187
3225
  {
3188
3226
  "fileName": "./dist/visual/RobonoIcon.js",
3189
- "SPDXID": "SPDXRef-File-166",
3227
+ "SPDXID": "SPDXRef-File-168",
3190
3228
  "checksums": [
3191
3229
  {
3192
3230
  "algorithm": "SHA256",
@@ -3205,7 +3243,7 @@
3205
3243
  },
3206
3244
  {
3207
3245
  "fileName": "./dist/visual/weather-artwork.d.ts",
3208
- "SPDXID": "SPDXRef-File-167",
3246
+ "SPDXID": "SPDXRef-File-169",
3209
3247
  "checksums": [
3210
3248
  {
3211
3249
  "algorithm": "SHA256",
@@ -3224,7 +3262,7 @@
3224
3262
  },
3225
3263
  {
3226
3264
  "fileName": "./dist/visual/weather-artwork.js",
3227
- "SPDXID": "SPDXRef-File-168",
3265
+ "SPDXID": "SPDXRef-File-170",
3228
3266
  "checksums": [
3229
3267
  {
3230
3268
  "algorithm": "SHA256",
@@ -3243,7 +3281,7 @@
3243
3281
  },
3244
3282
  {
3245
3283
  "fileName": "./dist/visual/weather-conditions.d.ts",
3246
- "SPDXID": "SPDXRef-File-169",
3284
+ "SPDXID": "SPDXRef-File-171",
3247
3285
  "checksums": [
3248
3286
  {
3249
3287
  "algorithm": "SHA256",
@@ -3262,7 +3300,7 @@
3262
3300
  },
3263
3301
  {
3264
3302
  "fileName": "./dist/visual/weather-conditions.js",
3265
- "SPDXID": "SPDXRef-File-170",
3303
+ "SPDXID": "SPDXRef-File-172",
3266
3304
  "checksums": [
3267
3305
  {
3268
3306
  "algorithm": "SHA256",
@@ -3281,7 +3319,7 @@
3281
3319
  },
3282
3320
  {
3283
3321
  "fileName": "./dist/visual/WeatherArtwork.d.ts",
3284
- "SPDXID": "SPDXRef-File-171",
3322
+ "SPDXID": "SPDXRef-File-173",
3285
3323
  "checksums": [
3286
3324
  {
3287
3325
  "algorithm": "SHA256",
@@ -3300,7 +3338,7 @@
3300
3338
  },
3301
3339
  {
3302
3340
  "fileName": "./dist/visual/WeatherArtwork.js",
3303
- "SPDXID": "SPDXRef-File-172",
3341
+ "SPDXID": "SPDXRef-File-174",
3304
3342
  "checksums": [
3305
3343
  {
3306
3344
  "algorithm": "SHA256",
@@ -3319,7 +3357,7 @@
3319
3357
  },
3320
3358
  {
3321
3359
  "fileName": "./dist/voice-composer.d.ts",
3322
- "SPDXID": "SPDXRef-File-173",
3360
+ "SPDXID": "SPDXRef-File-175",
3323
3361
  "checksums": [
3324
3362
  {
3325
3363
  "algorithm": "SHA256",
@@ -3338,7 +3376,7 @@
3338
3376
  },
3339
3377
  {
3340
3378
  "fileName": "./dist/voice-composer.js",
3341
- "SPDXID": "SPDXRef-File-174",
3379
+ "SPDXID": "SPDXRef-File-176",
3342
3380
  "checksums": [
3343
3381
  {
3344
3382
  "algorithm": "SHA256",
@@ -3357,7 +3395,7 @@
3357
3395
  },
3358
3396
  {
3359
3397
  "fileName": "./dist/voice-waveform.d.ts",
3360
- "SPDXID": "SPDXRef-File-175",
3398
+ "SPDXID": "SPDXRef-File-177",
3361
3399
  "checksums": [
3362
3400
  {
3363
3401
  "algorithm": "SHA256",
@@ -3376,7 +3414,7 @@
3376
3414
  },
3377
3415
  {
3378
3416
  "fileName": "./dist/voice-waveform.js",
3379
- "SPDXID": "SPDXRef-File-176",
3417
+ "SPDXID": "SPDXRef-File-178",
3380
3418
  "checksums": [
3381
3419
  {
3382
3420
  "algorithm": "SHA256",
@@ -3395,7 +3433,7 @@
3395
3433
  },
3396
3434
  {
3397
3435
  "fileName": "./examples/existing-bridge-chat.tsx",
3398
- "SPDXID": "SPDXRef-File-177",
3436
+ "SPDXID": "SPDXRef-File-179",
3399
3437
  "checksums": [
3400
3438
  {
3401
3439
  "algorithm": "SHA256",
@@ -3414,7 +3452,7 @@
3414
3452
  },
3415
3453
  {
3416
3454
  "fileName": "./licenses/pdfjs-LICENSE",
3417
- "SPDXID": "SPDXRef-File-178",
3455
+ "SPDXID": "SPDXRef-File-180",
3418
3456
  "checksums": [
3419
3457
  {
3420
3458
  "algorithm": "SHA256",
@@ -3433,7 +3471,7 @@
3433
3471
  },
3434
3472
  {
3435
3473
  "fileName": "./licenses/robono-icons-lucide-license.txt",
3436
- "SPDXID": "SPDXRef-File-179",
3474
+ "SPDXID": "SPDXRef-File-181",
3437
3475
  "checksums": [
3438
3476
  {
3439
3477
  "algorithm": "SHA256",
@@ -3452,7 +3490,7 @@
3452
3490
  },
3453
3491
  {
3454
3492
  "fileName": "./licenses/robono-icons-weather-attribution.txt",
3455
- "SPDXID": "SPDXRef-File-180",
3493
+ "SPDXID": "SPDXRef-File-182",
3456
3494
  "checksums": [
3457
3495
  {
3458
3496
  "algorithm": "SHA256",
@@ -3471,7 +3509,7 @@
3471
3509
  },
3472
3510
  {
3473
3511
  "fileName": "./licenses/robono-icons-weather-license.txt",
3474
- "SPDXID": "SPDXRef-File-181",
3512
+ "SPDXID": "SPDXRef-File-183",
3475
3513
  "checksums": [
3476
3514
  {
3477
3515
  "algorithm": "SHA256",
@@ -3490,15 +3528,15 @@
3490
3528
  },
3491
3529
  {
3492
3530
  "fileName": "./package.json",
3493
- "SPDXID": "SPDXRef-File-182",
3531
+ "SPDXID": "SPDXRef-File-184",
3494
3532
  "checksums": [
3495
3533
  {
3496
3534
  "algorithm": "SHA256",
3497
- "checksumValue": "44d2c6ff2b7b9ca3f0315b148f7557290eec84e7666b4b81f30ec0ed1f8cdcd7"
3535
+ "checksumValue": "1242fe29389b2ea1b4629710231669e727345775c7a85022ff120eda836461e0"
3498
3536
  },
3499
3537
  {
3500
3538
  "algorithm": "SHA1",
3501
- "checksumValue": "621532549004ab4b0d58a298e3adfd756496df6e"
3539
+ "checksumValue": "44626f030067aa6ee07ba0bd0d1f11f1bc767e53"
3502
3540
  }
3503
3541
  ],
3504
3542
  "licenseConcluded": "LicenseRef-RobonoSDK",
@@ -3509,7 +3547,7 @@
3509
3547
  },
3510
3548
  {
3511
3549
  "fileName": "./plugin/preserve-call-audio.cjs",
3512
- "SPDXID": "SPDXRef-File-183",
3550
+ "SPDXID": "SPDXRef-File-185",
3513
3551
  "checksums": [
3514
3552
  {
3515
3553
  "algorithm": "SHA256",
@@ -3528,7 +3566,7 @@
3528
3566
  },
3529
3567
  {
3530
3568
  "fileName": "./setup.plugin.cjs",
3531
- "SPDXID": "SPDXRef-File-184",
3569
+ "SPDXID": "SPDXRef-File-186",
3532
3570
  "checksums": [
3533
3571
  {
3534
3572
  "algorithm": "SHA256",
@@ -4476,6 +4514,16 @@
4476
4514
  "spdxElementId": "SPDXRef-Package",
4477
4515
  "relationshipType": "CONTAINS",
4478
4516
  "relatedSpdxElement": "SPDXRef-File-184"
4517
+ },
4518
+ {
4519
+ "spdxElementId": "SPDXRef-Package",
4520
+ "relationshipType": "CONTAINS",
4521
+ "relatedSpdxElement": "SPDXRef-File-185"
4522
+ },
4523
+ {
4524
+ "spdxElementId": "SPDXRef-Package",
4525
+ "relationshipType": "CONTAINS",
4526
+ "relatedSpdxElement": "SPDXRef-File-186"
4479
4527
  }
4480
4528
  ],
4481
4529
  "hasExtractedLicensingInfos": [
@@ -1,4 +1,5 @@
1
1
  import { MessagingError } from '@robono/messaging';
2
+ import { MessagingMediaAccess } from './media-access.js';
2
3
  import { awaitMediaScreening } from './media-screening';
3
4
  import { AppState } from 'react-native';
4
5
  import { prepareRecordingPermission } from './recording-permission.js';
@@ -264,6 +265,7 @@ function https(value) { const url = new URL(value); if (url.protocol !== 'https:
264
265
  /** Private-storage transport. The endpoint is YOUR authenticated backend, never a Robono API key on the phone. */
265
266
  export function createExpoMessagingStorage(options) {
266
267
  const endpoint = https(options.url);
268
+ const access = new MessagingMediaAccess();
267
269
  async function request(operation, input, signal) {
268
270
  const token = await options.getAccessToken();
269
271
  if (!token)
@@ -296,13 +298,12 @@ export function createExpoMessagingStorage(options) {
296
298
  signal?.removeEventListener('abort', cancel);
297
299
  }
298
300
  }
299
- async function playbackPlan(message, signal) {
301
+ async function playbackPlan(message, signal, reauthorize = false) {
300
302
  check(signal);
301
303
  if (message.deleted)
302
304
  throw Error('This attachment is no longer available.');
303
- const grant = message.attachmentDownload;
304
- const granted = grant && grant.messageId === message.id && grant.conversationId === message.conversationId && grant.assetId === message.media?.assetId && Number.isFinite(grant.expiresAt) && grant.expiresAt > Date.now() + 5000 && grant.expiresAt <= Date.now() + 60000;
305
- const plan = granted ? { url: grant.url, media: message.media, headers: undefined } : await request('download', { conversationId: message.conversationId, messageId: message.id }, signal);
305
+ const grant = access.get(message, reauthorize);
306
+ const plan = grant ? { url: grant.url, media: message.media, headers: undefined } : await request('download', { conversationId: message.conversationId, messageId: message.id }, signal);
306
307
  check(signal);
307
308
  const media = plan.media;
308
309
  if (!media || media.assetId !== message.media?.assetId || !Number.isSafeInteger(media.byteSize) || media.byteSize < 1 || media.byteSize > 104857600)
@@ -394,6 +395,8 @@ export function createExpoMessagingStorage(options) {
394
395
  const media = plan.media;
395
396
  if (media?.assetId !== message.media?.assetId || media?.mimeType !== 'image/jpeg' || !Number.isInteger(media.byteSize) || media.byteSize < 1 || media.byteSize > (message.media?.assetId.startsWith('bridge:') ? 204800 : 131072))
396
397
  throw Error('Invalid attachment preview.');
398
+ check(context.signal);
399
+ access.remember(message, plan.attachmentDownload);
397
400
  const path = await cachePath('preview.jpg');
398
401
  try {
399
402
  const task = FS.createDownloadResumable(https(plan.url), path, { headers: plan.headers ?? {}, sessionType: FS.FileSystemSessionType.FOREGROUND }, progress => { if (progress.totalBytesWritten > media.byteSize)
@@ -416,7 +419,7 @@ export function createExpoMessagingStorage(options) {
416
419
  // Local directory preparation needs no media access. Run it alongside
417
420
  // authorization, but never start the transfer until both have succeeded.
418
421
  const [authorized, prepared] = await Promise.allSettled([
419
- playbackPlan(message, context.signal),
422
+ playbackPlan(message, context.signal, context.reauthorize),
420
423
  cacheDirectory(),
421
424
  ]);
422
425
  const dir = prepared.status === 'fulfilled' ? prepared.value : null;
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Linking } from 'react-native';
3
+ import { isRemoteMessagingAsset } from './media-access.js';
3
4
  import { ExpoDocumentPreview } from './expo-document.js';
4
5
  import { MessagingTypography } from './typography.js';
5
6
  import { Text } from './typography.js';
@@ -435,6 +436,8 @@ function ExpoMessagingScreenContent({ storage, audioSession, renderConversation,
435
436
  const present = controller.getPrepared(media.assetId) ?? recorder.getPrepared(media.assetId);
436
437
  if (present)
437
438
  return present;
439
+ if (isRemoteMessagingAsset(media.assetId))
440
+ return undefined;
438
441
  const conversationId = props.client.getSnapshot().conversationId, saved = await outbox?.file(conversationId, media.assetId);
439
442
  if (!saved)
440
443
  return undefined;
@@ -0,0 +1,18 @@
1
+ import type { MessagingMessage } from '@robono/messaging';
2
+ export declare const isRemoteMessagingAsset: (id: string) => boolean;
3
+ /** Access belongs to this authorized message object, never a global URL cache.
4
+ * Explicit exports still request fresh authorization. */
5
+ export declare class MessagingMediaAccess {
6
+ private now;
7
+ private grants;
8
+ constructor(now?: () => number);
9
+ private valid;
10
+ remember(message: MessagingMessage, grant: unknown): void;
11
+ get(message: MessagingMessage, reauthorize?: boolean): {
12
+ url: string;
13
+ expiresAt: number;
14
+ messageId: string;
15
+ conversationId: string;
16
+ assetId: string;
17
+ } | undefined;
18
+ }
@@ -0,0 +1,33 @@
1
+ export const isRemoteMessagingAsset = (id) => id.startsWith('bridge:') || id.startsWith('robono-r2:');
2
+ /** Access belongs to this authorized message object, never a global URL cache.
3
+ * Explicit exports still request fresh authorization. */
4
+ export class MessagingMediaAccess {
5
+ now;
6
+ grants = new WeakMap();
7
+ constructor(now = Date.now) {
8
+ this.now = now;
9
+ }
10
+ valid(message, grant) {
11
+ if (message.deleted || !message.media || !grant || grant.messageId !== message.id || grant.conversationId !== message.conversationId || grant.assetId !== message.media.assetId || !Number.isFinite(grant.expiresAt) || grant.expiresAt <= this.now() + 5000 || grant.expiresAt > this.now() + 60000)
12
+ return false;
13
+ try {
14
+ const url = new URL(grant.url);
15
+ return url.protocol === 'https:' && !url.username && !url.password;
16
+ }
17
+ catch {
18
+ return false;
19
+ }
20
+ }
21
+ remember(message, grant) { if (this.valid(message, grant))
22
+ this.grants.set(message, { ...grant }); }
23
+ get(message, reauthorize = false) {
24
+ if (reauthorize)
25
+ return undefined;
26
+ const grant = this.grants.get(message) ?? message.attachmentDownload;
27
+ if (!this.valid(message, grant)) {
28
+ this.grants.delete(message);
29
+ return undefined;
30
+ }
31
+ return grant;
32
+ }
33
+ }
@@ -3,7 +3,7 @@ import { defaultMessagingSettings, messagingMenuColors, messagingMenuLayout, mes
3
3
  import { useMessagingAppearance } from './appearance-context.js';
4
4
  import { Text } from './typography.js';
5
5
  import { useRobonoLocale } from './localization.js';
6
- import { messagingPopupBackdrop, MessagingMenuSurface } from './popup.js';
6
+ import { MessagingMenuSurface } from './popup.js';
7
7
  import { useEffect } from 'react';
8
8
  import { Platform, Pressable, ScrollView, View } from 'react-native';
9
9
  import { MessageIcon } from './icons.js';
@@ -31,6 +31,6 @@ export function MessageMenu({ visible, position, screenHeight, mine, reactions,
31
31
  const menuWidth = Math.min(300, rect.width - 24), y = Math.max(12, Math.min(position.y - rect.top, rect.height - 12));
32
32
  const local = { ...position, x: Math.max(12, Math.min(position.x - rect.left, rect.width - menuWidth - 12)), y, available: Math.max(44, (position.above ? y : rect.height - y) - 24) };
33
33
  const card = _jsx(View, { testID: "message-action-card", style: { width: 218, maxWidth: '100%', maxHeight: Math.min(310, Math.max(43, local.available - (reactions ? 58 : 0))), borderRadius: layout.radius, borderWidth: .5, borderColor: palette.foreground + '22', backgroundColor: palette.background, paddingVertical: 4, overflow: 'hidden', boxShadow: '0 8px 18px #0006', alignSelf: mine ? 'flex-end' : 'flex-start' }, children: _jsx(ScrollView, { showsVerticalScrollIndicator: false, bounces: false, keyboardShouldPersistTaps: "handled", children: children }) });
34
- return _jsxs(View, { style: { flex: 1 }, children: [_jsx(Pressable, { accessibilityLabel: uiText("Close message options"), onPress: onClose, style: { position: 'absolute', inset: 0, backgroundColor: messagingPopupBackdrop } }), _jsxs(View, { testID: "message-context-menu", style: { position: 'absolute', left: local.x, ...(position.above ? { bottom: rect.height - local.y + 12 } : { top: local.y + 12 }), width: menuWidth, maxWidth: '94%', gap: 8 }, children: [position.above ? card : reactions, position.above ? reactions : card] })] });
34
+ return _jsxs(View, { style: { flex: 1 }, children: [_jsx(Pressable, { testID: "message-options-dismiss", accessibilityLabel: uiText("Close message options"), onPress: onClose, style: { position: 'absolute', inset: 0, backgroundColor: 'transparent' } }), _jsxs(View, { testID: "message-context-menu", style: { position: 'absolute', left: local.x, ...(position.above ? { bottom: rect.height - local.y + 12 } : { top: local.y + 12 }), width: menuWidth, maxWidth: '94%', gap: 8 }, children: [position.above ? card : reactions, position.above ? reactions : card] })] });
35
35
  } });
36
36
  }
@@ -8,6 +8,8 @@ export declare class RecentMessagingMedia {
8
8
  private now;
9
9
  private entries;
10
10
  private running;
11
+ private foreground;
12
+ private resumeTimer;
11
13
  constructor(source: MessagingMediaStorage, files: {
12
14
  copy: (file: LocalMessagingMedia) => Promise<LocalMessagingMedia>;
13
15
  remove: (file: LocalMessagingMedia) => Promise<void>;
@@ -15,6 +17,9 @@ export declare class RecentMessagingMedia {
15
17
  readonly storage: MessagingMediaStorage;
16
18
  sync(messages: MessagingMessage[]): void;
17
19
  clear(): void;
20
+ /** Pause speculation until the viewer closes/cancels, including while a
21
+ * streamed video is fetching bytes after its URL has been returned. */
22
+ private prioritize;
18
23
  private drop;
19
24
  private pump;
20
25
  private start;
@@ -7,6 +7,8 @@ export class RecentMessagingMedia {
7
7
  now;
8
8
  entries = new Map();
9
9
  running = 0;
10
+ foreground = new Map();
11
+ resumeTimer;
10
12
  constructor(source, files, now = Date.now) {
11
13
  this.source = source;
12
14
  this.files = files;
@@ -17,6 +19,7 @@ export class RecentMessagingMedia {
17
19
  stream: async (message, context) => {
18
20
  if (context.signal.aborted)
19
21
  throw Error('Cancelled.');
22
+ this.prioritize(context.signal, this.source.stream ? undefined : key(message));
20
23
  const id = key(message), entry = this.entries.get(id);
21
24
  // An already authorized original starts locally. Never wait behind a
22
25
  // speculative transfer: a cold tap keeps the normal streaming path.
@@ -34,6 +37,9 @@ export class RecentMessagingMedia {
34
37
  },
35
38
  upload: (file, context) => this.source.upload(file, context), discard: id => this.source.discard(id),
36
39
  download: async (message, context) => {
40
+ if (context.signal.aborted)
41
+ throw Error('Cancelled.');
42
+ this.prioritize(context.signal, key(message));
37
43
  if (context.reauthorize)
38
44
  return this.source.download(message, context);
39
45
  const id = key(message), entry = this.entries.get(id);
@@ -100,8 +106,25 @@ export class RecentMessagingMedia {
100
106
  }
101
107
  this.pump();
102
108
  }
103
- clear() { for (const [id, entry] of this.entries)
109
+ clear() { clearTimeout(this.resumeTimer); for (const [signal, release] of this.foreground)
110
+ signal.removeEventListener('abort', release); this.foreground.clear(); for (const [id, entry] of this.entries)
104
111
  this.drop(id, entry); }
112
+ /** Pause speculation until the viewer closes/cancels, including while a
113
+ * streamed video is fetching bytes after its URL has been returned. */
114
+ prioritize(signal, keep) {
115
+ clearTimeout(this.resumeTimer);
116
+ if (!this.foreground.has(signal)) {
117
+ const release = () => { signal.removeEventListener('abort', release); this.foreground.delete(signal); clearTimeout(this.resumeTimer); this.resumeTimer = setTimeout(() => this.pump(), 0); };
118
+ this.foreground.set(signal, release);
119
+ signal.addEventListener('abort', release, { once: true });
120
+ }
121
+ for (const [id, entry] of this.entries) {
122
+ if (id === keep || entry.file || !entry.work)
123
+ continue;
124
+ this.drop(id, entry);
125
+ this.entries.set(id, { message: entry.message, abort: new AbortController(), expires: 0, attempted: false });
126
+ }
127
+ }
105
128
  drop(id, entry) {
106
129
  if (this.entries.get(id) === entry)
107
130
  this.entries.delete(id);
@@ -112,6 +135,8 @@ export class RecentMessagingMedia {
112
135
  }
113
136
  }
114
137
  pump() {
138
+ if (this.foreground.size)
139
+ return;
115
140
  for (const [id, entry] of this.entries) {
116
141
  if (this.running >= 2)
117
142
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robono/messaging-react-native",
3
- "version": "0.20.2",
3
+ "version": "0.20.3",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "Optional, composable direct and group messaging screens for Robono.",
@@ -57,7 +57,7 @@
57
57
  "prepack": "npm run build && node ../../scripts/generate-sdk-file-sbom.mjs"
58
58
  },
59
59
  "peerDependencies": {
60
- "@robono/messaging": "^0.15.0",
60
+ "@robono/messaging": "^0.15.1",
61
61
  "react": ">=18.2 <20",
62
62
  "react-native": ">=0.76 <1",
63
63
  "expo-audio": ">=55 <57",