@attocash/commons-js 5.0.0 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AccountUpdate.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +68 -68
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +56 -56
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +14 -14
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +10 -10
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +661 -661
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoHasher.js.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +17 -17
- package/commons-commons-core/cash/atto/commons/AttoNetwork.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +26 -26
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +42 -42
- package/commons-commons-core/cash/atto/commons/AttoSeed.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +8 -8
- package/commons-commons-core/cash/atto/commons/AttoSigner.js.mjs +67 -67
- package/commons-commons-core/cash/atto/commons/AttoSigner.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoSocketAddress.mjs +5 -5
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +35 -35
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +11 -11
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +37 -37
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +10 -10
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/serialiazer/AttoAddressAsByteArraySerializer.mjs +4 -4
- package/commons-commons-core/cash/atto/commons/serialiazer/InstantMillisSerializer.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/utils/Base32.mjs +9 -9
- package/commons-commons-core/cash/atto/commons/utils/SecureRandom.js.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.export.d.ts +3 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +19 -5
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +72 -72
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +812 -319
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +226 -76
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +3 -3
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +34 -34
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +56 -56
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerFactory.mjs +1 -1
- package/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +76 -76
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +133 -28
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs +28 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/NullSurrogate.mjs.map +1 -0
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +39 -39
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +189 -189
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +56 -56
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +50 -50
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +37 -37
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +59 -59
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +70 -70
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +13 -13
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +10 -10
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +36 -36
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +7 -7
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +84 -84
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +141 -141
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +98 -98
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +151 -151
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +59 -59
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +22 -22
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +219 -219
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +15 -15
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Loader.js.mjs +2 -2
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +241 -241
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +133 -133
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +85 -85
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +41 -41
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +54 -54
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +51 -51
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +27 -27
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +60 -60
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +40 -40
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +21 -21
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/network/sockets/TimeoutExceptions.nonJvm.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +61 -61
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +45 -45
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +125 -125
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +138 -138
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +70 -70
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +53 -53
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +42 -42
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +63 -63
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +98 -98
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +35 -35
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +45 -45
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +65 -65
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +17 -17
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +64 -64
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +24 -24
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +52 -52
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +35 -35
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
- package/ktor-ktor-events/io/ktor/events/Events.mjs +5 -5
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +114 -114
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/Query.mjs +3 -3
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +58 -58
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +25 -25
- package/ktor-ktor-http/io/ktor/http/Url.mjs +72 -72
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +4 -4
- package/ktor-ktor-http-cio/io/ktor/http/cio/ChunkedTransferEncoding.mjs +106 -106
- package/ktor-ktor-http-cio/io/ktor/http/cio/ConnectionOptions.mjs +31 -31
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpBody.mjs +15 -15
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +100 -100
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +69 -69
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +113 -113
- package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponse.mjs +9 -9
- package/ktor-ktor-http-cio/io/ktor/http/cio/RequestResponseBuilderJs.mjs +21 -21
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +17 -17
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +21 -21
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Tokenizer.mjs +7 -7
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +141 -141
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +75 -75
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelUtils.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +230 -230
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +72 -72
- package/ktor-ktor-io/io/ktor/utils/io/CloseHookByteWriteChannel.mjs +14 -14
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +26 -26
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +27 -27
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +1 -1
- package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
- package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +50 -50
- package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +104 -104
- package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +30 -30
- package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +58 -58
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/Extensions.mjs +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +122 -122
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +4 -4
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +6 -6
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +33 -33
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +31 -31
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +83 -83
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/collections/ConcurrentMapJs.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +67 -67
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +6 -6
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/network/NetworkAddressJs.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +32 -32
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +49 -49
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +19 -19
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +41 -41
- package/ktor-ktor-websockets/io/ktor/websocket/FrameTooBigException.mjs +5 -5
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +9 -9
- package/ktor-ktor-websockets/io/ktor/websocket/ProtocolViolationException.mjs +5 -5
- package/ktor-ktor-websockets/io/ktor/websocket/RawWebSocketCommon.mjs +150 -150
- package/package.json +1 -1
|
@@ -37,10 +37,10 @@ var imul = Math.imul;
|
|
|
37
37
|
//region block: pre-declaration
|
|
38
38
|
//endregion
|
|
39
39
|
function AttoReceivable$Companion$$childSerializers$_anonymous__bzviio() {
|
|
40
|
-
return Companion_getInstance().
|
|
40
|
+
return Companion_getInstance().e2v();
|
|
41
41
|
}
|
|
42
42
|
function AttoReceivable$Companion$$childSerializers$_anonymous__bzviio_0() {
|
|
43
|
-
return Companion_getInstance().
|
|
43
|
+
return Companion_getInstance().e2v();
|
|
44
44
|
}
|
|
45
45
|
var CompanionClass;
|
|
46
46
|
function Companion() {
|
|
@@ -55,9 +55,9 @@ function Companion() {
|
|
|
55
55
|
// Inline function 'kotlin.arrayOf' call
|
|
56
56
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
57
57
|
// Inline function 'kotlin.js.asDynamic' call
|
|
58
|
-
tmp.
|
|
58
|
+
tmp.c33_1 = [null, null, tmp_1, null, null, lazy(tmp_2, AttoReceivable$Companion$$childSerializers$_anonymous__bzviio_0), null, null];
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
e2v() {
|
|
61
61
|
return $serializer_getInstance();
|
|
62
62
|
}
|
|
63
63
|
}
|
|
@@ -87,12 +87,12 @@ function $serializer() {
|
|
|
87
87
|
tmp0_serialDesc.w14('receiverAlgorithm', false);
|
|
88
88
|
tmp0_serialDesc.w14('receiverPublicKey', false);
|
|
89
89
|
tmp0_serialDesc.w14('amount', false);
|
|
90
|
-
this.
|
|
90
|
+
this.d33_1 = tmp0_serialDesc;
|
|
91
91
|
}
|
|
92
|
-
|
|
93
|
-
var tmp0_desc = this.
|
|
92
|
+
e33(encoder, value) {
|
|
93
|
+
var tmp0_desc = this.d33_1;
|
|
94
94
|
var tmp1_output = encoder.kx(tmp0_desc);
|
|
95
|
-
var tmp2_cached = Companion_getInstance_0().
|
|
95
|
+
var tmp2_cached = Companion_getInstance_0().c33_1;
|
|
96
96
|
tmp1_output.bz(tmp0_desc, 0, AttoHashSerializer_getInstance(), value.hash);
|
|
97
97
|
tmp1_output.bz(tmp0_desc, 1, AttoVersionSerializer_getInstance(), value.version);
|
|
98
98
|
tmp1_output.bz(tmp0_desc, 2, tmp2_cached[2].s1(), value.algorithm);
|
|
@@ -104,10 +104,10 @@ function $serializer() {
|
|
|
104
104
|
tmp1_output.lx(tmp0_desc);
|
|
105
105
|
}
|
|
106
106
|
ys(encoder, value) {
|
|
107
|
-
return this.
|
|
107
|
+
return this.e33(encoder, value instanceof AttoReceivable() ? value : THROW_CCE());
|
|
108
108
|
}
|
|
109
109
|
zs(decoder) {
|
|
110
|
-
var tmp0_desc = this.
|
|
110
|
+
var tmp0_desc = this.d33_1;
|
|
111
111
|
var tmp1_flag = true;
|
|
112
112
|
var tmp2_index = 0;
|
|
113
113
|
var tmp3_bitMask0 = 0;
|
|
@@ -120,7 +120,7 @@ function $serializer() {
|
|
|
120
120
|
var tmp10_local6 = null;
|
|
121
121
|
var tmp11_local7 = null;
|
|
122
122
|
var tmp14_input = decoder.kx(tmp0_desc);
|
|
123
|
-
var tmp15_cached = Companion_getInstance_0().
|
|
123
|
+
var tmp15_cached = Companion_getInstance_0().c33_1;
|
|
124
124
|
if (tmp14_input.zx()) {
|
|
125
125
|
tmp4_local0 = tmp14_input.wx(tmp0_desc, 0, AttoHashSerializer_getInstance(), tmp4_local0);
|
|
126
126
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -182,13 +182,13 @@ function $serializer() {
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
tmp14_input.lx(tmp0_desc);
|
|
185
|
-
return AttoReceivable().
|
|
185
|
+
return AttoReceivable().f33(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
186
186
|
}
|
|
187
187
|
xs() {
|
|
188
|
-
return this.
|
|
188
|
+
return this.d33_1;
|
|
189
189
|
}
|
|
190
190
|
l15() {
|
|
191
|
-
var tmp0_cached = Companion_getInstance_0().
|
|
191
|
+
var tmp0_cached = Companion_getInstance_0().c33_1;
|
|
192
192
|
// Inline function 'kotlin.arrayOf' call
|
|
193
193
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
194
194
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -252,43 +252,43 @@ function AttoReceivable() {
|
|
|
252
252
|
this.receiverPublicKey = receiverPublicKey;
|
|
253
253
|
this.amount = amount;
|
|
254
254
|
var tmp = this;
|
|
255
|
-
tmp.
|
|
255
|
+
tmp.h2v_1 = lazy_0(AttoReceivable$address$delegate$lambda(this));
|
|
256
256
|
var tmp_0 = this;
|
|
257
|
-
tmp_0.
|
|
257
|
+
tmp_0.i2v_1 = lazy_0(AttoReceivable$receiverAddress$delegate$lambda(this));
|
|
258
258
|
}
|
|
259
|
-
|
|
259
|
+
j2x() {
|
|
260
260
|
return this.hash;
|
|
261
261
|
}
|
|
262
|
-
|
|
262
|
+
g2w() {
|
|
263
263
|
return this.version;
|
|
264
264
|
}
|
|
265
|
-
|
|
265
|
+
h2w() {
|
|
266
266
|
return this.algorithm;
|
|
267
267
|
}
|
|
268
|
-
|
|
268
|
+
e2w() {
|
|
269
269
|
return this.publicKey;
|
|
270
270
|
}
|
|
271
|
-
|
|
271
|
+
o2x() {
|
|
272
272
|
return this.timestamp;
|
|
273
273
|
}
|
|
274
|
-
|
|
274
|
+
z2z() {
|
|
275
275
|
return this.receiverAlgorithm;
|
|
276
276
|
}
|
|
277
|
-
|
|
277
|
+
a30() {
|
|
278
278
|
return this.receiverPublicKey;
|
|
279
279
|
}
|
|
280
|
-
|
|
280
|
+
b30() {
|
|
281
281
|
return this.amount;
|
|
282
282
|
}
|
|
283
|
-
|
|
284
|
-
var tmp0 = this.
|
|
283
|
+
o2w() {
|
|
284
|
+
var tmp0 = this.h2v_1;
|
|
285
285
|
var tmp = KProperty1();
|
|
286
286
|
// Inline function 'kotlin.getValue' call
|
|
287
287
|
getPropertyCallableRef('address', 1, tmp, AttoReceivable$_get_address_$ref_d98trm(), null);
|
|
288
288
|
return tmp0.s1();
|
|
289
289
|
}
|
|
290
|
-
|
|
291
|
-
var tmp0 = this.
|
|
290
|
+
c30() {
|
|
291
|
+
var tmp0 = this.i2v_1;
|
|
292
292
|
var tmp = KProperty1();
|
|
293
293
|
// Inline function 'kotlin.getValue' call
|
|
294
294
|
getPropertyCallableRef('receiverAddress', 1, tmp, AttoReceivable$_get_receiverAddress_$ref_i4thz5(), null);
|
|
@@ -300,25 +300,25 @@ function AttoReceivable() {
|
|
|
300
300
|
hl() {
|
|
301
301
|
return this.version;
|
|
302
302
|
}
|
|
303
|
-
|
|
303
|
+
t2w() {
|
|
304
304
|
return this.algorithm;
|
|
305
305
|
}
|
|
306
|
-
|
|
306
|
+
u2w() {
|
|
307
307
|
return this.publicKey;
|
|
308
308
|
}
|
|
309
|
-
|
|
309
|
+
v2w() {
|
|
310
310
|
return this.timestamp;
|
|
311
311
|
}
|
|
312
|
-
|
|
312
|
+
w2w() {
|
|
313
313
|
return this.receiverAlgorithm;
|
|
314
314
|
}
|
|
315
|
-
|
|
315
|
+
x2w() {
|
|
316
316
|
return this.receiverPublicKey;
|
|
317
317
|
}
|
|
318
|
-
|
|
318
|
+
y2w() {
|
|
319
319
|
return this.amount;
|
|
320
320
|
}
|
|
321
|
-
|
|
321
|
+
g33(hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount) {
|
|
322
322
|
return new (AttoReceivable())(hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount);
|
|
323
323
|
}
|
|
324
324
|
copy(hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount, $super) {
|
|
@@ -330,7 +330,7 @@ function AttoReceivable() {
|
|
|
330
330
|
receiverAlgorithm = receiverAlgorithm === VOID ? this.receiverAlgorithm : receiverAlgorithm;
|
|
331
331
|
receiverPublicKey = receiverPublicKey === VOID ? this.receiverPublicKey : receiverPublicKey;
|
|
332
332
|
amount = amount === VOID ? this.amount : amount;
|
|
333
|
-
return $super === VOID ? this.
|
|
333
|
+
return $super === VOID ? this.g33(hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount) : $super.g33.call(this, hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount);
|
|
334
334
|
}
|
|
335
335
|
toString() {
|
|
336
336
|
return 'AttoReceivable(hash=' + this.hash.toString() + ', version=' + this.version.toString() + ', algorithm=' + this.algorithm.toString() + ', publicKey=' + this.publicKey.toString() + ', timestamp=' + this.timestamp.toString() + ', receiverAlgorithm=' + this.receiverAlgorithm.toString() + ', receiverPublicKey=' + this.receiverPublicKey.toString() + ', amount=' + this.amount.toString() + ')';
|
|
@@ -370,10 +370,10 @@ function AttoReceivable() {
|
|
|
370
370
|
return false;
|
|
371
371
|
return true;
|
|
372
372
|
}
|
|
373
|
-
static
|
|
373
|
+
static f33(seen0, hash, version, algorithm, publicKey, timestamp, receiverAlgorithm, receiverPublicKey, amount, serializationConstructorMarker) {
|
|
374
374
|
Companion_getInstance_0();
|
|
375
375
|
if (!(255 === (255 & seen0))) {
|
|
376
|
-
throwMissingFieldException(seen0, 255, $serializer_getInstance().
|
|
376
|
+
throwMissingFieldException(seen0, 255, $serializer_getInstance().d33_1);
|
|
377
377
|
}
|
|
378
378
|
var $this = createThis(this);
|
|
379
379
|
$this.hash = hash;
|
|
@@ -385,16 +385,16 @@ function AttoReceivable() {
|
|
|
385
385
|
$this.receiverPublicKey = receiverPublicKey;
|
|
386
386
|
$this.amount = amount;
|
|
387
387
|
var tmp = $this;
|
|
388
|
-
tmp.
|
|
388
|
+
tmp.h2v_1 = lazy_0(AttoReceivable$_init_$lambda_w0w201($this));
|
|
389
389
|
var tmp_0 = $this;
|
|
390
|
-
tmp_0.
|
|
390
|
+
tmp_0.i2v_1 = lazy_0(AttoReceivable$_init_$lambda_w0w201_0($this));
|
|
391
391
|
return $this;
|
|
392
392
|
}
|
|
393
393
|
get address() {
|
|
394
|
-
return this.
|
|
394
|
+
return this.o2w();
|
|
395
395
|
}
|
|
396
396
|
get receiverAddress() {
|
|
397
|
-
return this.
|
|
397
|
+
return this.c30();
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
initMetadataForClass($, 'AttoReceivable', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance});
|
|
@@ -39,12 +39,12 @@ function AttoSeed() {
|
|
|
39
39
|
gl() {
|
|
40
40
|
return this.value;
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
v31(value) {
|
|
43
43
|
return new (AttoSeed())(value);
|
|
44
44
|
}
|
|
45
45
|
copy(value, $super) {
|
|
46
46
|
value = value === VOID ? this.value : value;
|
|
47
|
-
return $super === VOID ? this.
|
|
47
|
+
return $super === VOID ? this.v31(value) : $super.v31.call(this, value);
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
initMetadataForClass($, 'AttoSeed');
|
|
@@ -29,13 +29,13 @@ function Companion() {
|
|
|
29
29
|
constructor() {
|
|
30
30
|
this.SIZE = 64;
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
h33() {
|
|
33
33
|
return this.SIZE;
|
|
34
34
|
}
|
|
35
35
|
parse(value) {
|
|
36
36
|
return new (AttoSignature())(fromHexToByteArray(value));
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
e2v() {
|
|
39
39
|
return AttoSignatureSerializer_getInstance();
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -75,12 +75,12 @@ function AttoSignature() {
|
|
|
75
75
|
gl() {
|
|
76
76
|
return this.value;
|
|
77
77
|
}
|
|
78
|
-
|
|
78
|
+
v31(value) {
|
|
79
79
|
return new (AttoSignature())(value);
|
|
80
80
|
}
|
|
81
81
|
copy(value, $super) {
|
|
82
82
|
value = value === VOID ? this.value : value;
|
|
83
|
-
return $super === VOID ? this.
|
|
83
|
+
return $super === VOID ? this.v31(value) : $super.v31.call(this, value);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
initMetadataForClass($, 'AttoSignature', VOID, VOID, VOID, VOID, VOID, {0: AttoSignatureSerializer_getInstance});
|
|
@@ -94,16 +94,16 @@ function AttoSignatureSerializer() {
|
|
|
94
94
|
class $ {
|
|
95
95
|
constructor() {
|
|
96
96
|
AttoSignatureSerializer_instance = this;
|
|
97
|
-
this.
|
|
97
|
+
this.i33_1 = PrimitiveSerialDescriptor('AttoSignature', STRING_getInstance());
|
|
98
98
|
}
|
|
99
99
|
xs() {
|
|
100
|
-
return this.
|
|
100
|
+
return this.i33_1;
|
|
101
101
|
}
|
|
102
|
-
|
|
102
|
+
j33(encoder, value) {
|
|
103
103
|
encoder.oy(value.toString());
|
|
104
104
|
}
|
|
105
105
|
ys(encoder, value) {
|
|
106
|
-
return this.
|
|
106
|
+
return this.j33(encoder, value instanceof AttoSignature() ? value : THROW_CCE());
|
|
107
107
|
}
|
|
108
108
|
zs(decoder) {
|
|
109
109
|
return Companion_instance.parse(decoder.fx());
|
|
@@ -58,18 +58,18 @@ function AttoSignerJsImpl$signHash$slambda() {
|
|
|
58
58
|
constructor(this$0, $hash, resultContinuation, $box) {
|
|
59
59
|
if ($box === VOID)
|
|
60
60
|
$box = {};
|
|
61
|
-
$box.
|
|
62
|
-
$box.
|
|
61
|
+
$box.z35_1 = this$0;
|
|
62
|
+
$box.a36_1 = $hash;
|
|
63
63
|
super(resultContinuation, $box);
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
var tmp = this.
|
|
65
|
+
c36($this$promise, $completion) {
|
|
66
|
+
var tmp = this.d36($this$promise, $completion);
|
|
67
67
|
tmp.cc_1 = Unit_instance;
|
|
68
68
|
tmp.dc_1 = null;
|
|
69
69
|
return tmp.ic();
|
|
70
70
|
}
|
|
71
71
|
kd(p1, $completion) {
|
|
72
|
-
return this.
|
|
72
|
+
return this.c36((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
73
73
|
}
|
|
74
74
|
ic() {
|
|
75
75
|
var suspendResult = this.cc_1;
|
|
@@ -80,7 +80,7 @@ function AttoSignerJsImpl$signHash$slambda() {
|
|
|
80
80
|
case 0:
|
|
81
81
|
this.bc_1 = 2;
|
|
82
82
|
this.ac_1 = 1;
|
|
83
|
-
suspendResult = this.
|
|
83
|
+
suspendResult = this.z35_1.e36_1.v33(this.a36_1, this);
|
|
84
84
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
85
85
|
return suspendResult;
|
|
86
86
|
}
|
|
@@ -102,9 +102,9 @@ function AttoSignerJsImpl$signHash$slambda() {
|
|
|
102
102
|
}
|
|
103
103
|
while (true);
|
|
104
104
|
}
|
|
105
|
-
|
|
106
|
-
var i = new (AttoSignerJsImpl$signHash$slambda())(this.
|
|
107
|
-
i.
|
|
105
|
+
d36($this$promise, completion) {
|
|
106
|
+
var i = new (AttoSignerJsImpl$signHash$slambda())(this.z35_1, this.a36_1, completion);
|
|
107
|
+
i.b36_1 = $this$promise;
|
|
108
108
|
return i;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -116,7 +116,7 @@ function AttoSignerJsImpl$signHash$slambda() {
|
|
|
116
116
|
function AttoSignerJsImpl$signHash$slambda_0(this$0, $hash, resultContinuation) {
|
|
117
117
|
var i = new (AttoSignerJsImpl$signHash$slambda())(this$0, $hash, resultContinuation);
|
|
118
118
|
var l = function ($this$promise, $completion) {
|
|
119
|
-
return i.
|
|
119
|
+
return i.c36($this$promise, $completion);
|
|
120
120
|
};
|
|
121
121
|
l.$arity = 1;
|
|
122
122
|
return l;
|
|
@@ -128,18 +128,18 @@ function AttoSignerJsImpl$signBlock$slambda() {
|
|
|
128
128
|
constructor(this$0, $block, resultContinuation, $box) {
|
|
129
129
|
if ($box === VOID)
|
|
130
130
|
$box = {};
|
|
131
|
-
$box.
|
|
132
|
-
$box.
|
|
131
|
+
$box.o36_1 = this$0;
|
|
132
|
+
$box.p36_1 = $block;
|
|
133
133
|
super(resultContinuation, $box);
|
|
134
134
|
}
|
|
135
|
-
|
|
136
|
-
var tmp = this.
|
|
135
|
+
c36($this$promise, $completion) {
|
|
136
|
+
var tmp = this.d36($this$promise, $completion);
|
|
137
137
|
tmp.cc_1 = Unit_instance;
|
|
138
138
|
tmp.dc_1 = null;
|
|
139
139
|
return tmp.ic();
|
|
140
140
|
}
|
|
141
141
|
kd(p1, $completion) {
|
|
142
|
-
return this.
|
|
142
|
+
return this.c36((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
143
143
|
}
|
|
144
144
|
ic() {
|
|
145
145
|
var suspendResult = this.cc_1;
|
|
@@ -150,7 +150,7 @@ function AttoSignerJsImpl$signBlock$slambda() {
|
|
|
150
150
|
case 0:
|
|
151
151
|
this.bc_1 = 2;
|
|
152
152
|
this.ac_1 = 1;
|
|
153
|
-
suspendResult = this.
|
|
153
|
+
suspendResult = this.o36_1.e36_1.h34(this.p36_1, this);
|
|
154
154
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
155
155
|
return suspendResult;
|
|
156
156
|
}
|
|
@@ -172,9 +172,9 @@ function AttoSignerJsImpl$signBlock$slambda() {
|
|
|
172
172
|
}
|
|
173
173
|
while (true);
|
|
174
174
|
}
|
|
175
|
-
|
|
176
|
-
var i = new (AttoSignerJsImpl$signBlock$slambda())(this.
|
|
177
|
-
i.
|
|
175
|
+
d36($this$promise, completion) {
|
|
176
|
+
var i = new (AttoSignerJsImpl$signBlock$slambda())(this.o36_1, this.p36_1, completion);
|
|
177
|
+
i.q36_1 = $this$promise;
|
|
178
178
|
return i;
|
|
179
179
|
}
|
|
180
180
|
}
|
|
@@ -186,7 +186,7 @@ function AttoSignerJsImpl$signBlock$slambda() {
|
|
|
186
186
|
function AttoSignerJsImpl$signBlock$slambda_0(this$0, $block, resultContinuation) {
|
|
187
187
|
var i = new (AttoSignerJsImpl$signBlock$slambda())(this$0, $block, resultContinuation);
|
|
188
188
|
var l = function ($this$promise, $completion) {
|
|
189
|
-
return i.
|
|
189
|
+
return i.c36($this$promise, $completion);
|
|
190
190
|
};
|
|
191
191
|
l.$arity = 1;
|
|
192
192
|
return l;
|
|
@@ -198,18 +198,18 @@ function AttoSignerJsImpl$signVote$slambda() {
|
|
|
198
198
|
constructor(this$0, $vote, resultContinuation, $box) {
|
|
199
199
|
if ($box === VOID)
|
|
200
200
|
$box = {};
|
|
201
|
-
$box.
|
|
202
|
-
$box.
|
|
201
|
+
$box.z36_1 = this$0;
|
|
202
|
+
$box.a37_1 = $vote;
|
|
203
203
|
super(resultContinuation, $box);
|
|
204
204
|
}
|
|
205
|
-
|
|
206
|
-
var tmp = this.
|
|
205
|
+
c36($this$promise, $completion) {
|
|
206
|
+
var tmp = this.d36($this$promise, $completion);
|
|
207
207
|
tmp.cc_1 = Unit_instance;
|
|
208
208
|
tmp.dc_1 = null;
|
|
209
209
|
return tmp.ic();
|
|
210
210
|
}
|
|
211
211
|
kd(p1, $completion) {
|
|
212
|
-
return this.
|
|
212
|
+
return this.c36((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
213
213
|
}
|
|
214
214
|
ic() {
|
|
215
215
|
var suspendResult = this.cc_1;
|
|
@@ -220,7 +220,7 @@ function AttoSignerJsImpl$signVote$slambda() {
|
|
|
220
220
|
case 0:
|
|
221
221
|
this.bc_1 = 2;
|
|
222
222
|
this.ac_1 = 1;
|
|
223
|
-
suspendResult = this.
|
|
223
|
+
suspendResult = this.z36_1.e36_1.i34(this.a37_1, this);
|
|
224
224
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
225
225
|
return suspendResult;
|
|
226
226
|
}
|
|
@@ -242,9 +242,9 @@ function AttoSignerJsImpl$signVote$slambda() {
|
|
|
242
242
|
}
|
|
243
243
|
while (true);
|
|
244
244
|
}
|
|
245
|
-
|
|
246
|
-
var i = new (AttoSignerJsImpl$signVote$slambda())(this.
|
|
247
|
-
i.
|
|
245
|
+
d36($this$promise, completion) {
|
|
246
|
+
var i = new (AttoSignerJsImpl$signVote$slambda())(this.z36_1, this.a37_1, completion);
|
|
247
|
+
i.b37_1 = $this$promise;
|
|
248
248
|
return i;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
@@ -256,7 +256,7 @@ function AttoSignerJsImpl$signVote$slambda() {
|
|
|
256
256
|
function AttoSignerJsImpl$signVote$slambda_0(this$0, $vote, resultContinuation) {
|
|
257
257
|
var i = new (AttoSignerJsImpl$signVote$slambda())(this$0, $vote, resultContinuation);
|
|
258
258
|
var l = function ($this$promise, $completion) {
|
|
259
|
-
return i.
|
|
259
|
+
return i.c36($this$promise, $completion);
|
|
260
260
|
};
|
|
261
261
|
l.$arity = 1;
|
|
262
262
|
return l;
|
|
@@ -268,19 +268,19 @@ function AttoSignerJsImpl$signChallenge$slambda() {
|
|
|
268
268
|
constructor(this$0, $challenge, $timestamp, resultContinuation, $box) {
|
|
269
269
|
if ($box === VOID)
|
|
270
270
|
$box = {};
|
|
271
|
-
$box.
|
|
272
|
-
$box.
|
|
273
|
-
$box.
|
|
271
|
+
$box.k37_1 = this$0;
|
|
272
|
+
$box.l37_1 = $challenge;
|
|
273
|
+
$box.m37_1 = $timestamp;
|
|
274
274
|
super(resultContinuation, $box);
|
|
275
275
|
}
|
|
276
|
-
|
|
277
|
-
var tmp = this.
|
|
276
|
+
c36($this$promise, $completion) {
|
|
277
|
+
var tmp = this.d36($this$promise, $completion);
|
|
278
278
|
tmp.cc_1 = Unit_instance;
|
|
279
279
|
tmp.dc_1 = null;
|
|
280
280
|
return tmp.ic();
|
|
281
281
|
}
|
|
282
282
|
kd(p1, $completion) {
|
|
283
|
-
return this.
|
|
283
|
+
return this.c36((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
284
284
|
}
|
|
285
285
|
ic() {
|
|
286
286
|
var suspendResult = this.cc_1;
|
|
@@ -291,7 +291,7 @@ function AttoSignerJsImpl$signChallenge$slambda() {
|
|
|
291
291
|
case 0:
|
|
292
292
|
this.bc_1 = 2;
|
|
293
293
|
this.ac_1 = 1;
|
|
294
|
-
suspendResult = this.
|
|
294
|
+
suspendResult = this.k37_1.e36_1.j34(this.l37_1, Companion_getInstance().h1v(this.m37_1), this);
|
|
295
295
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
296
296
|
return suspendResult;
|
|
297
297
|
}
|
|
@@ -313,9 +313,9 @@ function AttoSignerJsImpl$signChallenge$slambda() {
|
|
|
313
313
|
}
|
|
314
314
|
while (true);
|
|
315
315
|
}
|
|
316
|
-
|
|
317
|
-
var i = new (AttoSignerJsImpl$signChallenge$slambda())(this.
|
|
318
|
-
i.
|
|
316
|
+
d36($this$promise, completion) {
|
|
317
|
+
var i = new (AttoSignerJsImpl$signChallenge$slambda())(this.k37_1, this.l37_1, this.m37_1, completion);
|
|
318
|
+
i.n37_1 = $this$promise;
|
|
319
319
|
return i;
|
|
320
320
|
}
|
|
321
321
|
}
|
|
@@ -327,7 +327,7 @@ function AttoSignerJsImpl$signChallenge$slambda() {
|
|
|
327
327
|
function AttoSignerJsImpl$signChallenge$slambda_0(this$0, $challenge, $timestamp, resultContinuation) {
|
|
328
328
|
var i = new (AttoSignerJsImpl$signChallenge$slambda())(this$0, $challenge, $timestamp, resultContinuation);
|
|
329
329
|
var l = function ($this$promise, $completion) {
|
|
330
|
-
return i.
|
|
330
|
+
return i.c36($this$promise, $completion);
|
|
331
331
|
};
|
|
332
332
|
l.$arity = 1;
|
|
333
333
|
return l;
|
|
@@ -339,18 +339,18 @@ function AttoSignerJsImpl$checkPublicKey$slambda() {
|
|
|
339
339
|
constructor(this$0, $publicKey, resultContinuation, $box) {
|
|
340
340
|
if ($box === VOID)
|
|
341
341
|
$box = {};
|
|
342
|
-
$box.
|
|
343
|
-
$box.
|
|
342
|
+
$box.w37_1 = this$0;
|
|
343
|
+
$box.x37_1 = $publicKey;
|
|
344
344
|
super(resultContinuation, $box);
|
|
345
345
|
}
|
|
346
|
-
|
|
347
|
-
var tmp = this.
|
|
346
|
+
z37($this$promise, $completion) {
|
|
347
|
+
var tmp = this.d36($this$promise, $completion);
|
|
348
348
|
tmp.cc_1 = Unit_instance;
|
|
349
349
|
tmp.dc_1 = null;
|
|
350
350
|
return tmp.ic();
|
|
351
351
|
}
|
|
352
352
|
kd(p1, $completion) {
|
|
353
|
-
return this.
|
|
353
|
+
return this.z37((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
354
354
|
}
|
|
355
355
|
ic() {
|
|
356
356
|
var suspendResult = this.cc_1;
|
|
@@ -361,7 +361,7 @@ function AttoSignerJsImpl$checkPublicKey$slambda() {
|
|
|
361
361
|
case 0:
|
|
362
362
|
this.bc_1 = 2;
|
|
363
363
|
this.ac_1 = 1;
|
|
364
|
-
suspendResult = this.
|
|
364
|
+
suspendResult = this.w37_1.e36_1.u33(this.x37_1, this);
|
|
365
365
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
366
366
|
return suspendResult;
|
|
367
367
|
}
|
|
@@ -383,9 +383,9 @@ function AttoSignerJsImpl$checkPublicKey$slambda() {
|
|
|
383
383
|
}
|
|
384
384
|
while (true);
|
|
385
385
|
}
|
|
386
|
-
|
|
387
|
-
var i = new (AttoSignerJsImpl$checkPublicKey$slambda())(this.
|
|
388
|
-
i.
|
|
386
|
+
d36($this$promise, completion) {
|
|
387
|
+
var i = new (AttoSignerJsImpl$checkPublicKey$slambda())(this.w37_1, this.x37_1, completion);
|
|
388
|
+
i.y37_1 = $this$promise;
|
|
389
389
|
return i;
|
|
390
390
|
}
|
|
391
391
|
}
|
|
@@ -397,7 +397,7 @@ function AttoSignerJsImpl$checkPublicKey$slambda() {
|
|
|
397
397
|
function AttoSignerJsImpl$checkPublicKey$slambda_0(this$0, $publicKey, resultContinuation) {
|
|
398
398
|
var i = new (AttoSignerJsImpl$checkPublicKey$slambda())(this$0, $publicKey, resultContinuation);
|
|
399
399
|
var l = function ($this$promise, $completion) {
|
|
400
|
-
return i.
|
|
400
|
+
return i.z37($this$promise, $completion);
|
|
401
401
|
};
|
|
402
402
|
l.$arity = 1;
|
|
403
403
|
return l;
|
|
@@ -407,11 +407,11 @@ function AttoSignerJsImpl() {
|
|
|
407
407
|
if (AttoSignerJsImplClass === VOID) {
|
|
408
408
|
class $ {
|
|
409
409
|
constructor(signer) {
|
|
410
|
-
this.
|
|
411
|
-
this.
|
|
410
|
+
this.e36_1 = signer;
|
|
411
|
+
this.f36_1 = this.e36_1.e2w();
|
|
412
412
|
}
|
|
413
|
-
|
|
414
|
-
return this.
|
|
413
|
+
e2w() {
|
|
414
|
+
return this.f36_1;
|
|
415
415
|
}
|
|
416
416
|
signHash(hash) {
|
|
417
417
|
var tmp = GlobalScope_instance;
|
|
@@ -434,7 +434,7 @@ function AttoSignerJsImpl() {
|
|
|
434
434
|
return promise(tmp, VOID, VOID, AttoSignerJsImpl$checkPublicKey$slambda_0(this, publicKey, null));
|
|
435
435
|
}
|
|
436
436
|
get publicKey() {
|
|
437
|
-
return this.
|
|
437
|
+
return this.e2w();
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
440
|
initMetadataForClass($, 'AttoSignerJsImpl', VOID, VOID, [AttoSignerJs()]);
|
|
@@ -447,22 +447,22 @@ function InMemorySigner() {
|
|
|
447
447
|
if (InMemorySignerClass === VOID) {
|
|
448
448
|
class $ {
|
|
449
449
|
constructor(privateKey) {
|
|
450
|
-
this.
|
|
451
|
-
this.
|
|
452
|
-
this.
|
|
450
|
+
this.a38_1 = privateKey;
|
|
451
|
+
this.b38_1 = toPublicKey(this.a38_1);
|
|
452
|
+
this.c38_1 = generateKeyPairFromSeed(toUint8Array(this.a38_1.value));
|
|
453
453
|
}
|
|
454
|
-
|
|
455
|
-
return this.
|
|
454
|
+
e2w() {
|
|
455
|
+
return this.b38_1;
|
|
456
456
|
}
|
|
457
|
-
|
|
458
|
-
var signature = sign(this.
|
|
457
|
+
v33(hash, $completion) {
|
|
458
|
+
var signature = sign(this.c38_1.secretKey, toUint8Array(hash.value));
|
|
459
459
|
return new (AttoSignature())(toByteArray(signature));
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
protoOf($).
|
|
463
|
-
protoOf($).
|
|
464
|
-
protoOf($).
|
|
465
|
-
protoOf($).
|
|
462
|
+
protoOf($).h34 = sign_0;
|
|
463
|
+
protoOf($).i34 = sign_1;
|
|
464
|
+
protoOf($).j34 = sign_2;
|
|
465
|
+
protoOf($).u33 = checkPublicKey;
|
|
466
466
|
initMetadataForClass($, 'InMemorySigner', VOID, VOID, [AttoSigner()], [1, 2]);
|
|
467
467
|
InMemorySignerClass = $;
|
|
468
468
|
}
|