Releases: synonymdev/bitkit-core
Releases · synonymdev/bitkit-core
v0.1.35
v0.1.34
- Add sweep funds functions to sweep funds from unsupported address types to the wallet.
v0.1.33
- Add seen at to activities
- Add tx details table to save and fetch tx details
v0.1.32
This Release:
- Adds the
paykitmodule and core functions - Adds docs & tests as needed
- Bumps version to
0.1.32 - Update bindings accordingly
Documentation
See src/modules/paykit/README.md for Swift and Kotlin implementation examples.
New Methods
Session Functions
createPubkyRingSessionRequest(callbackUrl, additionalParams?)- Generate URI to request session from Pubky RingparsePaykitDeeplink(url)- Parse a Paykit deeplink URLvalidatePaykitDeeplink(url)- Validate a Paykit deeplink URLcreateDeeplinkFromToken(baseUrl, action, token, additionalParams?)- Create deeplink from session tokencreateSessionTokenFromKeypair(publicKey, secretKey, homeserverUrl?, expiresInSeconds?)- Create session token from keypairserializeSessionToToken(sessionData)- Serialize session data to tokendeserializeTokenToSession(token)- Deserialize token to session data
Standalone Functions
setPaymentEndpoint(client, method, data)- Store/update a payment endpointremovePaymentEndpoint(client, method)- Remove a payment endpointgetPaymentList(reader, payee)- Get all payment methods for a usergetPaymentEndpoint(reader, payee, method)- Retrieve a specific payment endpointgetKnownContacts(reader, key)- Get user's known contacts
PubkyAuthenticatedTransport
PubkyAuthenticatedTransport()- Constructor (returns error, use token-based creation)setPaymentEndpoint(method, data)- Store/update a payment endpointremovePaymentEndpoint(method)- Remove a payment endpoint
PubkyUnauthenticatedTransport
PubkyUnauthenticatedTransport()- Constructor for read operationsgetPaymentList(payee)- Get all payment methods for a usergetPaymentEndpoint(payee, method)- Retrieve a specific payment endpointgetKnownContacts(key)- Get user's known contacts
Scanner
- New
Scanner.PaykitSessionvariant for scanning Paykit session QR codes
New Types
SessionToken- Base64-encoded session token wrapper (token: String)SessionData- Serializable session data (publicKey,secretKey,homeserverUrl?,expiresAt?,metadata?)MethodId- Payment method identifier (id: String)EndpointData- Payment endpoint data payload (data: String)PublicKey- Pubky public key wrapper (key: String)SupportedPayments- Map of method IDs to endpoint data (entries: Map<String, EndpointData>)PaykitDeeplink- Parsed deeplink (action,sessionToken?,parameters)ScannedPaykitSession- Scanned session from QR code (url,action,token,parameters)PaykitException/PaykitError- Error types
v0.1.31
feat: add channel liquidity calculation functions
v0.1.30
- Add get activity by txid by
v0.1.29
Added is_address_used to activity module.
v0.1.27
Add fee rate, is transfer, and channel id to the PreActivityMetadata
v0.1.26
Pre-Activity Metadata Improvements
v0.1.25
-
Added pre activity metadata
-
Renamed
get_all_tag_metadatatoget_all_activities_tags