Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@lightsparkdev/core@1.3.0
Minor Changes
b1f160b: - CJS + ESM improvements
Updated
package.json
to provide separate CommonJS (index.cjs
) and ES modules (index.js
).Added an
exports
section to explicitly define import/require entry points.attw support
.attw.json
file and introduced a"package-types"
script (yarn attw --pack .
) for detecting type issues.Expanded currency utilities
EUR
handling inCurrencyUnit
and extended the conversion logic to accommodate more fiat/btc transformations.isUmaCurrencyAmount
andisRecord
to strengthen type checks and conversions.formatCurrencyStr()
to handleUmaCurrencyAmount
and incorporate new format logic.Refined the
mapCurrencyAmount()
function and improvedformatCurrencyStr()
to handle short vs. full precision more flexibly.Revised sub‐paths (e.g.
./utils
) inpackage.json
exports for both ESM and CJS.@lightsparkdev/lightspark-cli@0.1.0
Minor Changes
b1f160b: - Bolt 12 “Offer” commands
Added
create-offer
command to generate a BOLT12 offer, specifying an amount or zero for user-chosen amounts, plus a description.Added
pay-offer
command allowing you to pay a BOLT12 offer from the CLI, with optional fee/timeouts.Misc. node usage
General
index.ts
.Patch Changes
@lightsparkdev/lightspark-sdk@1.9.0
Minor Changes
b1f160b: - Bolt 12 Offer support
Introduced new GraphQL mutations and objects for Bolt Revert deleted docs workflow #12 offers:
createOffer()
/CreateOffer
GQLpayOffer()
/PayOffer
GQLOffer
,OfferData
,PayOfferInput
, etc.Updated
LightsparkClient
to includecreateOffer()
andpayOffer()
methods (with max fees, no‐amount usage, etc.).CJS + ESM reorganization
package.json
main entry toindex.cjs
and refined"exports"
to ensure correct ESM/CJS usage..attw.json
and"package-types"
script for type mismatch checks.New typed objects
CurrencyAmountInput
plus expansions (e.g.CreateOfferInput
), enabling more flexible payments.Housekeeping
LightsparkClient
forpayUmaInvoice
, etc.).Patch Changes
@lightsparkdev/ui@1.1.0
Minor Changes
b1f160b: - New UI components & toggles
Introduced a new
MultiToggle
component (replaces or supplements the oldIconToggle
).Extended the
Button
component to support newgray
/grayGradient
kinds and updatedforwardRef
usage for better integration.CJS + ESM updates
package.json
with separateindex.cjs
/index.js
exports and refined"exports"
to define sub‐paths for ES/cjs usage..attw.json
and a"package-types"
script (similar tocore
) for checking type correctness.Additional icons & styling
CentralArrowLeft
,CentralLoader
,CentralTrashCan
, etc.).Satoshi
andBitcoinB
with an optionalsquare
parameter.ButtonRow
,DataManagerTable
, andCardForm
to polish layout and filter UI.Link
refactorLinkBase
to useforwardRef
, allowing direct refs and improved usage.blue
prop for quick color overrides, plus other small accessibility improvements.Other tweaks
PhoneInput
component now supportsonBlur
anderror
props.Table
now accepts aminHeight
prop.DataManagerTable
got a mobile-friendly filter UI (e.g., new modals for filter application and clearing).Patch Changes
@lightsparkdev/crypto-wasm@0.1.12
Patch Changes
@lightsparkdev/nodejs-scripts@0.0.22
Patch Changes
@lightsparkdev/oauth-app@0.0.49
Patch Changes
@lightsparkdev/remote-signing-server@0.0.46
Patch Changes
@lightsparkdev/ui-test-app@0.0.19
Patch Changes
@lightsparkdev/uma-vasp@0.0.47
Patch Changes
@lightsparkdev/uma-vasp-cli@0.0.27
Patch Changes
@lightsparkdev/oauth@0.1.54
Patch Changes
b1f160b: - CJS + ESM improvements
Refined
package.json
exports to define bothindex.js
(ESM) andindex.cjs
(CJS).Added
"exports"
for Node 18+ usage.Type‐safety checks
@arethetypeswrong/cli
and added a"package-types"
script for consistent checks.No major functional changes
Updated dependencies [b1f160b]