@continuous-excellence/coupling-cli 1.1.582 → 1.1.583
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Auth0Environment.mjs +8 -8
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs +39 -39
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +15 -15
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +33 -33
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +26 -26
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +36 -28
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +43 -37
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +21 -21
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs +30 -30
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PartyListQuerySelections.mjs +45 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PartyListQuerySelections.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PlayersQuerySelections.mjs +50 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PlayersQuerySelections.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +43 -43
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +26 -26
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +14 -14
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +38 -38
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ListContribution.mjs +51 -51
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +37 -37
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +31 -31
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +17 -17
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +32 -32
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +57 -57
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/ActionLoggingSyntax.mjs +10 -10
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/LoggingActionPipe.mjs +18 -18
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommand.mjs +7 -7
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommandDispatcherExecuteKt.mjs +13 -13
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/AccessResult.mjs +82 -82
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/DeviceCodeRequest.mjs +54 -54
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/KtorAuth0Client.mjs +26 -26
- package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/CouplingJsonFormat.mjs +4 -4
- package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/PartyIdSerializer.mjs +10 -10
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/Contribution.mjs +112 -112
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/ContributionId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/CouplingPair.mjs +57 -57
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSet.mjs +16 -16
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSetId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PairingRule.mjs +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyDetails.mjs +34 -34
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyId.mjs +5 -5
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/SecretId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pin/Pin.mjs +17 -17
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/AvatarType.mjs +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Badge.mjs +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Player.mjs +28 -28
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/PlayerId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/callsign/CallSign.mjs +7 -7
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/user/UserId.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +19 -19
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSyntax.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs +19 -19
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +35 -35
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +13 -13
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlTrait.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/KtorQueryPerformer.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/ContributionDetailsMapper.mjs +16 -16
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PairingSetDetailsMapper.mjs +9 -9
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PartyDetailsMapper.mjs +10 -10
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/CurrentPairAssignmentsQuery.mjs +43 -37
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/CurrentPairAssignmentsQuery.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyContributionReportContributionsQuery.mjs +50 -44
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyContributionReportContributionsQuery.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs +39 -33
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs +32 -26
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_ResponseAdapter.mjs +30 -30
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_VariablesAdapter.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_ResponseAdapter.mjs +39 -39
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_VariablesAdapter.mjs +6 -6
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_ResponseAdapter.mjs +21 -21
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_VariablesAdapter.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_ResponseAdapter.mjs +9 -9
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_VariablesAdapter.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetails.mjs +53 -53
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetailsImpl_ResponseAdapter.mjs +55 -55
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetails.mjs +77 -77
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetailsImpl_ResponseAdapter.mjs +102 -102
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetails.mjs +31 -31
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetailsImpl_ResponseAdapter.mjs +36 -36
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetails.mjs +28 -28
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs +33 -33
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/ContributionDetailsSelections.mjs +44 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/ContributionDetailsSelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PairingSetDetailsSelections.mjs +54 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PairingSetDetailsSelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PartyDetailsSelections.mjs +43 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PartyDetailsSelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PlayerDetailsSelections.mjs +43 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PlayerDetailsSelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/CurrentPairAssignmentsQuerySelections.mjs +53 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/CurrentPairAssignmentsQuerySelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyContributionReportContributionsQuerySelections.mjs +56 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyContributionReportContributionsQuerySelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyDetailsQuerySelections.mjs +51 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyDetailsQuerySelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/SaveContributionMutationSelections.mjs +41 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/SaveContributionMutationSelections.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Contribution.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Contribution.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionId.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionId.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +46 -46
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionReport.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionReport.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionWindow.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/DateTimeISO.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/DateTimeISO.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Duration.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Duration.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLBoolean.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLBoolean.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLFloat.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLInt.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLInt.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLString.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLString.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Mutation.mjs +56 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Mutation.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairSnapshot.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairSnapshot.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSet.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSet.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSetId.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSetId.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Party.mjs +40 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Party.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyId.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyId.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinId.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinId.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinSnapshot.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinSnapshot.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Player.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Player.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerId.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerId.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerSnapshot.mjs +34 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerSnapshot.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Query.mjs +40 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Query.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/SaveContributionInput.mjs +7 -7
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/AvatarType_ResponseAdapter.mjs +7 -7
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs +7 -7
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionInput_InputAdapter.mjs +47 -47
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionWindow_ResponseAdapter.mjs +7 -7
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionsInput_InputAdapter.mjs +10 -10
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs +6 -6
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs +8 -8
- package/kotlin/apollo-kotlin-adapters-apollo-adapters-core/com/apollographql/adapter/core/KotlinInstantAdapter.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Adapters.mjs +110 -140
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Adapters.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloRequest.mjs +100 -63
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloRequest.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloResponse.mjs +61 -61
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Assertions.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CompiledGraphQL.mjs +269 -3
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CompiledGraphQL.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs +39 -50
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/DeferredFragmentIdentifier.mjs +35 -9
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/DeferredFragmentIdentifier.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs +51 -10
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executable.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executables.mjs +8 -8
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ExecutionContext.mjs +21 -21
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Operations.mjs +9 -9
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Operations.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Optional.mjs +21 -5
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Optional.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/RequestParameters.mjs +158 -0
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/RequestParameters.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/CacheUrlOverride.mjs +60 -0
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/CacheUrlOverride.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/DefaultHttpRequestComposer.mjs +189 -291
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/DefaultHttpRequestComposer.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs +106 -60
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/HttpHeaders.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/internal/ResponseParser.mjs +41 -30
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/internal/ResponseParser.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSinkJsonWriter.mjs +84 -84
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSourceJsonReader.mjs +368 -455
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSourceJsonReader.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonNumber.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReader.mjs +19 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReader.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs +11 -11
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonWriters.mjs +12 -12
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs +125 -124
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs +47 -50
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/FileUploadAwareJsonWriter.mjs +35 -35
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/JsonScope.mjs +9 -9
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs +130 -138
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs +42 -48
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs +290 -307
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ConcurrencyInfo.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/ApolloInterceptor.mjs +5 -5
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/NetworkInterceptor.mjs +7 -7
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/RetryOnErrorInterceptor.mjs +232 -102
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/RetryOnErrorInterceptor.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/MultipartReader.mjs +49 -49
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/dispatchers.js.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/flows.mjs +30 -30
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/IncrementalDeliveryProtocolImpl.mjs +81 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/IncrementalDeliveryProtocolImpl.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/JsonMap.mjs +85 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/JsonMap.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_1IncrementalResultsMerger.mjs +154 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_1IncrementalResultsMerger.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_2IncrementalResultsMerger.mjs +253 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_2IncrementalResultsMerger.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs +18 -18
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/IncrementalDeliveryProtocol.mjs +38 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/IncrementalDeliveryProtocol.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs +4 -4
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs +34 -118
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpEngine.mjs +0 -4
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpEngine.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpExecutionContext.mjs +8 -8
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpInterceptor.mjs +5 -5
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpNetworkTransport.mjs +221 -200
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpNetworkTransport.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/Js.mjs +4 -8
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/Js.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ClientMessage.mjs +50 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ClientMessage.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/GraphQLWsProtocol.mjs +199 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/GraphQLWsProtocol.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ServerMessage.mjs +145 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ServerMessage.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketEngine.js.mjs +270 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketEngine.js.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketNetworkTransport.mjs +313 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketNetworkTransport.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/SubscribableWebSocket.mjs +571 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/SubscribableWebSocket.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/WebSocketPool.mjs +118 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/WebSocketPool.mjs.map +1 -0
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs +26 -26
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs +39 -36
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs +206 -203
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs +21 -21
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/internal/WsMessage.mjs +24 -24
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/KtorExtensions.mjs +2 -2
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.js.mjs +1 -1
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.mjs +43 -50
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.mjs.map +1 -1
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/ws/KtorWebSocketEngine.mjs +67 -67
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs +28 -28
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionGenerator.mjs +4 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs +23 -23
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs +111 -111
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +95 -95
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +124 -124
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +37 -37
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +134 -134
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +48 -48
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +32 -32
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +26 -26
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/ParameterGroup.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs +12 -12
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs +6 -6
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs +21 -21
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +205 -205
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +5 -5
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/types/boolean.mjs +9 -9
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs +29 -29
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +45 -45
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +230 -230
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/sources/ValueSource.mjs +15 -15
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs +2 -2
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/core/MordantContext.mjs +16 -16
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs +65 -65
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs +18 -18
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/transform/MordantTransformContext.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/Color.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/ColorSpace.mjs +5 -5
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs +15 -15
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Matrix.mjs +10 -10
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi16.mjs +18 -18
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/HSV.mjs +25 -25
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/ICtCp.mjs +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs +121 -121
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +134 -134
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +62 -62
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +19 -19
- package/kotlin/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs +11 -11
- package/kotlin/kotlin-kotlin-stdlib/kotlin/NumbersJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs +9 -9
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs +41 -41
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs +8 -0
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/Maps.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs +11 -2
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_ArraysJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs +7 -0
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/_Sets.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs +7 -7
- package/kotlin/kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs +10 -0
- package/kotlin/kotlin-kotlin-stdlib/kotlin/js/arrays.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs +8 -4
- package/kotlin/kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs +21 -21
- package/kotlin/kotlin-kotlin-stdlib/kotlin/time/Duration.mjs.map +1 -1
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/DirectLoggerFactory.mjs +1 -1
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +9 -9
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +25 -25
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +5 -5
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +12 -12
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +5 -5
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +11 -11
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
- package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/locks/Synchronized.mjs +34 -0
- package/kotlin/kotlinx-atomicfu/kotlinx/atomicfu/locks/Synchronized.mjs.map +1 -0
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +31 -31
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +73 -73
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +26 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +13 -13
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +13 -10
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +7 -7
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +56 -4
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +52 -20
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +5 -5
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collection.mjs +10 -10
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs +2 -29
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Context.mjs.map +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +14 -14
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Errors.mjs +26 -26
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Limit.mjs +16 -16
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +9 -9
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +23 -23
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +132 -132
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/Transform.mjs +19 -19
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +32 -32
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +72 -72
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +3 -3
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NopCollector.mjs +3 -3
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +3 -3
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +8 -8
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +33 -33
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +72 -72
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +8 -8
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
- package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
- package/kotlin/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +157 -157
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +50 -50
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +133 -133
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +12 -12
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlin/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +17 -17
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +19 -19
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +4 -4
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +4 -4
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +96 -96
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +59 -59
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +69 -69
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +7 -7
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +25 -25
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +231 -231
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/JsonInternalDependencies.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +5 -5
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +8 -8
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +70 -70
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +114 -114
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +221 -221
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +90 -90
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +30 -30
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +48 -48
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +19 -19
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +55 -55
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementBuilders.mjs +6 -6
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +154 -154
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonExceptions.mjs +19 -19
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +179 -179
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +7 -7
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +21 -21
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +40 -40
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +11 -11
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +61 -61
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +8 -8
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +179 -179
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +141 -141
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +262 -262
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonEncoder.mjs +184 -184
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +69 -69
- package/kotlin/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +71 -71
- package/kotlin/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
- package/kotlin/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +46 -46
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +50 -50
- package/kotlin/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +24 -24
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +40 -40
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +19 -19
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +11 -11
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +32 -32
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +9 -9
- package/kotlin/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +36 -36
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultRequest.mjs +55 -55
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +32 -32
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +63 -63
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +77 -77
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +52 -52
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +33 -33
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +25 -25
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +104 -104
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +53 -53
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +77 -77
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +23 -23
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +25 -25
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +34 -34
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/observer/ResponseObserver.mjs +55 -55
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +6 -6
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/ClientSessions.mjs +34 -34
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +66 -66
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSocketContent.mjs +8 -8
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +79 -79
- package/kotlin/ktor-ktor-client-core/io/ktor/client/plugins/websocket/builders.mjs +16 -16
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/ClientUpgradeContent.mjs +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +19 -19
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +58 -58
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/buildersWithUrl.mjs +1 -1
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/forms/FormDataContent.mjs +10 -10
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/forms/formBuilders.mjs +11 -11
- package/kotlin/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +6 -6
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
- package/kotlin/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +16 -16
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +16 -16
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +4 -4
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/JsUtils.js.mjs +15 -15
- package/kotlin/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/HttpClientCallLogger.mjs +28 -28
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogBodyFilter.mjs +24 -24
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogLevel.mjs +3 -3
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggedContent.mjs +16 -16
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logger.mjs +1 -1
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/Logging.mjs +265 -265
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggingUtils.mjs +14 -14
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/ObservingUtils.mjs +11 -11
- package/kotlin/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
- package/kotlin/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
- package/kotlin/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +92 -92
- package/kotlin/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
- package/kotlin/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +3 -3
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +15 -15
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
- package/kotlin/ktor-ktor-http/io/ktor/http/HttpUrlEncoded.mjs +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/Parameters.mjs +12 -12
- package/kotlin/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +59 -59
- package/kotlin/ktor-ktor-http/io/ktor/http/URLBuilder.web.mjs +1 -1
- package/kotlin/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/kotlin/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
- package/kotlin/ktor-ktor-http/io/ktor/http/URLUtils.mjs +26 -26
- package/kotlin/ktor-ktor-http/io/ktor/http/Url.mjs +77 -77
- package/kotlin/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +31 -31
- package/kotlin/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +11 -11
- package/kotlin/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +9 -9
- package/kotlin/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +14 -14
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +87 -87
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +32 -32
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +43 -43
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +10 -10
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +4 -4
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/kotlin/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +120 -120
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +50 -50
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +64 -64
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +29 -29
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
- package/kotlin/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
- package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
- package/kotlin/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +35 -35
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +81 -81
- package/kotlin/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.mjs +12 -12
- package/kotlin/ktor-ktor-utils/io/ktor/util/Attributes.web.mjs +16 -16
- package/kotlin/ktor-ktor-utils/io/ktor/util/ByteChannels.mjs +52 -52
- package/kotlin/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +193 -193
- package/kotlin/ktor-ktor-utils/io/ktor/util/ContentEncoders.web.mjs +5 -5
- package/kotlin/ktor-ktor-utils/io/ktor/util/Encoders.mjs +3 -3
- package/kotlin/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/kotlin/ktor-ktor-utils/io/ktor/util/StringValues.mjs +136 -136
- package/kotlin/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/kotlin/ktor-ktor-utils/io/ktor/util/date/Date.mjs +105 -105
- package/kotlin/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/kotlin/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
- package/kotlin/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLogger.web.mjs +10 -10
- package/kotlin/ktor-ktor-utils/io/ktor/util/logging/Logger.web.mjs +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +28 -28
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/kotlin/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +48 -48
- package/kotlin/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/DefaultWebSocketSession.mjs +113 -113
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/Frame.web.mjs +41 -41
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +7 -7
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/PingPong.mjs +38 -38
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +42 -39
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs.map +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtension.mjs +4 -4
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketExtensionHeader.mjs +4 -4
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketSession.mjs +6 -6
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +24 -24
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +39 -39
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Constants.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/HyperlinkIds.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs +7 -7
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/cellwidthtable.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +39 -39
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +79 -79
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs +44 -44
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Whitespace.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Widget.mjs +2 -2
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/WidthRange.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs +234 -234
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +23 -23
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +153 -153
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +57 -57
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs +32 -32
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +5 -5
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs +18 -18
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +10 -10
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.js.mjs +19 -19
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.jsCommon.mjs +13 -13
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs +56 -56
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +61 -61
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +67 -67
- package/kotlin/okio-parent-okio/okio/Buffer.mjs +446 -610
- package/kotlin/okio-parent-okio/okio/Buffer.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/ByteString.mjs +57 -57
- package/kotlin/okio-parent-okio/okio/ByteString.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/HashingSink.mjs +92 -0
- package/kotlin/okio-parent-okio/okio/HashingSink.mjs.map +1 -0
- package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs +15 -15
- package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/Okio.mjs +2 -2
- package/kotlin/okio-parent-okio/okio/Okio.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/Options.mjs +23 -23
- package/kotlin/okio-parent-okio/okio/Options.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/RealBufferedSink.mjs +37 -37
- package/kotlin/okio-parent-okio/okio/RealBufferedSink.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/RealBufferedSource.mjs +93 -93
- package/kotlin/okio-parent-okio/okio/RealBufferedSource.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/Segment.mjs +70 -70
- package/kotlin/okio-parent-okio/okio/Segment.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/SegmentPool.mjs +5 -5
- package/kotlin/okio-parent-okio/okio/SegmentedByteString.mjs +51 -51
- package/kotlin/okio-parent-okio/okio/SegmentedByteString.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/Util.mjs +1 -1
- package/kotlin/okio-parent-okio/okio/Util.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/internal/-Utf8.mjs +154 -154
- package/kotlin/okio-parent-okio/okio/internal/-Utf8.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/internal/Buffer.mjs +242 -45
- package/kotlin/okio-parent-okio/okio/internal/Buffer.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/internal/ByteString.mjs +67 -67
- package/kotlin/okio-parent-okio/okio/internal/ByteString.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/internal/RealBufferedSource.mjs +92 -0
- package/kotlin/okio-parent-okio/okio/internal/RealBufferedSource.mjs.map +1 -0
- package/kotlin/okio-parent-okio/okio/internal/SegmentedByteString.mjs +1 -1
- package/kotlin/okio-parent-okio/okio/internal/SegmentedByteString.mjs.map +1 -1
- package/kotlin/okio-parent-okio/okio/internal/Sha256.mjs +265 -0
- package/kotlin/okio-parent-okio/okio/internal/Sha256.mjs.map +1 -0
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionCannon.mjs +9 -9
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionPipe.mjs +2 -2
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/async/SimpleSuspendAction.mjs +7 -7
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +174 -174
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
- package/kotlin/types-types/kotools/types/collection/NotEmptyList.mjs +30 -30
- package/kotlin/types-types/kotools/types/text/NotBlankString.mjs +34 -34
- package/kotlin/types-types-internal/kotools/types/internal/ErrorMessage.mjs +15 -15
- package/kotlin/types-types-internal/kotools/types/internal/Errors.mjs +1 -1
- package/kotlin/types-types-internal/kotools/types/internal/Serializers.mjs +12 -12
- package/kotlin/uuid/com/benasher44/uuid/uuid.mjs +11 -11
- package/package.json +1 -4
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/DeferredJsonMerger.mjs +0 -209
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/DeferredJsonMerger.mjs.map +0 -1
|
@@ -0,0 +1,571 @@
|
|
|
1
|
+
import { Unit_instancev9v8hjid95df as Unit_instance } from '../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
2
|
+
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
3
|
+
import { launch1c91vkjzdi9sd as launch } from '../../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs';
|
|
4
|
+
import { ArrayList3it5z8td81qkl as ArrayList } from '../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs';
|
|
5
|
+
import {
|
|
6
|
+
cancel36mj9lv3a0whl as cancel,
|
|
7
|
+
CoroutineScopefcb5f5dwqcas as CoroutineScope,
|
|
8
|
+
CoroutineScopelux7s7zphw7e as CoroutineScope_0,
|
|
9
|
+
} from '../../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs';
|
|
10
|
+
import { delay1yesbzthrp6ln as delay } from '../../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs';
|
|
11
|
+
import {
|
|
12
|
+
ApolloNetworkException3denf70pfh242 as ApolloNetworkException,
|
|
13
|
+
SubscriptionConnectionException12fjxvnnqzby5 as SubscriptionConnectionException,
|
|
14
|
+
ApolloWebSocketClosedException26hvn543pf46i as ApolloWebSocketClosedException,
|
|
15
|
+
DefaultApolloException8w3ielfxng0h as DefaultApolloException,
|
|
16
|
+
} from '../../../../../../../apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs';
|
|
17
|
+
import {
|
|
18
|
+
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
19
|
+
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
20
|
+
ensureNotNull1e947j3ixpazm as ensureNotNull,
|
|
21
|
+
} from '../../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
|
|
22
|
+
import { isInterface3d6p8outrmvmk as isInterface } from '../../../../../../../kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs';
|
|
23
|
+
import {
|
|
24
|
+
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
|
|
25
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
26
|
+
} from '../../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
27
|
+
import { get_atomicfu$reentrantLock3o926yhldwf1 as get_atomicfu$reentrantLock } from '../../../../../../../kotlinx-atomicfu/kotlinx/atomicfu/locks/Synchronized.mjs';
|
|
28
|
+
import { Dispatchers_getInstance2p2r3ndn98nn as Dispatchers_getInstance } from '../../../../../../../kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs';
|
|
29
|
+
import { LinkedHashMap1zhqxkxv3xnkl as LinkedHashMap } from '../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs';
|
|
30
|
+
import { Collection1k04j3hzsbod0 as Collection } from '../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs';
|
|
31
|
+
import { HttpHeader1d7ldebjomr00 as HttpHeader } from '../../../../../../../apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs';
|
|
32
|
+
import { plus20p0vtfmu0596 as plus } from '../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs';
|
|
33
|
+
import {
|
|
34
|
+
ConnectionKeepAliveServerMessage_instance2ob2yorxvink1 as ConnectionKeepAliveServerMessage_instance,
|
|
35
|
+
PongServerMessage_instance2myyosnalu8du as PongServerMessage_instance,
|
|
36
|
+
PingServerMessage_instance3ap589ewmnnfp as PingServerMessage_instance,
|
|
37
|
+
ParseErrorServerMessage28gxznaow3b26 as ParseErrorServerMessage,
|
|
38
|
+
OperationErrorServerMessage3f3enfqsilvrv as OperationErrorServerMessage,
|
|
39
|
+
CompleteServerMessage1c62v9ocjho2f as CompleteServerMessage,
|
|
40
|
+
ResponseServerMessage1aifb0dqdz3sq as ResponseServerMessage,
|
|
41
|
+
ConnectionErrorServerMessage21355wd69v8tf as ConnectionErrorServerMessage,
|
|
42
|
+
ConnectionAckServerMessage_instance1tbiu51fjl5zr as ConnectionAckServerMessage_instance,
|
|
43
|
+
} from '../ServerMessage.mjs';
|
|
44
|
+
import { equals2au1ep9vhcato as equals } from '../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
45
|
+
import { println2shhhgwwt4c61 as println } from '../../../../../../../kotlin-kotlin-stdlib/kotlin/io/console.mjs';
|
|
46
|
+
import { Duration5ynfiptaqcrg as Duration } from '../../../../../../../kotlin-kotlin-stdlib/kotlin/time/Duration.mjs';
|
|
47
|
+
import { decodeToString1x4faah2liw2p as decodeToString } from '../../../../../../../kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs';
|
|
48
|
+
import { Enum3alwj03lh1n41 as Enum } from '../../../../../../../kotlin-kotlin-stdlib/kotlin/Enum.mjs';
|
|
49
|
+
import {
|
|
50
|
+
DataClientMessage3splhk6u8gldd as DataClientMessage,
|
|
51
|
+
TextClientMessage15942w7lyj1yt as TextClientMessage,
|
|
52
|
+
} from '../ClientMessage.mjs';
|
|
53
|
+
//region block: imports
|
|
54
|
+
//endregion
|
|
55
|
+
//region block: pre-declaration
|
|
56
|
+
//endregion
|
|
57
|
+
function restartIdleTimeout($this) {
|
|
58
|
+
var tmp0_safe_receiver = $this.n5o_1;
|
|
59
|
+
if (tmp0_safe_receiver == null)
|
|
60
|
+
null;
|
|
61
|
+
else {
|
|
62
|
+
tmp0_safe_receiver.my();
|
|
63
|
+
}
|
|
64
|
+
var tmp = $this;
|
|
65
|
+
tmp.n5o_1 = launch($this.m5o_1, VOID, VOID, SubscribableWebSocket$restartIdleTimeout$slambda_0($this));
|
|
66
|
+
}
|
|
67
|
+
function shutdownInternal($this, cause) {
|
|
68
|
+
// Inline function 'kotlin.collections.mutableListOf' call
|
|
69
|
+
var listeners = ArrayList().i2();
|
|
70
|
+
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
71
|
+
$this.l5o_1;
|
|
72
|
+
if ($this.p5o_1.equals(SocketState_ShutDown_getInstance())) {
|
|
73
|
+
return Unit_instance;
|
|
74
|
+
}
|
|
75
|
+
$this.p5o_1 = SocketState_ShutDown_getInstance();
|
|
76
|
+
cancel($this.m5o_1);
|
|
77
|
+
$this.q5o_1 = cause;
|
|
78
|
+
listeners.s2($this.r5o_1.l4());
|
|
79
|
+
$this.r5o_1.m4();
|
|
80
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
81
|
+
var _iterator__ex2g4s = listeners.l1();
|
|
82
|
+
while (_iterator__ex2g4s.m1()) {
|
|
83
|
+
var element = _iterator__ex2g4s.n1();
|
|
84
|
+
element.y5p(cause);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
var SubscribableWebSocket$restartIdleTimeout$slambdaClass;
|
|
88
|
+
function SubscribableWebSocket$restartIdleTimeout$slambda() {
|
|
89
|
+
if (SubscribableWebSocket$restartIdleTimeout$slambdaClass === VOID) {
|
|
90
|
+
class $ {
|
|
91
|
+
constructor(this$0) {
|
|
92
|
+
this.d5q_1 = this$0;
|
|
93
|
+
}
|
|
94
|
+
*w1h($this$launch, $completion) {
|
|
95
|
+
yield* delay(this.d5q_1.k5o_1, $completion);
|
|
96
|
+
this.d5q_1.e5q(ApolloNetworkException().t4y('WebSocket is idle'), 1001, 'Idle');
|
|
97
|
+
return Unit_instance;
|
|
98
|
+
}
|
|
99
|
+
vd(p1, $completion) {
|
|
100
|
+
return this.w1h((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
initMetadataForLambda($, VOID, VOID, [1]);
|
|
104
|
+
SubscribableWebSocket$restartIdleTimeout$slambdaClass = $;
|
|
105
|
+
}
|
|
106
|
+
return SubscribableWebSocket$restartIdleTimeout$slambdaClass;
|
|
107
|
+
}
|
|
108
|
+
function SubscribableWebSocket$restartIdleTimeout$slambda_0(this$0) {
|
|
109
|
+
var i = new (SubscribableWebSocket$restartIdleTimeout$slambda())(this$0);
|
|
110
|
+
var l = ($this$launch, $completion) => i.w1h($this$launch, $completion);
|
|
111
|
+
l.$arity = 1;
|
|
112
|
+
return l;
|
|
113
|
+
}
|
|
114
|
+
var SubscribableWebSocket$onOpen$slambdaClass;
|
|
115
|
+
function SubscribableWebSocket$onOpen$slambda() {
|
|
116
|
+
if (SubscribableWebSocket$onOpen$slambdaClass === VOID) {
|
|
117
|
+
class $ {
|
|
118
|
+
constructor(this$0) {
|
|
119
|
+
this.f5q_1 = this$0;
|
|
120
|
+
}
|
|
121
|
+
*w1h($this$launch, $completion) {
|
|
122
|
+
send(this.f5q_1.t5o_1, yield* this.f5q_1.h5o_1.u5n($completion));
|
|
123
|
+
return Unit_instance;
|
|
124
|
+
}
|
|
125
|
+
vd(p1, $completion) {
|
|
126
|
+
return this.w1h((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
initMetadataForLambda($, VOID, VOID, [1]);
|
|
130
|
+
SubscribableWebSocket$onOpen$slambdaClass = $;
|
|
131
|
+
}
|
|
132
|
+
return SubscribableWebSocket$onOpen$slambdaClass;
|
|
133
|
+
}
|
|
134
|
+
function SubscribableWebSocket$onOpen$slambda_0(this$0) {
|
|
135
|
+
var i = new (SubscribableWebSocket$onOpen$slambda())(this$0);
|
|
136
|
+
var l = ($this$launch, $completion) => i.w1h($this$launch, $completion);
|
|
137
|
+
l.$arity = 1;
|
|
138
|
+
return l;
|
|
139
|
+
}
|
|
140
|
+
var SubscribableWebSocket$onOpen$slambdaClass_0;
|
|
141
|
+
function SubscribableWebSocket$onOpen$slambda_1() {
|
|
142
|
+
if (SubscribableWebSocket$onOpen$slambdaClass_0 === VOID) {
|
|
143
|
+
class $ {
|
|
144
|
+
constructor(this$0) {
|
|
145
|
+
this.g5q_1 = this$0;
|
|
146
|
+
}
|
|
147
|
+
*w1h($this$launch, $completion) {
|
|
148
|
+
yield* delay(this.g5q_1.j5o_1, $completion);
|
|
149
|
+
this.g5q_1.e5q(ApolloNetworkException().t4y('Timeout while waiting for connection_ack'), 1001, 'Timeout while waiting for connection_ack');
|
|
150
|
+
return Unit_instance;
|
|
151
|
+
}
|
|
152
|
+
vd(p1, $completion) {
|
|
153
|
+
return this.w1h((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
initMetadataForLambda($, VOID, VOID, [1]);
|
|
157
|
+
SubscribableWebSocket$onOpen$slambdaClass_0 = $;
|
|
158
|
+
}
|
|
159
|
+
return SubscribableWebSocket$onOpen$slambdaClass_0;
|
|
160
|
+
}
|
|
161
|
+
function SubscribableWebSocket$onOpen$slambda_2(this$0) {
|
|
162
|
+
var i = new (SubscribableWebSocket$onOpen$slambda_1())(this$0);
|
|
163
|
+
var l = ($this$launch, $completion) => i.w1h($this$launch, $completion);
|
|
164
|
+
l.$arity = 1;
|
|
165
|
+
return l;
|
|
166
|
+
}
|
|
167
|
+
var SubscribableWebSocket$onMessage$slambdaClass;
|
|
168
|
+
function SubscribableWebSocket$onMessage$slambda() {
|
|
169
|
+
if (SubscribableWebSocket$onMessage$slambdaClass === VOID) {
|
|
170
|
+
class $ {
|
|
171
|
+
constructor(this$0) {
|
|
172
|
+
this.h5q_1 = this$0;
|
|
173
|
+
}
|
|
174
|
+
*w1h($this$launch, $completion) {
|
|
175
|
+
while (true) {
|
|
176
|
+
yield* delay(this.h5q_1.i5o_1, $completion);
|
|
177
|
+
var tmp0_safe_receiver = this.h5q_1.h5o_1.x5n();
|
|
178
|
+
if (tmp0_safe_receiver == null)
|
|
179
|
+
null;
|
|
180
|
+
else {
|
|
181
|
+
// Inline function 'kotlin.let' call
|
|
182
|
+
send(this.h5q_1.t5o_1, tmp0_safe_receiver);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
return Unit_instance;
|
|
186
|
+
}
|
|
187
|
+
vd(p1, $completion) {
|
|
188
|
+
return this.w1h((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
initMetadataForLambda($, VOID, VOID, [1]);
|
|
192
|
+
SubscribableWebSocket$onMessage$slambdaClass = $;
|
|
193
|
+
}
|
|
194
|
+
return SubscribableWebSocket$onMessage$slambdaClass;
|
|
195
|
+
}
|
|
196
|
+
function SubscribableWebSocket$onMessage$slambda_0(this$0) {
|
|
197
|
+
var i = new (SubscribableWebSocket$onMessage$slambda())(this$0);
|
|
198
|
+
var l = ($this$launch, $completion) => i.w1h($this$launch, $completion);
|
|
199
|
+
l.$arity = 1;
|
|
200
|
+
return l;
|
|
201
|
+
}
|
|
202
|
+
var SubscribableWebSocket$onMessage$slambdaClass_0;
|
|
203
|
+
function SubscribableWebSocket$onMessage$slambda_1() {
|
|
204
|
+
if (SubscribableWebSocket$onMessage$slambdaClass_0 === VOID) {
|
|
205
|
+
class $ {
|
|
206
|
+
constructor(this$0) {
|
|
207
|
+
this.i5q_1 = this$0;
|
|
208
|
+
}
|
|
209
|
+
*w1h($this$launch, $completion) {
|
|
210
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
211
|
+
var _iterator__ex2g4s = this.i5q_1.s5o_1.l1();
|
|
212
|
+
while (_iterator__ex2g4s.m1()) {
|
|
213
|
+
var element = _iterator__ex2g4s.n1();
|
|
214
|
+
send(this.i5q_1.t5o_1, yield* this.i5q_1.h5o_1.v5n(element, $completion));
|
|
215
|
+
}
|
|
216
|
+
return Unit_instance;
|
|
217
|
+
}
|
|
218
|
+
vd(p1, $completion) {
|
|
219
|
+
return this.w1h((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
initMetadataForLambda($, VOID, VOID, [1]);
|
|
223
|
+
SubscribableWebSocket$onMessage$slambdaClass_0 = $;
|
|
224
|
+
}
|
|
225
|
+
return SubscribableWebSocket$onMessage$slambdaClass_0;
|
|
226
|
+
}
|
|
227
|
+
function SubscribableWebSocket$onMessage$slambda_2(this$0) {
|
|
228
|
+
var i = new (SubscribableWebSocket$onMessage$slambda_1())(this$0);
|
|
229
|
+
var l = ($this$launch, $completion) => i.w1h($this$launch, $completion);
|
|
230
|
+
l.$arity = 1;
|
|
231
|
+
return l;
|
|
232
|
+
}
|
|
233
|
+
var SubscribableWebSocket$startOperation$slambdaClass;
|
|
234
|
+
function SubscribableWebSocket$startOperation$slambda() {
|
|
235
|
+
if (SubscribableWebSocket$startOperation$slambdaClass === VOID) {
|
|
236
|
+
class $ {
|
|
237
|
+
constructor(this$0, $request) {
|
|
238
|
+
this.j5q_1 = this$0;
|
|
239
|
+
this.k5q_1 = $request;
|
|
240
|
+
}
|
|
241
|
+
*w1h($this$launch, $completion) {
|
|
242
|
+
send(this.j5q_1.t5o_1, yield* this.j5q_1.h5o_1.v5n(this.k5q_1, $completion));
|
|
243
|
+
return Unit_instance;
|
|
244
|
+
}
|
|
245
|
+
vd(p1, $completion) {
|
|
246
|
+
return this.w1h((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
initMetadataForLambda($, VOID, VOID, [1]);
|
|
250
|
+
SubscribableWebSocket$startOperation$slambdaClass = $;
|
|
251
|
+
}
|
|
252
|
+
return SubscribableWebSocket$startOperation$slambdaClass;
|
|
253
|
+
}
|
|
254
|
+
function SubscribableWebSocket$startOperation$slambda_0(this$0, $request) {
|
|
255
|
+
var i = new (SubscribableWebSocket$startOperation$slambda())(this$0, $request);
|
|
256
|
+
var l = ($this$launch, $completion) => i.w1h($this$launch, $completion);
|
|
257
|
+
l.$arity = 1;
|
|
258
|
+
return l;
|
|
259
|
+
}
|
|
260
|
+
var SubscribableWebSocket$stopOperation$slambdaClass;
|
|
261
|
+
function SubscribableWebSocket$stopOperation$slambda() {
|
|
262
|
+
if (SubscribableWebSocket$stopOperation$slambdaClass === VOID) {
|
|
263
|
+
class $ {
|
|
264
|
+
constructor(this$0, $request) {
|
|
265
|
+
this.l5q_1 = this$0;
|
|
266
|
+
this.m5q_1 = $request;
|
|
267
|
+
}
|
|
268
|
+
*w1h($this$launch, $completion) {
|
|
269
|
+
send(this.l5q_1.t5o_1, this.l5q_1.h5o_1.w5n(this.m5q_1));
|
|
270
|
+
return Unit_instance;
|
|
271
|
+
}
|
|
272
|
+
vd(p1, $completion) {
|
|
273
|
+
return this.w1h((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
initMetadataForLambda($, VOID, VOID, [1]);
|
|
277
|
+
SubscribableWebSocket$stopOperation$slambdaClass = $;
|
|
278
|
+
}
|
|
279
|
+
return SubscribableWebSocket$stopOperation$slambdaClass;
|
|
280
|
+
}
|
|
281
|
+
function SubscribableWebSocket$stopOperation$slambda_0(this$0, $request) {
|
|
282
|
+
var i = new (SubscribableWebSocket$stopOperation$slambda())(this$0, $request);
|
|
283
|
+
var l = ($this$launch, $completion) => i.w1h($this$launch, $completion);
|
|
284
|
+
l.$arity = 1;
|
|
285
|
+
return l;
|
|
286
|
+
}
|
|
287
|
+
var SubscribableWebSocketClass;
|
|
288
|
+
function SubscribableWebSocket() {
|
|
289
|
+
if (SubscribableWebSocketClass === VOID) {
|
|
290
|
+
class $ {
|
|
291
|
+
constructor(webSocketEngine, serverUrl, httpHeaders, wsProtocol, pingInterval, connectionAcknowledgeTimeout, idleTimeout) {
|
|
292
|
+
this.h5o_1 = wsProtocol;
|
|
293
|
+
this.i5o_1 = pingInterval;
|
|
294
|
+
this.j5o_1 = connectionAcknowledgeTimeout;
|
|
295
|
+
this.k5o_1 = idleTimeout;
|
|
296
|
+
var tmp = this;
|
|
297
|
+
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
298
|
+
tmp.l5o_1 = get_atomicfu$reentrantLock();
|
|
299
|
+
this.m5o_1 = CoroutineScope_0(Dispatchers_getInstance().v18_1);
|
|
300
|
+
this.n5o_1 = null;
|
|
301
|
+
this.o5o_1 = null;
|
|
302
|
+
this.p5o_1 = SocketState_AwaitOpen_getInstance();
|
|
303
|
+
this.q5o_1 = null;
|
|
304
|
+
var tmp_0 = this;
|
|
305
|
+
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
306
|
+
tmp_0.r5o_1 = LinkedHashMap().lc();
|
|
307
|
+
var tmp_1 = this;
|
|
308
|
+
// Inline function 'kotlin.collections.mutableListOf' call
|
|
309
|
+
tmp_1.s5o_1 = ArrayList().i2();
|
|
310
|
+
var tmp_2;
|
|
311
|
+
var tmp$ret$3;
|
|
312
|
+
$l$block_0: {
|
|
313
|
+
// Inline function 'kotlin.collections.any' call
|
|
314
|
+
var tmp_3;
|
|
315
|
+
if (isInterface(httpHeaders, Collection())) {
|
|
316
|
+
tmp_3 = httpHeaders.j1();
|
|
317
|
+
} else {
|
|
318
|
+
tmp_3 = false;
|
|
319
|
+
}
|
|
320
|
+
if (tmp_3) {
|
|
321
|
+
tmp$ret$3 = false;
|
|
322
|
+
break $l$block_0;
|
|
323
|
+
}
|
|
324
|
+
var _iterator__ex2g4s = httpHeaders.l1();
|
|
325
|
+
while (_iterator__ex2g4s.m1()) {
|
|
326
|
+
var element = _iterator__ex2g4s.n1();
|
|
327
|
+
// Inline function 'kotlin.text.lowercase' call
|
|
328
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
329
|
+
if (element.i50_1.toLowerCase() === 'sec-websocket-protocol') {
|
|
330
|
+
tmp$ret$3 = true;
|
|
331
|
+
break $l$block_0;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
tmp$ret$3 = false;
|
|
335
|
+
}
|
|
336
|
+
if (tmp$ret$3) {
|
|
337
|
+
tmp_2 = httpHeaders;
|
|
338
|
+
} else {
|
|
339
|
+
tmp_2 = plus(httpHeaders, new (HttpHeader())('Sec-WebSocket-Protocol', this.h5o_1.d1()));
|
|
340
|
+
}
|
|
341
|
+
var headers = tmp_2;
|
|
342
|
+
this.t5o_1 = webSocketEngine.n5q(serverUrl, headers, this);
|
|
343
|
+
}
|
|
344
|
+
o5q(markActive) {
|
|
345
|
+
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
346
|
+
this.l5o_1;
|
|
347
|
+
// Inline function 'kotlin.also' call
|
|
348
|
+
var this_0 = this.p5o_1.equals(SocketState_ShutDown_getInstance());
|
|
349
|
+
if (!this_0 && markActive) {
|
|
350
|
+
var tmp0_safe_receiver = this.n5o_1;
|
|
351
|
+
if (tmp0_safe_receiver == null)
|
|
352
|
+
null;
|
|
353
|
+
else {
|
|
354
|
+
tmp0_safe_receiver.my();
|
|
355
|
+
}
|
|
356
|
+
this.n5o_1 = null;
|
|
357
|
+
}
|
|
358
|
+
return this_0;
|
|
359
|
+
}
|
|
360
|
+
e5q(cause, code, reason) {
|
|
361
|
+
shutdownInternal(this, cause);
|
|
362
|
+
this.t5o_1.p5q(code, reason);
|
|
363
|
+
}
|
|
364
|
+
q5q() {
|
|
365
|
+
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
366
|
+
this.l5o_1;
|
|
367
|
+
if (this.p5o_1.s1_1 === 0) {
|
|
368
|
+
launch(this.m5o_1, VOID, VOID, SubscribableWebSocket$onOpen$slambda_0(this));
|
|
369
|
+
var tmp = this;
|
|
370
|
+
tmp.o5o_1 = launch(this.m5o_1, VOID, VOID, SubscribableWebSocket$onOpen$slambda_2(this));
|
|
371
|
+
this.p5o_1 = SocketState_AwaitAck_getInstance();
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
r5q(text) {
|
|
375
|
+
var message = this.h5o_1.z5n(text);
|
|
376
|
+
if (equals(message, ConnectionAckServerMessage_instance)) {
|
|
377
|
+
var tmp0_safe_receiver = this.o5o_1;
|
|
378
|
+
if (tmp0_safe_receiver == null)
|
|
379
|
+
null;
|
|
380
|
+
else {
|
|
381
|
+
tmp0_safe_receiver.my();
|
|
382
|
+
}
|
|
383
|
+
this.o5o_1 = null;
|
|
384
|
+
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
385
|
+
this.l5o_1;
|
|
386
|
+
if (!this.p5o_1.equals(SocketState_AwaitAck_getInstance())) {
|
|
387
|
+
return Unit_instance;
|
|
388
|
+
}
|
|
389
|
+
this.p5o_1 = SocketState_Connected_getInstance();
|
|
390
|
+
var tmp = this.i5o_1;
|
|
391
|
+
if (!((tmp == null ? null : new (Duration())(tmp)) == null)) {
|
|
392
|
+
launch(this.m5o_1, VOID, VOID, SubscribableWebSocket$onMessage$slambda_0(this));
|
|
393
|
+
}
|
|
394
|
+
launch(this.m5o_1, VOID, VOID, SubscribableWebSocket$onMessage$slambda_2(this));
|
|
395
|
+
} else {
|
|
396
|
+
if (message instanceof ConnectionErrorServerMessage()) {
|
|
397
|
+
this.e5q(SubscriptionConnectionException().g56(message.s5q_1), 1001, 'Connection error');
|
|
398
|
+
} else {
|
|
399
|
+
if (message instanceof ResponseServerMessage()) {
|
|
400
|
+
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
401
|
+
this.l5o_1;
|
|
402
|
+
var tmp1_safe_receiver = this.r5o_1.j4(message.a5o_1);
|
|
403
|
+
if (tmp1_safe_receiver == null)
|
|
404
|
+
null;
|
|
405
|
+
else {
|
|
406
|
+
tmp1_safe_receiver.u5p(message.b5o_1);
|
|
407
|
+
}
|
|
408
|
+
} else {
|
|
409
|
+
if (message instanceof CompleteServerMessage()) {
|
|
410
|
+
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
411
|
+
this.l5o_1;
|
|
412
|
+
var tmp2_safe_receiver = this.r5o_1.j4(message.c5o_1);
|
|
413
|
+
if (tmp2_safe_receiver == null)
|
|
414
|
+
null;
|
|
415
|
+
else {
|
|
416
|
+
tmp2_safe_receiver.w5p();
|
|
417
|
+
}
|
|
418
|
+
} else {
|
|
419
|
+
if (message instanceof OperationErrorServerMessage()) {
|
|
420
|
+
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
421
|
+
this.l5o_1;
|
|
422
|
+
var tmp3_safe_receiver = this.r5o_1.j4(message.d5o_1);
|
|
423
|
+
if (tmp3_safe_receiver == null)
|
|
424
|
+
null;
|
|
425
|
+
else {
|
|
426
|
+
tmp3_safe_receiver.x5p(message.e5o_1);
|
|
427
|
+
}
|
|
428
|
+
} else {
|
|
429
|
+
if (message instanceof ParseErrorServerMessage()) {
|
|
430
|
+
println("Cannot parse message: '" + message.f5o_1 + "'");
|
|
431
|
+
} else {
|
|
432
|
+
if (equals(message, PingServerMessage_instance)) {
|
|
433
|
+
var tmp4_safe_receiver = this.h5o_1.y5n();
|
|
434
|
+
if (tmp4_safe_receiver == null)
|
|
435
|
+
null;
|
|
436
|
+
else {
|
|
437
|
+
// Inline function 'kotlin.let' call
|
|
438
|
+
send(this.t5o_1, tmp4_safe_receiver);
|
|
439
|
+
}
|
|
440
|
+
} else {
|
|
441
|
+
if (!equals(message, PongServerMessage_instance)) {
|
|
442
|
+
if (!equals(message, ConnectionKeepAliveServerMessage_instance)) {
|
|
443
|
+
noWhenBranchMatchedException();
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
t5q(data) {
|
|
455
|
+
this.r5q(decodeToString(data));
|
|
456
|
+
}
|
|
457
|
+
u5q(cause) {
|
|
458
|
+
shutdownInternal(this, cause);
|
|
459
|
+
}
|
|
460
|
+
v5q(code, reason) {
|
|
461
|
+
shutdownInternal(this, ApolloWebSocketClosedException().g55(code == null ? 1001 : code, reason));
|
|
462
|
+
}
|
|
463
|
+
q5p(request, listener) {
|
|
464
|
+
var cause = null;
|
|
465
|
+
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
466
|
+
this.l5o_1;
|
|
467
|
+
var tmp0_safe_receiver = this.n5o_1;
|
|
468
|
+
if (tmp0_safe_receiver == null)
|
|
469
|
+
null;
|
|
470
|
+
else {
|
|
471
|
+
tmp0_safe_receiver.my();
|
|
472
|
+
}
|
|
473
|
+
this.n5o_1 = null;
|
|
474
|
+
var tmp;
|
|
475
|
+
switch (this.p5o_1.s1_1) {
|
|
476
|
+
case 0:
|
|
477
|
+
case 1:
|
|
478
|
+
this.r5o_1.q4(request.k4s_1.toString(), listener);
|
|
479
|
+
tmp = this.s5o_1.o2(request);
|
|
480
|
+
break;
|
|
481
|
+
case 2:
|
|
482
|
+
this.r5o_1.q4(request.k4s_1.toString(), listener);
|
|
483
|
+
tmp = launch(this.m5o_1, VOID, VOID, SubscribableWebSocket$startOperation$slambda_0(this, request));
|
|
484
|
+
break;
|
|
485
|
+
case 3:
|
|
486
|
+
cause = DefaultApolloException().f4u('Apollo: the WebSocket is shut down', this.q5o_1);
|
|
487
|
+
tmp = Unit_instance;
|
|
488
|
+
break;
|
|
489
|
+
default:
|
|
490
|
+
noWhenBranchMatchedException();
|
|
491
|
+
break;
|
|
492
|
+
}
|
|
493
|
+
if (!(cause == null)) {
|
|
494
|
+
listener.y5p(ensureNotNull(cause));
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
u5o(request) {
|
|
498
|
+
var id = request.k4s_1.toString();
|
|
499
|
+
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
500
|
+
this.l5o_1;
|
|
501
|
+
if (this.r5o_1.h4(id)) {
|
|
502
|
+
this.r5o_1.r4(id);
|
|
503
|
+
launch(this.m5o_1, VOID, VOID, SubscribableWebSocket$stopOperation$slambda_0(this, request));
|
|
504
|
+
if (this.r5o_1.j1()) {
|
|
505
|
+
restartIdleTimeout(this);
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
initMetadataForClass($, 'SubscribableWebSocket');
|
|
511
|
+
SubscribableWebSocketClass = $;
|
|
512
|
+
}
|
|
513
|
+
return SubscribableWebSocketClass;
|
|
514
|
+
}
|
|
515
|
+
var SocketState_AwaitOpen_instance;
|
|
516
|
+
var SocketState_AwaitAck_instance;
|
|
517
|
+
var SocketState_Connected_instance;
|
|
518
|
+
var SocketState_ShutDown_instance;
|
|
519
|
+
var SocketState_entriesInitialized;
|
|
520
|
+
function SocketState_initEntries() {
|
|
521
|
+
if (SocketState_entriesInitialized)
|
|
522
|
+
return Unit_instance;
|
|
523
|
+
SocketState_entriesInitialized = true;
|
|
524
|
+
SocketState_AwaitOpen_instance = new (SocketState())('AwaitOpen', 0);
|
|
525
|
+
SocketState_AwaitAck_instance = new (SocketState())('AwaitAck', 1);
|
|
526
|
+
SocketState_Connected_instance = new (SocketState())('Connected', 2);
|
|
527
|
+
SocketState_ShutDown_instance = new (SocketState())('ShutDown', 3);
|
|
528
|
+
}
|
|
529
|
+
var SocketStateClass;
|
|
530
|
+
function SocketState() {
|
|
531
|
+
if (SocketStateClass === VOID) {
|
|
532
|
+
class $ extends Enum() {}
|
|
533
|
+
initMetadataForClass($, 'SocketState');
|
|
534
|
+
SocketStateClass = $;
|
|
535
|
+
}
|
|
536
|
+
return SocketStateClass;
|
|
537
|
+
}
|
|
538
|
+
function send(_this__u8e3s4, clientMessage) {
|
|
539
|
+
if (clientMessage instanceof TextClientMessage()) {
|
|
540
|
+
_this__u8e3s4.y5q(clientMessage.q5n_1);
|
|
541
|
+
} else {
|
|
542
|
+
if (clientMessage instanceof DataClientMessage()) {
|
|
543
|
+
_this__u8e3s4.x5q(clientMessage.w5q_1);
|
|
544
|
+
} else {
|
|
545
|
+
noWhenBranchMatchedException();
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
function SocketState_AwaitOpen_getInstance() {
|
|
550
|
+
SocketState_initEntries();
|
|
551
|
+
return SocketState_AwaitOpen_instance;
|
|
552
|
+
}
|
|
553
|
+
function SocketState_AwaitAck_getInstance() {
|
|
554
|
+
SocketState_initEntries();
|
|
555
|
+
return SocketState_AwaitAck_instance;
|
|
556
|
+
}
|
|
557
|
+
function SocketState_Connected_getInstance() {
|
|
558
|
+
SocketState_initEntries();
|
|
559
|
+
return SocketState_Connected_instance;
|
|
560
|
+
}
|
|
561
|
+
function SocketState_ShutDown_getInstance() {
|
|
562
|
+
SocketState_initEntries();
|
|
563
|
+
return SocketState_ShutDown_instance;
|
|
564
|
+
}
|
|
565
|
+
//region block: exports
|
|
566
|
+
export {
|
|
567
|
+
SubscribableWebSocket as SubscribableWebSockethkxzhdarcovi,
|
|
568
|
+
};
|
|
569
|
+
//endregion
|
|
570
|
+
|
|
571
|
+
//# sourceMappingURL=SubscribableWebSocket.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/internal/SubscribableWebSocket.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/src/kotlin/collections/Collections.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/common/src/generated/_Collections.kt","../../../../../../../../../../opt/buildAgent/work/711ef0d9c7c28b00/atomicfu/src/jsAndWasmSharedMain/kotlin/kotlinx/atomicfu/locks/Synchronized.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/src/kotlin/collections/Maps.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/js/src/kotlin/text/stringJs.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/src/kotlin/util/Standard.kt"],"sourcesContent":[null,null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["restartIdleTimeout","$this","shutdownInternal","cause","listeners","element","invoke","$completion","SubscribableWebSocket$restartIdleTimeout$slambda","SubscribableWebSocket$restartIdleTimeout$slambda$lambda","SubscribableWebSocket$onOpen$slambda","SubscribableWebSocket$onOpen$slambda$lambda","SubscribableWebSocket$onMessage$slambda","SubscribableWebSocket$onMessage$slambda$lambda","SubscribableWebSocket$startOperation$slambda","SubscribableWebSocket$startOperation$slambda$lambda","SubscribableWebSocket$stopOperation$slambda","SubscribableWebSocket$stopOperation$slambda$lambda","webSocketEngine","serverUrl","httpHeaders","wsProtocol","pingInterval","connectionAcknowledgeTimeout","idleTimeout","headers","isShutdown","markActive","shutdown","code","reason","onOpen","onMessage","text","message","data","onError","onClosed","startOperation","request","listener","stopOperation","id","send","<this>","clientMessage"],"mappings":"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"}
|