@continuous-excellence/coupling-cli 1.1.582 → 1.1.584

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 (925) hide show
  1. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Auth0Environment.mjs +8 -8
  2. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs +41 -41
  3. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +18 -18
  4. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +19 -19
  5. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +33 -33
  6. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +26 -26
  7. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +5 -5
  8. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
  9. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +16 -16
  10. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +36 -28
  11. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs.map +1 -1
  12. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +43 -37
  13. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs.map +1 -1
  14. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +21 -21
  15. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs +30 -30
  16. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +3 -3
  17. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PartyListQuerySelections.mjs +45 -0
  18. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PartyListQuerySelections.mjs.map +1 -0
  19. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PlayersQuerySelections.mjs +50 -0
  20. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PlayersQuerySelections.mjs.map +1 -0
  21. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +44 -44
  22. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +27 -27
  23. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +14 -14
  24. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +42 -42
  25. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +4 -4
  26. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ListContribution.mjs +53 -53
  27. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +37 -37
  28. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +33 -33
  29. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +17 -17
  30. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +34 -34
  31. package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +60 -60
  32. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/ActionLoggingSyntax.mjs +13 -13
  33. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/LoggingActionPipe.mjs +18 -18
  34. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommand.mjs +7 -7
  35. package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommandDispatcherExecuteKt.mjs +13 -13
  36. package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/AccessResult.mjs +82 -82
  37. package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/DeviceCodeRequest.mjs +54 -54
  38. package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/KtorAuth0Client.mjs +26 -26
  39. package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/CouplingJsonFormat.mjs +5 -5
  40. package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/PartyIdSerializer.mjs +10 -10
  41. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/Contribution.mjs +112 -112
  42. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/ContributionId.mjs +4 -4
  43. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/CouplingPair.mjs +57 -57
  44. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSet.mjs +16 -16
  45. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSetId.mjs +4 -4
  46. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PairingRule.mjs +1 -1
  47. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyDetails.mjs +34 -34
  48. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyId.mjs +5 -5
  49. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/SecretId.mjs +4 -4
  50. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pin/Pin.mjs +17 -17
  51. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/AvatarType.mjs +1 -1
  52. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Badge.mjs +1 -1
  53. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Player.mjs +28 -28
  54. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/PlayerId.mjs +4 -4
  55. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/callsign/CallSign.mjs +7 -7
  56. package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/user/UserId.mjs +4 -4
  57. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +19 -19
  58. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSyntax.mjs +3 -3
  59. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs +1 -1
  60. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs +19 -19
  61. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +37 -37
  62. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs.map +1 -1
  63. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +13 -13
  64. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlTrait.mjs +1 -1
  65. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/KtorQueryPerformer.mjs +2 -2
  66. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/ContributionDetailsMapper.mjs +16 -16
  67. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PairingSetDetailsMapper.mjs +9 -9
  68. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PartyDetailsMapper.mjs +10 -10
  69. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/CurrentPairAssignmentsQuery.mjs +43 -37
  70. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/CurrentPairAssignmentsQuery.mjs.map +1 -1
  71. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyContributionReportContributionsQuery.mjs +50 -44
  72. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyContributionReportContributionsQuery.mjs.map +1 -1
  73. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs +39 -33
  74. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs.map +1 -1
  75. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs +32 -26
  76. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs.map +1 -1
  77. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_ResponseAdapter.mjs +30 -30
  78. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_VariablesAdapter.mjs +3 -3
  79. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_ResponseAdapter.mjs +39 -39
  80. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_VariablesAdapter.mjs +6 -6
  81. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_ResponseAdapter.mjs +21 -21
  82. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_VariablesAdapter.mjs +3 -3
  83. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_ResponseAdapter.mjs +9 -9
  84. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_VariablesAdapter.mjs +3 -3
  85. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetails.mjs +53 -53
  86. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetailsImpl_ResponseAdapter.mjs +56 -56
  87. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetails.mjs +77 -77
  88. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetailsImpl_ResponseAdapter.mjs +102 -102
  89. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetails.mjs +31 -31
  90. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetailsImpl_ResponseAdapter.mjs +36 -36
  91. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetails.mjs +28 -28
  92. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs +33 -33
  93. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/ContributionDetailsSelections.mjs +44 -0
  94. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/ContributionDetailsSelections.mjs.map +1 -0
  95. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PairingSetDetailsSelections.mjs +54 -0
  96. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PairingSetDetailsSelections.mjs.map +1 -0
  97. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PartyDetailsSelections.mjs +43 -0
  98. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PartyDetailsSelections.mjs.map +1 -0
  99. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PlayerDetailsSelections.mjs +43 -0
  100. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PlayerDetailsSelections.mjs.map +1 -0
  101. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/CurrentPairAssignmentsQuerySelections.mjs +53 -0
  102. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/CurrentPairAssignmentsQuerySelections.mjs.map +1 -0
  103. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyContributionReportContributionsQuerySelections.mjs +56 -0
  104. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyContributionReportContributionsQuerySelections.mjs.map +1 -0
  105. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyDetailsQuerySelections.mjs +51 -0
  106. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyDetailsQuerySelections.mjs.map +1 -0
  107. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/SaveContributionMutationSelections.mjs +41 -0
  108. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/SaveContributionMutationSelections.mjs.map +1 -0
  109. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +4 -4
  110. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +4 -4
  111. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Contribution.mjs +34 -0
  112. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Contribution.mjs.map +1 -0
  113. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionId.mjs +34 -0
  114. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionId.mjs.map +1 -0
  115. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +46 -46
  116. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionReport.mjs +34 -0
  117. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionReport.mjs.map +1 -0
  118. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionWindow.mjs +4 -4
  119. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/DateTimeISO.mjs +34 -0
  120. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/DateTimeISO.mjs.map +1 -0
  121. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Duration.mjs +34 -0
  122. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Duration.mjs.map +1 -0
  123. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLBoolean.mjs +34 -0
  124. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLBoolean.mjs.map +1 -0
  125. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLFloat.mjs +1 -1
  126. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLInt.mjs +34 -0
  127. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLInt.mjs.map +1 -0
  128. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLString.mjs +34 -0
  129. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLString.mjs.map +1 -0
  130. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Mutation.mjs +56 -0
  131. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Mutation.mjs.map +1 -0
  132. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairSnapshot.mjs +34 -0
  133. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairSnapshot.mjs.map +1 -0
  134. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSet.mjs +34 -0
  135. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSet.mjs.map +1 -0
  136. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSetId.mjs +34 -0
  137. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSetId.mjs.map +1 -0
  138. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Party.mjs +40 -0
  139. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Party.mjs.map +1 -0
  140. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyId.mjs +34 -0
  141. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyId.mjs.map +1 -0
  142. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs +4 -4
  143. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinId.mjs +34 -0
  144. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinId.mjs.map +1 -0
  145. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinSnapshot.mjs +34 -0
  146. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinSnapshot.mjs.map +1 -0
  147. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Player.mjs +34 -0
  148. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Player.mjs.map +1 -0
  149. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerId.mjs +34 -0
  150. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerId.mjs.map +1 -0
  151. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerSnapshot.mjs +34 -0
  152. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerSnapshot.mjs.map +1 -0
  153. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Query.mjs +40 -0
  154. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Query.mjs.map +1 -0
  155. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/SaveContributionInput.mjs +7 -7
  156. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/AvatarType_ResponseAdapter.mjs +7 -7
  157. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs +7 -7
  158. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionInput_InputAdapter.mjs +47 -47
  159. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionWindow_ResponseAdapter.mjs +7 -7
  160. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionsInput_InputAdapter.mjs +10 -10
  161. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs +6 -6
  162. package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs +8 -8
  163. package/kotlin/apollo-kotlin-adapters-apollo-adapters-core/com/apollographql/adapter/core/KotlinInstantAdapter.mjs +6 -6
  164. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Adapters.mjs +112 -142
  165. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Adapters.mjs.map +1 -1
  166. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloRequest.mjs +100 -63
  167. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloRequest.mjs.map +1 -1
  168. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloResponse.mjs +61 -61
  169. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Assertions.mjs +1 -1
  170. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CompiledGraphQL.mjs +269 -3
  171. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CompiledGraphQL.mjs.map +1 -1
  172. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs +39 -50
  173. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs.map +1 -1
  174. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/DeferredFragmentIdentifier.mjs +35 -9
  175. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/DeferredFragmentIdentifier.mjs.map +1 -1
  176. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs +51 -10
  177. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs.map +1 -1
  178. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executable.mjs +1 -1
  179. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executables.mjs +8 -8
  180. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ExecutionContext.mjs +21 -21
  181. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Operations.mjs +9 -9
  182. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Operations.mjs.map +1 -1
  183. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Optional.mjs +21 -5
  184. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Optional.mjs.map +1 -1
  185. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/RequestParameters.mjs +158 -0
  186. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/RequestParameters.mjs.map +1 -0
  187. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/CacheUrlOverride.mjs +60 -0
  188. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/CacheUrlOverride.mjs.map +1 -0
  189. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/DefaultHttpRequestComposer.mjs +189 -291
  190. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/DefaultHttpRequestComposer.mjs.map +1 -1
  191. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs +106 -60
  192. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs.map +1 -1
  193. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/HttpHeaders.mjs +2 -2
  194. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/internal/ResponseParser.mjs +44 -33
  195. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/internal/ResponseParser.mjs.map +1 -1
  196. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSinkJsonWriter.mjs +84 -84
  197. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSourceJsonReader.mjs +371 -458
  198. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSourceJsonReader.mjs.map +1 -1
  199. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonNumber.mjs +2 -2
  200. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReader.mjs +19 -1
  201. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReader.mjs.map +1 -1
  202. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs +13 -13
  203. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonWriters.mjs +12 -12
  204. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs +127 -126
  205. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs.map +1 -1
  206. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs +47 -50
  207. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs.map +1 -1
  208. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/FileUploadAwareJsonWriter.mjs +35 -35
  209. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/JsonScope.mjs +9 -9
  210. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs +130 -138
  211. package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs.map +1 -1
  212. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs +44 -50
  213. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs.map +1 -1
  214. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs +290 -307
  215. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs.map +1 -1
  216. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ConcurrencyInfo.mjs +6 -6
  217. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/ApolloInterceptor.mjs +5 -5
  218. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/NetworkInterceptor.mjs +7 -7
  219. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/RetryOnErrorInterceptor.mjs +232 -102
  220. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/RetryOnErrorInterceptor.mjs.map +1 -1
  221. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/MultipartReader.mjs +49 -49
  222. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/dispatchers.js.mjs +1 -1
  223. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/dispatchers.js.mjs.map +1 -1
  224. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/flows.mjs +30 -30
  225. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/IncrementalDeliveryProtocolImpl.mjs +81 -0
  226. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/IncrementalDeliveryProtocolImpl.mjs.map +1 -0
  227. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/JsonMap.mjs +85 -0
  228. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/JsonMap.mjs.map +1 -0
  229. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_1IncrementalResultsMerger.mjs +154 -0
  230. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_1IncrementalResultsMerger.mjs.map +1 -0
  231. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_2IncrementalResultsMerger.mjs +253 -0
  232. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_2IncrementalResultsMerger.mjs.map +1 -0
  233. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs +18 -18
  234. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/IncrementalDeliveryProtocol.mjs +38 -0
  235. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/IncrementalDeliveryProtocol.mjs.map +1 -0
  236. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs +4 -4
  237. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs.map +1 -1
  238. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs +34 -118
  239. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs.map +1 -1
  240. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpEngine.mjs +0 -4
  241. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpEngine.mjs.map +1 -1
  242. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpExecutionContext.mjs +8 -8
  243. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpInterceptor.mjs +5 -5
  244. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpNetworkTransport.mjs +225 -204
  245. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpNetworkTransport.mjs.map +1 -1
  246. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/Js.mjs +6 -10
  247. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/Js.mjs.map +1 -1
  248. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ClientMessage.mjs +50 -0
  249. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ClientMessage.mjs.map +1 -0
  250. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/GraphQLWsProtocol.mjs +199 -0
  251. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/GraphQLWsProtocol.mjs.map +1 -0
  252. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ServerMessage.mjs +145 -0
  253. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ServerMessage.mjs.map +1 -0
  254. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketEngine.js.mjs +270 -0
  255. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketEngine.js.mjs.map +1 -1
  256. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketNetworkTransport.mjs +313 -0
  257. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketNetworkTransport.mjs.map +1 -0
  258. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/SubscribableWebSocket.mjs +571 -0
  259. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/SubscribableWebSocket.mjs.map +1 -0
  260. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/WebSocketPool.mjs +118 -0
  261. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/WebSocketPool.mjs.map +1 -0
  262. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs +35 -35
  263. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs.map +1 -1
  264. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs +39 -36
  265. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs.map +1 -1
  266. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs +211 -208
  267. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs.map +1 -1
  268. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs +21 -21
  269. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs.map +1 -1
  270. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/internal/WsMessage.mjs +24 -24
  271. package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/KtorExtensions.mjs +2 -2
  272. package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.js.mjs +1 -1
  273. package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.mjs +50 -57
  274. package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.mjs.map +1 -1
  275. package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/ws/KtorWebSocketEngine.mjs +68 -68
  276. package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +7 -7
  277. package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs +41 -41
  278. package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionGenerator.mjs +4 -4
  279. package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs +24 -24
  280. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs +116 -116
  281. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +102 -102
  282. package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +124 -124
  283. package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +38 -38
  284. package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +2 -2
  285. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +145 -145
  286. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +48 -48
  287. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +32 -32
  288. package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +28 -28
  289. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/ParameterGroup.mjs +2 -2
  290. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs +13 -13
  291. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs +6 -6
  292. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs +3 -3
  293. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs +26 -26
  294. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +215 -215
  295. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +5 -5
  296. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +3 -3
  297. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs +7 -7
  298. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/types/boolean.mjs +9 -9
  299. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs +32 -32
  300. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +46 -46
  301. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +236 -236
  302. package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs +4 -4
  303. package/kotlin/clikt-clikt/com/github/ajalt/clikt/sources/ValueSource.mjs +16 -16
  304. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs +2 -2
  305. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/core/MordantContext.mjs +16 -16
  306. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs +65 -65
  307. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs +20 -20
  308. package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/transform/MordantTransformContext.mjs +1 -1
  309. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/Color.mjs +1 -1
  310. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/ColorSpace.mjs +5 -5
  311. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs +15 -15
  312. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Matrix.mjs +10 -10
  313. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi16.mjs +18 -18
  314. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs +19 -19
  315. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/HSV.mjs +25 -25
  316. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/ICtCp.mjs +19 -19
  317. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs +121 -121
  318. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +134 -134
  319. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +68 -68
  320. package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +19 -19
  321. package/kotlin/kotlin-kotlin-stdlib/kotlin/DeepRecursive.mjs +19 -19
  322. package/kotlin/kotlin-kotlin-stdlib/kotlin/Lazy.mjs +9 -9
  323. package/kotlin/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs +11 -11
  324. package/kotlin/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs.map +1 -1
  325. package/kotlin/kotlin-kotlin-stdlib/kotlin/Result.mjs +5 -5
  326. package/kotlin/kotlin-kotlin-stdlib/kotlin/Standard.mjs +1 -1
  327. package/kotlin/kotlin-kotlin-stdlib/kotlin/Tuples.mjs +26 -26
  328. package/kotlin/kotlin-kotlin-stdlib/kotlin/UByte.mjs +12 -12
  329. package/kotlin/kotlin-kotlin-stdlib/kotlin/UByteArray.mjs +21 -21
  330. package/kotlin/kotlin-kotlin-stdlib/kotlin/UInt.mjs +12 -12
  331. package/kotlin/kotlin-kotlin-stdlib/kotlin/UIntArray.mjs +21 -21
  332. package/kotlin/kotlin-kotlin-stdlib/kotlin/ULong.mjs +12 -12
  333. package/kotlin/kotlin-kotlin-stdlib/kotlin/ULongArray.mjs +21 -21
  334. package/kotlin/kotlin-kotlin-stdlib/kotlin/UShort.mjs +12 -12
  335. package/kotlin/kotlin-kotlin-stdlib/kotlin/UShortArray.mjs +21 -21
  336. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractIterator.mjs +17 -17
  337. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractList.mjs +33 -33
  338. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMap.mjs +19 -19
  339. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractMutableCollectionJs.mjs +1 -1
  340. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/AbstractSet.mjs +1 -1
  341. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ArrayDeque.mjs +187 -187
  342. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +11 -11
  343. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +61 -61
  344. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
  345. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/HashMapEntry.mjs +2 -2
  346. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/IndexedValue.mjs +11 -11
  347. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs +2 -2
  348. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Iterators.mjs +6 -6
  349. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/MapWithDefault.mjs +1 -1
  350. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +17 -9
  351. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs.map +1 -1
  352. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/PrimitiveIterators.mjs +4 -4
  353. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/ReversedViews.mjs +38 -38
  354. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Sets.mjs +5 -5
  355. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/SlidingWindow.mjs +87 -87
  356. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +11 -2
  357. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs.map +1 -1
  358. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +7 -0
  359. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs.map +1 -1
  360. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +7 -7
  361. package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
  362. package/kotlin/kotlin-kotlin-stdlib/kotlin/comparisons/Comparisons.mjs +2 -2
  363. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/ContinuationInterceptor.mjs +3 -3
  364. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContext.mjs +3 -3
  365. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineContextImpl.mjs +33 -33
  366. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs +16 -4
  367. package/kotlin/kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs.map +1 -1
  368. package/kotlin/kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs +13 -13
  369. package/kotlin/kotlin-kotlin-stdlib/kotlin/exceptions.mjs +34 -28
  370. package/kotlin/kotlin-kotlin-stdlib/kotlin/exceptions.mjs.map +1 -1
  371. package/kotlin/kotlin-kotlin-stdlib/kotlin/io/encoding/Base64.mjs +42 -42
  372. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/JsClass.mjs +1 -1
  373. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +10 -0
  374. package/kotlin/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs.map +1 -1
  375. package/kotlin/kotlin-kotlin-stdlib/kotlin/random/Random.mjs +43 -43
  376. package/kotlin/kotlin-kotlin-stdlib/kotlin/random/XorWowRandom.mjs +24 -24
  377. package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/PrimitiveRanges.mjs +17 -17
  378. package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/ProgressionIterators.mjs +24 -24
  379. package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/Progressions.mjs +10 -10
  380. package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs +8 -4
  381. package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs.map +1 -1
  382. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/KTypeProjection.mjs +16 -16
  383. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KClassImpl.mjs +22 -22
  384. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs +2 -2
  385. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeParameterImpl.mjs +8 -8
  386. package/kotlin/kotlin-kotlin-stdlib/kotlin/reflect/js/internal/primitives.mjs +20 -20
  387. package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/SequenceBuilder.mjs +34 -34
  388. package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/Sequences.mjs +39 -39
  389. package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs +16 -16
  390. package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs.map +1 -1
  391. package/kotlin/kotlin-kotlin-stdlib/kotlin/sequences/sequenceJs.mjs +3 -3
  392. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/CharacterCodingExceptionJs.mjs +5 -5
  393. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs +263 -5
  394. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/HexExtensions.mjs.map +1 -1
  395. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs +271 -0
  396. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/HexFormat.mjs.map +1 -0
  397. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs +17 -13
  398. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/StringBuilderJs.mjs.map +1 -1
  399. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs +1 -1
  400. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +63 -63
  401. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs +4 -0
  402. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/_LetterChars.mjs.map +1 -1
  403. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/charJs.mjs +14 -1
  404. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/charJs.mjs.map +1 -1
  405. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/regex.mjs +82 -82
  406. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +36 -14
  407. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
  408. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs +3 -3
  409. package/kotlin/kotlin-kotlin-stdlib/kotlin/text/utf8Encoding.mjs +1 -1
  410. package/kotlin/kotlin-kotlin-stdlib/kotlin/throwableExtensions.mjs +21 -21
  411. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Clock.mjs +1 -1
  412. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +100 -100
  413. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs.map +1 -1
  414. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs +8 -8
  415. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Instant.mjs +76 -76
  416. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/InstantJs.mjs +1 -1
  417. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/MonoTimeSource.mjs +40 -40
  418. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/TimeSource.mjs +15 -15
  419. package/kotlin/kotlin-kotlin-stdlib/kotlin/time/measureTime.mjs +7 -7
  420. package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/Uuid.mjs +30 -30
  421. package/kotlin/kotlin-kotlin-stdlib/kotlin/uuid/UuidJs.mjs +2 -2
  422. package/kotlin/kotlin-kotlin-stdlib/reflectionJs.mjs +2 -2
  423. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
  424. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
  425. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/DirectLoggerFactory.mjs +1 -1
  426. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
  427. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +9 -9
  428. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +25 -25
  429. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
  430. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
  431. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +12 -12
  432. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +5 -5
  433. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +11 -11
  434. package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
  435. package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
  436. package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
  437. package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/locks/Synchronized.mjs +34 -0
  438. package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/locks/Synchronized.mjs.map +1 -0
  439. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +25 -25
  440. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Await.mjs +40 -40
  441. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Await.mjs.map +1 -1
  442. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +30 -30
  443. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
  444. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +7 -7
  445. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
  446. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +166 -166
  447. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
  448. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
  449. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
  450. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
  451. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +6 -6
  452. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +6 -6
  453. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +2 -2
  454. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
  455. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +4 -4
  456. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
  457. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +35 -35
  458. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
  459. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +42 -42
  460. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
  461. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +30 -30
  462. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +1 -1
  463. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +5 -5
  464. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
  465. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +89 -89
  466. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
  467. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +18 -18
  468. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
  469. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +316 -316
  470. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
  471. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
  472. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +2 -2
  473. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
  474. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Timeout.mjs +21 -21
  475. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +4 -4
  476. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +463 -439
  477. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
  478. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
  479. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +26 -23
  480. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
  481. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
  482. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +30 -30
  483. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +65 -13
  484. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -1
  485. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +52 -20
  486. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs.map +1 -1
  487. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
  488. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +5 -5
  489. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs.map +1 -1
  490. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collection.mjs +10 -10
  491. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +2 -29
  492. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs.map +1 -1
  493. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +14 -14
  494. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +28 -28
  495. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs +2 -2
  496. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Limit.mjs +16 -16
  497. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +9 -9
  498. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +23 -23
  499. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +137 -137
  500. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs.map +1 -1
  501. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +19 -19
  502. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +32 -32
  503. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +72 -72
  504. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
  505. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +3 -3
  506. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +3 -3
  507. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +5 -5
  508. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +8 -8
  509. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
  510. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +46 -46
  511. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
  512. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
  513. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +71 -71
  514. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +39 -39
  515. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
  516. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +75 -75
  517. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +12 -12
  518. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
  519. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
  520. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
  521. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
  522. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +1 -1
  523. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +9 -9
  524. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
  525. package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
  526. package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +35 -35
  527. package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs.map +1 -1
  528. package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
  529. package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs.map +1 -1
  530. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
  531. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs.map +1 -1
  532. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs +1 -1
  533. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-Util.mjs.map +1 -1
  534. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +158 -158
  535. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs.map +1 -1
  536. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
  537. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs.map +1 -1
  538. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
  539. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs.map +1 -1
  540. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Core.mjs.map +1 -1
  541. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
  542. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs.map +1 -1
  543. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +50 -50
  544. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs.map +1 -1
  545. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +133 -133
  546. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs.map +1 -1
  547. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
  548. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs.map +1 -1
  549. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
  550. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs.map +1 -1
  551. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +12 -12
  552. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs.map +1 -1
  553. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
  554. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs.map +1 -1
  555. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs +1 -1
  556. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/internal/-Utf8.mjs.map +1 -1
  557. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
  558. package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs.map +1 -1
  559. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +17 -17
  560. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +19 -19
  561. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +4 -4
  562. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +4 -4
  563. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
  564. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
  565. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
  566. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
  567. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +97 -97
  568. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +60 -60
  569. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +69 -69
  570. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
  571. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +7 -7
  572. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +25 -25
  573. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
  574. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
  575. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +231 -231
  576. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
  577. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
  578. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
  579. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/JsonInternalDependencies.mjs +1 -1
  580. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
  581. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
  582. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
  583. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
  584. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +7 -7
  585. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +14 -14
  586. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
  587. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +70 -70
  588. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
  589. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +114 -114
  590. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +221 -221
  591. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +92 -92
  592. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
  593. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +31 -31
  594. package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
  595. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +48 -48
  596. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +19 -19
  597. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +57 -57
  598. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementBuilders.mjs +6 -6
  599. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +155 -155
  600. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonExceptions.mjs +19 -19
  601. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
  602. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +179 -179
  603. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
  604. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
  605. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
  606. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +7 -7
  607. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +21 -21
  608. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +40 -40
  609. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +11 -11
  610. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
  611. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
  612. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +62 -62
  613. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +8 -8
  614. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
  615. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +180 -180
  616. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +141 -141
  617. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
  618. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +2 -2
  619. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +264 -264
  620. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonEncoder.mjs +184 -184
  621. package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
  622. package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +71 -71
  623. package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
  624. package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +73 -73
  625. package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
  626. package/kotlin/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +2 -2
  627. package/kotlin/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +45 -45
  628. package/kotlin/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +49 -49
  629. package/kotlin/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
  630. package/kotlin/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
  631. package/kotlin/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +24 -24
  632. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +56 -54
  633. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -1
  634. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +23 -23
  635. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineCapability.mjs +1 -1
  636. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
  637. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
  638. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +16 -16
  639. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs.map +1 -1
  640. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
  641. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +41 -41
  642. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
  643. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +9 -9
  644. package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +7 -7
  645. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +36 -36
  646. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultRequest.mjs +55 -55
  647. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +32 -32
  648. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +76 -72
  649. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -1
  650. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +80 -80
  651. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
  652. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +59 -59
  653. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs.map +1 -1
  654. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +33 -33
  655. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +31 -31
  656. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
  657. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +114 -114
  658. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
  659. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +87 -81
  660. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -1
  661. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +23 -23
  662. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
  663. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
  664. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
  665. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +26 -26
  666. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +14 -14
  667. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +36 -36
  668. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserver.mjs +57 -57
  669. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +8 -8
  670. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/ClientSessions.mjs +36 -36
  671. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +72 -72
  672. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
  673. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSocketContent.mjs +9 -9
  674. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +81 -81
  675. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/builders.mjs +30 -20
  676. package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/builders.mjs.map +1 -1
  677. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/ClientUpgradeContent.mjs +1 -1
  678. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +20 -20
  679. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +58 -58
  680. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
  681. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/buildersWithUrl.mjs +1 -1
  682. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/forms/FormDataContent.mjs +10 -10
  683. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/forms/formBuilders.mjs +11 -11
  684. package/kotlin/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +2 -2
  685. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
  686. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +6 -6
  687. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +27 -27
  688. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +28 -20
  689. package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs.map +1 -1
  690. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +16 -16
  691. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
  692. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
  693. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +6 -6
  694. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/JsUtils.js.mjs +17 -17
  695. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/JsUtils.js.mjs.map +1 -1
  696. package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
  697. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/HttpClientCallLogger.mjs +28 -28
  698. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/KtorMDCContext.web.mjs +3 -3
  699. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogBodyFilter.mjs +24 -24
  700. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogLevel.mjs +3 -3
  701. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggedContent.mjs +16 -16
  702. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logger.mjs +1 -1
  703. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logging.mjs +275 -275
  704. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggingUtils.mjs +16 -16
  705. package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/ObservingUtils.mjs +12 -12
  706. package/kotlin/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
  707. package/kotlin/ktor-ktor-http/io/ktor/http/Codecs.mjs +13 -13
  708. package/kotlin/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +95 -95
  709. package/kotlin/ktor-ktor-http/io/ktor/http/ContentTypes.mjs.map +1 -1
  710. package/kotlin/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
  711. package/kotlin/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs.map +1 -1
  712. package/kotlin/ktor-ktor-http/io/ktor/http/Headers.mjs +19 -19
  713. package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +39 -39
  714. package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +117 -115
  715. package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs.map +1 -1
  716. package/kotlin/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +5 -5
  717. package/kotlin/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +15 -15
  718. package/kotlin/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
  719. package/kotlin/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
  720. package/kotlin/ktor-ktor-http/io/ktor/http/HttpUrlEncoded.mjs +4 -4
  721. package/kotlin/ktor-ktor-http/io/ktor/http/Parameters.mjs +13 -13
  722. package/kotlin/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
  723. package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +59 -59
  724. package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.web.mjs +1 -1
  725. package/kotlin/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
  726. package/kotlin/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
  727. package/kotlin/ktor-ktor-http/io/ktor/http/URLUtils.mjs +29 -29
  728. package/kotlin/ktor-ktor-http/io/ktor/http/Url.mjs +77 -77
  729. package/kotlin/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +31 -31
  730. package/kotlin/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +11 -11
  731. package/kotlin/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +9 -9
  732. package/kotlin/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +14 -14
  733. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
  734. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +89 -89
  735. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
  736. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +54 -54
  737. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs.map +1 -1
  738. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +10 -10
  739. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +73 -73
  740. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
  741. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +6 -6
  742. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
  743. package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
  744. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +346 -144
  745. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
  746. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
  747. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +50 -50
  748. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +32 -0
  749. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs.map +1 -0
  750. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
  751. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +75 -74
  752. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs.map +1 -1
  753. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
  754. package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +37 -37
  755. package/kotlin/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +25 -49
  756. package/kotlin/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs.map +1 -1
  757. package/kotlin/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
  758. package/kotlin/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
  759. package/kotlin/ktor-ktor-io/io/ktor/utils/io/IODispatcher.web.mjs +1 -1
  760. package/kotlin/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
  761. package/kotlin/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +50 -19
  762. package/kotlin/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs.map +1 -1
  763. package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
  764. package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
  765. package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
  766. package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
  767. package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
  768. package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
  769. package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
  770. package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
  771. package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
  772. package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
  773. package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
  774. package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +28 -28
  775. package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -1
  776. package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +3 -3
  777. package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
  778. package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
  779. package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +37 -37
  780. package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs.map +1 -1
  781. package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
  782. package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +81 -81
  783. package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +88 -12
  784. package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
  785. package/kotlin/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
  786. package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.mjs +14 -14
  787. package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.web.mjs +16 -16
  788. package/kotlin/ktor-ktor-utils/io/ktor/util/ByteChannels.mjs +55 -55
  789. package/kotlin/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +196 -196
  790. package/kotlin/ktor-ktor-utils/io/ktor/util/ContentEncoders.web.mjs +5 -5
  791. package/kotlin/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +2 -2
  792. package/kotlin/ktor-ktor-utils/io/ktor/util/Crypto.mjs +4 -32
  793. package/kotlin/ktor-ktor-utils/io/ktor/util/Crypto.mjs.map +1 -1
  794. package/kotlin/ktor-ktor-utils/io/ktor/util/Crypto.web.mjs +8 -5
  795. package/kotlin/ktor-ktor-utils/io/ktor/util/Crypto.web.mjs.map +1 -1
  796. package/kotlin/ktor-ktor-utils/io/ktor/util/Encoders.mjs +3 -3
  797. package/kotlin/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
  798. package/kotlin/ktor-ktor-utils/io/ktor/util/StringValues.mjs +139 -139
  799. package/kotlin/ktor-ktor-utils/io/ktor/util/TargetUtilsJs.mjs.map +1 -1
  800. package/kotlin/ktor-ktor-utils/io/ktor/util/Text.mjs +1 -1
  801. package/kotlin/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
  802. package/kotlin/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
  803. package/kotlin/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
  804. package/kotlin/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
  805. package/kotlin/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLogger.web.mjs +10 -10
  806. package/kotlin/ktor-ktor-utils/io/ktor/util/logging/Logger.web.mjs +1 -1
  807. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
  808. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
  809. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
  810. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.web.mjs +48 -0
  811. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.web.mjs.map +1 -0
  812. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
  813. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
  814. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
  815. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +53 -53
  816. package/kotlin/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
  817. package/kotlin/ktor-ktor-utils/io/ktor/util/reflect/TypeInfo.web.mjs +1 -1
  818. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
  819. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/DefaultWebSocketSession.mjs +121 -121
  820. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/Frame.web.mjs +41 -41
  821. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +8 -8
  822. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +1 -1
  823. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +12 -13
  824. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs.map +1 -1
  825. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
  826. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/PingPong.mjs +46 -46
  827. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/PingPong.mjs.map +1 -1
  828. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +49 -46
  829. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs.map +1 -1
  830. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtension.mjs +4 -4
  831. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtensionHeader.mjs +4 -4
  832. package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketSession.mjs +6 -6
  833. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +24 -24
  834. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +42 -42
  835. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Constants.mjs +4 -4
  836. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/HyperlinkIds.mjs +1 -1
  837. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs +17 -17
  838. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +61 -61
  839. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs +7 -7
  840. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/cellwidthtable.mjs +3 -3
  841. package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs +14 -14
  842. package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
  843. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +39 -39
  844. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +60 -60
  845. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
  846. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +22 -22
  847. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +79 -79
  848. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs +44 -44
  849. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Whitespace.mjs +4 -4
  850. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Widget.mjs +2 -2
  851. package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/WidthRange.mjs +17 -17
  852. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs +4 -4
  853. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs +243 -243
  854. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +23 -23
  855. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +153 -153
  856. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +57 -57
  857. package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs +32 -32
  858. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs +60 -60
  859. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs +14 -14
  860. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs +54 -54
  861. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs +1 -1
  862. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +9 -9
  863. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs +1 -1
  864. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs +18 -18
  865. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +10 -10
  866. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.js.mjs +19 -19
  867. package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.jsCommon.mjs +13 -13
  868. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs +62 -62
  869. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +3 -3
  870. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +61 -61
  871. package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +67 -67
  872. package/kotlin/okio-parent-okio/okio/Buffer.mjs +447 -611
  873. package/kotlin/okio-parent-okio/okio/Buffer.mjs.map +1 -1
  874. package/kotlin/okio-parent-okio/okio/ByteString.mjs +57 -57
  875. package/kotlin/okio-parent-okio/okio/ByteString.mjs.map +1 -1
  876. package/kotlin/okio-parent-okio/okio/HashingSink.mjs +92 -0
  877. package/kotlin/okio-parent-okio/okio/HashingSink.mjs.map +1 -0
  878. package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs +16 -16
  879. package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs.map +1 -1
  880. package/kotlin/okio-parent-okio/okio/Okio.mjs +2 -2
  881. package/kotlin/okio-parent-okio/okio/Okio.mjs.map +1 -1
  882. package/kotlin/okio-parent-okio/okio/Options.mjs +24 -24
  883. package/kotlin/okio-parent-okio/okio/Options.mjs.map +1 -1
  884. package/kotlin/okio-parent-okio/okio/RealBufferedSink.mjs +37 -37
  885. package/kotlin/okio-parent-okio/okio/RealBufferedSink.mjs.map +1 -1
  886. package/kotlin/okio-parent-okio/okio/RealBufferedSource.mjs +93 -93
  887. package/kotlin/okio-parent-okio/okio/RealBufferedSource.mjs.map +1 -1
  888. package/kotlin/okio-parent-okio/okio/Segment.mjs +70 -70
  889. package/kotlin/okio-parent-okio/okio/Segment.mjs.map +1 -1
  890. package/kotlin/okio-parent-okio/okio/SegmentPool.mjs +5 -5
  891. package/kotlin/okio-parent-okio/okio/SegmentedByteString.mjs +51 -51
  892. package/kotlin/okio-parent-okio/okio/SegmentedByteString.mjs.map +1 -1
  893. package/kotlin/okio-parent-okio/okio/Util.mjs +1 -1
  894. package/kotlin/okio-parent-okio/okio/Util.mjs.map +1 -1
  895. package/kotlin/okio-parent-okio/okio/internal/-Utf8.mjs +154 -154
  896. package/kotlin/okio-parent-okio/okio/internal/-Utf8.mjs.map +1 -1
  897. package/kotlin/okio-parent-okio/okio/internal/Buffer.mjs +242 -45
  898. package/kotlin/okio-parent-okio/okio/internal/Buffer.mjs.map +1 -1
  899. package/kotlin/okio-parent-okio/okio/internal/ByteString.mjs +67 -67
  900. package/kotlin/okio-parent-okio/okio/internal/ByteString.mjs.map +1 -1
  901. package/kotlin/okio-parent-okio/okio/internal/RealBufferedSource.mjs +92 -0
  902. package/kotlin/okio-parent-okio/okio/internal/RealBufferedSource.mjs.map +1 -0
  903. package/kotlin/okio-parent-okio/okio/internal/SegmentedByteString.mjs +1 -1
  904. package/kotlin/okio-parent-okio/okio/internal/SegmentedByteString.mjs.map +1 -1
  905. package/kotlin/okio-parent-okio/okio/internal/Sha256.mjs +265 -0
  906. package/kotlin/okio-parent-okio/okio/internal/Sha256.mjs.map +1 -0
  907. package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionCannon.mjs +9 -9
  908. package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionPipe.mjs +2 -2
  909. package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/async/SimpleSuspendAction.mjs +7 -7
  910. package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +175 -175
  911. package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
  912. package/kotlin/types-types/kotools/types/collection/NotEmptyList.mjs +30 -30
  913. package/kotlin/types-types/kotools/types/text/NotBlankString.mjs +34 -34
  914. package/kotlin/types-types-internal/kotools/types/internal/ErrorMessage.mjs +15 -15
  915. package/kotlin/types-types-internal/kotools/types/internal/Errors.mjs +1 -1
  916. package/kotlin/types-types-internal/kotools/types/internal/Serializers.mjs +12 -12
  917. package/kotlin/uuid/com/benasher44/uuid/platform.mjs +1 -1
  918. package/kotlin/uuid/com/benasher44/uuid/uuid.mjs +11 -11
  919. package/package.json +1 -4
  920. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/DeferredJsonMerger.mjs +0 -209
  921. package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/DeferredJsonMerger.mjs.map +0 -1
  922. package/kotlin/ktor-ktor-utils/io/ktor/util/internal/ExceptionUtils.web.mjs +0 -11
  923. package/kotlin/ktor-ktor-utils/io/ktor/util/internal/ExceptionUtils.web.mjs.map +0 -1
  924. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelineJs.mjs +0 -15
  925. package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelineJs.mjs.map +0 -1
@@ -1,8 +1,278 @@
1
+ import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
2
+ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
3
+ import { Unit_instancev9v8hjid95df as Unit_instance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
4
+ import { DefaultApolloException8w3ielfxng0h as DefaultApolloException } from '../../../../../../apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs';
5
+ import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
6
+ import { substring3saq8ornu0luv as substring } from '../../../../../../kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs';
7
+ import {
8
+ startsWith26w8qjqapeeq6 as startsWith,
9
+ equals2v6cggk171b6e as equals,
10
+ } from '../../../../../../kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs';
11
+ import {
12
+ numberToDouble210hrknaofnhf as numberToDouble,
13
+ toShort36kaw0zjdq3ex as toShort,
14
+ } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/numberConversion.mjs';
15
+ import { toTypedArray3sl1vhn8ifta0 as toTypedArray } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs';
16
+ import { ArrayList3it5z8td81qkl as ArrayList } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs';
17
+ import { Paire9pteg33gng7 as Pair } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Tuples.mjs';
18
+ import { collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs';
19
+ import { copyToArray2j022khrow2yi as copyToArray } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs';
20
+ import { Long2qws0ah9gnpki as Long } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Primitives.mjs';
21
+ import { get_isNodeu9kqlebvup92 as get_isNode } from '../../internal/is-node.mjs';
22
+ //region block: imports
23
+ //endregion
1
24
  //region block: pre-declaration
2
25
  //endregion
3
26
  var MAX_BUFFERED;
27
+ function WebSocketEngine() {
28
+ return new (JsWebSocketEngine())();
29
+ }
30
+ var JsWebSocketEngineClass;
31
+ function JsWebSocketEngine() {
32
+ if (JsWebSocketEngineClass === VOID) {
33
+ class $ {
34
+ t5r(url, headers, listener) {
35
+ return new (JsWebSocket())(url, headers, listener);
36
+ }
37
+ j6() {
38
+ }
39
+ }
40
+ initMetadataForClass($, 'JsWebSocketEngine', JsWebSocketEngine);
41
+ JsWebSocketEngineClass = $;
42
+ }
43
+ return JsWebSocketEngineClass;
44
+ }
45
+ function JsWebSocket$lambda(this$0) {
46
+ return (it) => {
47
+ this$0.x5v_1.w5r();
48
+ return Unit_instance;
49
+ };
50
+ }
51
+ function JsWebSocket$lambda_0(this$0) {
52
+ return (it) => {
53
+ var data2 = it.data;
54
+ var tmp;
55
+ if (!(data2 == null) ? typeof data2 === 'string' : false) {
56
+ this$0.x5v_1.x5r((!(data2 == null) ? typeof data2 === 'string' : false) ? data2 : THROW_CCE());
57
+ tmp = Unit_instance;
58
+ } else {
59
+ if (data2 instanceof ArrayBuffer) {
60
+ // Inline function 'kotlin.js.unsafeCast' call
61
+ // Inline function 'kotlin.js.asDynamic' call
62
+ var tmp$ret$0 = new Int8Array(data2 instanceof ArrayBuffer ? data2 : THROW_CCE());
63
+ this$0.x5v_1.z5r(tmp$ret$0);
64
+ tmp = Unit_instance;
65
+ } else {
66
+ var d = JSON.stringify(data2);
67
+ if (!this$0.z5v_1) {
68
+ this$0.z5v_1 = true;
69
+ this$0.x5v_1.a5s(DefaultApolloException().l4v("Apollo: unsupported message received ('" + d + "')"));
70
+ var tmp0_safe_receiver = this$0.y5v_1;
71
+ if (tmp0_safe_receiver == null)
72
+ null;
73
+ else {
74
+ tmp0_safe_receiver.close(1001, 'Unsupported message received');
75
+ }
76
+ }
77
+ tmp = Unit_instance;
78
+ }
79
+ }
80
+ return Unit_instance;
81
+ };
82
+ }
83
+ function JsWebSocket$lambda_1(this$0) {
84
+ return (it) => {
85
+ var tmp;
86
+ if (!this$0.z5v_1) {
87
+ this$0.z5v_1 = true;
88
+ this$0.x5v_1.a5s(DefaultApolloException().l4v('Error while reading websocket'));
89
+ tmp = Unit_instance;
90
+ }
91
+ return Unit_instance;
92
+ };
93
+ }
94
+ function JsWebSocket$lambda_2(this$0) {
95
+ return (it) => {
96
+ var event = it;
97
+ var tmp;
98
+ if (!this$0.z5v_1) {
99
+ this$0.z5v_1 = true;
100
+ var tmp_0;
101
+ if (event.wasClean) {
102
+ this$0.x5v_1.b5s(event.code, event.reason);
103
+ tmp_0 = Unit_instance;
104
+ } else {
105
+ this$0.x5v_1.a5s(DefaultApolloException().l4v('WebSocket was closed'));
106
+ tmp_0 = Unit_instance;
107
+ }
108
+ tmp = tmp_0;
109
+ }
110
+ return Unit_instance;
111
+ };
112
+ }
113
+ var JsWebSocketClass;
114
+ function JsWebSocket() {
115
+ if (JsWebSocketClass === VOID) {
116
+ class $ {
117
+ constructor(url, headers, listener) {
118
+ this.x5v_1 = listener;
119
+ this.z5v_1 = false;
120
+ this.a5w_1 = startsWith(url, 'http://') ? 'ws://' + substring(url, 7) : startsWith(url, 'https://') ? 'wss://' + substring(url, 8) : url;
121
+ this.y5v_1 = createWebSocket(this.a5w_1, headers, this.x5v_1);
122
+ var tmp0_safe_receiver = this.y5v_1;
123
+ if (tmp0_safe_receiver == null)
124
+ null;
125
+ else {
126
+ // Inline function 'org.w3c.dom.ARRAYBUFFER' call
127
+ // Inline function 'kotlin.js.asDynamic' call
128
+ // Inline function 'kotlin.js.unsafeCast' call
129
+ tmp0_safe_receiver.binaryType = 'arraybuffer';
130
+ }
131
+ var tmp1_safe_receiver = this.y5v_1;
132
+ if (tmp1_safe_receiver == null)
133
+ null;
134
+ else {
135
+ tmp1_safe_receiver.onopen = JsWebSocket$lambda(this);
136
+ }
137
+ var tmp2_safe_receiver = this.y5v_1;
138
+ if (tmp2_safe_receiver == null)
139
+ null;
140
+ else {
141
+ tmp2_safe_receiver.onmessage = JsWebSocket$lambda_0(this);
142
+ }
143
+ var tmp3_safe_receiver = this.y5v_1;
144
+ if (tmp3_safe_receiver == null)
145
+ null;
146
+ else {
147
+ tmp3_safe_receiver.onerror = JsWebSocket$lambda_1(this);
148
+ }
149
+ var tmp4_safe_receiver = this.y5v_1;
150
+ if (tmp4_safe_receiver == null)
151
+ null;
152
+ else {
153
+ tmp4_safe_receiver.onclose = JsWebSocket$lambda_2(this);
154
+ }
155
+ }
156
+ d5s(data) {
157
+ var tmp0_safe_receiver = this.y5v_1;
158
+ if (tmp0_safe_receiver == null)
159
+ null;
160
+ else {
161
+ // Inline function 'kotlin.let' call
162
+ if (numberToDouble(tmp0_safe_receiver.bufferedAmount) > MAX_BUFFERED) {
163
+ if (!this.z5v_1) {
164
+ this.z5v_1 = true;
165
+ this.x5v_1.a5s(DefaultApolloException().l4v('Too much data queued'));
166
+ }
167
+ }
168
+ tmp0_safe_receiver.send(new Uint8Array(toTypedArray(data)));
169
+ }
170
+ }
171
+ e5s(text) {
172
+ var tmp0_safe_receiver = this.y5v_1;
173
+ if (tmp0_safe_receiver == null)
174
+ null;
175
+ else {
176
+ // Inline function 'kotlin.let' call
177
+ if (numberToDouble(tmp0_safe_receiver.bufferedAmount) > MAX_BUFFERED) {
178
+ if (!this.z5v_1) {
179
+ this.z5v_1 = true;
180
+ this.x5v_1.a5s(DefaultApolloException().l4v('Too much data queued'));
181
+ }
182
+ }
183
+ tmp0_safe_receiver.send(text);
184
+ }
185
+ }
186
+ v5r(code, reason) {
187
+ if (!this.z5v_1) {
188
+ this.z5v_1 = true;
189
+ var tmp0_safe_receiver = this.y5v_1;
190
+ if (tmp0_safe_receiver == null)
191
+ null;
192
+ else {
193
+ tmp0_safe_receiver.close(toShort(code), reason);
194
+ }
195
+ }
196
+ }
197
+ }
198
+ initMetadataForClass($, 'JsWebSocket');
199
+ JsWebSocketClass = $;
200
+ }
201
+ return JsWebSocketClass;
202
+ }
203
+ function createWebSocket(urlString_capturingHack, headers, listener) {
204
+ // Inline function 'kotlin.collections.partition' call
205
+ var first = ArrayList().i2();
206
+ var second = ArrayList().i2();
207
+ var _iterator__ex2g4s = headers.l1();
208
+ while (_iterator__ex2g4s.m1()) {
209
+ var element = _iterator__ex2g4s.n1();
210
+ if (equals(element.o51_1, 'sec-websocket-protocol', true)) {
211
+ first.o2(element);
212
+ } else {
213
+ second.o2(element);
214
+ }
215
+ }
216
+ var _destruct__k2r9zo = new (Pair())(first, second);
217
+ var protocolHeaders = _destruct__k2r9zo.ol();
218
+ var otherHeaders = _destruct__k2r9zo.pl();
219
+ // Inline function 'kotlin.collections.map' call
220
+ // Inline function 'kotlin.collections.mapTo' call
221
+ var destination = ArrayList().r2(collectionSizeOrDefault(protocolHeaders, 10));
222
+ var _iterator__ex2g4s_0 = protocolHeaders.l1();
223
+ while (_iterator__ex2g4s_0.m1()) {
224
+ var item = _iterator__ex2g4s_0.n1();
225
+ var tmp$ret$4 = item.p51_1;
226
+ destination.o2(tmp$ret$4);
227
+ }
228
+ // Inline function 'kotlin.collections.toTypedArray' call
229
+ var protocols = copyToArray(destination);
230
+ var tmp;
231
+ if (get_isNode()) {
232
+ var ws_capturingHack = eval('require')('ws');
233
+ var headers_capturingHack = new (createWebSocket$headers_capturingHack$1())();
234
+ // Inline function 'kotlin.collections.forEach' call
235
+ var _iterator__ex2g4s_1 = headers.l1();
236
+ while (_iterator__ex2g4s_1.m1()) {
237
+ var element_0 = _iterator__ex2g4s_1.n1();
238
+ headers_capturingHack[element_0.o51_1] = element_0.p51_1;
239
+ }
240
+ tmp = new ws_capturingHack(urlString_capturingHack, protocols, {headers: headers_capturingHack});
241
+ } else {
242
+ var tmp_0;
243
+ // Inline function 'kotlin.collections.isNotEmpty' call
244
+ if (!otherHeaders.j1()) {
245
+ setTimeout(createWebSocket$lambda(listener), new (Long())(10, 0));
246
+ tmp_0 = null;
247
+ } else {
248
+ tmp_0 = new WebSocket(urlString_capturingHack, protocols);
249
+ }
250
+ tmp = tmp_0;
251
+ }
252
+ return tmp;
253
+ }
254
+ var createWebSocket$headers_capturingHack$1Class;
255
+ function createWebSocket$headers_capturingHack$1() {
256
+ if (createWebSocket$headers_capturingHack$1Class === VOID) {
257
+ class $ {}
258
+ initMetadataForClass($);
259
+ createWebSocket$headers_capturingHack$1Class = $;
260
+ }
261
+ return createWebSocket$headers_capturingHack$1Class;
262
+ }
263
+ function createWebSocket$lambda($listener) {
264
+ return () => {
265
+ $listener.a5s(DefaultApolloException().l4v("Apollo: the WebSocket browser API doesn't allow passing headers. Use connectionPayload or other mechanisms."));
266
+ return Unit_instance;
267
+ };
268
+ }
4
269
  //region block: init
5
270
  MAX_BUFFERED = 100000000;
6
271
  //endregion
272
+ //region block: exports
273
+ export {
274
+ WebSocketEngine as WebSocketEngine1lh73ie4wh0m5,
275
+ };
276
+ //endregion
7
277
 
8
278
  //# sourceMappingURL=WebSocketEngine.js.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../../../../../Users/runner/work/apollo-kotlin/apollo-kotlin/libraries/apollo-runtime/src/jsMain/kotlin/com/apollographql/apollo/network/websocket/WebSocketEngine.js.kt"],"sourcesContent":[null],"ignoreList":[],"x_google_ignoreList":[],"names":[],"mappings":";;;;eAoH2B,S;;"}
1
+ {"version":3,"sources":["../../../../../../../../../../Users/runner/work/apollo-kotlin/apollo-kotlin/libraries/apollo-runtime/src/jsMain/kotlin/com/apollographql/apollo/network/websocket/WebSocketEngine.js.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/js/src/kotlin/dynamic.kt","../../../../../../../../../../mnt/agent/work/cda76b66d8f1c2ba/src/jsMain/kotlin/org.w3c/org.w3c.dom.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/common/src/generated/_Collections.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/js/src/kotlin/collectionJs.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketEngine.js.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/src/kotlin/collections/Collections.kt"],"sourcesContent":[null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["WebSocketEngine","newWebSocket","url","headers","listener","close","JsWebSocket$lambda","JsWebSocket$lambda$lambda","data2","d","event","send","data","text","code","reason","createWebSocket","urlString_capturingHack","first","second","element","protocolHeaders","otherHeaders","item","protocols","ws_capturingHack","headers_capturingHack","createWebSocket$lambda","createWebSocket$lambda$lambda"],"mappings":"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AAM;A,QAAjBC,UAAW,sB;IACR,IH7oGwD,OG6oG9C,OH7oG8C,CAAL,KAAK,EAAO,wBAAP,EAAiC,IAAjC,CG6oGxD,C,CAAoB;A,MACpB,KAAM,IAAI,OAAJ,C;IACV,C;MACI,MAAO,IAAI,OAAJ,C;;EAEf,C;MHlpGF,oBGmpGS,aAAK,KAAL,EAAY,MAAZ,C;MHnpGJC,wC;MAAiBC,qC;;;oBGy6CP,eAAa,wBHx6CZ,eGw6CY,EAAwB,EAAxB,CAAb,C;MA2EA,sBHn/CC,eGm/CD,K;SAAA,wB,EACT;A,QADCC,OAAQ,wB;QHn/C+B,YGo/Cd,IHp/Cc,CAAL,K;IGo/CnC,WAAY,IAAI,SAAJ,C;EAAmB,C;;MHp/CrCC,YI/GoE,YDomD3D,WCpmD2D,C;;EJgHzD,iB;QACTC,mBAA0B,IAAI,CAAC,SAAD,CAAP,CAAmB,IAAnB,C;QACvBC,yE;;QG8uDgB,sBH7uDhB,OG6uDgB,K;WAAA,wB,EAAM;A,UAAjBN,YAAW,wB;MH5uDd,sBG4uD2B,SH5uD3B,CAAyB,KAAzB,IG4uD2B,SH5uD3B,CAAoC,K;IG4uDF,C;UHhvDnB,IKMV,gBLNU,CKMO,uBLNP,EKMgC,SLNhC,EKM2C,CAAE,SAAS,qBAAX,CLN3C,C;;;;IAQd,IMiGqD,CNjGrD,YMiGsD,KNjGtD,C;MAED,WAAW,gCAAX,eAEG,EAFH,EAEG,CAFH,E;cAGA,I;;cKEG,IAAI,SAAJ,CAAc,uBAAd,EAAuC,SAAvC,C;;ULRA,K;;EAPP,U;AAkBF,C;;;;;;;;;;+BARiBO,C,SAAAA,E;SAAAC,CAAAA,KAAA;A,IACT,SAAS,kCAA+B,6GAA/B,E;IACX,oB;EAAA,C;C;;eA9BqB,S;;;;;;"}
@@ -0,0 +1,313 @@
1
+ import {
2
+ initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
3
+ initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
4
+ } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
5
+ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
6
+ import { Unit_instancev9v8hjid95df as Unit_instance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
7
+ import { IncrementalDeliveryProtocol_V0_1_getInstance6abcr423wmp1 as IncrementalDeliveryProtocol_V0_1_getInstance } from '../IncrementalDeliveryProtocol.mjs';
8
+ import { WebSocketEngine1lh73ie4wh0m5 as WebSocketEngine } from './WebSocketEngine.js.mjs';
9
+ import {
10
+ Companion_getInstancevdtg3uvqmv7f as Companion_getInstance,
11
+ toDuration7gy6v749ektt as toDuration,
12
+ Duration5ynfiptaqcrg as Duration,
13
+ } from '../../../../../../kotlin-kotlin-stdlib/kotlin/time/Duration.mjs';
14
+ import { DurationUnit_SECONDS_getInstancesbkvvo7sip2d as DurationUnit_SECONDS_getInstance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/time/DurationUnitJs.mjs';
15
+ import { GraphQLWsProtocol3nqe2321ot0cb as GraphQLWsProtocol } from './GraphQLWsProtocol.mjs';
16
+ import { get_impl1focltg7f8wvg as get_impl } from '../../internal/incremental/IncrementalDeliveryProtocolImpl.mjs';
17
+ import { uuid4al7pp0fcb8o5 as uuid4 } from '../../../../../../uuid/com/benasher44/uuid/uuid.mjs';
18
+ import {
19
+ awaitClose1zqdv98mnafc2 as awaitClose,
20
+ ProducerScopeb3mmhvfa6ll7 as ProducerScope,
21
+ } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs';
22
+ import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
23
+ import { isInterface3d6p8outrmvmk as isInterface } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs';
24
+ import { WebSocketPool28m608awosr6h as WebSocketPool } from './internal/WebSocketPool.mjs';
25
+ import { callbackFlow1g384rkuy0hni as callbackFlow } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs';
26
+ import { buffer2o7vhreze5nfc as buffer } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs';
27
+ import { Builder16nv925388a0q as Builder } from '../../../../../../apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloResponse.mjs';
28
+ import { ChannelResult2y4k69ac6y3du as ChannelResult } from '../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs';
29
+ import {
30
+ SubscriptionOperationException3t8cqqpx8bt9j as SubscriptionOperationException,
31
+ DefaultApolloException8w3ielfxng0h as DefaultApolloException,
32
+ } from '../../../../../../apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs';
33
+ import { Key_getInstance4887rkxhu93r as Key_getInstance } from '../../../../../../apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs';
34
+ import { KtMap140uvy3s5zad8 as KtMap } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs';
35
+ import { to2cs3ny02qtbcb as to } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Tuples.mjs';
36
+ import { jsonReader2agwreccj3lmk as jsonReader } from '../../../../../../apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs';
37
+ import { toApolloResponse9u5mcqg84l2p as toApolloResponse } from '../../../../../../apollo-kotlin-apollo-api/com/apollographql/apollo/api/Operations.mjs';
38
+ //region block: imports
39
+ //endregion
40
+ //region block: pre-declaration
41
+ //endregion
42
+ var WebSocketNetworkTransport$Builder$build$slambdaClass;
43
+ function WebSocketNetworkTransport$Builder$build$slambda() {
44
+ if (WebSocketNetworkTransport$Builder$build$slambdaClass === VOID) {
45
+ class $ {
46
+ *m5p($completion) {
47
+ return null;
48
+ }
49
+ ud($completion) {
50
+ return this.m5p($completion);
51
+ }
52
+ }
53
+ initMetadataForLambda($, VOID, VOID, [0]);
54
+ WebSocketNetworkTransport$Builder$build$slambdaClass = $;
55
+ }
56
+ return WebSocketNetworkTransport$Builder$build$slambdaClass;
57
+ }
58
+ function WebSocketNetworkTransport$Builder$build$slambda_0() {
59
+ var i = new (WebSocketNetworkTransport$Builder$build$slambda())();
60
+ var l = ($completion) => i.m5p($completion);
61
+ l.$arity = 0;
62
+ return l;
63
+ }
64
+ function WebSocketNetworkTransport$execute$slambda$lambda($webSocket, $newRequest) {
65
+ return () => {
66
+ $webSocket.a5q($newRequest);
67
+ return Unit_instance;
68
+ };
69
+ }
70
+ var BuilderClass;
71
+ function Builder_0() {
72
+ if (BuilderClass === VOID) {
73
+ class $ {
74
+ constructor() {
75
+ this.t5i_1 = null;
76
+ this.u5i_1 = null;
77
+ this.v5i_1 = null;
78
+ this.w5i_1 = null;
79
+ this.x5i_1 = null;
80
+ this.y5i_1 = null;
81
+ this.z5i_1 = null;
82
+ this.a5j_1 = IncrementalDeliveryProtocol_V0_1_getInstance();
83
+ }
84
+ p5i(serverUrl) {
85
+ // Inline function 'kotlin.apply' call
86
+ this.t5i_1 = serverUrl;
87
+ return this;
88
+ }
89
+ b5j(idleTimeout) {
90
+ // Inline function 'kotlin.apply' call
91
+ this.y5i_1 = idleTimeout;
92
+ return this;
93
+ }
94
+ t2u() {
95
+ var tmp0_elvis_lhs = this.u5i_1;
96
+ var tmp5_webSocketEngine = tmp0_elvis_lhs == null ? WebSocketEngine() : tmp0_elvis_lhs;
97
+ var tmp6_serverUrl = this.t5i_1;
98
+ var tmp1_elvis_lhs = this.y5i_1;
99
+ var tmp;
100
+ var tmp_0 = tmp1_elvis_lhs;
101
+ if ((tmp_0 == null ? null : new (Duration())(tmp_0)) == null) {
102
+ // Inline function 'kotlin.time.Companion.seconds' call
103
+ Companion_getInstance();
104
+ tmp = toDuration(60, DurationUnit_SECONDS_getInstance());
105
+ } else {
106
+ tmp = tmp1_elvis_lhs;
107
+ }
108
+ var tmp7_idleTimeout = tmp;
109
+ var tmp2_elvis_lhs = this.v5i_1;
110
+ var tmp_1;
111
+ if (tmp2_elvis_lhs == null) {
112
+ tmp_1 = new (GraphQLWsProtocol())(WebSocketNetworkTransport$Builder$build$slambda_0());
113
+ } else {
114
+ tmp_1 = tmp2_elvis_lhs;
115
+ }
116
+ var tmp8_wsProtocol = tmp_1;
117
+ var tmp9_pingInterval = this.x5i_1;
118
+ var tmp3_elvis_lhs = this.w5i_1;
119
+ var tmp_2;
120
+ var tmp_3 = tmp3_elvis_lhs;
121
+ if ((tmp_3 == null ? null : new (Duration())(tmp_3)) == null) {
122
+ // Inline function 'kotlin.time.Companion.seconds' call
123
+ Companion_getInstance();
124
+ tmp_2 = toDuration(10, DurationUnit_SECONDS_getInstance());
125
+ } else {
126
+ tmp_2 = tmp3_elvis_lhs;
127
+ }
128
+ var tmp10_connectionAcknowledgeTimeout = tmp_2;
129
+ var tmp4_elvis_lhs = this.z5i_1;
130
+ var tmp11_parserFactory = tmp4_elvis_lhs == null ? new (DefaultSubscriptionParserFactory())(get_impl(this.a5j_1)) : tmp4_elvis_lhs;
131
+ return new (WebSocketNetworkTransport())(tmp5_webSocketEngine, tmp6_serverUrl, tmp8_wsProtocol, tmp10_connectionAcknowledgeTimeout, tmp9_pingInterval, tmp7_idleTimeout, tmp11_parserFactory);
132
+ }
133
+ }
134
+ initMetadataForClass($, 'Builder', Builder_0);
135
+ BuilderClass = $;
136
+ }
137
+ return BuilderClass;
138
+ }
139
+ var WebSocketNetworkTransport$execute$slambdaClass;
140
+ function WebSocketNetworkTransport$execute$slambda() {
141
+ if (WebSocketNetworkTransport$execute$slambdaClass === VOID) {
142
+ class $ {
143
+ constructor($renewUuid, $request, this$0) {
144
+ this.b5q_1 = $renewUuid;
145
+ this.c5q_1 = $request;
146
+ this.d5q_1 = this$0;
147
+ }
148
+ *f5i($this$callbackFlow, $completion) {
149
+ var tmp;
150
+ if (this.b5q_1._v) {
151
+ tmp = this.c5q_1.f4u().z4s(uuid4()).t2u();
152
+ } else {
153
+ tmp = this.c5q_1;
154
+ }
155
+ var newRequest = tmp;
156
+ this.b5q_1._v = true;
157
+ var operationListener = new (DefaultOperationListener())(newRequest, $this$callbackFlow, this.d5q_1.k5q_1.m5q(this.c5q_1));
158
+ var webSocket = this.d5q_1.l5q_1.v5q(newRequest);
159
+ webSocket.w5q(newRequest, operationListener);
160
+ yield* awaitClose($this$callbackFlow, WebSocketNetworkTransport$execute$slambda$lambda(webSocket, newRequest), $completion);
161
+ return Unit_instance;
162
+ }
163
+ vd(p1, $completion) {
164
+ return this.f5i((!(p1 == null) ? isInterface(p1, ProducerScope()) : false) ? p1 : THROW_CCE(), $completion);
165
+ }
166
+ }
167
+ initMetadataForLambda($, VOID, VOID, [1]);
168
+ WebSocketNetworkTransport$execute$slambdaClass = $;
169
+ }
170
+ return WebSocketNetworkTransport$execute$slambdaClass;
171
+ }
172
+ function WebSocketNetworkTransport$execute$slambda_0($renewUuid, $request, this$0) {
173
+ var i = new (WebSocketNetworkTransport$execute$slambda())($renewUuid, $request, this$0);
174
+ var l = ($this$callbackFlow, $completion) => i.f5i($this$callbackFlow, $completion);
175
+ l.$arity = 1;
176
+ return l;
177
+ }
178
+ var WebSocketNetworkTransportClass;
179
+ function WebSocketNetworkTransport() {
180
+ if (WebSocketNetworkTransportClass === VOID) {
181
+ class $ {
182
+ constructor(webSocketEngine, serverUrl, wsProtocol, connectionAcknowledgeTimeout, pingInterval, idleTimeout, parserFactory) {
183
+ this.e5q_1 = webSocketEngine;
184
+ this.f5q_1 = serverUrl;
185
+ this.g5q_1 = wsProtocol;
186
+ this.h5q_1 = connectionAcknowledgeTimeout;
187
+ this.i5q_1 = pingInterval;
188
+ this.j5q_1 = idleTimeout;
189
+ this.k5q_1 = parserFactory;
190
+ this.l5q_1 = new (WebSocketPool())(this.e5q_1, this.f5q_1, this.g5q_1, this.h5q_1, this.i5q_1, this.j5q_1);
191
+ }
192
+ w5j(request) {
193
+ var renewUuid = {_v: false};
194
+ var flow = callbackFlow(WebSocketNetworkTransport$execute$slambda_0(renewUuid, request, this));
195
+ return buffer(flow, 2147483647);
196
+ }
197
+ r10() {
198
+ this.l5q_1.j6();
199
+ }
200
+ }
201
+ initMetadataForClass($, 'WebSocketNetworkTransport');
202
+ WebSocketNetworkTransportClass = $;
203
+ }
204
+ return WebSocketNetworkTransportClass;
205
+ }
206
+ function errorResponse($this, cause) {
207
+ return Builder().q4u($this.x5q_1.p4t_1, $this.x5q_1.q4t_1).v4u(cause).t2u();
208
+ }
209
+ var DefaultOperationListenerClass;
210
+ function DefaultOperationListener() {
211
+ if (DefaultOperationListenerClass === VOID) {
212
+ class $ {
213
+ constructor(request, producerScope, parser) {
214
+ this.x5q_1 = request;
215
+ this.y5q_1 = producerScope;
216
+ this.z5q_1 = parser;
217
+ }
218
+ a5r(response) {
219
+ var tmp0_safe_receiver = this.z5q_1.b5r(response);
220
+ if (tmp0_safe_receiver == null)
221
+ null;
222
+ else {
223
+ // Inline function 'kotlin.let' call
224
+ var tmp$ret$0 = this.y5q_1.t1d(tmp0_safe_receiver);
225
+ new (ChannelResult())(tmp$ret$0);
226
+ }
227
+ }
228
+ c5r() {
229
+ this.y5q_1.e1e();
230
+ }
231
+ d5r(payload) {
232
+ this.y5q_1.t1d(errorResponse(this, SubscriptionOperationException().g57(this.x5q_1.p4t_1.operationName(), payload)));
233
+ this.y5q_1.e1e();
234
+ }
235
+ e5r(cause) {
236
+ this.y5q_1.t1d(errorResponse(this, cause));
237
+ this.y5q_1.e1e();
238
+ }
239
+ }
240
+ initMetadataForClass($, 'DefaultOperationListener');
241
+ DefaultOperationListenerClass = $;
242
+ }
243
+ return DefaultOperationListenerClass;
244
+ }
245
+ var DefaultSubscriptionParserFactoryClass;
246
+ function DefaultSubscriptionParserFactory() {
247
+ if (DefaultSubscriptionParserFactoryClass === VOID) {
248
+ class $ {
249
+ constructor(incrementalDeliveryProtocolImpl) {
250
+ this.f5r_1 = incrementalDeliveryProtocolImpl;
251
+ }
252
+ m5q(request) {
253
+ return new (DefaultSubscriptionParser())(this.f5r_1, request);
254
+ }
255
+ }
256
+ initMetadataForClass($, 'DefaultSubscriptionParserFactory');
257
+ DefaultSubscriptionParserFactoryClass = $;
258
+ }
259
+ return DefaultSubscriptionParserFactoryClass;
260
+ }
261
+ var DefaultSubscriptionParserClass;
262
+ function DefaultSubscriptionParser() {
263
+ if (DefaultSubscriptionParserClass === VOID) {
264
+ class $ {
265
+ constructor(incrementalDeliveryProtocolImpl, request) {
266
+ this.g5r_1 = request;
267
+ this.h5r_1 = incrementalDeliveryProtocolImpl.z5l();
268
+ var tmp = this;
269
+ var tmp0_elvis_lhs = this.g5r_1.r4t_1.o4y(Key_getInstance());
270
+ tmp.i5r_1 = tmp0_elvis_lhs == null ? Key_getInstance().b4y_1 : tmp0_elvis_lhs;
271
+ }
272
+ b5r(response) {
273
+ var responseMap = (!(response == null) ? isInterface(response, KtMap()) : false) ? response : null;
274
+ if (responseMap == null) {
275
+ return Builder().q4u(this.g5r_1.p4t_1, this.g5r_1.q4t_1).v4u(DefaultApolloException().l4v('Invalid payload')).t2u();
276
+ }
277
+ var tmp;
278
+ if (isDeferred(responseMap)) {
279
+ tmp = to(this.h5r_1.l5m(responseMap), this.h5r_1.h5m());
280
+ } else {
281
+ tmp = to(responseMap, null);
282
+ }
283
+ var _destruct__k2r9zo = tmp;
284
+ var payload = _destruct__k2r9zo.ol();
285
+ var deferredFragmentIdentifiers = _destruct__k2r9zo.pl();
286
+ var apolloResponse = toApolloResponse(jsonReader(payload), this.g5r_1.p4t_1, this.g5r_1.q4t_1, this.i5r_1, deferredFragmentIdentifiers);
287
+ if (!this.h5r_1.i5m()) {
288
+ this.h5r_1.m5m();
289
+ }
290
+ var tmp_0;
291
+ if (this.h5r_1.j5m()) {
292
+ tmp_0 = null;
293
+ } else {
294
+ tmp_0 = apolloResponse;
295
+ }
296
+ return tmp_0;
297
+ }
298
+ }
299
+ initMetadataForClass($, 'DefaultSubscriptionParser');
300
+ DefaultSubscriptionParserClass = $;
301
+ }
302
+ return DefaultSubscriptionParserClass;
303
+ }
304
+ function isDeferred(_this__u8e3s4) {
305
+ return _this__u8e3s4.k4().k3('hasNext');
306
+ }
307
+ //region block: exports
308
+ export {
309
+ Builder_0 as Builder1suvx83rlbrz1,
310
+ };
311
+ //endregion
312
+
313
+ //# sourceMappingURL=WebSocketNetworkTransport.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../../../../../Users/runner/work/apollo-kotlin/apollo-kotlin/libraries/apollo-runtime/src/commonMain/kotlin/com/apollographql/apollo/network/websocket/WebSocketNetworkTransport.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/src/kotlin/time/Duration.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/src/kotlin/util/Standard.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["invoke","$completion","WebSocketNetworkTransport$Builder$build$slambda","WebSocketNetworkTransport$Builder$build$slambda$lambda","WebSocketNetworkTransport$execute$slambda$lambda","WebSocketNetworkTransport$execute$slambda$lambda$lambda","serverUrl","idleTimeout","build","newRequest","operationListener","webSocket","WebSocketNetworkTransport$execute$slambda","webSocketEngine","wsProtocol","connectionAcknowledgeTimeout","pingInterval","parserFactory","execute","request","renewUuid","flow","dispose","errorResponse","$this","cause","producerScope","parser","onResponse","response","onComplete","onError","payload","onTransportError","incrementalDeliveryProtocolImpl","createParser","parse","responseMap","deferredFragmentIdentifiers","apolloResponse","isDeferred","<this>"],"mappings":"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"}