@continuous-excellence/coupling-cli 1.1.887 → 1.1.889
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 +36 -36
- 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 +26 -26
- 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 +25 -25
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +34 -34
- 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 +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PlayersQuerySelections.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +37 -37
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +27 -27
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +14 -14
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +35 -35
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ListContribution.mjs +46 -46
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +38 -38
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +28 -28
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +14 -14
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +29 -29
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +51 -51
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/ActionLoggingSyntax.mjs +11 -11
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/LoggingActionPipe.mjs +11 -11
- 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 +45 -45
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/DeviceCodeRequest.mjs +27 -27
- package/kotlin/Coupling-libraries-auth0-management/com/zegreatrob/coupling/auth0/management/KtorAuth0Client.mjs +8 -8
- 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 +19 -19
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +31 -31
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +10 -10
- 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 +34 -34
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyContributionReportContributionsQuery.mjs +41 -41
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs +30 -30
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs +23 -23
- 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 +47 -47
- 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 +68 -68
- 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 +23 -23
- 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 +24 -24
- 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 +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 +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyContributionReportContributionsQuerySelections.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyDetailsQuerySelections.mjs +2 -2
- 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 +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +3 -3
- 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 +21 -21
- 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 +3 -3
- 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 +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +104 -104
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/ApolloRequest.mjs +79 -79
- 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 +57 -57
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs +22 -22
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/DeferredFragmentIdentifier.mjs +8 -8
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs +20 -20
- 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 +8 -8
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Optional.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/RequestParameters.mjs +41 -41
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/CacheUrlOverride.mjs +5 -5
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/DefaultHttpRequestComposer.mjs +76 -76
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/http/Http.mjs +58 -58
- 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 +29 -29
- 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 +279 -279
- 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/JsonReaders.mjs +13 -13
- 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 +106 -106
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs +47 -47
- 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 +68 -68
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs +18 -18
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs +197 -197
- 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 +40 -40
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/MultipartReader.mjs +48 -48
- 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 +29 -29
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_2IncrementalResultsMerger.mjs +29 -29
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs +7 -7
- 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 +21 -21
- 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 +105 -105
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ClientMessage.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/GraphQLWsProtocol.mjs +13 -13
- 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 +42 -42
- 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 +120 -120
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/WebSocketPool.mjs +30 -30
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs +12 -12
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs +25 -25
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs +110 -110
- 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/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 +25 -25
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/ws/KtorWebSocketEngine.mjs +29 -29
- 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 +94 -94
- 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 +46 -46
- 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 +181 -181
- 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 +222 -222
- 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 +21 -21
- 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 +114 -114
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +126 -126
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +57 -57
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +17 -17
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Strings.mjs +6 -0
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/Strings.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 +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-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +39 -39
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +22 -22
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +13 -13
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +3 -3
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +7 -7
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +109 -68
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementBuilders.mjs +5 -5
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +73 -73
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonExceptions.mjs +24 -26
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonExceptions.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +110 -110
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +15 -15
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +63 -63
- 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 +8 -9
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +6 -6
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +41 -41
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +4 -4
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +11 -10
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/{JsonPolymorphicHelpers.mjs → Polymorphic.mjs} +5 -17
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs.map +1 -0
- 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 +124 -137
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +89 -131
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +28 -28
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs +7 -9
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringOps.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +85 -130
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonEncoder.mjs +59 -101
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonEncoder.mjs.map +1 -1
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/HttpClientCallLogger.mjs +25 -25
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LogBodyFilter.mjs +16 -16
- 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 +11 -11
- 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 +84 -84
- package/kotlin/ktor-ktor-client-logging/io/ktor/client/plugins/logging/LoggingUtils.mjs +8 -8
- package/kotlin/ktor-ktor-openapi-schema/io/ktor/openapi/JsonSchemaInference.mjs +4 -4
- 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 +28 -28
- 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 +21 -21
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +54 -54
- 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 +208 -208
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +122 -122
- 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 +13 -13
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +8 -8
- 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 +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +52 -52
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +68 -68
- package/kotlin/okio-parent-okio/okio/Buffer.mjs +360 -360
- package/kotlin/okio-parent-okio/okio/ByteString.mjs +51 -51
- package/kotlin/okio-parent-okio/okio/HashingSink.mjs +14 -14
- package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs +18 -18
- package/kotlin/okio-parent-okio/okio/Okio.mjs +1 -1
- package/kotlin/okio-parent-okio/okio/Options.mjs +24 -24
- package/kotlin/okio-parent-okio/okio/RealBufferedSink.mjs +37 -37
- package/kotlin/okio-parent-okio/okio/RealBufferedSource.mjs +60 -60
- package/kotlin/okio-parent-okio/okio/Segment.mjs +65 -65
- package/kotlin/okio-parent-okio/okio/SegmentPool.mjs +3 -3
- package/kotlin/okio-parent-okio/okio/SegmentedByteString.mjs +51 -51
- package/kotlin/okio-parent-okio/okio/Util.mjs +1 -1
- package/kotlin/okio-parent-okio/okio/internal/-Utf8.mjs +1 -1
- package/kotlin/okio-parent-okio/okio/internal/Buffer.mjs +57 -57
- package/kotlin/okio-parent-okio/okio/internal/ByteString.mjs +1 -1
- package/kotlin/okio-parent-okio/okio/internal/RealBufferedSource.mjs +10 -10
- package/kotlin/okio-parent-okio/okio/internal/SegmentedByteString.mjs +1 -1
- package/kotlin/okio-parent-okio/okio/internal/Sha256.mjs +63 -63
- 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 +109 -109
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +28 -28
- package/kotlin/types-types/kotools/types/collection/NotEmptyList.mjs +22 -22
- package/kotlin/types-types/kotools/types/text/NotBlankString.mjs +27 -27
- package/kotlin/types-types-internal/kotools/types/internal/ErrorMessage.mjs +15 -15
- package/kotlin/types-types-internal/kotools/types/internal/Serializers.mjs +6 -6
- package/kotlin/uuid/com/benasher44/uuid/uuid.mjs +11 -11
- package/package.json +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPolymorphicHelpers.mjs.map +0 -1
|
@@ -55,65 +55,65 @@ import {
|
|
|
55
55
|
//region block: pre-declaration
|
|
56
56
|
//endregion
|
|
57
57
|
function restartIdleTimeout($this) {
|
|
58
|
-
var tmp0_safe_receiver = $this.
|
|
58
|
+
var tmp0_safe_receiver = $this.l5i_1;
|
|
59
59
|
if (tmp0_safe_receiver == null)
|
|
60
60
|
null;
|
|
61
61
|
else {
|
|
62
62
|
tmp0_safe_receiver.vz();
|
|
63
63
|
}
|
|
64
64
|
var tmp = $this;
|
|
65
|
-
tmp.
|
|
65
|
+
tmp.l5i_1 = launch($this.k5i_1, VOID, VOID, SubscribableWebSocket$restartIdleTimeout$slambda($this));
|
|
66
66
|
}
|
|
67
67
|
function shutdownInternal($this, cause) {
|
|
68
68
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
69
69
|
var listeners = ArrayList().j2();
|
|
70
70
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
71
|
-
$this.
|
|
72
|
-
if ($this.
|
|
71
|
+
$this.j5i_1;
|
|
72
|
+
if ($this.n5i_1.equals(SocketState_ShutDown_getInstance())) {
|
|
73
73
|
return Unit_instance;
|
|
74
74
|
}
|
|
75
|
-
$this.
|
|
76
|
-
cancel($this.
|
|
77
|
-
$this.
|
|
78
|
-
listeners.r2($this.
|
|
79
|
-
$this.
|
|
75
|
+
$this.n5i_1 = SocketState_ShutDown_getInstance();
|
|
76
|
+
cancel($this.k5i_1);
|
|
77
|
+
$this.o5i_1 = cause;
|
|
78
|
+
listeners.r2($this.p5i_1.m4());
|
|
79
|
+
$this.p5i_1.o4();
|
|
80
80
|
// Inline function 'kotlin.collections.forEach' call
|
|
81
81
|
var _iterator__ex2g4s = listeners.l1();
|
|
82
82
|
while (_iterator__ex2g4s.m1()) {
|
|
83
83
|
var element = _iterator__ex2g4s.n1();
|
|
84
|
-
element.
|
|
84
|
+
element.t5j(cause);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
function SubscribableWebSocket$restartIdleTimeout$slambda(this$0) {
|
|
88
88
|
return constructCallableReference(($this$launch, $completion) => orPromise($completion, function *($completion) {
|
|
89
|
-
yield* delay(this$0.
|
|
90
|
-
this$0.
|
|
89
|
+
yield* delay(this$0.i5i_1, $completion);
|
|
90
|
+
this$0.y5j(ApolloNetworkException().q4u('WebSocket is idle'), 1001, 'Idle');
|
|
91
91
|
return Unit_instance;
|
|
92
92
|
}), 1);
|
|
93
93
|
}
|
|
94
94
|
function SubscribableWebSocket$onOpen$slambda(this$0) {
|
|
95
95
|
return constructCallableReference(($this$launch, $completion) => orPromise($completion, function *($completion) {
|
|
96
|
-
send(this$0.
|
|
96
|
+
send(this$0.r5i_1, yield* this$0.f5i_1.t5h($completion));
|
|
97
97
|
return Unit_instance;
|
|
98
98
|
}), 1);
|
|
99
99
|
}
|
|
100
100
|
function SubscribableWebSocket$onOpen$slambda_0(this$0) {
|
|
101
101
|
return constructCallableReference(($this$launch, $completion) => orPromise($completion, function *($completion) {
|
|
102
|
-
yield* delay(this$0.
|
|
103
|
-
this$0.
|
|
102
|
+
yield* delay(this$0.h5i_1, $completion);
|
|
103
|
+
this$0.y5j(ApolloNetworkException().q4u('Timeout while waiting for connection_ack'), 1001, 'Timeout while waiting for connection_ack');
|
|
104
104
|
return Unit_instance;
|
|
105
105
|
}), 1);
|
|
106
106
|
}
|
|
107
107
|
function SubscribableWebSocket$onMessage$slambda(this$0) {
|
|
108
108
|
return constructCallableReference(($this$launch, $completion) => orPromise($completion, function *($completion) {
|
|
109
109
|
while (true) {
|
|
110
|
-
yield* delay(this$0.
|
|
111
|
-
var tmp0_safe_receiver = this$0.
|
|
110
|
+
yield* delay(this$0.g5i_1, $completion);
|
|
111
|
+
var tmp0_safe_receiver = this$0.f5i_1.w5h();
|
|
112
112
|
if (tmp0_safe_receiver == null)
|
|
113
113
|
null;
|
|
114
114
|
else {
|
|
115
115
|
// Inline function 'kotlin.let' call
|
|
116
|
-
send(this$0.
|
|
116
|
+
send(this$0.r5i_1, tmp0_safe_receiver);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
return Unit_instance;
|
|
@@ -122,23 +122,23 @@ function SubscribableWebSocket$onMessage$slambda(this$0) {
|
|
|
122
122
|
function SubscribableWebSocket$onMessage$slambda_0(this$0) {
|
|
123
123
|
return constructCallableReference(($this$launch, $completion) => orPromise($completion, function *($completion) {
|
|
124
124
|
// Inline function 'kotlin.collections.forEach' call
|
|
125
|
-
var _iterator__ex2g4s = this$0.
|
|
125
|
+
var _iterator__ex2g4s = this$0.q5i_1.l1();
|
|
126
126
|
while (_iterator__ex2g4s.m1()) {
|
|
127
127
|
var element = _iterator__ex2g4s.n1();
|
|
128
|
-
send(this$0.
|
|
128
|
+
send(this$0.r5i_1, yield* this$0.f5i_1.u5h(element, $completion));
|
|
129
129
|
}
|
|
130
130
|
return Unit_instance;
|
|
131
131
|
}), 1);
|
|
132
132
|
}
|
|
133
133
|
function SubscribableWebSocket$startOperation$slambda(this$0, $request) {
|
|
134
134
|
return constructCallableReference(($this$launch, $completion) => orPromise($completion, function *($completion) {
|
|
135
|
-
send(this$0.
|
|
135
|
+
send(this$0.r5i_1, yield* this$0.f5i_1.u5h($request, $completion));
|
|
136
136
|
return Unit_instance;
|
|
137
137
|
}), 1);
|
|
138
138
|
}
|
|
139
139
|
function SubscribableWebSocket$stopOperation$slambda(this$0, $request) {
|
|
140
140
|
return constructCallableReference(($this$launch, $completion) => orPromise($completion, function *($completion) {
|
|
141
|
-
send(this$0.
|
|
141
|
+
send(this$0.r5i_1, this$0.f5i_1.v5h($request));
|
|
142
142
|
return Unit_instance;
|
|
143
143
|
}), 1);
|
|
144
144
|
}
|
|
@@ -147,24 +147,24 @@ function SubscribableWebSocket() {
|
|
|
147
147
|
if (SubscribableWebSocketClass === VOID) {
|
|
148
148
|
class $ {
|
|
149
149
|
constructor(webSocketEngine, serverUrl, httpHeaders, wsProtocol, pingInterval, connectionAcknowledgeTimeout, idleTimeout) {
|
|
150
|
-
this.
|
|
151
|
-
this.
|
|
152
|
-
this.
|
|
153
|
-
this.
|
|
150
|
+
this.f5i_1 = wsProtocol;
|
|
151
|
+
this.g5i_1 = pingInterval;
|
|
152
|
+
this.h5i_1 = connectionAcknowledgeTimeout;
|
|
153
|
+
this.i5i_1 = idleTimeout;
|
|
154
154
|
var tmp = this;
|
|
155
155
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
156
|
-
tmp.
|
|
157
|
-
this.
|
|
158
|
-
this.k5i_1 = null;
|
|
156
|
+
tmp.j5i_1 = get_atomicfu$reentrantLock();
|
|
157
|
+
this.k5i_1 = CoroutineScope(Dispatchers_getInstance().e1a_1);
|
|
159
158
|
this.l5i_1 = null;
|
|
160
|
-
this.m5i_1 =
|
|
161
|
-
this.n5i_1 =
|
|
159
|
+
this.m5i_1 = null;
|
|
160
|
+
this.n5i_1 = SocketState_AwaitOpen_getInstance();
|
|
161
|
+
this.o5i_1 = null;
|
|
162
162
|
var tmp_0 = this;
|
|
163
163
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
164
|
-
tmp_0.
|
|
164
|
+
tmp_0.p5i_1 = LinkedHashMap().mc();
|
|
165
165
|
var tmp_1 = this;
|
|
166
166
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
167
|
-
tmp_1.
|
|
167
|
+
tmp_1.q5i_1 = ArrayList().j2();
|
|
168
168
|
var tmp_2;
|
|
169
169
|
var tmp$ret$3;
|
|
170
170
|
$l$block_0: {
|
|
@@ -184,7 +184,7 @@ function SubscribableWebSocket() {
|
|
|
184
184
|
var element = _iterator__ex2g4s.n1();
|
|
185
185
|
// Inline function 'kotlin.text.lowercase' call
|
|
186
186
|
// Inline function 'kotlin.js.asDynamic' call
|
|
187
|
-
if (element.
|
|
187
|
+
if (element.h4w_1.toLowerCase() === 'sec-websocket-protocol') {
|
|
188
188
|
tmp$ret$3 = true;
|
|
189
189
|
break $l$block_0;
|
|
190
190
|
}
|
|
@@ -194,108 +194,108 @@ function SubscribableWebSocket() {
|
|
|
194
194
|
if (tmp$ret$3) {
|
|
195
195
|
tmp_2 = httpHeaders;
|
|
196
196
|
} else {
|
|
197
|
-
tmp_2 = plus(httpHeaders, new (HttpHeader())('Sec-WebSocket-Protocol', this.
|
|
197
|
+
tmp_2 = plus(httpHeaders, new (HttpHeader())('Sec-WebSocket-Protocol', this.f5i_1.d1()));
|
|
198
198
|
}
|
|
199
199
|
var headers = tmp_2;
|
|
200
200
|
var listener = new (BufferedWebSocketListener())();
|
|
201
|
-
this.
|
|
202
|
-
listener.
|
|
201
|
+
this.r5i_1 = webSocketEngine.z5j(serverUrl, headers, listener);
|
|
202
|
+
listener.d5k(this);
|
|
203
203
|
}
|
|
204
|
-
|
|
204
|
+
e5k(markActive) {
|
|
205
205
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
206
|
-
this.
|
|
206
|
+
this.j5i_1;
|
|
207
207
|
// Inline function 'kotlin.also' call
|
|
208
|
-
var this_0 = this.
|
|
208
|
+
var this_0 = this.n5i_1.equals(SocketState_ShutDown_getInstance());
|
|
209
209
|
if (!this_0 && markActive) {
|
|
210
|
-
var tmp0_safe_receiver = this.
|
|
210
|
+
var tmp0_safe_receiver = this.l5i_1;
|
|
211
211
|
if (tmp0_safe_receiver == null)
|
|
212
212
|
null;
|
|
213
213
|
else {
|
|
214
214
|
tmp0_safe_receiver.vz();
|
|
215
215
|
}
|
|
216
|
-
this.
|
|
216
|
+
this.l5i_1 = null;
|
|
217
217
|
}
|
|
218
218
|
return this_0;
|
|
219
219
|
}
|
|
220
|
-
|
|
220
|
+
y5j(cause, code, reason) {
|
|
221
221
|
shutdownInternal(this, cause);
|
|
222
|
-
this.
|
|
222
|
+
this.r5i_1.f5k(code, reason);
|
|
223
223
|
}
|
|
224
|
-
|
|
224
|
+
g5k() {
|
|
225
225
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
226
|
-
this.
|
|
227
|
-
if (this.
|
|
228
|
-
launch(this.
|
|
226
|
+
this.j5i_1;
|
|
227
|
+
if (this.n5i_1.s1_1 === 0) {
|
|
228
|
+
launch(this.k5i_1, VOID, VOID, SubscribableWebSocket$onOpen$slambda(this));
|
|
229
229
|
var tmp = this;
|
|
230
|
-
tmp.
|
|
231
|
-
this.
|
|
230
|
+
tmp.m5i_1 = launch(this.k5i_1, VOID, VOID, SubscribableWebSocket$onOpen$slambda_0(this));
|
|
231
|
+
this.n5i_1 = SocketState_AwaitAck_getInstance();
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
|
|
235
|
-
var message = this.
|
|
234
|
+
h5k(text) {
|
|
235
|
+
var message = this.f5i_1.y5h(text);
|
|
236
236
|
if (equals(message, ConnectionAckServerMessage_instance)) {
|
|
237
|
-
var tmp0_safe_receiver = this.
|
|
237
|
+
var tmp0_safe_receiver = this.m5i_1;
|
|
238
238
|
if (tmp0_safe_receiver == null)
|
|
239
239
|
null;
|
|
240
240
|
else {
|
|
241
241
|
tmp0_safe_receiver.vz();
|
|
242
242
|
}
|
|
243
|
-
this.
|
|
243
|
+
this.m5i_1 = null;
|
|
244
244
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
245
|
-
this.
|
|
246
|
-
if (!this.
|
|
245
|
+
this.j5i_1;
|
|
246
|
+
if (!this.n5i_1.equals(SocketState_AwaitAck_getInstance())) {
|
|
247
247
|
return Unit_instance;
|
|
248
248
|
}
|
|
249
|
-
this.
|
|
250
|
-
var tmp = this.
|
|
249
|
+
this.n5i_1 = SocketState_Connected_getInstance();
|
|
250
|
+
var tmp = this.g5i_1;
|
|
251
251
|
if (!((tmp == null ? null : new (Duration())(tmp)) == null)) {
|
|
252
|
-
launch(this.
|
|
252
|
+
launch(this.k5i_1, VOID, VOID, SubscribableWebSocket$onMessage$slambda(this));
|
|
253
253
|
}
|
|
254
|
-
launch(this.
|
|
254
|
+
launch(this.k5i_1, VOID, VOID, SubscribableWebSocket$onMessage$slambda_0(this));
|
|
255
255
|
} else {
|
|
256
256
|
if (message instanceof ConnectionErrorServerMessage()) {
|
|
257
|
-
this.
|
|
257
|
+
this.y5j(SubscriptionConnectionException().g52(message.i5k_1), 1001, 'Connection error');
|
|
258
258
|
} else {
|
|
259
259
|
if (message instanceof ResponseServerMessage()) {
|
|
260
260
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
261
|
-
this.
|
|
262
|
-
var tmp1_safe_receiver = this.
|
|
261
|
+
this.j5i_1;
|
|
262
|
+
var tmp1_safe_receiver = this.p5i_1.k4(message.z5h_1);
|
|
263
263
|
if (tmp1_safe_receiver == null)
|
|
264
264
|
null;
|
|
265
265
|
else {
|
|
266
|
-
tmp1_safe_receiver.
|
|
266
|
+
tmp1_safe_receiver.p5j(message.a5i_1);
|
|
267
267
|
}
|
|
268
268
|
} else {
|
|
269
269
|
if (message instanceof CompleteServerMessage()) {
|
|
270
270
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
271
|
-
this.
|
|
272
|
-
var tmp2_safe_receiver = this.
|
|
271
|
+
this.j5i_1;
|
|
272
|
+
var tmp2_safe_receiver = this.p5i_1.k4(message.b5i_1);
|
|
273
273
|
if (tmp2_safe_receiver == null)
|
|
274
274
|
null;
|
|
275
275
|
else {
|
|
276
|
-
tmp2_safe_receiver.
|
|
276
|
+
tmp2_safe_receiver.r5j();
|
|
277
277
|
}
|
|
278
278
|
} else {
|
|
279
279
|
if (message instanceof OperationErrorServerMessage()) {
|
|
280
280
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
281
|
-
this.
|
|
282
|
-
var tmp3_safe_receiver = this.
|
|
281
|
+
this.j5i_1;
|
|
282
|
+
var tmp3_safe_receiver = this.p5i_1.k4(message.c5i_1);
|
|
283
283
|
if (tmp3_safe_receiver == null)
|
|
284
284
|
null;
|
|
285
285
|
else {
|
|
286
|
-
tmp3_safe_receiver.
|
|
286
|
+
tmp3_safe_receiver.s5j(message.d5i_1);
|
|
287
287
|
}
|
|
288
288
|
} else {
|
|
289
289
|
if (message instanceof ParseErrorServerMessage()) {
|
|
290
|
-
println("Cannot parse message: '" + message.
|
|
290
|
+
println("Cannot parse message: '" + message.e5i_1 + "'");
|
|
291
291
|
} else {
|
|
292
292
|
if (equals(message, PingServerMessage_instance)) {
|
|
293
|
-
var tmp4_safe_receiver = this.
|
|
293
|
+
var tmp4_safe_receiver = this.f5i_1.x5h();
|
|
294
294
|
if (tmp4_safe_receiver == null)
|
|
295
295
|
null;
|
|
296
296
|
else {
|
|
297
297
|
// Inline function 'kotlin.let' call
|
|
298
|
-
send(this.
|
|
298
|
+
send(this.r5i_1, tmp4_safe_receiver);
|
|
299
299
|
}
|
|
300
300
|
} else {
|
|
301
301
|
if (!equals(message, PongServerMessage_instance)) {
|
|
@@ -311,39 +311,39 @@ function SubscribableWebSocket() {
|
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
|
-
|
|
315
|
-
this.
|
|
314
|
+
j5k(data) {
|
|
315
|
+
this.h5k(decodeToString(data));
|
|
316
316
|
}
|
|
317
|
-
|
|
317
|
+
k5k(cause) {
|
|
318
318
|
shutdownInternal(this, cause);
|
|
319
319
|
}
|
|
320
|
-
|
|
321
|
-
shutdownInternal(this, ApolloWebSocketClosedException().
|
|
320
|
+
l5k(code, reason) {
|
|
321
|
+
shutdownInternal(this, ApolloWebSocketClosedException().g51(code == null ? 1001 : code, reason));
|
|
322
322
|
}
|
|
323
|
-
|
|
323
|
+
l5j(request, listener) {
|
|
324
324
|
var cause = null;
|
|
325
325
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
326
|
-
this.
|
|
327
|
-
var tmp0_safe_receiver = this.
|
|
326
|
+
this.j5i_1;
|
|
327
|
+
var tmp0_safe_receiver = this.l5i_1;
|
|
328
328
|
if (tmp0_safe_receiver == null)
|
|
329
329
|
null;
|
|
330
330
|
else {
|
|
331
331
|
tmp0_safe_receiver.vz();
|
|
332
332
|
}
|
|
333
|
-
this.
|
|
333
|
+
this.l5i_1 = null;
|
|
334
334
|
var tmp;
|
|
335
|
-
switch (this.
|
|
335
|
+
switch (this.n5i_1.s1_1) {
|
|
336
336
|
case 0:
|
|
337
337
|
case 1:
|
|
338
|
-
this.
|
|
339
|
-
tmp = this.
|
|
338
|
+
this.p5i_1.s4(request.g4o_1.toString(), listener);
|
|
339
|
+
tmp = this.q5i_1.o2(request);
|
|
340
340
|
break;
|
|
341
341
|
case 2:
|
|
342
|
-
this.
|
|
343
|
-
tmp = launch(this.
|
|
342
|
+
this.p5i_1.s4(request.g4o_1.toString(), listener);
|
|
343
|
+
tmp = launch(this.k5i_1, VOID, VOID, SubscribableWebSocket$startOperation$slambda(this, request));
|
|
344
344
|
break;
|
|
345
345
|
case 3:
|
|
346
|
-
cause = DefaultApolloException().
|
|
346
|
+
cause = DefaultApolloException().c4q('Apollo: the WebSocket is shut down', this.o5i_1);
|
|
347
347
|
tmp = Unit_instance;
|
|
348
348
|
break;
|
|
349
349
|
default:
|
|
@@ -351,17 +351,17 @@ function SubscribableWebSocket() {
|
|
|
351
351
|
break;
|
|
352
352
|
}
|
|
353
353
|
if (!(cause == null)) {
|
|
354
|
-
listener.
|
|
354
|
+
listener.t5j(ensureNotNull(cause));
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
|
|
358
|
-
var id = request.
|
|
357
|
+
s5i(request) {
|
|
358
|
+
var id = request.g4o_1.toString();
|
|
359
359
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
360
|
-
this.
|
|
361
|
-
if (this.
|
|
362
|
-
this.
|
|
363
|
-
launch(this.
|
|
364
|
-
if (this.
|
|
360
|
+
this.j5i_1;
|
|
361
|
+
if (this.p5i_1.i4(id)) {
|
|
362
|
+
this.p5i_1.t4(id);
|
|
363
|
+
launch(this.k5i_1, VOID, VOID, SubscribableWebSocket$stopOperation$slambda(this, request));
|
|
364
|
+
if (this.p5i_1.j1()) {
|
|
365
365
|
restartIdleTimeout(this);
|
|
366
366
|
}
|
|
367
367
|
}
|
|
@@ -397,11 +397,11 @@ function SocketState() {
|
|
|
397
397
|
}
|
|
398
398
|
function dispatch($this, callback) {
|
|
399
399
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
400
|
-
$this.
|
|
400
|
+
$this.a5k_1;
|
|
401
401
|
// Inline function 'kotlin.also' call
|
|
402
|
-
var this_0 = $this.
|
|
402
|
+
var this_0 = $this.b5k_1;
|
|
403
403
|
if (this_0 == null) {
|
|
404
|
-
$this.
|
|
404
|
+
$this.c5k_1.o2(callback);
|
|
405
405
|
}
|
|
406
406
|
var target = this_0;
|
|
407
407
|
if (!(target == null)) {
|
|
@@ -409,30 +409,30 @@ function dispatch($this, callback) {
|
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
function BufferedWebSocketListener$onOpen$lambda(it) {
|
|
412
|
-
it.
|
|
412
|
+
it.g5k();
|
|
413
413
|
return Unit_instance;
|
|
414
414
|
}
|
|
415
415
|
function BufferedWebSocketListener$onMessage$lambda($text) {
|
|
416
416
|
return (it) => {
|
|
417
|
-
it.
|
|
417
|
+
it.h5k($text);
|
|
418
418
|
return Unit_instance;
|
|
419
419
|
};
|
|
420
420
|
}
|
|
421
421
|
function BufferedWebSocketListener$onMessage$lambda_0($data) {
|
|
422
422
|
return (it) => {
|
|
423
|
-
it.
|
|
423
|
+
it.j5k($data);
|
|
424
424
|
return Unit_instance;
|
|
425
425
|
};
|
|
426
426
|
}
|
|
427
427
|
function BufferedWebSocketListener$onError$lambda($cause) {
|
|
428
428
|
return (it) => {
|
|
429
|
-
it.
|
|
429
|
+
it.k5k($cause);
|
|
430
430
|
return Unit_instance;
|
|
431
431
|
};
|
|
432
432
|
}
|
|
433
433
|
function BufferedWebSocketListener$onClosed$lambda($code, $reason) {
|
|
434
434
|
return (it) => {
|
|
435
|
-
it.
|
|
435
|
+
it.l5k($code, $reason);
|
|
436
436
|
return Unit_instance;
|
|
437
437
|
};
|
|
438
438
|
}
|
|
@@ -443,23 +443,23 @@ function BufferedWebSocketListener() {
|
|
|
443
443
|
constructor() {
|
|
444
444
|
var tmp = this;
|
|
445
445
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
446
|
-
tmp.
|
|
447
|
-
this.
|
|
446
|
+
tmp.a5k_1 = get_atomicfu$reentrantLock();
|
|
447
|
+
this.b5k_1 = null;
|
|
448
448
|
var tmp_0 = this;
|
|
449
449
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
450
|
-
tmp_0.
|
|
450
|
+
tmp_0.c5k_1 = ArrayList().j2();
|
|
451
451
|
}
|
|
452
|
-
|
|
452
|
+
d5k(target) {
|
|
453
453
|
while (true) {
|
|
454
454
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
455
|
-
this.
|
|
456
|
-
if (this.
|
|
457
|
-
this.
|
|
455
|
+
this.a5k_1;
|
|
456
|
+
if (this.c5k_1.j1()) {
|
|
457
|
+
this.b5k_1 = target;
|
|
458
458
|
return Unit_instance;
|
|
459
459
|
}
|
|
460
460
|
// Inline function 'kotlin.also' call
|
|
461
|
-
var this_0 = toList(this.
|
|
462
|
-
this.
|
|
461
|
+
var this_0 = toList(this.c5k_1);
|
|
462
|
+
this.c5k_1.o4();
|
|
463
463
|
var callbacks = this_0;
|
|
464
464
|
// Inline function 'kotlin.collections.forEach' call
|
|
465
465
|
var _iterator__ex2g4s = callbacks.l1();
|
|
@@ -469,19 +469,19 @@ function BufferedWebSocketListener() {
|
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
|
|
472
|
+
g5k() {
|
|
473
473
|
return dispatch(this, BufferedWebSocketListener$onOpen$lambda);
|
|
474
474
|
}
|
|
475
|
-
|
|
475
|
+
h5k(text) {
|
|
476
476
|
return dispatch(this, BufferedWebSocketListener$onMessage$lambda(text));
|
|
477
477
|
}
|
|
478
|
-
|
|
478
|
+
j5k(data) {
|
|
479
479
|
return dispatch(this, BufferedWebSocketListener$onMessage$lambda_0(data));
|
|
480
480
|
}
|
|
481
|
-
|
|
481
|
+
k5k(cause) {
|
|
482
482
|
return dispatch(this, BufferedWebSocketListener$onError$lambda(cause));
|
|
483
483
|
}
|
|
484
|
-
|
|
484
|
+
l5k(code, reason) {
|
|
485
485
|
return dispatch(this, BufferedWebSocketListener$onClosed$lambda(code, reason));
|
|
486
486
|
}
|
|
487
487
|
}
|
|
@@ -492,10 +492,10 @@ function BufferedWebSocketListener() {
|
|
|
492
492
|
}
|
|
493
493
|
function send(_this__u8e3s4, clientMessage) {
|
|
494
494
|
if (clientMessage instanceof TextClientMessage()) {
|
|
495
|
-
_this__u8e3s4.
|
|
495
|
+
_this__u8e3s4.o5k(clientMessage.q5h_1);
|
|
496
496
|
} else {
|
|
497
497
|
if (clientMessage instanceof DataClientMessage()) {
|
|
498
|
-
_this__u8e3s4.
|
|
498
|
+
_this__u8e3s4.n5k(clientMessage.m5k_1);
|
|
499
499
|
} else {
|
|
500
500
|
noWhenBranchMatchedException();
|
|
501
501
|
}
|
|
@@ -19,87 +19,87 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../kotlin-kotlin-st
|
|
|
19
19
|
//endregion
|
|
20
20
|
function cleanupLocked($this, key) {
|
|
21
21
|
// Inline function 'kotlin.collections.iterator' call
|
|
22
|
-
var iterator = $this.
|
|
22
|
+
var iterator = $this.j5j_1.a3().l1();
|
|
23
23
|
while (iterator.m1()) {
|
|
24
24
|
var entry = iterator.n1();
|
|
25
|
-
if (entry.c3().
|
|
25
|
+
if (entry.c3().e5k(entry.b3().equals(key))) {
|
|
26
26
|
iterator.o6();
|
|
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.j5j_1.a3().l1();
|
|
33
33
|
while (iterator.m1()) {
|
|
34
34
|
var entry = iterator.n1();
|
|
35
|
-
entry.c3().
|
|
35
|
+
entry.c3().y5j(cause, 1001, 'Client requested closing the connection');
|
|
36
36
|
iterator.o6();
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
function key($this, url, httpHeaders) {
|
|
40
|
-
var hashingSink = Companion_instance.
|
|
40
|
+
var hashingSink = Companion_instance.s4k(blackholeSink());
|
|
41
41
|
// Inline function 'kotlin.apply' call
|
|
42
42
|
var this_0 = buffer(hashingSink);
|
|
43
|
-
this_0.
|
|
44
|
-
this_0.
|
|
43
|
+
this_0.h4k(url);
|
|
44
|
+
this_0.j4k(0);
|
|
45
45
|
// Inline function 'kotlin.collections.forEach' call
|
|
46
46
|
var _iterator__ex2g4s = httpHeaders.l1();
|
|
47
47
|
while (_iterator__ex2g4s.m1()) {
|
|
48
48
|
var element = _iterator__ex2g4s.n1();
|
|
49
|
-
this_0.
|
|
50
|
-
this_0.
|
|
49
|
+
this_0.h4k(element.h4w_1 + ': ' + element.i4w_1);
|
|
50
|
+
this_0.j4k(0);
|
|
51
51
|
}
|
|
52
52
|
this_0.wc();
|
|
53
|
-
return hashingSink.
|
|
53
|
+
return hashingSink.v4k();
|
|
54
54
|
}
|
|
55
55
|
var WebSocketPoolClass;
|
|
56
56
|
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.c5j_1 = webSocketEngine;
|
|
61
|
+
this.d5j_1 = serverUrl;
|
|
62
|
+
this.e5j_1 = wsProtocol;
|
|
63
|
+
this.f5j_1 = connectionAcknowledgeTimeout;
|
|
64
|
+
this.g5j_1 = pingInterval;
|
|
65
|
+
this.h5j_1 = idleTimeout;
|
|
66
66
|
var tmp = this;
|
|
67
67
|
// Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
|
|
68
|
-
tmp.
|
|
68
|
+
tmp.i5j_1 = get_atomicfu$reentrantLock();
|
|
69
69
|
var tmp_0 = this;
|
|
70
70
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
71
|
-
tmp_0.
|
|
71
|
+
tmp_0.j5j_1 = LinkedHashMap().mc();
|
|
72
72
|
}
|
|
73
73
|
k6() {
|
|
74
74
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
75
|
-
this.
|
|
76
|
-
closeAllConnectionsLocked(this, ApolloNetworkException().
|
|
77
|
-
this.
|
|
75
|
+
this.i5j_1;
|
|
76
|
+
closeAllConnectionsLocked(this, ApolloNetworkException().q4u('WebSocketNetworkTransport was closed'));
|
|
77
|
+
this.c5j_1.k6();
|
|
78
78
|
return Unit_instance;
|
|
79
79
|
}
|
|
80
|
-
|
|
80
|
+
k5j(apolloRequest) {
|
|
81
81
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
82
|
-
this.
|
|
83
|
-
var tmp0_elvis_lhs = apolloRequest.
|
|
84
|
-
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? this.
|
|
82
|
+
this.i5j_1;
|
|
83
|
+
var tmp0_elvis_lhs = apolloRequest.k4o_1;
|
|
84
|
+
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? this.d5j_1 : tmp0_elvis_lhs;
|
|
85
85
|
var tmp;
|
|
86
86
|
if (tmp1_elvis_lhs == null) {
|
|
87
87
|
// Inline function 'kotlin.error' call
|
|
88
|
-
var message = "ApolloRequest.url is missing for request '" + apolloRequest.
|
|
88
|
+
var message = "ApolloRequest.url is missing for request '" + apolloRequest.f4o_1.operationName() + "', did you call ApolloClient.Builder.webSocketServerUrl(url)?";
|
|
89
89
|
throw IllegalStateException().o(toString(message));
|
|
90
90
|
} else {
|
|
91
91
|
tmp = tmp1_elvis_lhs;
|
|
92
92
|
}
|
|
93
93
|
var url = tmp;
|
|
94
94
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
95
|
-
var tmp0_elvis_lhs_0 = apolloRequest.
|
|
95
|
+
var tmp0_elvis_lhs_0 = apolloRequest.m4o_1;
|
|
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.j5j_1.k4(key_0);
|
|
100
100
|
if (webSocket == null) {
|
|
101
|
-
webSocket = new (SubscribableWebSocket())(this.
|
|
102
|
-
this.
|
|
101
|
+
webSocket = new (SubscribableWebSocket())(this.c5j_1, url, httpHeaders, this.e5j_1, this.g5j_1, this.f5j_1, this.h5j_1);
|
|
102
|
+
this.j5j_1.s4(key_0, webSocket);
|
|
103
103
|
}
|
|
104
104
|
return webSocket;
|
|
105
105
|
}
|