Skip to content

Commit b47e3b5

Browse files
committed
Add @ExperimentalUnsignedTypes annotations
1 parent 30c36b5 commit b47e3b5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/commonMain/kotlin/net/pearx/kpastebin/PastebinClient.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ public class PastebinClient(
133133
*
134134
* @throws InvalidUserKeyException when [userKey] is null, expired or invalid.
135135
*/
136+
@ExperimentalUnsignedTypes
136137
public suspend fun listPastes(resultsLimit: Int = 50): List<PasteDetails> {
137138
require(resultsLimit in 1..1000) { "resultsLimit should be in range of 1 to 1000" }
138139
val out = sendRequest(API_URL_POST, true) {

src/commonMain/kotlin/net/pearx/kpastebin/model/PasteDetails.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import net.pearx.kpastebin.internal.XML_PROPERTY_REGEX
2323
* @property url Paste URL.
2424
* @property hits Paste view count.
2525
*/
26+
@ExperimentalUnsignedTypes
2627
public data class PasteDetails(
2728
val key: String,
2829
val date: ULong,

0 commit comments

Comments
 (0)