@openreceive/browser 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/headless.js CHANGED
@@ -121,7 +121,7 @@ import {
121
121
  swapOptionLimitSentence,
122
122
  swapPickerKey,
123
123
  updatePaymentWizardSelection
124
- } from "./chunk-7XENAV7X.js";
124
+ } from "./chunk-VZ7M7ZUE.js";
125
125
 
126
126
  // src/headless.ts
127
127
  import { createAssetBaseUrlResolver, getPaymentWizardRoutes } from "@openreceive/provider-data";
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { aW as BrowserLogLevel } from './status-BQG5AjH2.js';
2
- export { aX as BrowserLogEntry, X as BrowserLogger, B as BrowserLoggerOption, Y as BrowserRequestError, Z as CheckoutController, _ as CheckoutControllerOptions, h as CheckoutSnapshot, j as CheckoutState, aY as CopyInvoiceOptions, aZ as GuestCheckoutResumeController, a_ as GuestCheckoutResumeOptions, a$ as OpenWalletOptions, b0 as PrepareCheckoutOptions, b1 as QrOptions, b2 as RequestCheckoutOptions, ar as Status, b3 as StatusInvoiceLike, U as UnixSeconds, aw as copyInvoice, ay as createCheckoutController, b4 as createGuestCheckoutResume, b5 as createGuestOrderFetcher, b6 as createLightningUri, b7 as createQrPngDataUrl, aD as createQrSvg, aJ as deriveStatus, aK as enterCheckoutResumePath, aS as openWallet, aU as prepareCheckout, aV as requestCheckout } from './status-BQG5AjH2.js';
1
+ import { aW as BrowserLogLevel } from './status-iwqocz21.js';
2
+ export { aX as BrowserLogEntry, X as BrowserLogger, B as BrowserLoggerOption, Y as BrowserRequestError, Z as CheckoutController, _ as CheckoutControllerOptions, h as CheckoutSnapshot, j as CheckoutState, aY as CopyInvoiceOptions, aZ as GuestCheckoutResumeController, a_ as GuestCheckoutResumeOptions, a$ as OpenWalletOptions, b0 as PrepareCheckoutOptions, b1 as QrOptions, b2 as RequestCheckoutOptions, ar as Status, b3 as StatusInvoiceLike, U as UnixSeconds, aw as copyInvoice, ay as createCheckoutController, b4 as createGuestCheckoutResume, b5 as createGuestOrderFetcher, b6 as createLightningUri, b7 as createQrPngDataUrl, aD as createQrSvg, aJ as deriveStatus, aK as enterCheckoutResumePath, aS as openWallet, aU as prepareCheckout, aV as requestCheckout } from './status-iwqocz21.js';
3
3
  import '@openreceive/provider-data';
4
4
  import '@openreceive/core';
5
5
 
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  openWallet,
14
14
  prepareCheckout,
15
15
  requestCheckout
16
- } from "./chunk-7XENAV7X.js";
16
+ } from "./chunk-VZ7M7ZUE.js";
17
17
  export {
18
18
  BrowserRequestError,
19
19
  copyInvoice,
@@ -24,7 +24,7 @@ declare function formatFiatAmount(fiat: {
24
24
  readonly currency?: string;
25
25
  readonly value?: string;
26
26
  } | null | undefined): string | undefined;
27
- /** Combined QR caption, e.g. `19,174 sats / $12.00 US`. */
27
+ /** Combined QR caption, e.g. `19,174 sats / $12.00 USD` — the ISO code, because "$" alone does not say which dollar. */
28
28
  declare function formatAmountCaption(options: {
29
29
  readonly amountLabel?: string;
30
30
  readonly fiatLabel?: string;