Skip to content

Commit

Permalink
fix init function name
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusMcCloud committed Aug 4, 2024
1 parent 23a1a05 commit 637e3fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Data classes representing OTT for ePrescription, as a SD JWT Credential, with the help
of [VC-K](https://github.com/a-sit-plus/vck).

Be sure to call `at.asitplus.wallet.eprescription.Initializer.initWithVcLib` first thing in your application.
Be sure to call `at.asitplus.wallet.eprescription.Initializer.initWithVCK` first thing in your application.

## Changelog

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ object Initializer {
* A reference to this class is enough to trigger the init block
*/
init {
initWithVcLib()
initWithVCK()
}

/**
* This has to be called first, before anything first, to load the
* relevant classes of this library into the base implementations of vclib
* relevant classes of this library into the base implementations of VC-K
*/
fun initWithVcLib() {
fun initWithVCK() {
LibraryInitializer.registerExtensionLibrary(
credentialScheme = EPrescriptionScheme,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import io.kotest.core.config.AbstractProjectConfig

class KotestConfig : AbstractProjectConfig() {
init {
Initializer.initWithVcLib()
Initializer.initWithVCK()
}
}

0 comments on commit 637e3fe

Please sign in to comment.