breez-sdk
breez-sdk copied to clipboard
- All SDK structs exposed through Dart bindings that reference another SDK struct has to be annotated. Including the referenced struct. - Not needed on structs that only has supported...
Here are a couple of examples we've received - after calling `redeem_swap`: ``` Generic(message: "Generic: Failed to create invoice: Invalid amount: Receive amount must be more than 0") ``` -...
Currently there is no way to remove a registered webhook URL. So after changing a query param in the url, for example the language param, it will register an additional...
Allow the caller to set a custom `MoonPayConfig::redirect_url`, which can point to their own custom landing page or in-app view. https://github.com/breez/breez-sdk/blob/e541135b0f1fa90f964829444cb34d53251660e5/libs/sdk-core/src/moonpay.rs#L24
This PR addresses the issue where [env_logger](https://docs.rs/env_logger/latest/env_logger/)'s module filters were not applying to logs listened through Dart & UniFFI binding loggers. #### Changelist: - Filter Dart & UniFFI binding logs...
Apple is requiring all api calls that fall under this ruleset https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api be declared in a privacy manifest file: _"... your app or third-party SDK must declare one or more...
Logs from binding loggers can be printed directly to `LogCat` & `OSLog` but with current implementation there needs to be a middle-man approach to see logs on `LogCat` & `OSLog`,...
Sometimes we return fields like a `payment_hash` - as a `Vec`, like in `SwapInfo::payment_hash` - as a `String`, like in `LnPaymentDetails::payment_hash` We should choose a type and use it consistently...
We've been getting a lot of failures on `Run sdk-bindings tests` step of [CI](https://github.com/breez/breez-sdk/actions/workflows/main.yml) ``` failures: ---- uniffi_foreign_language_testcase_test_breez_sdk_py stdout ---- Error: running `python3` failed failures: uniffi_foreign_language_testcase_test_breez_sdk_py test result: FAILED. 4...
Apply Singleton pattern on `BreezSDK` using factory constructor. - Move `SdkConfig` extension to it's own file. - Export `bridge_generated.dart`, `breez_sdk.dart`, `exceptions.dart` & `sdk_config.dart` files through `sdk.dart` - Filter out generated...