Skip to content

Commit 1aa4447

Browse files
committed
Feat: Add pre activity metadata
1 parent 1ecc14b commit 1aa4447

File tree

24 files changed

+2149
-476
lines changed

24 files changed

+2149
-476
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bitkitcore"
3-
version = "0.1.24"
3+
version = "0.1.25"
44
edition = "2021"
55

66
[lib]

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import PackageDescription
55

6-
let tag = "v0.1.24"
7-
let checksum = "34cfce19ece822af081969c271862491929ff530c3e23e935e69c68112cc7d09"
6+
let tag = "v0.1.25"
7+
let checksum = "aea295c6abb9d92eb5166004b1984cbc0f653a6a2eab1b6e524ab9b22bb37153"
88
let url = "https://github.com/synonymdev/bitkit-core/releases/download/\(tag)/BitkitCore.xcframework.zip"
99

1010
let package = Package(

bindings/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ android.useAndroidX=true
33
android.enableJetifier=true
44
kotlin.code.style=official
55
group=com.synonym
6-
version=0.1.24
6+
version=0.1.25
9.68 KB
Binary file not shown.
Binary file not shown.
81.9 KB
Binary file not shown.
42.7 KB
Binary file not shown.

bindings/android/lib/src/main/kotlin/com/synonym/bitkitcore/bitkitcore.android.kt

Lines changed: 209 additions & 68 deletions
Large diffs are not rendered by default.

bindings/android/lib/src/main/kotlin/com/synonym/bitkitcore/bitkitcore.common.kt

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -198,21 +198,6 @@ public data class ActivityTags (
198198

199199

200200

201-
@kotlinx.serialization.Serializable
202-
public data class ActivityTagsMetadata (
203-
val `id`: kotlin.String,
204-
val `paymentHash`: kotlin.String?,
205-
val `txId`: kotlin.String?,
206-
val `address`: kotlin.String,
207-
val `isReceive`: kotlin.Boolean,
208-
val `tags`: List<kotlin.String>,
209-
val `createdAt`: kotlin.ULong
210-
) {
211-
public companion object
212-
}
213-
214-
215-
216201
/**
217202
* Address information
218203
*/
@@ -1254,6 +1239,22 @@ public data class PaymentRequestMemo (
12541239

12551240

12561241

1242+
@kotlinx.serialization.Serializable
1243+
public data class PreActivityMetadata (
1244+
val `paymentId`: kotlin.String,
1245+
val `paymentType`: ActivityType,
1246+
val `tags`: List<kotlin.String>,
1247+
val `paymentHash`: kotlin.String?,
1248+
val `txId`: kotlin.String?,
1249+
val `address`: kotlin.String?,
1250+
val `isReceive`: kotlin.Boolean,
1251+
val `createdAt`: kotlin.ULong
1252+
) {
1253+
public companion object
1254+
}
1255+
1256+
1257+
12571258
/**
12581259
* Precomposed transaction input
12591260
*/

0 commit comments

Comments
 (0)