diff --git a/kotlinx-uuid-core/api/kotlinx-uuid-core.klib.api b/kotlinx-uuid-core/api/kotlinx-uuid-core.klib.api index 26aa938..907321f 100644 --- a/kotlinx-uuid-core/api/kotlinx-uuid-core.klib.api +++ b/kotlinx-uuid-core/api/kotlinx-uuid-core.klib.api @@ -1,5 +1,5 @@ // Klib ABI Dump -// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64] +// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, wasmWasi, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64] // Alias: apple => [iosArm64, iosSimulatorArm64, iosX64, macosArm64, macosX64, tvosArm64, tvosSimulatorArm64, tvosX64, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64] // Rendering settings: // - Signature version: 2 diff --git a/kotlinx-uuid-core/build.gradle.kts b/kotlinx-uuid-core/build.gradle.kts index cb626dd..e770d2a 100644 --- a/kotlinx-uuid-core/build.gradle.kts +++ b/kotlinx-uuid-core/build.gradle.kts @@ -13,6 +13,13 @@ plugins { } kotlin { + wasmJs { + nodejs() + } + wasmWasi { + nodejs() + } + sourceSets { commonMain { dependencies { diff --git a/kotlinx-uuid-datetime/api/kotlinx-uuid-datetime.klib.api b/kotlinx-uuid-datetime/api/kotlinx-uuid-datetime.klib.api index 4159c55..77e2a11 100644 --- a/kotlinx-uuid-datetime/api/kotlinx-uuid-datetime.klib.api +++ b/kotlinx-uuid-datetime/api/kotlinx-uuid-datetime.klib.api @@ -1,5 +1,5 @@ // Klib ABI Dump -// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64] +// Targets: [androidNativeArm32, androidNativeArm64, androidNativeX64, androidNativeX86, iosArm64, iosSimulatorArm64, iosX64, js, linuxArm64, linuxX64, macosArm64, macosX64, mingwX64, tvosArm64, tvosSimulatorArm64, tvosX64, wasmJs, watchosArm32, watchosArm64, watchosDeviceArm64, watchosSimulatorArm64, watchosX64] // Rendering settings: // - Signature version: 2 // - Show manifest properties: true diff --git a/kotlinx-uuid-datetime/build.gradle.kts b/kotlinx-uuid-datetime/build.gradle.kts index adf0627..7035b53 100644 --- a/kotlinx-uuid-datetime/build.gradle.kts +++ b/kotlinx-uuid-datetime/build.gradle.kts @@ -7,16 +7,22 @@ plugins { id("kotlinMPP") } -kotlin.sourceSets { - commonMain { - dependencies { - api(projects.kotlinxUuidCore) - api(libs.datetime) - } +kotlin{ + wasmJs { + nodejs() } - commonTest { - dependencies { - implementation(kotlin("test")) + + sourceSets { + commonMain { + dependencies { + api(projects.kotlinxUuidCore) + api(libs.datetime) + } + } + commonTest { + dependencies { + implementation(kotlin("test")) + } } } }