Init is done automatically by libsodium.js
This commit is contained in:
3 files changed
+3
-5
No files matched your search
+1
-2
@@ -5,10 +5,9 @@
|
||||
|
||||
#### 0.8.3 - 28.5.2021
|
||||
- Built with kotlin 1.5.10
|
||||
- Fixed loading but not initializing libsodium on js and jvm
|
||||
- Fixed loading but not initializing libsodium on jvm
|
||||
- Changed subkey id to UInt from Int, limited by JS api
|
||||
- Updated libsodium to latest master 710b2d3963347017ba (potentially will be switched to stable branch)
|
||||
- Experimentig with sodium_malloc usage instead of pinned UByteArrays
|
||||
|
||||
#### 0.8.2 - Split from crypto repository and initial release
|
||||
|
||||
@@ -15,7 +15,7 @@ attack surfaces, bugs and other issues and you shouldn't use it in production un
|
||||
|
||||
#### Gradle
|
||||
```kotlin
|
||||
implementation("com.ionspin.kotlin:multiplatform-crypto-lisodium-bindings:0.8.2")
|
||||
implementation("com.ionspin.kotlin:multiplatform-crypto-lisodium-bindings:0.8.3")
|
||||
```
|
||||
|
||||
#### Snapshot builds
|
||||
@@ -23,7 +23,7 @@ implementation("com.ionspin.kotlin:multiplatform-crypto-lisodium-bindings:0.8.2"
|
||||
repositories {
|
||||
maven("https://oss.sonatype.org/content/repositories/snapshots")
|
||||
}
|
||||
implementation("com.ionspin.kotlin:multiplatform-crypto-lisodium-bindings:0.8.3-SNAPSHOT ")
|
||||
implementation("com.ionspin.kotlin:multiplatform-crypto-lisodium-bindings:0.8.4-SNAPSHOT ")
|
||||
|
||||
```
|
||||
|
||||
|
||||
-1
@@ -29,7 +29,6 @@ object JsSodiumLoader {
|
||||
setSodiumPointer(promisedSodium)
|
||||
sodiumLoaded = true
|
||||
continuation.resumeWith(Result.success(Unit))
|
||||
sodiumPointer.sodium_init()
|
||||
}
|
||||
|
||||
suspend fun load() = suspendCoroutine<Unit> { continuation ->
|
||||
|
||||
Reference in new issue
Block a user