Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

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

      • Added a .attw.json file and introduced a "package-types" script (yarn attw --pack .) for detecting type issues.
    • Expanded currency utilities

      • Introduced EUR handling in CurrencyUnit and extended the conversion logic to accommodate more fiat/btc transformations.
      • Added new helper methods like isUmaCurrencyAmount and isRecord to strengthen type checks and conversions.
      • Updated formatCurrencyStr() to handle UmaCurrencyAmount and incorporate new format logic.
    • Refined the mapCurrencyAmount() function and improved formatCurrencyStr() to handle short vs. full precision more flexibly.

    • Revised sub‐paths (e.g. ./utils) in package.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

      • Polished logic for local vs. remote signing in the new BOLT12 commands.
      • Minor improvements to usage strings and help text.
    • General

      • Focus is on new BOLT12 Offer features; the rest is routine housekeeping in index.ts.

Patch Changes

  • Updated dependencies [b1f160b]
  • Updated dependencies [b1f160b]
    • @lightsparkdev/lightspark-sdk@1.9.0
    • @lightsparkdev/core@1.3.0
    • @lightsparkdev/crypto-wasm@0.1.12

@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 GQL
      • payOffer() / PayOffer GQL
      • New Offer, OfferData, PayOfferInput, etc.
    • Updated LightsparkClient to include createOffer() and payOffer() methods (with max fees, no‐amount usage, etc.).

    • CJS + ESM reorganization

      • Changed package.json main entry to index.cjs and refined "exports" to ensure correct ESM/CJS usage.
      • Added .attw.json and "package-types" script for type mismatch checks.
    • New typed objects

      • Implemented CurrencyAmountInput plus expansions (e.g. CreateOfferInput), enabling more flexible payments.
      • Extended invoice logic for Bolt12/UMA with new fields (e.g. partial amounts, expiry times).
    • Housekeeping

      • Minor updates for remote signing & LN usage (some expansions to the LightsparkClient for payUmaInvoice, etc.).
      • Consolidated sub‐exports to ensure consistency with the new dual‐module approach.

Patch Changes

  • Updated dependencies [b1f160b]
    • @lightsparkdev/core@1.3.0
    • @lightsparkdev/crypto-wasm@0.1.12

@lightsparkdev/ui@1.1.0

Minor Changes

  • b1f160b: - New UI components & toggles

    • Introduced a new MultiToggle component (replaces or supplements the old IconToggle).

    • Extended the Button component to support new gray/grayGradient kinds and updated forwardRef usage for better integration.

    • CJS + ESM updates

      • Updated package.json with separate index.cjs/index.js exports and refined "exports" to define sub‐paths for ES/cjs usage.
      • Added a .attw.json and a "package-types" script (similar to core) for checking type correctness.
    • Additional icons & styling

      • Added a wide set of “central” icons (e.g. CentralArrowLeft, CentralLoader, CentralTrashCan, etc.).
      • Enhanced existing icons like Satoshi and BitcoinB with an optional square parameter.
      • Modified styling for ButtonRow, DataManagerTable, and CardForm to polish layout and filter UI.
    • Link refactor

      • Converted internal LinkBase to use forwardRef, allowing direct refs and improved usage.
      • Added a blue prop for quick color overrides, plus other small accessibility improvements.
    • Other tweaks

      • The PhoneInput component now supports onBlur and error props.
      • Table now accepts a minHeight prop.
      • DataManagerTable got a mobile-friendly filter UI (e.g., new modals for filter application and clearing).

Patch Changes

  • Updated dependencies [b1f160b]
    • @lightsparkdev/core@1.3.0

@lightsparkdev/crypto-wasm@0.1.12

Patch Changes

  • Updated dependencies [b1f160b]
    • @lightsparkdev/core@1.3.0

@lightsparkdev/nodejs-scripts@0.0.22

Patch Changes

  • Updated dependencies [b1f160b]
  • Updated dependencies [b1f160b]
    • @lightsparkdev/lightspark-sdk@1.9.0
    • @lightsparkdev/core@1.3.0

@lightsparkdev/oauth-app@0.0.49

Patch Changes

  • Updated dependencies [b1f160b]
  • Updated dependencies [b1f160b]
  • Updated dependencies [b1f160b]
    • @lightsparkdev/ui@1.1.0
    • @lightsparkdev/lightspark-sdk@1.9.0
    • @lightsparkdev/oauth@0.1.54

@lightsparkdev/remote-signing-server@0.0.46

Patch Changes

  • Updated dependencies [b1f160b]
  • Updated dependencies [b1f160b]
    • @lightsparkdev/lightspark-sdk@1.9.0
    • @lightsparkdev/core@1.3.0

@lightsparkdev/ui-test-app@0.0.19

Patch Changes

  • Updated dependencies [b1f160b]
  • Updated dependencies [b1f160b]
    • @lightsparkdev/ui@1.1.0
    • @lightsparkdev/core@1.3.0

@lightsparkdev/uma-vasp@0.0.47

Patch Changes

  • Updated dependencies [b1f160b]
  • Updated dependencies [b1f160b]
    • @lightsparkdev/lightspark-sdk@1.9.0
    • @lightsparkdev/core@1.3.0

@lightsparkdev/uma-vasp-cli@0.0.27

Patch Changes

  • Updated dependencies [b1f160b]
  • Updated dependencies [b1f160b]
    • @lightsparkdev/lightspark-sdk@1.9.0
    • @lightsparkdev/core@1.3.0

@lightsparkdev/oauth@0.1.54

Patch Changes

  • b1f160b: - CJS + ESM improvements

    • Refined package.json exports to define both index.js (ESM) and index.cjs (CJS).

    • Added "exports" for Node 18+ usage.

    • Type‐safety checks

      • Introduced a devDependency on @arethetypeswrong/cli and added a "package-types" script for consistent checks.
    • No major functional changes

      • Focused primarily on packaging, exports, and aligning build scripts with the rest of the monorepo.
  • Updated dependencies [b1f160b]

    • @lightsparkdev/core@1.3.0

@github-actions github-actions bot requested a review from a team as a code owner March 16, 2025 19:53
@github-actions github-actions bot force-pushed the changeset-release/main branch from 3721df9 to f9b11bb Compare March 16, 2025 20:30
@coreymartin coreymartin enabled auto-merge (squash) March 16, 2025 20:33
@coreymartin coreymartin merged commit 845faa9 into main Mar 16, 2025
@coreymartin coreymartin deleted the changeset-release/main branch March 16, 2025 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant