@continuous-excellence/coupling-cli 1.1.754 → 1.1.756
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 +38 -38
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +17 -17
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +18 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +22 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +7 -7
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +22 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +31 -31
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PartyListQuerySelections.mjs +6 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PartyListQuerySelections.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PlayersQuerySelections.mjs +7 -4
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PlayersQuerySelections.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +42 -42
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +28 -28
- 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 +40 -40
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +31 -31
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +32 -32
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +62 -62
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/ActionLoggingSyntax.mjs +7 -7
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/LoggingActionPipe.mjs +10 -10
- 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-json/com/zegreatrob/coupling/json/PartyIdSerializer.mjs +7 -7
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/Contribution.mjs +95 -95
- 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 +55 -55
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSet.mjs +14 -14
- 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 +27 -27
- 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 +16 -16
- 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 +21 -21
- 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 +17 -17
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs +18 -18
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +23 -23
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +11 -11
- 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 +31 -31
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyContributionReportContributionsQuery.mjs +38 -38
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs +27 -27
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs +20 -20
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_ResponseAdapter.mjs +16 -16
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_ResponseAdapter.mjs +21 -21
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_VariablesAdapter.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_ResponseAdapter.mjs +11 -11
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_ResponseAdapter.mjs +5 -5
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetails.mjs +51 -51
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetailsImpl_ResponseAdapter.mjs +20 -20
- 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 +44 -44
- 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 +15 -15
- 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 +13 -13
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/ContributionDetailsSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PairingSetDetailsSelections.mjs +5 -5
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PartyDetailsSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PlayerDetailsSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/CurrentPairAssignmentsQuerySelections.mjs +4 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/CurrentPairAssignmentsQuerySelections.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyContributionReportContributionsQuerySelections.mjs +5 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyContributionReportContributionsQuerySelections.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyDetailsQuerySelections.mjs +4 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyDetailsQuerySelections.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/SaveContributionMutationSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +30 -29
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +10 -29
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Contribution.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +39 -39
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionReport.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionWindow.mjs +18 -29
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionWindow.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/DateTimeISO.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Duration.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLBoolean.mjs +1 -1
- 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 +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLString.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Mutation.mjs +8 -8
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairSnapshot.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSet.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSetId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Party.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyId.mjs +1 -1
- 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 +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinSnapshot.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Player.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerSnapshot.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Query.mjs +4 -4
- 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 +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionInput_InputAdapter.mjs +30 -30
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionWindow_ResponseAdapter.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionsInput_InputAdapter.mjs +6 -6
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs +4 -4
- package/kotlin/apollo-kotlin-adapters-apollo-adapters-core/com/apollographql/adapter/core/KotlinInstantAdapter.mjs +2 -2
- 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/CompiledGraphQL.mjs +15 -6
- 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 +72 -66
- 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/Error.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executables.mjs +33 -15
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executables.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Operations.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/RequestParameters.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSinkJsonWriter.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs +42 -0
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs +49 -0
- 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 +18 -18
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/Utils.mjs +19 -4
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/Utils.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs +76 -76
- 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 +11 -11
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs +201 -180
- 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 +2 -2
- 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 +6 -6
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/RetryOnErrorInterceptor.mjs +35 -35
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/MultipartReader.mjs +42 -42
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/flows.mjs +14 -14
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/IncrementalDeliveryProtocolImpl.mjs +8 -8
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_1IncrementalResultsMerger.mjs +32 -32
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_2IncrementalResultsMerger.mjs +30 -30
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/is-node.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs +10 -10
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpExecutionContext.mjs +4 -4
- 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 +79 -79
- 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/websocket/ClientMessage.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/GraphQLWsProtocol.mjs +10 -10
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ServerMessage.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketEngine.js.mjs +39 -39
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketNetworkTransport.mjs +58 -58
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/SubscribableWebSocket.mjs +196 -96
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/SubscribableWebSocket.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/WebSocketPool.mjs +20 -20
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs +11 -11
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs +24 -24
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs +105 -105
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs +19 -19
- 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.mjs +14 -14
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/ws/KtorWebSocketEngine.mjs +28 -28
- 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 +138 -138
- 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 +132 -132
- 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 +13 -13
- 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 +204 -204
- 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 +35 -35
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +231 -231
- 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 +20 -20
- 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 +1 -1
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +11 -11
- 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-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +2 -2
- 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 +15 -15
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +40 -40
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +61 -61
- 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 +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +152 -152
- 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 +54 -54
- 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 +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +68 -68
- package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs +29 -29
- package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs.map +1 -1
- 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 +1 -1
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +118 -118
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +36 -36
- package/kotlin/types-types/kotools/types/collection/NotEmptyList.mjs +22 -22
- package/kotlin/types-types/kotools/types/text/NotBlankString.mjs +26 -26
- package/kotlin/types-types-internal/kotools/types/internal/ErrorMessage.mjs +15 -15
- package/kotlin/types-types-internal/kotools/types/internal/Serializers.mjs +4 -4
- package/package.json +1 -1
|
@@ -20,7 +20,10 @@ import { LinkedHashMap1zhqxkxv3xnkl as LinkedHashMap } from '../../../../../../.
|
|
|
20
20
|
import { Collection1k04j3hzsbod0 as Collection } from '../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/Collections.mjs';
|
|
21
21
|
import { isInterface3d6p8outrmvmk as isInterface } from '../../../../../../../kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs';
|
|
22
22
|
import { HttpHeader1d7ldebjomr00 as HttpHeader } from '../../../../../../../apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs';
|
|
23
|
-
import {
|
|
23
|
+
import {
|
|
24
|
+
plus20p0vtfmu0596 as plus,
|
|
25
|
+
toList3jhuyej2anx2q as toList,
|
|
26
|
+
} from '../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs';
|
|
24
27
|
import {
|
|
25
28
|
noWhenBranchMatchedException2a6r7ubxgky5j as noWhenBranchMatchedException,
|
|
26
29
|
ensureNotNull1e947j3ixpazm as ensureNotNull,
|
|
@@ -51,65 +54,65 @@ import {
|
|
|
51
54
|
//region block: pre-declaration
|
|
52
55
|
//endregion
|
|
53
56
|
function restartIdleTimeout($this) {
|
|
54
|
-
var tmp0_safe_receiver = $this.
|
|
57
|
+
var tmp0_safe_receiver = $this.d5f_1;
|
|
55
58
|
if (tmp0_safe_receiver == null)
|
|
56
59
|
null;
|
|
57
60
|
else {
|
|
58
61
|
tmp0_safe_receiver.hz();
|
|
59
62
|
}
|
|
60
63
|
var tmp = $this;
|
|
61
|
-
tmp.
|
|
64
|
+
tmp.d5f_1 = launch($this.c5f_1, VOID, VOID, SubscribableWebSocket$restartIdleTimeout$slambda($this));
|
|
62
65
|
}
|
|
63
66
|
function shutdownInternal($this, cause) {
|
|
64
67
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
65
68
|
var listeners = ArrayList().i2();
|
|
66
69
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
67
|
-
$this.
|
|
68
|
-
if ($this.
|
|
70
|
+
$this.b5f_1;
|
|
71
|
+
if ($this.f5f_1.equals(SocketState_ShutDown_getInstance())) {
|
|
69
72
|
return Unit_instance;
|
|
70
73
|
}
|
|
71
|
-
$this.
|
|
72
|
-
cancel($this.
|
|
73
|
-
$this.
|
|
74
|
-
listeners.s2($this.
|
|
75
|
-
$this.
|
|
74
|
+
$this.f5f_1 = SocketState_ShutDown_getInstance();
|
|
75
|
+
cancel($this.c5f_1);
|
|
76
|
+
$this.g5f_1 = cause;
|
|
77
|
+
listeners.s2($this.h5f_1.l4());
|
|
78
|
+
$this.h5f_1.m4();
|
|
76
79
|
// Inline function 'kotlin.collections.forEach' call
|
|
77
80
|
var _iterator__ex2g4s = listeners.l1();
|
|
78
81
|
while (_iterator__ex2g4s.m1()) {
|
|
79
82
|
var element = _iterator__ex2g4s.n1();
|
|
80
|
-
element.
|
|
83
|
+
element.l5g(cause);
|
|
81
84
|
}
|
|
82
85
|
}
|
|
83
86
|
function SubscribableWebSocket$restartIdleTimeout$slambda(this$0) {
|
|
84
87
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
85
|
-
yield* delay(this$0.
|
|
86
|
-
this$0.
|
|
88
|
+
yield* delay(this$0.a5f_1, $completion);
|
|
89
|
+
this$0.q5g(ApolloNetworkException().j4r('WebSocket is idle'), 1001, 'Idle');
|
|
87
90
|
return Unit_instance;
|
|
88
91
|
}, 1);
|
|
89
92
|
}
|
|
90
93
|
function SubscribableWebSocket$onOpen$slambda(this$0) {
|
|
91
94
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
92
|
-
send(this$0.
|
|
95
|
+
send(this$0.j5f_1, yield* this$0.x5e_1.l5e($completion));
|
|
93
96
|
return Unit_instance;
|
|
94
97
|
}, 1);
|
|
95
98
|
}
|
|
96
99
|
function SubscribableWebSocket$onOpen$slambda_0(this$0) {
|
|
97
100
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
98
|
-
yield* delay(this$0.
|
|
99
|
-
this$0.
|
|
101
|
+
yield* delay(this$0.z5e_1, $completion);
|
|
102
|
+
this$0.q5g(ApolloNetworkException().j4r('Timeout while waiting for connection_ack'), 1001, 'Timeout while waiting for connection_ack');
|
|
100
103
|
return Unit_instance;
|
|
101
104
|
}, 1);
|
|
102
105
|
}
|
|
103
106
|
function SubscribableWebSocket$onMessage$slambda(this$0) {
|
|
104
107
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
105
108
|
while (true) {
|
|
106
|
-
yield* delay(this$0.
|
|
107
|
-
var tmp0_safe_receiver = this$0.
|
|
109
|
+
yield* delay(this$0.y5e_1, $completion);
|
|
110
|
+
var tmp0_safe_receiver = this$0.x5e_1.o5e();
|
|
108
111
|
if (tmp0_safe_receiver == null)
|
|
109
112
|
null;
|
|
110
113
|
else {
|
|
111
114
|
// Inline function 'kotlin.let' call
|
|
112
|
-
send(this$0.
|
|
115
|
+
send(this$0.j5f_1, tmp0_safe_receiver);
|
|
113
116
|
}
|
|
114
117
|
}
|
|
115
118
|
return Unit_instance;
|
|
@@ -118,23 +121,23 @@ function SubscribableWebSocket$onMessage$slambda(this$0) {
|
|
|
118
121
|
function SubscribableWebSocket$onMessage$slambda_0(this$0) {
|
|
119
122
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
120
123
|
// Inline function 'kotlin.collections.forEach' call
|
|
121
|
-
var _iterator__ex2g4s = this$0.
|
|
124
|
+
var _iterator__ex2g4s = this$0.i5f_1.l1();
|
|
122
125
|
while (_iterator__ex2g4s.m1()) {
|
|
123
126
|
var element = _iterator__ex2g4s.n1();
|
|
124
|
-
send(this$0.
|
|
127
|
+
send(this$0.j5f_1, yield* this$0.x5e_1.m5e(element, $completion));
|
|
125
128
|
}
|
|
126
129
|
return Unit_instance;
|
|
127
130
|
}, 1);
|
|
128
131
|
}
|
|
129
132
|
function SubscribableWebSocket$startOperation$slambda(this$0, $request) {
|
|
130
133
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
131
|
-
send(this$0.
|
|
134
|
+
send(this$0.j5f_1, yield* this$0.x5e_1.m5e($request, $completion));
|
|
132
135
|
return Unit_instance;
|
|
133
136
|
}, 1);
|
|
134
137
|
}
|
|
135
138
|
function SubscribableWebSocket$stopOperation$slambda(this$0, $request) {
|
|
136
139
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
137
|
-
send(this$0.
|
|
140
|
+
send(this$0.j5f_1, this$0.x5e_1.n5e($request));
|
|
138
141
|
return Unit_instance;
|
|
139
142
|
}, 1);
|
|
140
143
|
}
|
|
@@ -143,24 +146,24 @@ function SubscribableWebSocket() {
|
|
|
143
146
|
if (SubscribableWebSocketClass === VOID) {
|
|
144
147
|
class $ {
|
|
145
148
|
constructor(webSocketEngine, serverUrl, httpHeaders, wsProtocol, pingInterval, connectionAcknowledgeTimeout, idleTimeout) {
|
|
146
|
-
this.
|
|
147
|
-
this.
|
|
148
|
-
this.
|
|
149
|
-
this.
|
|
149
|
+
this.x5e_1 = wsProtocol;
|
|
150
|
+
this.y5e_1 = pingInterval;
|
|
151
|
+
this.z5e_1 = connectionAcknowledgeTimeout;
|
|
152
|
+
this.a5f_1 = idleTimeout;
|
|
150
153
|
var tmp = this;
|
|
151
154
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
152
|
-
tmp.
|
|
153
|
-
this.
|
|
154
|
-
this.a5f_1 = null;
|
|
155
|
-
this.b5f_1 = null;
|
|
156
|
-
this.c5f_1 = SocketState_AwaitOpen_getInstance();
|
|
155
|
+
tmp.b5f_1 = get_atomicfu$reentrantLock();
|
|
156
|
+
this.c5f_1 = CoroutineScope(Dispatchers_getInstance().q19_1);
|
|
157
157
|
this.d5f_1 = null;
|
|
158
|
+
this.e5f_1 = null;
|
|
159
|
+
this.f5f_1 = SocketState_AwaitOpen_getInstance();
|
|
160
|
+
this.g5f_1 = null;
|
|
158
161
|
var tmp_0 = this;
|
|
159
162
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
160
|
-
tmp_0.
|
|
163
|
+
tmp_0.h5f_1 = LinkedHashMap().lc();
|
|
161
164
|
var tmp_1 = this;
|
|
162
165
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
163
|
-
tmp_1.
|
|
166
|
+
tmp_1.i5f_1 = ArrayList().i2();
|
|
164
167
|
var tmp_2;
|
|
165
168
|
var tmp$ret$3;
|
|
166
169
|
$l$block_0: {
|
|
@@ -190,106 +193,108 @@ function SubscribableWebSocket() {
|
|
|
190
193
|
if (tmp$ret$3) {
|
|
191
194
|
tmp_2 = httpHeaders;
|
|
192
195
|
} else {
|
|
193
|
-
tmp_2 = plus(httpHeaders, new (HttpHeader())('Sec-WebSocket-Protocol', this.
|
|
196
|
+
tmp_2 = plus(httpHeaders, new (HttpHeader())('Sec-WebSocket-Protocol', this.x5e_1.d1()));
|
|
194
197
|
}
|
|
195
198
|
var headers = tmp_2;
|
|
196
|
-
|
|
199
|
+
var listener = new (BufferedWebSocketListener())();
|
|
200
|
+
this.j5f_1 = webSocketEngine.r5g(serverUrl, headers, listener);
|
|
201
|
+
listener.v5g(this);
|
|
197
202
|
}
|
|
198
|
-
|
|
203
|
+
w5g(markActive) {
|
|
199
204
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
200
|
-
this.
|
|
205
|
+
this.b5f_1;
|
|
201
206
|
// Inline function 'kotlin.also' call
|
|
202
|
-
var this_0 = this.
|
|
207
|
+
var this_0 = this.f5f_1.equals(SocketState_ShutDown_getInstance());
|
|
203
208
|
if (!this_0 && markActive) {
|
|
204
|
-
var tmp0_safe_receiver = this.
|
|
209
|
+
var tmp0_safe_receiver = this.d5f_1;
|
|
205
210
|
if (tmp0_safe_receiver == null)
|
|
206
211
|
null;
|
|
207
212
|
else {
|
|
208
213
|
tmp0_safe_receiver.hz();
|
|
209
214
|
}
|
|
210
|
-
this.
|
|
215
|
+
this.d5f_1 = null;
|
|
211
216
|
}
|
|
212
217
|
return this_0;
|
|
213
218
|
}
|
|
214
|
-
|
|
219
|
+
q5g(cause, code, reason) {
|
|
215
220
|
shutdownInternal(this, cause);
|
|
216
|
-
this.
|
|
221
|
+
this.j5f_1.x5g(code, reason);
|
|
217
222
|
}
|
|
218
|
-
|
|
223
|
+
y5g() {
|
|
219
224
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
220
|
-
this.
|
|
221
|
-
if (this.
|
|
222
|
-
launch(this.
|
|
225
|
+
this.b5f_1;
|
|
226
|
+
if (this.f5f_1.s1_1 === 0) {
|
|
227
|
+
launch(this.c5f_1, VOID, VOID, SubscribableWebSocket$onOpen$slambda(this));
|
|
223
228
|
var tmp = this;
|
|
224
|
-
tmp.
|
|
225
|
-
this.
|
|
229
|
+
tmp.e5f_1 = launch(this.c5f_1, VOID, VOID, SubscribableWebSocket$onOpen$slambda_0(this));
|
|
230
|
+
this.f5f_1 = SocketState_AwaitAck_getInstance();
|
|
226
231
|
}
|
|
227
232
|
}
|
|
228
|
-
|
|
229
|
-
var message = this.
|
|
233
|
+
z5g(text) {
|
|
234
|
+
var message = this.x5e_1.q5e(text);
|
|
230
235
|
if (equals(message, ConnectionAckServerMessage_instance)) {
|
|
231
|
-
var tmp0_safe_receiver = this.
|
|
236
|
+
var tmp0_safe_receiver = this.e5f_1;
|
|
232
237
|
if (tmp0_safe_receiver == null)
|
|
233
238
|
null;
|
|
234
239
|
else {
|
|
235
240
|
tmp0_safe_receiver.hz();
|
|
236
241
|
}
|
|
237
|
-
this.
|
|
242
|
+
this.e5f_1 = null;
|
|
238
243
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
239
|
-
this.
|
|
240
|
-
if (!this.
|
|
244
|
+
this.b5f_1;
|
|
245
|
+
if (!this.f5f_1.equals(SocketState_AwaitAck_getInstance())) {
|
|
241
246
|
return Unit_instance;
|
|
242
247
|
}
|
|
243
|
-
this.
|
|
244
|
-
var tmp = this.
|
|
248
|
+
this.f5f_1 = SocketState_Connected_getInstance();
|
|
249
|
+
var tmp = this.y5e_1;
|
|
245
250
|
if (!((tmp == null ? null : new (Duration())(tmp)) == null)) {
|
|
246
|
-
launch(this.
|
|
251
|
+
launch(this.c5f_1, VOID, VOID, SubscribableWebSocket$onMessage$slambda(this));
|
|
247
252
|
}
|
|
248
|
-
launch(this.
|
|
253
|
+
launch(this.c5f_1, VOID, VOID, SubscribableWebSocket$onMessage$slambda_0(this));
|
|
249
254
|
} else {
|
|
250
255
|
if (message instanceof ConnectionErrorServerMessage()) {
|
|
251
|
-
this.
|
|
256
|
+
this.q5g(SubscriptionConnectionException().y4y(message.a5h_1), 1001, 'Connection error');
|
|
252
257
|
} else {
|
|
253
258
|
if (message instanceof ResponseServerMessage()) {
|
|
254
259
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
255
|
-
this.
|
|
256
|
-
var tmp1_safe_receiver = this.
|
|
260
|
+
this.b5f_1;
|
|
261
|
+
var tmp1_safe_receiver = this.h5f_1.j4(message.r5e_1);
|
|
257
262
|
if (tmp1_safe_receiver == null)
|
|
258
263
|
null;
|
|
259
264
|
else {
|
|
260
|
-
tmp1_safe_receiver.
|
|
265
|
+
tmp1_safe_receiver.h5g(message.s5e_1);
|
|
261
266
|
}
|
|
262
267
|
} else {
|
|
263
268
|
if (message instanceof CompleteServerMessage()) {
|
|
264
269
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
265
|
-
this.
|
|
266
|
-
var tmp2_safe_receiver = this.
|
|
270
|
+
this.b5f_1;
|
|
271
|
+
var tmp2_safe_receiver = this.h5f_1.j4(message.t5e_1);
|
|
267
272
|
if (tmp2_safe_receiver == null)
|
|
268
273
|
null;
|
|
269
274
|
else {
|
|
270
|
-
tmp2_safe_receiver.
|
|
275
|
+
tmp2_safe_receiver.j5g();
|
|
271
276
|
}
|
|
272
277
|
} else {
|
|
273
278
|
if (message instanceof OperationErrorServerMessage()) {
|
|
274
279
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
275
|
-
this.
|
|
276
|
-
var tmp3_safe_receiver = this.
|
|
280
|
+
this.b5f_1;
|
|
281
|
+
var tmp3_safe_receiver = this.h5f_1.j4(message.u5e_1);
|
|
277
282
|
if (tmp3_safe_receiver == null)
|
|
278
283
|
null;
|
|
279
284
|
else {
|
|
280
|
-
tmp3_safe_receiver.
|
|
285
|
+
tmp3_safe_receiver.k5g(message.v5e_1);
|
|
281
286
|
}
|
|
282
287
|
} else {
|
|
283
288
|
if (message instanceof ParseErrorServerMessage()) {
|
|
284
|
-
println("Cannot parse message: '" + message.
|
|
289
|
+
println("Cannot parse message: '" + message.w5e_1 + "'");
|
|
285
290
|
} else {
|
|
286
291
|
if (equals(message, PingServerMessage_instance)) {
|
|
287
|
-
var tmp4_safe_receiver = this.
|
|
292
|
+
var tmp4_safe_receiver = this.x5e_1.p5e();
|
|
288
293
|
if (tmp4_safe_receiver == null)
|
|
289
294
|
null;
|
|
290
295
|
else {
|
|
291
296
|
// Inline function 'kotlin.let' call
|
|
292
|
-
send(this.
|
|
297
|
+
send(this.j5f_1, tmp4_safe_receiver);
|
|
293
298
|
}
|
|
294
299
|
} else {
|
|
295
300
|
if (!equals(message, PongServerMessage_instance)) {
|
|
@@ -305,39 +310,39 @@ function SubscribableWebSocket() {
|
|
|
305
310
|
}
|
|
306
311
|
}
|
|
307
312
|
}
|
|
308
|
-
|
|
309
|
-
this.
|
|
313
|
+
b5h(data) {
|
|
314
|
+
this.z5g(decodeToString(data));
|
|
310
315
|
}
|
|
311
|
-
|
|
316
|
+
c5h(cause) {
|
|
312
317
|
shutdownInternal(this, cause);
|
|
313
318
|
}
|
|
314
|
-
|
|
315
|
-
shutdownInternal(this, ApolloWebSocketClosedException().
|
|
319
|
+
d5h(code, reason) {
|
|
320
|
+
shutdownInternal(this, ApolloWebSocketClosedException().y4x(code == null ? 1001 : code, reason));
|
|
316
321
|
}
|
|
317
|
-
|
|
322
|
+
d5g(request, listener) {
|
|
318
323
|
var cause = null;
|
|
319
324
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
320
|
-
this.
|
|
321
|
-
var tmp0_safe_receiver = this.
|
|
325
|
+
this.b5f_1;
|
|
326
|
+
var tmp0_safe_receiver = this.d5f_1;
|
|
322
327
|
if (tmp0_safe_receiver == null)
|
|
323
328
|
null;
|
|
324
329
|
else {
|
|
325
330
|
tmp0_safe_receiver.hz();
|
|
326
331
|
}
|
|
327
|
-
this.
|
|
332
|
+
this.d5f_1 = null;
|
|
328
333
|
var tmp;
|
|
329
|
-
switch (this.
|
|
334
|
+
switch (this.f5f_1.s1_1) {
|
|
330
335
|
case 0:
|
|
331
336
|
case 1:
|
|
332
|
-
this.
|
|
333
|
-
tmp = this.
|
|
337
|
+
this.h5f_1.q4(request.z4k_1.toString(), listener);
|
|
338
|
+
tmp = this.i5f_1.o2(request);
|
|
334
339
|
break;
|
|
335
340
|
case 2:
|
|
336
|
-
this.
|
|
337
|
-
tmp = launch(this.
|
|
341
|
+
this.h5f_1.q4(request.z4k_1.toString(), listener);
|
|
342
|
+
tmp = launch(this.c5f_1, VOID, VOID, SubscribableWebSocket$startOperation$slambda(this, request));
|
|
338
343
|
break;
|
|
339
344
|
case 3:
|
|
340
|
-
cause = DefaultApolloException().v4m('Apollo: the WebSocket is shut down', this.
|
|
345
|
+
cause = DefaultApolloException().v4m('Apollo: the WebSocket is shut down', this.g5f_1);
|
|
341
346
|
tmp = Unit_instance;
|
|
342
347
|
break;
|
|
343
348
|
default:
|
|
@@ -345,17 +350,17 @@ function SubscribableWebSocket() {
|
|
|
345
350
|
break;
|
|
346
351
|
}
|
|
347
352
|
if (!(cause == null)) {
|
|
348
|
-
listener.
|
|
353
|
+
listener.l5g(ensureNotNull(cause));
|
|
349
354
|
}
|
|
350
355
|
}
|
|
351
|
-
|
|
356
|
+
k5f(request) {
|
|
352
357
|
var id = request.z4k_1.toString();
|
|
353
358
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
354
|
-
this.
|
|
355
|
-
if (this.
|
|
356
|
-
this.
|
|
357
|
-
launch(this.
|
|
358
|
-
if (this.
|
|
359
|
+
this.b5f_1;
|
|
360
|
+
if (this.h5f_1.h4(id)) {
|
|
361
|
+
this.h5f_1.r4(id);
|
|
362
|
+
launch(this.c5f_1, VOID, VOID, SubscribableWebSocket$stopOperation$slambda(this, request));
|
|
363
|
+
if (this.h5f_1.j1()) {
|
|
359
364
|
restartIdleTimeout(this);
|
|
360
365
|
}
|
|
361
366
|
}
|
|
@@ -389,12 +394,107 @@ function SocketState() {
|
|
|
389
394
|
}
|
|
390
395
|
return SocketStateClass;
|
|
391
396
|
}
|
|
397
|
+
function dispatch($this, callback) {
|
|
398
|
+
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
399
|
+
$this.s5g_1;
|
|
400
|
+
// Inline function 'kotlin.also' call
|
|
401
|
+
var this_0 = $this.t5g_1;
|
|
402
|
+
if (this_0 == null) {
|
|
403
|
+
$this.u5g_1.o2(callback);
|
|
404
|
+
}
|
|
405
|
+
var target = this_0;
|
|
406
|
+
if (!(target == null)) {
|
|
407
|
+
callback(target);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
function BufferedWebSocketListener$onOpen$lambda(it) {
|
|
411
|
+
it.y5g();
|
|
412
|
+
return Unit_instance;
|
|
413
|
+
}
|
|
414
|
+
function BufferedWebSocketListener$onMessage$lambda($text) {
|
|
415
|
+
return (it) => {
|
|
416
|
+
it.z5g($text);
|
|
417
|
+
return Unit_instance;
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
function BufferedWebSocketListener$onMessage$lambda_0($data) {
|
|
421
|
+
return (it) => {
|
|
422
|
+
it.b5h($data);
|
|
423
|
+
return Unit_instance;
|
|
424
|
+
};
|
|
425
|
+
}
|
|
426
|
+
function BufferedWebSocketListener$onError$lambda($cause) {
|
|
427
|
+
return (it) => {
|
|
428
|
+
it.c5h($cause);
|
|
429
|
+
return Unit_instance;
|
|
430
|
+
};
|
|
431
|
+
}
|
|
432
|
+
function BufferedWebSocketListener$onClosed$lambda($code, $reason) {
|
|
433
|
+
return (it) => {
|
|
434
|
+
it.d5h($code, $reason);
|
|
435
|
+
return Unit_instance;
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
var BufferedWebSocketListenerClass;
|
|
439
|
+
function BufferedWebSocketListener() {
|
|
440
|
+
if (BufferedWebSocketListenerClass === VOID) {
|
|
441
|
+
class $ {
|
|
442
|
+
constructor() {
|
|
443
|
+
var tmp = this;
|
|
444
|
+
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
445
|
+
tmp.s5g_1 = get_atomicfu$reentrantLock();
|
|
446
|
+
this.t5g_1 = null;
|
|
447
|
+
var tmp_0 = this;
|
|
448
|
+
// Inline function 'kotlin.collections.mutableListOf' call
|
|
449
|
+
tmp_0.u5g_1 = ArrayList().i2();
|
|
450
|
+
}
|
|
451
|
+
v5g(target) {
|
|
452
|
+
while (true) {
|
|
453
|
+
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
454
|
+
this.s5g_1;
|
|
455
|
+
if (this.u5g_1.j1()) {
|
|
456
|
+
this.t5g_1 = target;
|
|
457
|
+
return Unit_instance;
|
|
458
|
+
}
|
|
459
|
+
// Inline function 'kotlin.also' call
|
|
460
|
+
var this_0 = toList(this.u5g_1);
|
|
461
|
+
this.u5g_1.m4();
|
|
462
|
+
var callbacks = this_0;
|
|
463
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
464
|
+
var _iterator__ex2g4s = callbacks.l1();
|
|
465
|
+
while (_iterator__ex2g4s.m1()) {
|
|
466
|
+
var element = _iterator__ex2g4s.n1();
|
|
467
|
+
element(target);
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
y5g() {
|
|
472
|
+
return dispatch(this, BufferedWebSocketListener$onOpen$lambda);
|
|
473
|
+
}
|
|
474
|
+
z5g(text) {
|
|
475
|
+
return dispatch(this, BufferedWebSocketListener$onMessage$lambda(text));
|
|
476
|
+
}
|
|
477
|
+
b5h(data) {
|
|
478
|
+
return dispatch(this, BufferedWebSocketListener$onMessage$lambda_0(data));
|
|
479
|
+
}
|
|
480
|
+
c5h(cause) {
|
|
481
|
+
return dispatch(this, BufferedWebSocketListener$onError$lambda(cause));
|
|
482
|
+
}
|
|
483
|
+
d5h(code, reason) {
|
|
484
|
+
return dispatch(this, BufferedWebSocketListener$onClosed$lambda(code, reason));
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
initMetadataForClass($, 'BufferedWebSocketListener', BufferedWebSocketListener);
|
|
488
|
+
BufferedWebSocketListenerClass = $;
|
|
489
|
+
}
|
|
490
|
+
return BufferedWebSocketListenerClass;
|
|
491
|
+
}
|
|
392
492
|
function send(_this__u8e3s4, clientMessage) {
|
|
393
493
|
if (clientMessage instanceof TextClientMessage()) {
|
|
394
|
-
_this__u8e3s4.
|
|
494
|
+
_this__u8e3s4.g5h(clientMessage.i5e_1);
|
|
395
495
|
} else {
|
|
396
496
|
if (clientMessage instanceof DataClientMessage()) {
|
|
397
|
-
_this__u8e3s4.
|
|
497
|
+
_this__u8e3s4.f5h(clientMessage.e5h_1);
|
|
398
498
|
} else {
|
|
399
499
|
noWhenBranchMatchedException();
|
|
400
500
|
}
|
|
@@ -1 +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","shutdownInternal","cause","listeners","element","SubscribableWebSocket$restartIdleTimeout$slambda","SubscribableWebSocket$restartIdleTimeout$slambda$lambda","$completion","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","
|
|
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","shutdownInternal","cause","listeners","element","SubscribableWebSocket$restartIdleTimeout$slambda","SubscribableWebSocket$restartIdleTimeout$slambda$lambda","$completion","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","listener","isShutdown","markActive","shutdown","code","reason","onOpen","onMessage","text","message","data","onError","onClosed","startOperation","request","stopOperation","id","dispatch","callback","target","BufferedWebSocketListener$onOpen$lambda","BufferedWebSocketListener$onMessage$lambda","BufferedWebSocketListener$onMessage$lambda$lambda","BufferedWebSocketListener$onError$lambda","BufferedWebSocketListener$onError$lambda$lambda","BufferedWebSocketListener$onClosed$lambda","BufferedWebSocketListener$onClosed$lambda$lambda","start","callbacks","send","<this>","clientMessage"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiGUA,CAAA,KAAAA,EAAyB;A,MAC/B,gC;EAAgB,+B;IAAA,I;;IAAhB,kBAAgB,K;;YAChB,K;EAAA,YAAuB,OAAN,KAAM,CAAN,KAAM,cAAO,uDAAP,C;AASzB,C;yBAQQC,CAAA,K,EAAqBC,KAArBD,EAA6C;A;MACnDE,YCZoD,gB;;EDcpD,W;EACM,uBAAqB,kCAArB,E,CAA+B;A,IACjC,oB;EACF,C;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21
21
|
// Inline function 'kotlin.collections.iterator' call
|
|
22
|
-
var iterator = $this.
|
|
22
|
+
var iterator = $this.b5g_1.a3().l1();
|
|
23
23
|
while (iterator.m1()) {
|
|
24
24
|
var entry = iterator.n1();
|
|
25
|
-
if (entry.c3().
|
|
25
|
+
if (entry.c3().w5g(entry.b3().equals(key))) {
|
|
26
26
|
iterator.n6();
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
function closeAllConnectionsLocked($this, cause) {
|
|
31
31
|
// Inline function 'kotlin.collections.iterator' call
|
|
32
|
-
var iterator = $this.
|
|
32
|
+
var iterator = $this.b5g_1.a3().l1();
|
|
33
33
|
while (iterator.m1()) {
|
|
34
34
|
var entry = iterator.n1();
|
|
35
|
-
entry.c3().
|
|
35
|
+
entry.c3().q5g(cause, 1001, 'Client requested closing the connection');
|
|
36
36
|
iterator.n6();
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -57,31 +57,31 @@ function WebSocketPool() {
|
|
|
57
57
|
if (WebSocketPoolClass === VOID) {
|
|
58
58
|
class $ {
|
|
59
59
|
constructor(webSocketEngine, serverUrl, wsProtocol, connectionAcknowledgeTimeout, pingInterval, idleTimeout) {
|
|
60
|
-
this.
|
|
61
|
-
this.
|
|
62
|
-
this.
|
|
63
|
-
this.
|
|
64
|
-
this.
|
|
65
|
-
this.
|
|
60
|
+
this.u5f_1 = webSocketEngine;
|
|
61
|
+
this.v5f_1 = serverUrl;
|
|
62
|
+
this.w5f_1 = wsProtocol;
|
|
63
|
+
this.x5f_1 = connectionAcknowledgeTimeout;
|
|
64
|
+
this.y5f_1 = pingInterval;
|
|
65
|
+
this.z5f_1 = idleTimeout;
|
|
66
66
|
var tmp = this;
|
|
67
67
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
68
|
-
tmp.
|
|
68
|
+
tmp.a5g_1 = get_atomicfu$reentrantLock();
|
|
69
69
|
var tmp_0 = this;
|
|
70
70
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
71
|
-
tmp_0.
|
|
71
|
+
tmp_0.b5g_1 = LinkedHashMap().lc();
|
|
72
72
|
}
|
|
73
73
|
j6() {
|
|
74
74
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
75
|
-
this.
|
|
75
|
+
this.a5g_1;
|
|
76
76
|
closeAllConnectionsLocked(this, ApolloNetworkException().j4r('WebSocketNetworkTransport was closed'));
|
|
77
|
-
this.
|
|
77
|
+
this.u5f_1.j6();
|
|
78
78
|
return Unit_instance;
|
|
79
79
|
}
|
|
80
|
-
|
|
80
|
+
c5g(apolloRequest) {
|
|
81
81
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
82
|
-
this.
|
|
82
|
+
this.a5g_1;
|
|
83
83
|
var tmp0_elvis_lhs = apolloRequest.d4l_1;
|
|
84
|
-
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? this.
|
|
84
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? this.v5f_1 : tmp0_elvis_lhs;
|
|
85
85
|
var tmp;
|
|
86
86
|
if (tmp1_elvis_lhs == null) {
|
|
87
87
|
// Inline function 'kotlin.error' call
|
|
@@ -96,10 +96,10 @@ function WebSocketPool() {
|
|
|
96
96
|
var httpHeaders = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
|
|
97
97
|
var key_0 = key(this, url, httpHeaders);
|
|
98
98
|
cleanupLocked(this, key_0);
|
|
99
|
-
var webSocket = this.
|
|
99
|
+
var webSocket = this.b5g_1.j4(key_0);
|
|
100
100
|
if (webSocket == null) {
|
|
101
|
-
webSocket = new (SubscribableWebSocket())(this.
|
|
102
|
-
this.
|
|
101
|
+
webSocket = new (SubscribableWebSocket())(this.u5f_1, url, httpHeaders, this.w5f_1, this.y5f_1, this.x5f_1, this.z5f_1);
|
|
102
|
+
this.b5g_1.q4(key_0, webSocket);
|
|
103
103
|
}
|
|
104
104
|
return webSocket;
|
|
105
105
|
}
|