You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing types into my application, I see two options for LightningInvoice:
1.
import { LightningInvoice } from "bitvora/dist/lightning_invoice";
import { LightningInvoice} from "bitvora/dist/types";
These two types differ slightly. The createLightningInvoice function returns a type compatible with option 1, but most of the exported types seem to come from option 2. Correct me if I'm wrong, it seems like the export from option 2 should be updated to reflect the return of the createLightningInvoice function.
The text was updated successfully, but these errors were encountered:
When importing types into my application, I see two options for
LightningInvoice
:1.
These two types differ slightly. The
createLightningInvoice
function returns a type compatible with option 1, but most of the exported types seem to come from option 2. Correct me if I'm wrong, it seems like the export from option 2 should be updated to reflect the return of thecreateLightningInvoice
function.The text was updated successfully, but these errors were encountered: