9
9
10
10
package org.readium.r2.lcp.license
11
11
12
- import java.util.*
13
12
import kotlin.time.Duration.Companion.seconds
14
13
import kotlinx.coroutines.runBlocking
15
14
import org.readium.r2.lcp.BuildConfig.DEBUG
@@ -36,7 +35,17 @@ internal sealed class Either<A, B> {
36
35
37
36
private val supportedProfiles = listOf (
38
37
" http://readium.org/lcp/basic-profile" ,
39
- " http://readium.org/lcp/profile-1.0"
38
+ " http://readium.org/lcp/profile-1.0" ,
39
+ " http://readium.org/lcp/profile-2.0" ,
40
+ " http://readium.org/lcp/profile-2.1" ,
41
+ " http://readium.org/lcp/profile-2.2" ,
42
+ " http://readium.org/lcp/profile-2.3" ,
43
+ " http://readium.org/lcp/profile-2.4" ,
44
+ " http://readium.org/lcp/profile-2.5" ,
45
+ " http://readium.org/lcp/profile-2.6" ,
46
+ " http://readium.org/lcp/profile-2.7" ,
47
+ " http://readium.org/lcp/profile-2.8" ,
48
+ " http://readium.org/lcp/profile-2.9"
40
49
)
41
50
42
51
internal typealias Context = Either <LcpClient .Context , LcpError .LicenseStatus >
0 commit comments