Skip to content

Commit

Permalink
Updates to core, ui, lightspark-sdk, lightspark-cli
Browse files Browse the repository at this point in the history
* [uma-bridge] New connected bank account indicator (#12770)

GitOrigin-RevId: f46c5464222d9a5f04e0d49a20e6b71fc7a7d811

* [ui] Fix alignment of empty QR code (#13022)

GitOrigin-RevId: 0df904955c938479249f058ed2eaf6fbcf582cb6

* [ui] Fix fonts for some projects (#13021)

Site and ops fonts aren't working because their main font is
"Montserrat" which is not handled in the font string switch.

GitOrigin-RevId: c5fb234b816e4bd51a54772f80836af5e93429f6

* Bump secp256k1 from 5.0.0 to 5.0.1 in /js (#13032)

Bumps [secp256k1](https://github.com/cryptocoinjs/secp256k1-node) from
5.0.0 to 5.0.1.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/cryptocoinjs/secp256k1-node/commit/b3f874ff796a041b5b0e3eed343ab2ed265c8fd1"><code>b3f874f</code></a>
5.0.1</li>
<li><a
href="https://github.com/cryptocoinjs/secp256k1-node/commit/9a15fff274f83a6ec7f675f1121babcc0c42292f"><code>9a15fff</code></a>
elliptic: fix key verification in loadCompressedPublicKey</li>
<li><a
href="https://github.com/cryptocoinjs/secp256k1-node/commit/dc37f41f2abfe87853b54bcd7d1b556db41b0c64"><code>dc37f41</code></a>
Update elliptic to 6.5.7 (CVE-2024-42461) (<a
href="https://redirect.github.com/cryptocoinjs/secp256k1-node/issues/206">#206</a>)</li>
<li>See full diff in <a
href="https://github.com/cryptocoinjs/secp256k1-node/compare/v5.0.0...v5.0.1">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=secp256k1&package-manager=npm_and_yarn&previous-version=5.0.0&new-version=5.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/lightsparkdev/webdev/network/alerts).

</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
GitOrigin-RevId: e519259cac1cf9136614a4715e26259a64c729db

* CI update lock file for PR

* Regenerating js-sdks following introspection. (#12977)

GitOrigin-RevId: 00b6d504049ab5672147ae53f06fad564c134a84

* [ui] fix font weights and button themes for uma auth (#13048)

GitOrigin-RevId: beae699a80ed52f16f9bebe83e8eded623395778

* Create thin-scissors-knock.md

* Create serious-eagles-check.md

* Create serious-eagles-fly.md

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Corey Martin <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lightspark Eng <[email protected]>
Co-authored-by: Jason Wang <[email protected]>
Co-authored-by: Brian Siao Tick Chong <[email protected]>
  • Loading branch information
6 people authored Oct 22, 2024
1 parent 4aee19d commit 80c16c1
Show file tree
Hide file tree
Showing 48 changed files with 186 additions and 58 deletions.
6 changes: 6 additions & 0 deletions .changeset/serious-eagles-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@lightsparkdev/lightspark-cli": patch
"@lightsparkdev/core": patch
---

- Bump secp256k1 from 5.0.0 to 5.0.1
5 changes: 5 additions & 0 deletions .changeset/serious-eagles-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@lightsparkdev/lightspark-sdk": patch
---

- add more doc strings
7 changes: 7 additions & 0 deletions .changeset/thin-scissors-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@lightsparkdev/ui": patch
---

- Fix alignment of empty QR code
- Fix fonts for some projects
- Fix button themes and add quaternary button kind
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"dayjs": "^1.11.7",
"graphql": "^16.6.0",
"graphql-ws": "^5.11.3",
"secp256k1": "^5.0.0",
"secp256k1": "^5.0.1",
"ws": "^8.12.1",
"zen-observable-ts": "^1.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"jose": "^4.15.5",
"jsonwebtoken": "^9.0.1",
"qrcode-terminal": "^0.12.0",
"secp256k1": "^5.0.0"
"secp256k1": "^5.0.1"
},
"engines": {
"node": ">=18"
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/Account.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import autoBind from "auto-bind";
import type LightsparkClient from "../client.js";
import type AccountToApiTokensConnection from "./AccountToApiTokensConnection.js";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,24 @@ interface AccountToTransactionsConnection {
/**
* Profit (or loss) generated by the transactions in this connection, with the set of filters
* and constraints provided.
*
* @deprecated Customer nodes do not route transactions anymore.
**/
profitLoss?: CurrencyAmount | undefined;

/**
* Average fee earned for the transactions in this connection, with the set of filters and
* constraints provided.
*
* @deprecated Customer nodes do not route transactions anymore.
**/
averageFeeEarned?: CurrencyAmount | undefined;

/**
* Total amount transacted by the transactions in this connection, with the set of filters and
* constraints provided.
*
* @deprecated Total amount can be calculated by summing up all transactions in `entities`.
**/
totalAmountTransacted?: CurrencyAmount | undefined;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/ApiToken.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import Permission from "./Permission.js";

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/AuditLogActor.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { LightsparkException, isObject, type Query } from "@lightsparkdev/core";
import { LightsparkException, type Query, isObject } from "@lightsparkdev/core";
import type ApiToken from "./ApiToken.js";
import Permission from "./Permission.js";

Expand Down
8 changes: 6 additions & 2 deletions packages/lightspark-sdk/src/objects/Channel.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import autoBind from "auto-bind";
import type LightsparkClient from "../client.js";
import type ChannelFees from "./ChannelFees.js";
Expand Down Expand Up @@ -71,7 +71,11 @@ class Channel implements Entity {
public readonly estimatedForceClosureWaitMinutes?: number | undefined,
/** The amount to be paid in fees for the current set of commitment transactions. **/
public readonly commitFee?: CurrencyAmount | undefined,
/** The fees charged for routing payments through this channel. **/
/**
* The fees charged for routing payments through this channel.
*
* @deprecated Customer nodes do not route payments anymore.
**/
public readonly fees?: ChannelFees | undefined,
/** If known, the remote node of the channel. **/
public readonly remoteNodeId?: string | undefined,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import type CurrencyAmount from "./CurrencyAmount.js";
import {
CurrencyAmountFromJson,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import type CurrencyAmount from "./CurrencyAmount.js";
import {
CurrencyAmountFromJson,
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/ChannelSnapshot.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import type CurrencyAmount from "./CurrencyAmount.js";
import {
CurrencyAmountFromJson,
Expand Down
9 changes: 9 additions & 0 deletions packages/lightspark-sdk/src/objects/CreateUmaInvoiceInput.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

interface CreateUmaInvoiceInput {
/** The node from which to create the invoice. **/
nodeId: string;

/** The amount for which the invoice should be created, in millisatoshis. **/
amountMsats: number;

/**
* The SHA256 hash of the UMA metadata payload. This will be present in the h-tag (SHA256
* purpose of payment) of the resulting Bolt 11 invoice.
**/
metadataHash: string;

/** The expiry of the invoice in seconds. Default value is 86400 (1 day). **/
expirySecs?: number | undefined;

/** An optional, monthly-rotated, unique hashed identifier corresponding to the receiver of the
* payment. **/
receiverHash?: string | undefined;
}

Expand Down
2 changes: 2 additions & 0 deletions packages/lightspark-sdk/src/objects/CurrencyUnit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export enum CurrencyUnit {
MILLISATOSHI = "MILLISATOSHI",
/** United States Dollar. **/
USD = "USD",
/** Mexican Peso. **/
MXN = "MXN",
/**
* 0.000000001 (10e-9) Bitcoin or a billionth of a Bitcoin. We recommend using the Satoshi unit
* instead when possible. *
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/Deposit.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import type CurrencyAmount from "./CurrencyAmount.js";
import {
CurrencyAmountFromJson,
Expand Down
4 changes: 3 additions & 1 deletion packages/lightspark-sdk/src/objects/GraphNode.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import autoBind from "auto-bind";
import type LightsparkClient from "../client.js";
import BitcoinNetwork from "./BitcoinNetwork.js";
Expand Down Expand Up @@ -51,6 +51,8 @@ class GraphNode implements Node, Entity {
* A summary metric used to capture how well positioned a node is to send, receive, or route
* transactions efficiently. Maximizing a node's conductivity helps a node’s transactions to be
* capital efficient. The value is an integer ranging between 0 and 10 (bounds included).
*
* @deprecated Not supported.
**/
public readonly conductivity?: number | undefined,
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/Hop.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import type CurrencyAmount from "./CurrencyAmount.js";
import {
CurrencyAmountFromJson,
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/IncomingPayment.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import autoBind from "auto-bind";
import type LightsparkClient from "../client.js";
import type CurrencyAmount from "./CurrencyAmount.js";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import type CurrencyAmount from "./CurrencyAmount.js";
import {
CurrencyAmountFromJson,
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/Invoice.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import type CurrencyAmount from "./CurrencyAmount.js";
import {
CurrencyAmountFromJson,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { LightsparkException, isObject, type Query } from "@lightsparkdev/core";
import { LightsparkException, type Query, isObject } from "@lightsparkdev/core";
import type CurrencyAmount from "./CurrencyAmount.js";
import {
CurrencyAmountFromJson,
Expand Down
4 changes: 3 additions & 1 deletion packages/lightspark-sdk/src/objects/LightsparkNode.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { LightsparkException, isObject, type Query } from "@lightsparkdev/core";
import { LightsparkException, type Query, isObject } from "@lightsparkdev/core";
import type LightsparkClient from "../client.js";
import type Balances from "./Balances.js";
import { BalancesFromJson, BalancesToJson } from "./Balances.js";
Expand Down Expand Up @@ -82,6 +82,8 @@ interface LightsparkNode {
* A summary metric used to capture how well positioned a node is to send, receive, or route
* transactions efficiently. Maximizing a node's conductivity helps a node’s transactions to be
* capital efficient. The value is an integer ranging between 0 and 10 (bounds included).
*
* @deprecated Not supported.
**/
conductivity?: number | undefined;

Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/LightsparkNodeOwner.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { LightsparkException, isObject, type Query } from "@lightsparkdev/core";
import { LightsparkException, type Query, isObject } from "@lightsparkdev/core";
import Account from "./Account.js";
import { BalancesFromJson, BalancesToJson } from "./Balances.js";
import Wallet from "./Wallet.js";
Expand Down
4 changes: 3 additions & 1 deletion packages/lightspark-sdk/src/objects/LightsparkNodeWithOSK.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import autoBind from "auto-bind";
import type LightsparkClient from "../client.js";
import type Balances from "./Balances.js";
Expand Down Expand Up @@ -76,6 +76,8 @@ class LightsparkNodeWithOSK implements LightsparkNode, Node, Entity {
* A summary metric used to capture how well positioned a node is to send, receive, or route
* transactions efficiently. Maximizing a node's conductivity helps a node’s transactions to be
* capital efficient. The value is an integer ranging between 0 and 10 (bounds included).
*
* @deprecated Not supported.
**/
public readonly conductivity?: number | undefined,
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import autoBind from "auto-bind";
import type LightsparkClient from "../client.js";
import type Balances from "./Balances.js";
Expand Down Expand Up @@ -74,6 +74,8 @@ class LightsparkNodeWithRemoteSigning implements LightsparkNode, Node, Entity {
* A summary metric used to capture how well positioned a node is to send, receive, or route
* transactions efficiently. Maximizing a node's conductivity helps a node’s transactions to be
* capital efficient. The value is an integer ranging between 0 and 10 (bounds included).
*
* @deprecated Not supported.
**/
public readonly conductivity?: number | undefined,
/**
Expand Down
4 changes: 3 additions & 1 deletion packages/lightspark-sdk/src/objects/Node.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { LightsparkException, isObject, type Query } from "@lightsparkdev/core";
import { LightsparkException, type Query, isObject } from "@lightsparkdev/core";
import type LightsparkClient from "../client.js";
import { BalancesFromJson, BalancesToJson } from "./Balances.js";
import BitcoinNetwork from "./BitcoinNetwork.js";
Expand Down Expand Up @@ -67,6 +67,8 @@ interface Node {
* A summary metric used to capture how well positioned a node is to send, receive, or route
* transactions efficiently. Maximizing a node's conductivity helps a node’s transactions to be
* capital efficient. The value is an integer ranging between 0 and 10 (bounds included).
*
* @deprecated Not supported.
**/
conductivity?: number | undefined;

Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/OnChainTransaction.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { LightsparkException, isObject, type Query } from "@lightsparkdev/core";
import { LightsparkException, type Query, isObject } from "@lightsparkdev/core";
import type ChannelClosingTransaction from "./ChannelClosingTransaction.js";
import type ChannelOpeningTransaction from "./ChannelOpeningTransaction.js";
import type CurrencyAmount from "./CurrencyAmount.js";
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/OutgoingPayment.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import autoBind from "auto-bind";
import type LightsparkClient from "../client.js";
import type CurrencyAmount from "./CurrencyAmount.js";
Expand Down
8 changes: 6 additions & 2 deletions packages/lightspark-sdk/src/objects/OutgoingPaymentAttempt.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import autoBind from "auto-bind";
import type LightsparkClient from "../client.js";
import type CurrencyAmount from "./CurrencyAmount.js";
Expand Down Expand Up @@ -60,7 +60,11 @@ class OutgoingPaymentAttempt implements Entity {
* one-hop payment, this value will be zero as we don't need to pay a fee to ourselves.
**/
public readonly fees?: CurrencyAmount | undefined,
/** The channel snapshot at the time the outgoing payment attempt was made. **/
/**
* The channel snapshot at the time the outgoing payment attempt was made.
*
* @deprecated Not supported.
**/
public readonly channelSnapshotId?: string | undefined,
) {
autoBind(this);
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/PaymentRequest.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { LightsparkException, isObject, type Query } from "@lightsparkdev/core";
import { LightsparkException, type Query, isObject } from "@lightsparkdev/core";
import {
CurrencyAmountFromJson,
CurrencyAmountToJson,
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/RoutingTransaction.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import type CurrencyAmount from "./CurrencyAmount.js";
import {
CurrencyAmountFromJson,
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/Signable.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";

interface Signable {
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/SignablePayload.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import SignablePayloadStatus from "./SignablePayloadStatus.js";

interface SignablePayload {
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/Transaction.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { LightsparkException, isObject, type Query } from "@lightsparkdev/core";
import { LightsparkException, type Query, isObject } from "@lightsparkdev/core";
import type ChannelClosingTransaction from "./ChannelClosingTransaction.js";
import type ChannelOpeningTransaction from "./ChannelOpeningTransaction.js";
import type CurrencyAmount from "./CurrencyAmount.js";
Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/UmaInvitation.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import IncentivesIneligibilityReason from "./IncentivesIneligibilityReason.js";
import IncentivesStatus from "./IncentivesStatus.js";

Expand Down
2 changes: 1 addition & 1 deletion packages/lightspark-sdk/src/objects/Wallet.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

import { isObject, type Query } from "@lightsparkdev/core";
import { type Query, isObject } from "@lightsparkdev/core";
import autoBind from "auto-bind";
import type LightsparkClient from "../client.js";
import type Balances from "./Balances.js";
Expand Down
Loading

0 comments on commit 80c16c1

Please sign in to comment.