@signalapp/libsignal-client 0.81.1 → 0.82.0

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.
Files changed (166) hide show
  1. package/Native.d.ts +34 -31
  2. package/Native.js +4 -1
  3. package/dist/AccountKeys.d.ts +3 -3
  4. package/dist/AccountKeys.js +8 -14
  5. package/dist/Address.d.ts +1 -1
  6. package/dist/Address.js +8 -15
  7. package/dist/EcKeys.d.ts +1 -1
  8. package/dist/EcKeys.js +4 -10
  9. package/dist/Errors.d.ts +2 -2
  10. package/dist/Errors.js +5 -9
  11. package/dist/MessageBackup.d.ts +4 -4
  12. package/dist/MessageBackup.js +10 -18
  13. package/dist/Minidump.js +2 -6
  14. package/dist/Mp4Sanitizer.d.ts +2 -2
  15. package/dist/Mp4Sanitizer.js +3 -8
  16. package/dist/SealedSenderMultiRecipientMessage.d.ts +1 -1
  17. package/dist/SealedSenderMultiRecipientMessage.js +2 -5
  18. package/dist/WebpSanitizer.js +2 -6
  19. package/dist/acknowledgments.md +87 -89
  20. package/dist/incremental_mac.d.ts +1 -1
  21. package/dist/incremental_mac.js +11 -19
  22. package/dist/index.d.ts +18 -18
  23. package/dist/index.js +93 -158
  24. package/dist/internal.d.ts +2 -2
  25. package/dist/internal.js +3 -8
  26. package/dist/io.d.ts +1 -1
  27. package/dist/io.js +1 -5
  28. package/dist/net/CDSI.d.ts +2 -2
  29. package/dist/net/CDSI.js +8 -12
  30. package/dist/net/Chat.d.ts +11 -12
  31. package/dist/net/Chat.js +15 -22
  32. package/dist/net/KeyTransparency.d.ts +10 -10
  33. package/dist/net/KeyTransparency.js +4 -8
  34. package/dist/net/Registration.d.ts +5 -5
  35. package/dist/net/Registration.js +16 -22
  36. package/dist/net/SvrB.d.ts +3 -3
  37. package/dist/net/SvrB.js +5 -9
  38. package/dist/net/chat/UnauthUsernamesService.d.ts +4 -4
  39. package/dist/net/chat/UnauthUsernamesService.js +5 -7
  40. package/dist/net.d.ts +11 -11
  41. package/dist/net.js +27 -46
  42. package/dist/usernames.js +12 -23
  43. package/dist/zkgroup/GenericServerPublicParams.d.ts +1 -1
  44. package/dist/zkgroup/GenericServerPublicParams.js +3 -6
  45. package/dist/zkgroup/GenericServerSecretParams.d.ts +2 -2
  46. package/dist/zkgroup/GenericServerSecretParams.js +8 -11
  47. package/dist/zkgroup/NotarySignature.d.ts +1 -1
  48. package/dist/zkgroup/NotarySignature.js +3 -5
  49. package/dist/zkgroup/ServerPublicParams.d.ts +2 -2
  50. package/dist/zkgroup/ServerPublicParams.js +2 -5
  51. package/dist/zkgroup/ServerSecretParams.d.ts +3 -3
  52. package/dist/zkgroup/ServerSecretParams.js +10 -13
  53. package/dist/zkgroup/auth/AuthCredentialPresentation.d.ts +2 -2
  54. package/dist/zkgroup/auth/AuthCredentialPresentation.js +6 -9
  55. package/dist/zkgroup/auth/AuthCredentialWithPni.d.ts +1 -1
  56. package/dist/zkgroup/auth/AuthCredentialWithPni.js +3 -6
  57. package/dist/zkgroup/auth/AuthCredentialWithPniResponse.d.ts +1 -1
  58. package/dist/zkgroup/auth/AuthCredentialWithPniResponse.js +3 -6
  59. package/dist/zkgroup/auth/ClientZkAuthOperations.d.ts +6 -6
  60. package/dist/zkgroup/auth/ClientZkAuthOperations.js +9 -12
  61. package/dist/zkgroup/auth/ServerZkAuthOperations.d.ts +5 -5
  62. package/dist/zkgroup/auth/ServerZkAuthOperations.js +7 -10
  63. package/dist/zkgroup/backups/BackupAuthCredential.d.ts +5 -5
  64. package/dist/zkgroup/backups/BackupAuthCredential.js +12 -15
  65. package/dist/zkgroup/backups/BackupAuthCredentialPresentation.d.ts +4 -4
  66. package/dist/zkgroup/backups/BackupAuthCredentialPresentation.js +7 -10
  67. package/dist/zkgroup/backups/BackupAuthCredentialRequest.d.ts +5 -5
  68. package/dist/zkgroup/backups/BackupAuthCredentialRequest.js +8 -11
  69. package/dist/zkgroup/backups/BackupAuthCredentialRequestContext.d.ts +6 -6
  70. package/dist/zkgroup/backups/BackupAuthCredentialRequestContext.js +8 -11
  71. package/dist/zkgroup/backups/BackupAuthCredentialResponse.d.ts +1 -1
  72. package/dist/zkgroup/backups/BackupAuthCredentialResponse.js +3 -6
  73. package/dist/zkgroup/backups/BackupCredentialType.js +1 -3
  74. package/dist/zkgroup/backups/BackupLevel.js +1 -3
  75. package/dist/zkgroup/calllinks/CallLinkAuthCredential.d.ts +5 -5
  76. package/dist/zkgroup/calllinks/CallLinkAuthCredential.js +8 -11
  77. package/dist/zkgroup/calllinks/CallLinkAuthCredentialPresentation.d.ts +4 -4
  78. package/dist/zkgroup/calllinks/CallLinkAuthCredentialPresentation.js +5 -8
  79. package/dist/zkgroup/calllinks/CallLinkAuthCredentialResponse.d.ts +5 -5
  80. package/dist/zkgroup/calllinks/CallLinkAuthCredentialResponse.js +8 -11
  81. package/dist/zkgroup/calllinks/CallLinkPublicParams.d.ts +1 -1
  82. package/dist/zkgroup/calllinks/CallLinkPublicParams.js +3 -6
  83. package/dist/zkgroup/calllinks/CallLinkSecretParams.d.ts +4 -4
  84. package/dist/zkgroup/calllinks/CallLinkSecretParams.js +9 -12
  85. package/dist/zkgroup/calllinks/CreateCallLinkCredential.d.ts +5 -5
  86. package/dist/zkgroup/calllinks/CreateCallLinkCredential.js +8 -11
  87. package/dist/zkgroup/calllinks/CreateCallLinkCredentialPresentation.d.ts +3 -3
  88. package/dist/zkgroup/calllinks/CreateCallLinkCredentialPresentation.js +3 -6
  89. package/dist/zkgroup/calllinks/CreateCallLinkCredentialRequest.d.ts +4 -4
  90. package/dist/zkgroup/calllinks/CreateCallLinkCredentialRequest.js +8 -11
  91. package/dist/zkgroup/calllinks/CreateCallLinkCredentialRequestContext.d.ts +6 -6
  92. package/dist/zkgroup/calllinks/CreateCallLinkCredentialRequestContext.js +10 -13
  93. package/dist/zkgroup/calllinks/CreateCallLinkCredentialResponse.d.ts +1 -1
  94. package/dist/zkgroup/calllinks/CreateCallLinkCredentialResponse.js +3 -6
  95. package/dist/zkgroup/groups/ClientZkGroupCipher.d.ts +5 -5
  96. package/dist/zkgroup/groups/ClientZkGroupCipher.js +13 -16
  97. package/dist/zkgroup/groups/GroupIdentifier.d.ts +1 -1
  98. package/dist/zkgroup/groups/GroupIdentifier.js +3 -5
  99. package/dist/zkgroup/groups/GroupMasterKey.d.ts +1 -1
  100. package/dist/zkgroup/groups/GroupMasterKey.js +3 -5
  101. package/dist/zkgroup/groups/GroupPublicParams.d.ts +2 -2
  102. package/dist/zkgroup/groups/GroupPublicParams.js +5 -8
  103. package/dist/zkgroup/groups/GroupSecretParams.d.ts +3 -3
  104. package/dist/zkgroup/groups/GroupSecretParams.js +10 -13
  105. package/dist/zkgroup/groups/ProfileKeyCiphertext.d.ts +1 -1
  106. package/dist/zkgroup/groups/ProfileKeyCiphertext.js +3 -6
  107. package/dist/zkgroup/groups/UuidCiphertext.d.ts +1 -1
  108. package/dist/zkgroup/groups/UuidCiphertext.js +3 -6
  109. package/dist/zkgroup/groupsend/GroupSendDerivedKeyPair.d.ts +2 -2
  110. package/dist/zkgroup/groupsend/GroupSendDerivedKeyPair.js +3 -6
  111. package/dist/zkgroup/groupsend/GroupSendEndorsement.d.ts +5 -5
  112. package/dist/zkgroup/groupsend/GroupSendEndorsement.js +10 -13
  113. package/dist/zkgroup/groupsend/GroupSendEndorsementsResponse.d.ts +7 -7
  114. package/dist/zkgroup/groupsend/GroupSendEndorsementsResponse.js +14 -17
  115. package/dist/zkgroup/groupsend/GroupSendFullToken.d.ts +3 -3
  116. package/dist/zkgroup/groupsend/GroupSendFullToken.js +5 -8
  117. package/dist/zkgroup/groupsend/GroupSendToken.d.ts +2 -2
  118. package/dist/zkgroup/groupsend/GroupSendToken.js +5 -8
  119. package/dist/zkgroup/index.d.ts +57 -57
  120. package/dist/zkgroup/index.js +57 -118
  121. package/dist/zkgroup/internal/ByteArray.js +6 -10
  122. package/dist/zkgroup/internal/Constants.js +4 -7
  123. package/dist/zkgroup/profiles/ClientZkProfileOperations.d.ts +8 -8
  124. package/dist/zkgroup/profiles/ClientZkProfileOperations.js +12 -15
  125. package/dist/zkgroup/profiles/ExpiringProfileKeyCredential.d.ts +1 -1
  126. package/dist/zkgroup/profiles/ExpiringProfileKeyCredential.js +3 -6
  127. package/dist/zkgroup/profiles/ExpiringProfileKeyCredentialResponse.d.ts +1 -1
  128. package/dist/zkgroup/profiles/ExpiringProfileKeyCredentialResponse.js +3 -6
  129. package/dist/zkgroup/profiles/ProfileKey.d.ts +4 -4
  130. package/dist/zkgroup/profiles/ProfileKey.js +8 -10
  131. package/dist/zkgroup/profiles/ProfileKeyCommitment.d.ts +1 -1
  132. package/dist/zkgroup/profiles/ProfileKeyCommitment.js +3 -6
  133. package/dist/zkgroup/profiles/ProfileKeyCredentialPresentation.d.ts +3 -3
  134. package/dist/zkgroup/profiles/ProfileKeyCredentialPresentation.js +7 -10
  135. package/dist/zkgroup/profiles/ProfileKeyCredentialRequest.d.ts +1 -1
  136. package/dist/zkgroup/profiles/ProfileKeyCredentialRequest.js +3 -6
  137. package/dist/zkgroup/profiles/ProfileKeyCredentialRequestContext.d.ts +2 -2
  138. package/dist/zkgroup/profiles/ProfileKeyCredentialRequestContext.js +5 -8
  139. package/dist/zkgroup/profiles/ProfileKeyVersion.d.ts +1 -1
  140. package/dist/zkgroup/profiles/ProfileKeyVersion.js +3 -5
  141. package/dist/zkgroup/profiles/ServerZkProfileOperations.d.ts +7 -7
  142. package/dist/zkgroup/profiles/ServerZkProfileOperations.js +7 -10
  143. package/dist/zkgroup/receipts/ClientZkReceiptOperations.d.ts +6 -6
  144. package/dist/zkgroup/receipts/ClientZkReceiptOperations.js +12 -15
  145. package/dist/zkgroup/receipts/ReceiptCredential.d.ts +1 -1
  146. package/dist/zkgroup/receipts/ReceiptCredential.js +3 -6
  147. package/dist/zkgroup/receipts/ReceiptCredentialPresentation.d.ts +2 -2
  148. package/dist/zkgroup/receipts/ReceiptCredentialPresentation.js +6 -8
  149. package/dist/zkgroup/receipts/ReceiptCredentialRequest.d.ts +1 -1
  150. package/dist/zkgroup/receipts/ReceiptCredentialRequest.js +3 -6
  151. package/dist/zkgroup/receipts/ReceiptCredentialRequestContext.d.ts +2 -2
  152. package/dist/zkgroup/receipts/ReceiptCredentialRequestContext.js +6 -8
  153. package/dist/zkgroup/receipts/ReceiptCredentialResponse.d.ts +1 -1
  154. package/dist/zkgroup/receipts/ReceiptCredentialResponse.js +3 -6
  155. package/dist/zkgroup/receipts/ReceiptSerial.d.ts +1 -1
  156. package/dist/zkgroup/receipts/ReceiptSerial.js +3 -5
  157. package/dist/zkgroup/receipts/ServerZkReceiptOperations.d.ts +4 -4
  158. package/dist/zkgroup/receipts/ServerZkReceiptOperations.js +7 -10
  159. package/package.json +19 -16
  160. package/prebuilds/darwin-arm64/@signalapp+libsignal-client.node +0 -0
  161. package/prebuilds/darwin-x64/@signalapp+libsignal-client.node +0 -0
  162. package/prebuilds/linux-arm64/@signalapp+libsignal-client.node +0 -0
  163. package/prebuilds/linux-x64/@signalapp+libsignal-client.node +0 -0
  164. package/prebuilds/win32-arm64/@signalapp+libsignal-client.node +0 -0
  165. package/prebuilds/win32-x64/@signalapp+libsignal-client.node +0 -0
  166. package/zkgroup.js +1 -1
@@ -1396,7 +1396,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1396
1396
 
1397
1397
  ```
1398
1398
 
1399
- ## hax-lib-macros 0.2.0, hax-lib-macros 0.3.1, hax-lib 0.2.0, hax-lib 0.3.1
1399
+ ## hax-lib-macros 0.2.0, hax-lib-macros 0.3.4, hax-lib 0.2.0, hax-lib 0.3.4
1400
1400
 
1401
1401
  ```
1402
1402
 
@@ -1800,7 +1800,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1800
1800
 
1801
1801
  ```
1802
1802
 
1803
- ## sorted-vec 0.8.6
1803
+ ## sorted-vec 0.8.10
1804
1804
 
1805
1805
  ```
1806
1806
  Apache License
@@ -2613,7 +2613,7 @@ limitations under the License.
2613
2613
 
2614
2614
  ```
2615
2615
 
2616
- ## bindgen 0.72.0
2616
+ ## bindgen 0.72.1
2617
2617
 
2618
2618
  ```
2619
2619
  BSD 3-Clause License
@@ -2749,7 +2749,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
2749
2749
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2750
2750
  ```
2751
2751
 
2752
- ## ed25519-dalek 2.1.1
2752
+ ## ed25519-dalek 2.2.0
2753
2753
 
2754
2754
  ```
2755
2755
  Copyright (c) 2017-2019 isis agora lovecruft. All rights reserved.
@@ -2818,7 +2818,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2818
2818
 
2819
2819
  ```
2820
2820
 
2821
- ## asn1 0.21.0, asn1_derive 0.21.0
2821
+ ## asn1 0.21.3, asn1_derive 0.21.3
2822
2822
 
2823
2823
  ```
2824
2824
  Copyright (c) Alex Gaynor and individual contributors.
@@ -2939,7 +2939,7 @@ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2939
2939
 
2940
2940
  ```
2941
2941
 
2942
- ## libloading 0.8.6
2942
+ ## libloading 0.8.8
2943
2943
 
2944
2944
  ```
2945
2945
  Copyright © 2015, Simonas Kazlauskas
@@ -2957,7 +2957,7 @@ THIS SOFTWARE.
2957
2957
 
2958
2958
  ```
2959
2959
 
2960
- ## rustls-webpki 0.103.1
2960
+ ## rustls-webpki 0.103.6
2961
2961
 
2962
2962
  ```
2963
2963
  Except as otherwise noted, this project is licensed under the following
@@ -2982,7 +2982,7 @@ third-party/chromium/LICENSE.
2982
2982
 
2983
2983
  ```
2984
2984
 
2985
- ## windows-core 0.61.0, windows-implement 0.60.0, windows-interface 0.59.1, windows-link 0.1.1, windows-result 0.3.2, windows-strings 0.4.0, windows-sys 0.52.0, windows-sys 0.59.0, windows-targets 0.52.6, windows_aarch64_msvc 0.52.6, windows_x86_64_gnu 0.52.6, windows_x86_64_msvc 0.52.6
2985
+ ## windows-core 0.62.0, windows-implement 0.60.0, windows-interface 0.59.1, windows-link 0.2.0, windows-result 0.4.0, windows-strings 0.5.0, windows-sys 0.52.0, windows-sys 0.59.0, windows-sys 0.61.0, windows-targets 0.52.6, windows-targets 0.53.3, windows_aarch64_msvc 0.52.6, windows_aarch64_msvc 0.53.0, windows_x86_64_gnu 0.52.6, windows_x86_64_gnu 0.53.0, windows_x86_64_msvc 0.52.6, windows_x86_64_msvc 0.53.0
2986
2986
 
2987
2987
  ```
2988
2988
  MIT License
@@ -3040,7 +3040,7 @@ DEALINGS IN THE SOFTWARE.
3040
3040
 
3041
3041
  ```
3042
3042
 
3043
- ## sha1 0.10.6, sha2 0.10.8
3043
+ ## sha1 0.10.6, sha2 0.10.9
3044
3044
 
3045
3045
  ```
3046
3046
  Copyright (c) 2006-2009 Graydon Hoare
@@ -3073,7 +3073,7 @@ DEALINGS IN THE SOFTWARE.
3073
3073
 
3074
3074
  ```
3075
3075
 
3076
- ## rayon-core 1.12.1, rayon 1.10.0
3076
+ ## rayon-core 1.13.0, rayon 1.11.0
3077
3077
 
3078
3078
  ```
3079
3079
  Copyright (c) 2010 The Rust Project Developers
@@ -3104,7 +3104,7 @@ DEALINGS IN THE SOFTWARE.
3104
3104
 
3105
3105
  ```
3106
3106
 
3107
- ## core-foundation-sys 0.8.7, core-foundation 0.10.0
3107
+ ## core-foundation-sys 0.8.7, core-foundation 0.10.1
3108
3108
 
3109
3109
  ```
3110
3110
  Copyright (c) 2012-2013 Mozilla Foundation
@@ -3161,7 +3161,7 @@ SOFTWARE.
3161
3161
 
3162
3162
  ```
3163
3163
 
3164
- ## backtrace 0.3.74, cc 1.2.18, cfg-if 1.0.0, cmake 0.1.48, openssl-probe 0.1.6, pkg-config 0.3.32, rustc-demangle 0.1.24, socket2 0.5.9
3164
+ ## backtrace 0.3.75, cc 1.2.37, cfg-if 1.0.3, cmake 0.1.48, find-msvc-tools 0.1.1, openssl-probe 0.1.6, pkg-config 0.3.32, rustc-demangle 0.1.26, socket2 0.6.0
3165
3165
 
3166
3166
  ```
3167
3167
  Copyright (c) 2014 Alex Crichton
@@ -3256,7 +3256,7 @@ DEALINGS IN THE SOFTWARE.
3256
3256
 
3257
3257
  ```
3258
3258
 
3259
- ## mio 1.0.3
3259
+ ## mio 1.0.4
3260
3260
 
3261
3261
  ```
3262
3262
  Copyright (c) 2014 Carl Lerche and other MIO contributors
@@ -3281,7 +3281,7 @@ THE SOFTWARE.
3281
3281
 
3282
3282
  ```
3283
3283
 
3284
- ## errno 0.3.11
3284
+ ## errno 0.3.14
3285
3285
 
3286
3286
  ```
3287
3287
  Copyright (c) 2014 Chris Wong
@@ -3338,11 +3338,11 @@ THE SOFTWARE.
3338
3338
 
3339
3339
  ```
3340
3340
 
3341
- ## base64ct 1.6.0
3341
+ ## base64ct 1.8.0
3342
3342
 
3343
3343
  ```
3344
3344
  Copyright (c) 2014 Steve "Sc00bz" Thomas (steve at tobtu dot com)
3345
- Copyright (c) 2021 The RustCrypto Project Developers
3345
+ Copyright (c) 2021-2025 The RustCrypto Project Developers
3346
3346
 
3347
3347
  Permission is hereby granted, free of charge, to any
3348
3348
  person obtaining a copy of this software and associated
@@ -3370,7 +3370,7 @@ DEALINGS IN THE SOFTWARE.
3370
3370
 
3371
3371
  ```
3372
3372
 
3373
- ## bitflags 2.9.0, glob 0.3.2, log 0.4.27, num-derive 0.4.2, num-integer 0.1.46, num-traits 0.2.19, range-map 0.2.0, regex-automata 0.4.9, regex-syntax 0.8.5, regex 1.11.1
3373
+ ## bitflags 2.9.4, glob 0.3.3, log 0.4.28, num-derive 0.4.2, num-integer 0.1.46, num-traits 0.2.19, range-map 0.2.0, regex-automata 0.4.10, regex-syntax 0.8.6, regex 1.11.2
3374
3374
 
3375
3375
  ```
3376
3376
  Copyright (c) 2014 The Rust Project Developers
@@ -3401,7 +3401,7 @@ DEALINGS IN THE SOFTWARE.
3401
3401
 
3402
3402
  ```
3403
3403
 
3404
- ## uuid 1.16.0
3404
+ ## uuid 1.18.1
3405
3405
 
3406
3406
  ```
3407
3407
  Copyright (c) 2014 The Rust Project Developers
@@ -3459,7 +3459,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3459
3459
 
3460
3460
  ```
3461
3461
 
3462
- ## libc 0.2.171
3462
+ ## libc 0.2.175
3463
3463
 
3464
3464
  ```
3465
3465
  Copyright (c) 2014-2020 The Rust Project Developers
@@ -3516,7 +3516,7 @@ THE SOFTWARE.
3516
3516
 
3517
3517
  ```
3518
3518
 
3519
- ## flate2 1.1.1
3519
+ ## flate2 1.1.2
3520
3520
 
3521
3521
  ```
3522
3522
  Copyright (c) 2014-2025 Alex Crichton
@@ -3547,7 +3547,7 @@ DEALINGS IN THE SOFTWARE.
3547
3547
 
3548
3548
  ```
3549
3549
 
3550
- ## hyper 1.6.0
3550
+ ## hyper 1.7.0
3551
3551
 
3552
3552
  ```
3553
3553
  Copyright (c) 2014-2025 Sean McArthur
@@ -3598,7 +3598,7 @@ THE SOFTWARE.
3598
3598
 
3599
3599
  ```
3600
3600
 
3601
- ## either 1.15.0, itertools 0.10.5, itertools 0.14.0, petgraph 0.7.1, serde_with 3.12.0, serde_with_macros 3.12.0
3601
+ ## either 1.15.0, itertools 0.13.0, itertools 0.14.0, petgraph 0.7.1, serde_with 3.14.0, serde_with_macros 3.14.0
3602
3602
 
3603
3603
  ```
3604
3604
  Copyright (c) 2015
@@ -3654,7 +3654,7 @@ THE SOFTWARE.
3654
3654
 
3655
3655
  ```
3656
3656
 
3657
- ## tempfile 3.19.1
3657
+ ## tempfile 3.22.0
3658
3658
 
3659
3659
  ```
3660
3660
  Copyright (c) 2015 Steven Allen
@@ -3797,7 +3797,7 @@ THE SOFTWARE.
3797
3797
 
3798
3798
  ```
3799
3799
 
3800
- ## schannel 0.1.27
3800
+ ## schannel 0.1.28
3801
3801
 
3802
3802
  ```
3803
3803
  Copyright (c) 2015 steffengy
@@ -4044,7 +4044,7 @@ DEALINGS IN THE SOFTWARE.
4044
4044
 
4045
4045
  ```
4046
4046
 
4047
- ## hashbrown 0.15.2
4047
+ ## hashbrown 0.15.5
4048
4048
 
4049
4049
  ```
4050
4050
  Copyright (c) 2016 Amanieu d'Antras
@@ -4075,7 +4075,7 @@ DEALINGS IN THE SOFTWARE.
4075
4075
 
4076
4076
  ```
4077
4077
 
4078
- ## intmap 3.1.0
4078
+ ## intmap 3.1.2
4079
4079
 
4080
4080
  ```
4081
4081
  Copyright (c) 2016 Jesper Axelsson
@@ -4087,7 +4087,7 @@ The above copyright notice and this permission notice shall be included in all c
4087
4087
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4088
4088
  ```
4089
4089
 
4090
- ## rustls-native-certs 0.8.1, rustls 0.23.25
4090
+ ## rustls-native-certs 0.8.1, rustls 0.23.31
4091
4091
 
4092
4092
  ```
4093
4093
  Copyright (c) 2016 Joseph Birr-Pixton <jpixton@gmail.com>
@@ -4262,7 +4262,7 @@ DEALINGS IN THE SOFTWARE.
4262
4262
 
4263
4263
  ```
4264
4264
 
4265
- ## multimap 0.10.0
4265
+ ## multimap 0.10.1
4266
4266
 
4267
4267
  ```
4268
4268
  Copyright (c) 2016 multimap developers
@@ -4293,7 +4293,7 @@ DEALINGS IN THE SOFTWARE.
4293
4293
 
4294
4294
  ```
4295
4295
 
4296
- ## indexmap 2.9.0
4296
+ ## indexmap 2.11.3
4297
4297
 
4298
4298
  ```
4299
4299
  Copyright (c) 2016--2017
@@ -4676,7 +4676,7 @@ SOFTWARE.
4676
4676
 
4677
4677
  ```
4678
4678
 
4679
- ## h2 0.4.8
4679
+ ## h2 0.4.12
4680
4680
 
4681
4681
  ```
4682
4682
  Copyright (c) 2017 h2 authors
@@ -4800,7 +4800,7 @@ DEALINGS IN THE SOFTWARE.
4800
4800
 
4801
4801
  ```
4802
4802
 
4803
- ## autocfg 1.4.0
4803
+ ## autocfg 1.5.0
4804
4804
 
4805
4805
  ```
4806
4806
  Copyright (c) 2018 Josh Stone
@@ -4831,7 +4831,7 @@ DEALINGS IN THE SOFTWARE.
4831
4831
 
4832
4832
  ```
4833
4833
 
4834
- ## smallvec 1.15.0
4834
+ ## smallvec 1.15.1
4835
4835
 
4836
4836
  ```
4837
4837
  Copyright (c) 2018 The Servo Project Developers
@@ -5071,7 +5071,7 @@ DEALINGS IN THE SOFTWARE.
5071
5071
 
5072
5072
  ```
5073
5073
 
5074
- ## getrandom 0.2.15
5074
+ ## getrandom 0.2.16
5075
5075
 
5076
5076
  ```
5077
5077
  Copyright (c) 2018-2024 The rust-random Project Developers
@@ -5103,7 +5103,7 @@ DEALINGS IN THE SOFTWARE.
5103
5103
 
5104
5104
  ```
5105
5105
 
5106
- ## getrandom 0.3.2
5106
+ ## getrandom 0.3.3
5107
5107
 
5108
5108
  ```
5109
5109
  Copyright (c) 2018-2025 The rust-random Project Developers
@@ -5135,7 +5135,7 @@ DEALINGS IN THE SOFTWARE.
5135
5135
 
5136
5136
  ```
5137
5137
 
5138
- ## slab 0.4.9
5138
+ ## slab 0.4.11
5139
5139
 
5140
5140
  ```
5141
5141
  Copyright (c) 2019 Carl Lerche
@@ -5378,7 +5378,7 @@ DEALINGS IN THE SOFTWARE.
5378
5378
 
5379
5379
  ```
5380
5380
 
5381
- ## tracing-attributes 0.1.28, tracing-core 0.1.33, tracing 0.1.41
5381
+ ## tracing-attributes 0.1.30, tracing-core 0.1.34, tracing 0.1.41
5382
5382
 
5383
5383
  ```
5384
5384
  Copyright (c) 2019 Tokio Contributors
@@ -5564,7 +5564,7 @@ DEALINGS IN THE SOFTWARE.
5564
5564
 
5565
5565
  ```
5566
5566
 
5567
- ## iana-time-zone 0.1.63
5567
+ ## iana-time-zone 0.1.64
5568
5568
 
5569
5569
  ```
5570
5570
  Copyright (c) 2020 Andrew D. Straw
@@ -5658,7 +5658,7 @@ DEALINGS IN THE SOFTWARE.
5658
5658
 
5659
5659
  ```
5660
5660
 
5661
- ## memmap2 0.9.5
5661
+ ## memmap2 0.9.8
5662
5662
 
5663
5663
  ```
5664
5664
  Copyright (c) 2020 Yevhenii Reizner
@@ -5896,7 +5896,7 @@ SOFTWARE.
5896
5896
 
5897
5897
  ```
5898
5898
 
5899
- ## rustls-pki-types 1.11.0
5899
+ ## rustls-pki-types 1.12.0
5900
5900
 
5901
5901
  ```
5902
5902
  Copyright (c) 2023 Dirkjan Ochtman <dirkjan@ochtman.nl>
@@ -5977,7 +5977,7 @@ SOFTWARE.
5977
5977
 
5978
5978
  ```
5979
5979
 
5980
- ## hyper-util 0.1.11
5980
+ ## hyper-util 0.1.17
5981
5981
 
5982
5982
  ```
5983
5983
  Copyright (c) 2023-2025 Sean McArthur
@@ -6002,7 +6002,7 @@ THE SOFTWARE.
6002
6002
 
6003
6003
  ```
6004
6004
 
6005
- ## deranged 0.4.0
6005
+ ## deranged 0.5.3
6006
6006
 
6007
6007
  ```
6008
6008
  Copyright (c) 2024 Jacob Pratt et al.
@@ -6027,7 +6027,7 @@ SOFTWARE.
6027
6027
 
6028
6028
  ```
6029
6029
 
6030
- ## toml_datetime 0.6.8, toml_edit 0.22.24
6030
+ ## toml_datetime 0.7.1, toml_edit 0.23.5, toml_parser 1.0.2
6031
6031
 
6032
6032
  ```
6033
6033
  Copyright (c) Individual contributors
@@ -6052,7 +6052,7 @@ SOFTWARE.
6052
6052
 
6053
6053
  ```
6054
6054
 
6055
- ## time-core 0.1.4, time 0.3.41
6055
+ ## time-core 0.1.6, time 0.3.43
6056
6056
 
6057
6057
  ```
6058
6058
  Copyright (c) Jacob Pratt et al.
@@ -6108,7 +6108,7 @@ DEALINGS IN THE SOFTWARE.
6108
6108
 
6109
6109
  ```
6110
6110
 
6111
- ## rand 0.9.0, rand_chacha 0.9.0, rand_core 0.6.4, rand_core 0.9.3
6111
+ ## rand 0.9.2, rand_chacha 0.9.0, rand_core 0.6.4, rand_core 0.9.3
6112
6112
 
6113
6113
  ```
6114
6114
  Copyright 2018 Developers of the Rand project
@@ -6140,7 +6140,7 @@ DEALINGS IN THE SOFTWARE.
6140
6140
 
6141
6141
  ```
6142
6142
 
6143
- ## rangemap 1.5.1
6143
+ ## rangemap 1.6.0
6144
6144
 
6145
6145
  ```
6146
6146
  Copyright 2019 Jeffrey Parsons
@@ -6153,7 +6153,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
6153
6153
 
6154
6154
  ```
6155
6155
 
6156
- ## zerocopy-derive 0.8.24, zerocopy 0.8.24
6156
+ ## zerocopy-derive 0.8.27, zerocopy 0.8.27
6157
6157
 
6158
6158
  ```
6159
6159
  Copyright 2023 The Fuchsia Authors
@@ -6378,7 +6378,7 @@ SOFTWARE.
6378
6378
 
6379
6379
  ```
6380
6380
 
6381
- ## crc32fast 1.4.2
6381
+ ## crc32fast 1.5.0
6382
6382
 
6383
6383
  ```
6384
6384
  MIT License
@@ -6459,7 +6459,7 @@ SOFTWARE.
6459
6459
 
6460
6460
  ```
6461
6461
 
6462
- ## macro_rules_attribute-proc_macro 0.2.0, macro_rules_attribute 0.2.0
6462
+ ## macro_rules_attribute-proc_macro 0.2.2, macro_rules_attribute 0.2.2
6463
6463
 
6464
6464
  ```
6465
6465
  MIT License
@@ -6486,7 +6486,7 @@ SOFTWARE.
6486
6486
 
6487
6487
  ```
6488
6488
 
6489
- ## strum 0.27.1, strum_macros 0.27.1
6489
+ ## strum 0.27.2, strum_macros 0.27.2
6490
6490
 
6491
6491
  ```
6492
6492
  MIT License
@@ -6622,12 +6622,12 @@ SOFTWARE.
6622
6622
 
6623
6623
  ```
6624
6624
 
6625
- ## const-str 0.6.2
6625
+ ## const-str 0.6.4
6626
6626
 
6627
6627
  ```
6628
6628
  MIT License
6629
6629
 
6630
- Copyright (c) 2020 Nugine
6630
+ Copyright (c) 2020-2025 Nugine
6631
6631
 
6632
6632
  Permission is hereby granted, free of charge, to any person obtaining a copy
6633
6633
  of this software and associated documentation files (the "Software"), to deal
@@ -6646,6 +6646,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
6646
6646
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
6647
6647
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
6648
6648
  SOFTWARE.
6649
+
6649
6650
  ```
6650
6651
 
6651
6652
  ## snow 0.10.0
@@ -6675,7 +6676,7 @@ SOFTWARE.
6675
6676
 
6676
6677
  ```
6677
6678
 
6678
- ## derive-where 1.2.7
6679
+ ## derive-where 1.6.0
6679
6680
 
6680
6681
  ```
6681
6682
  MIT License
@@ -6729,7 +6730,7 @@ SOFTWARE.
6729
6730
 
6730
6731
  ```
6731
6732
 
6732
- ## rustls-platform-verifier 0.5.1
6733
+ ## rustls-platform-verifier 0.5.3
6733
6734
 
6734
6735
  ```
6735
6736
  MIT License
@@ -6783,7 +6784,31 @@ SOFTWARE.
6783
6784
 
6784
6785
  ```
6785
6786
 
6786
- ## tokio-stream 0.1.17, tokio-util 0.7.14, tokio 1.45.0
6787
+ ## async-compression 0.4.30, compression-codecs 0.4.30, compression-core 0.4.29
6788
+
6789
+ ```
6790
+ MIT License
6791
+
6792
+ Copyright (c) <year> <copyright holders>
6793
+
6794
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
6795
+ associated documentation files (the "Software"), to deal in the Software without restriction, including
6796
+ without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6797
+ copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
6798
+ following conditions:
6799
+
6800
+ The above copyright notice and this permission notice shall be included in all copies or substantial
6801
+ portions of the Software.
6802
+
6803
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
6804
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
6805
+ EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
6806
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
6807
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
6808
+
6809
+ ```
6810
+
6811
+ ## tokio-stream 0.1.17, tokio-util 0.7.16, tokio 1.47.1
6787
6812
 
6788
6813
  ```
6789
6814
  MIT License
@@ -6810,7 +6835,7 @@ SOFTWARE.
6810
6835
 
6811
6836
  ```
6812
6837
 
6813
- ## miniz_oxide 0.8.7
6838
+ ## miniz_oxide 0.8.9
6814
6839
 
6815
6840
  ```
6816
6841
  MIT License
@@ -6894,7 +6919,7 @@ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
6894
6919
  DEALINGS IN THE SOFTWARE.
6895
6920
  ```
6896
6921
 
6897
- ## curve25519-dalek-derive 0.1.1, adler2 2.0.0, anyhow 1.0.97, async-trait 0.1.88, atomic-waker 1.1.2, auto_enums 0.8.7, derive_utils 0.15.0, displaydoc 0.2.5, dyn-clone 1.0.19, fastrand 2.3.0, home 0.5.9, itoa 1.0.15, linkme-impl 0.3.33, linkme 0.3.33, linux-raw-sys 0.4.15, linux-raw-sys 0.9.3, minimal-lexical 0.2.1, num_enum 0.7.3, num_enum_derive 0.7.3, once_cell 1.21.3, paste 1.0.15, pin-project-internal 1.1.10, pin-project-lite 0.2.16, pin-project 1.1.10, prettyplease 0.2.32, proc-macro-crate 3.3.0, proc-macro2 1.0.94, quote 1.0.40, rustix 0.38.44, rustix 1.0.5, rustversion 1.0.20, semver 1.0.26, send_wrapper 0.6.0, serde 1.0.219, serde_derive 1.0.219, serde_json 1.0.140, syn-mid 0.6.0, syn 2.0.100, thiserror-impl 1.0.69, thiserror-impl 2.0.12, thiserror 1.0.69, thiserror 2.0.12, unicode-ident 1.0.18, utf-8 0.7.6
6922
+ ## curve25519-dalek-derive 0.1.1, adler2 2.0.1, anyhow 1.0.99, async-trait 0.1.89, atomic-waker 1.1.2, auto_enums 0.8.7, derive_utils 0.15.0, displaydoc 0.2.5, dyn-clone 1.0.20, fastrand 2.3.0, home 0.5.11, itoa 1.0.15, linkme-impl 0.3.33, linkme 0.3.33, linux-raw-sys 0.11.0, linux-raw-sys 0.4.15, minimal-lexical 0.2.1, num_enum 0.7.4, num_enum_derive 0.7.4, once_cell 1.21.3, paste 1.0.15, pin-project-internal 1.1.10, pin-project-lite 0.2.16, pin-project 1.1.10, prettyplease 0.2.37, proc-macro-crate 3.4.0, proc-macro2 1.0.101, quote 1.0.40, rustix 0.38.44, rustix 1.1.2, rustversion 1.0.22, semver 1.0.27, send_wrapper 0.6.0, serde 1.0.225, serde_core 1.0.225, serde_derive 1.0.225, serde_json 1.0.145, syn-mid 0.6.0, syn 2.0.106, thiserror-impl 1.0.69, thiserror-impl 2.0.16, thiserror 1.0.69, thiserror 2.0.16, unicode-ident 1.0.19, utf-8 0.7.6
6898
6923
 
6899
6924
  ```
6900
6925
  Permission is hereby granted, free of charge, to any
@@ -6923,7 +6948,7 @@ DEALINGS IN THE SOFTWARE.
6923
6948
 
6924
6949
  ```
6925
6950
 
6926
- ## winnow 0.7.4
6951
+ ## winnow 0.7.13
6927
6952
 
6928
6953
  ```
6929
6954
  Permission is hereby granted, free of charge, to any person obtaining
@@ -6974,7 +6999,7 @@ SOFTWARE.
6974
6999
 
6975
7000
  ```
6976
7001
 
6977
- ## chrono 0.4.40
7002
+ ## chrono 0.4.42
6978
7003
 
6979
7004
  ```
6980
7005
  The MIT License (MIT)
@@ -7027,7 +7052,7 @@ THE SOFTWARE.
7027
7052
 
7028
7053
  ```
7029
7054
 
7030
- ## aho-corasick 1.1.3, memchr 2.7.4
7055
+ ## aho-corasick 1.1.3, memchr 2.7.5
7031
7056
 
7032
7057
  ```
7033
7058
  The MIT License (MIT)
@@ -7110,7 +7135,7 @@ THE SOFTWARE.
7110
7135
 
7111
7136
  ```
7112
7137
 
7113
- ## security-framework-sys 2.14.0, security-framework 3.2.0
7138
+ ## security-framework-sys 2.15.0, security-framework 3.4.0
7114
7139
 
7115
7140
  ```
7116
7141
  The MIT License (MIT)
@@ -7164,7 +7189,7 @@ SOFTWARE.
7164
7189
 
7165
7190
  ```
7166
7191
 
7167
- ## derive_more-impl 2.0.1, derive_more 0.99.19, derive_more 2.0.1
7192
+ ## derive_more-impl 2.0.1, derive_more 0.99.20, derive_more 2.0.1
7168
7193
 
7169
7194
  ```
7170
7195
  The MIT License (MIT)
@@ -7218,33 +7243,6 @@ SOFTWARE.
7218
7243
 
7219
7244
  ```
7220
7245
 
7221
- ## async-compression 0.4.22
7222
-
7223
- ```
7224
- The MIT License (MIT)
7225
-
7226
- Copyright (c) 2018 the rustasync developers
7227
-
7228
- Permission is hereby granted, free of charge, to any person obtaining a copy
7229
- of this software and associated documentation files (the "Software"), to deal
7230
- in the Software without restriction, including without limitation the rights
7231
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7232
- copies of the Software, and to permit persons to whom the Software is
7233
- furnished to do so, subject to the following conditions:
7234
-
7235
- The above copyright notice and this permission notice shall be included in all
7236
- copies or substantial portions of the Software.
7237
-
7238
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7239
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7240
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
7241
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7242
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
7243
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
7244
- SOFTWARE.
7245
-
7246
- ```
7247
-
7248
7246
  ## atomic-take 1.1.0
7249
7247
 
7250
7248
  ```
@@ -7881,7 +7879,7 @@ Exhibit B - "Incompatible With Secondary Licenses" Notice
7881
7879
  */
7882
7880
  ```
7883
7881
 
7884
- ## unicode-ident 1.0.18
7882
+ ## unicode-ident 1.0.19
7885
7883
 
7886
7884
  ```
7887
7885
  UNICODE LICENSE V3
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="node" />
3
- import * as stream from 'stream';
3
+ import * as stream from 'node:stream';
4
4
  type CallbackType = (error?: Error | null) => void;
5
5
  export type ChunkSizeChoice = {
6
6
  kind: 'everyN';
@@ -1,21 +1,16 @@
1
- "use strict";
2
1
  //
3
2
  // Copyright 2023 Signal Messenger, LLC.
4
3
  // SPDX-License-Identifier: AGPL-3.0-only
5
4
  //
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.chunkSizeInBytes = exports.ValidatingPassThrough = exports.DigestingPassThrough = exports.inferChunkSize = exports.everyNthByte = void 0;
8
- const Native = require("../Native");
9
- const stream = require("stream");
10
- const Errors_1 = require("./Errors");
11
- function everyNthByte(n) {
5
+ import Native from '../Native.js';
6
+ import * as stream from 'node:stream';
7
+ import { LibSignalErrorBase, } from './Errors.js';
8
+ export function everyNthByte(n) {
12
9
  return { kind: 'everyN', n: n };
13
10
  }
14
- exports.everyNthByte = everyNthByte;
15
- function inferChunkSize(dataSize) {
11
+ export function inferChunkSize(dataSize) {
16
12
  return { kind: 'chunksOf', dataSize: dataSize };
17
13
  }
18
- exports.inferChunkSize = inferChunkSize;
19
14
  class DigestingWritable extends stream.Writable {
20
15
  constructor(key, sizeChoice) {
21
16
  super();
@@ -28,7 +23,7 @@ class DigestingWritable extends stream.Writable {
28
23
  return new Uint8Array(Buffer.concat(this._digests));
29
24
  }
30
25
  _write(
31
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
26
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
32
27
  chunk, encoding, callback) {
33
28
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
34
29
  const buffer = Buffer.from(chunk, encoding);
@@ -43,7 +38,7 @@ class DigestingWritable extends stream.Writable {
43
38
  callback();
44
39
  }
45
40
  }
46
- class DigestingPassThrough extends stream.Transform {
41
+ export class DigestingPassThrough extends stream.Transform {
47
42
  constructor(key, sizeChoice) {
48
43
  super();
49
44
  this.digester = new DigestingWritable(key, sizeChoice);
@@ -73,7 +68,6 @@ class DigestingPassThrough extends stream.Transform {
73
68
  });
74
69
  }
75
70
  }
76
- exports.DigestingPassThrough = DigestingPassThrough;
77
71
  class ValidatingWritable extends stream.Writable {
78
72
  constructor(key, sizeChoice, digest) {
79
73
  super();
@@ -84,7 +78,7 @@ class ValidatingWritable extends stream.Writable {
84
78
  return this._validatedBytes;
85
79
  }
86
80
  _write(
87
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types
81
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
88
82
  chunk, encoding, callback) {
89
83
  // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
90
84
  const buffer = Buffer.from(chunk, encoding);
@@ -108,7 +102,7 @@ class ValidatingWritable extends stream.Writable {
108
102
  }
109
103
  }
110
104
  }
111
- class ValidatingPassThrough extends stream.Transform {
105
+ export class ValidatingPassThrough extends stream.Transform {
112
106
  constructor(key, sizeChoice, digest) {
113
107
  super();
114
108
  this.buffer = new Array();
@@ -169,8 +163,7 @@ class ValidatingPassThrough extends stream.Transform {
169
163
  });
170
164
  }
171
165
  }
172
- exports.ValidatingPassThrough = ValidatingPassThrough;
173
- function chunkSizeInBytes(sizeChoice) {
166
+ export function chunkSizeInBytes(sizeChoice) {
174
167
  switch (sizeChoice.kind) {
175
168
  case 'everyN':
176
169
  return sizeChoice.n;
@@ -180,8 +173,7 @@ function chunkSizeInBytes(sizeChoice) {
180
173
  break;
181
174
  }
182
175
  }
183
- exports.chunkSizeInBytes = chunkSizeInBytes;
184
176
  function makeVerificationError(message) {
185
- return new Errors_1.LibSignalErrorBase(message, 'IncrementalMacVerificationFailed', 'incremental_mac');
177
+ return new LibSignalErrorBase(message, 'IncrementalMacVerificationFailed', 'incremental_mac');
186
178
  }
187
179
  //# sourceMappingURL=incremental_mac.js.map