From 5ecbd66c19cf12551ebc2137ec986886ce6c0e26 Mon Sep 17 00:00:00 2001 From: kevkevin Date: Fri, 8 Sep 2023 11:36:01 -0500 Subject: [PATCH 001/117] updating workflow to check if [ci commit] is in the message and if it is we wont run the jobs below (#762) --- .github/workflows/lint_format_and_build.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint_format_and_build.yml b/.github/workflows/lint_format_and_build.yml index 4d9f3fa6..049f1cb9 100644 --- a/.github/workflows/lint_format_and_build.yml +++ b/.github/workflows/lint_format_and_build.yml @@ -10,6 +10,15 @@ jobs: runs-on: - ubuntu-latest steps: + - name: Check Commit Message + id: commit-message-check + run: | + COMMIT_MESSAGE=$(git log --format=%B -n 1 ${{ github.sha }}) + if [[ $COMMIT_MESSAGE == *"[ci commit]"* ]]; then + echo "Commit message contains [ci commit], exiting workflow." + exit 0 + fi + shell: bash - name: checkout uses: actions/checkout@v3 with: @@ -25,14 +34,14 @@ jobs: npm run lint || echo -n npx prettier --config .prettierrc --ignore-path .prettierignore -w *.ts src/**/*.ts git add *.ts src - git commit -m '[skip ci] Lint and format code' || echo -n + git commit -m '[ci commit] Lint and format code' || echo -n git push npm run build git add dist --force - git commit -m '[skip ci] Automatic build' || echo -n + git commit -m '[ci commit] Automatic build' || echo -n git push bash grpc_gen_types.sh npm run build git add src/grpc/types src/grpc/proto.ts dist --force - git commit -m '[skip ci] Update proto files and types' || echo -n + git commit -m '[ci commit] Update proto files and types' || echo -n git push From ce6e4758e70d95e7f464948fa6ed1a7cf2435bf5 Mon Sep 17 00:00:00 2001 From: kevkevin Date: Fri, 8 Sep 2023 11:39:20 -0500 Subject: [PATCH 002/117] Build job (#763) * updating workflow to check if [ci commit] is in the message and if it is we wont run the jobs below * moved the statment into the rest of the code --- .github/workflows/lint_format_and_build.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/lint_format_and_build.yml b/.github/workflows/lint_format_and_build.yml index 049f1cb9..0e16d5e9 100644 --- a/.github/workflows/lint_format_and_build.yml +++ b/.github/workflows/lint_format_and_build.yml @@ -10,15 +10,6 @@ jobs: runs-on: - ubuntu-latest steps: - - name: Check Commit Message - id: commit-message-check - run: | - COMMIT_MESSAGE=$(git log --format=%B -n 1 ${{ github.sha }}) - if [[ $COMMIT_MESSAGE == *"[ci commit]"* ]]; then - echo "Commit message contains [ci commit], exiting workflow." - exit 0 - fi - shell: bash - name: checkout uses: actions/checkout@v3 with: @@ -28,6 +19,11 @@ jobs: run: npm i - name: lint, format, build and push automatic fixes run: | + COMMIT_MESSAGE=$(git log --format=%B -n 1 ${{ github.sha }}) + if [[ $COMMIT_MESSAGE == *"[ci commit]"* ]]; then + echo "Commit message contains [ci commit], exiting workflow." + exit 0 + fi git config user.name 'github-actions[bot]' git config user.email '41898282+github-actions[bot]@users.noreply.github.com' shopt -s globstar From c112c98a2f3cb9ca7e38819fd25e39f1b77c8974 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Tue, 12 Sep 2023 00:18:55 +0100 Subject: [PATCH 003/117] update: updated sphinx-bot package from 0.2.42 to 0.2.43 --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 81b84d33..fcf506e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -72,7 +72,7 @@ "short-uuid": "^3.1.1", "sjcl": "^1.0.8", "socket.io": "^4.4.1", - "sphinx-bot": "^0.2.42", + "sphinx-bot": "^0.2.43", "sqlite3": "5.0.11", "tail": "^2.0.3", "ts-jest": "^28.0.8", @@ -15420,9 +15420,9 @@ "license": "CC0-1.0" }, "node_modules/sphinx-bot": { - "version": "0.2.42", - "resolved": "https://registry.npmjs.org/sphinx-bot/-/sphinx-bot-0.2.42.tgz", - "integrity": "sha512-EHN5Gj9PfbB6CisHqdAz7rTRzN6oJAjSHR0G5D9gr3IpyWEEC7RYFWJjlJVvS5YvUs+JqP+8O1pZr2Y5tp4wWw==", + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/sphinx-bot/-/sphinx-bot-0.2.43.tgz", + "integrity": "sha512-yCUpLzjN/l+tJwx58odyU5b3BTc8DJgDKiUTBbLaaXW42YVo3wcT7hVG84VjqHBu8FBwGLhmYEYvVN4CBli4dQ==", "dependencies": { "@types/cors": "^2.8.7", "@types/express": "^4.17.8", @@ -28763,9 +28763,9 @@ "dev": true }, "sphinx-bot": { - "version": "0.2.42", - "resolved": "https://registry.npmjs.org/sphinx-bot/-/sphinx-bot-0.2.42.tgz", - "integrity": "sha512-EHN5Gj9PfbB6CisHqdAz7rTRzN6oJAjSHR0G5D9gr3IpyWEEC7RYFWJjlJVvS5YvUs+JqP+8O1pZr2Y5tp4wWw==", + "version": "0.2.43", + "resolved": "https://registry.npmjs.org/sphinx-bot/-/sphinx-bot-0.2.43.tgz", + "integrity": "sha512-yCUpLzjN/l+tJwx58odyU5b3BTc8DJgDKiUTBbLaaXW42YVo3wcT7hVG84VjqHBu8FBwGLhmYEYvVN4CBli4dQ==", "requires": { "@types/cors": "^2.8.7", "@types/express": "^4.17.8", diff --git a/package.json b/package.json index 9f19f0f5..bbc4854c 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,7 @@ "short-uuid": "^3.1.1", "sjcl": "^1.0.8", "socket.io": "^4.4.1", - "sphinx-bot": "^0.2.42", + "sphinx-bot": "^0.2.43", "sqlite3": "5.0.11", "tail": "^2.0.3", "ts-jest": "^28.0.8", From 1767df865e165ef6aba91320c678b77d670fb960 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Tue, 12 Sep 2023 15:32:54 +0100 Subject: [PATCH 004/117] update: updated bot response to listen for only_pubkey --- dist/src/controllers/botapi/broadcast.js | 22 +++++-- dist/src/controllers/botapi/broadcast.js.map | 2 +- dist/src/controllers/botapi/index.js | 3 +- dist/src/controllers/botapi/index.js.map | 2 +- src/controllers/botapi/broadcast.ts | 23 +++++-- src/controllers/botapi/index.ts | 3 + src/tests/configs/nodes.json | 68 ++++++++++---------- 7 files changed, 77 insertions(+), 46 deletions(-) diff --git a/dist/src/controllers/botapi/broadcast.js b/dist/src/controllers/botapi/broadcast.js index 78e5972c..2ee3bdc3 100644 --- a/dist/src/controllers/botapi/broadcast.js +++ b/dist/src/controllers/botapi/broadcast.js @@ -20,15 +20,29 @@ const logger_1 = require("../../utils/logger"); const index_1 = require("./index"); function broadcast(a) { return __awaiter(this, void 0, void 0, function* () { - const { amount, content, bot_name, msg_uuid, reply_uuid, parent_id, bot_pic, only_owner, only_user, } = a; + const { amount, content, bot_name, msg_uuid, reply_uuid, parent_id, bot_pic, only_owner, only_user, only_pubkey, } = a; logger_1.sphinxLogger.info(`=> BOT BROADCAST`); const ret = yield (0, index_1.validateAction)(a); if (!ret) return; const { chat, owner } = ret; const tenant = owner.id; - if (only_user) { - chat.contactIds = `[${only_user}]`; + if (only_user || only_pubkey) { + if (only_user) { + chat.contactIds = `[${only_user}]`; + } + else { + try { + const user = (yield models_1.models.Contact.findOne({ + where: { tenant, publicKey: only_pubkey }, + })); + chat.contactIds = `[${user.id}]`; + } + catch (error) { + logger_1.sphinxLogger.error(`=> ONLY_PUBKEY ERROR ${error}`, logger_1.logging.Bots); + return; + } + } } const encryptedForMeText = rsa.encrypt(owner.contactKey, content || ''); const encryptedText = rsa.encrypt(chat.groupKey, content || ''); @@ -52,7 +66,7 @@ function broadcast(a) { updatedAt: date, senderAlias: alias, tenant, - onlyOwner: only_owner || only_user ? true : false, + onlyOwner: only_owner || only_user || only_pubkey ? true : false, }; if (parent_id) msg.parentId = parent_id; diff --git a/dist/src/controllers/botapi/broadcast.js.map b/dist/src/controllers/botapi/broadcast.js.map index 0a66d2cd..edc1268e 100644 --- a/dist/src/controllers/botapi/broadcast.js.map +++ b/dist/src/controllers/botapi/broadcast.js.map @@ -1 +1 @@ -{"version":3,"file":"broadcast.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/broadcast.ts"],"names":[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BACxB,IAAI,EAAE,IAAuB;gBAC7B,MAAM,kCACD,KAAK,CAAC,UAAU,KACnB,KAAK,EACL,EAAE,EAAE,YAAY,EAChB,IAAI,EAAE,mBAAS,CAAC,UAAU,CAAC,MAAM,EACjC,QAAQ,EAAE,OAAO,IAAI,EAAE,GACxB;gBACD,OAAO,EAAE;oBACP,OAAO,EAAE,OAAO;oBAChB,EAAE,EAAE,OAAO,CAAC,EAAE;oBACd,IAAI,EAAE,OAAO,CAAC,IAAI;oBAClB,SAAS,EAAE,OAAO,CAAC,SAAS;oBAC5B,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,CAAC;iBAChC;gBACD,IAAI,EAAE,mBAAS,CAAC,aAAa,CAAC,OAAO;gBACrC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gBAClC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,OAAO,qBAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;gBAC9B,CAAC;gBACD,WAAW,EAAE,IAAI;aAClB,CAAC,CAAA;SACH;IACH,CAAC;CAAA;AA1FD,4BA0FC"} \ No newline at end of file +{"version":3,"file":"broadcast.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/broadcast.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,oCAAmC;AACnC,yCAAwC;AACxC,yCAAyE;AACzE,wCAAuC;AACvC,8CAA6C;AAC7C,6CAA4C;AAC5C,+CAAuC;AACvC,+CAA0D;AAE1D,mCAAgD;AAEhD,SAA8B,SAAS,CAAC,CAAS;;QAC/C,MAAM,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,SAAS,EACT,OAAO,EACP,UAAU,EACV,SAAS,EACT,WAAW,GACZ,GAAG,CAAC,CAAA;QAEL,qBAAY,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAA;QACrC,MAAM,GAAG,GAAG,MAAM,IAAA,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ACf,MAAM,OAAO,CAAC,WAAW,CAAC;gBACxB,IAAI,EAAE,IAAuB;gBAC7B,MAAM,kCACD,KAAK,CAAC,UAAU,KACnB,KAAK,EACL,EAAE,EAAE,YAAY,EAChB,IAAI,EAAE,mBAAS,CAAC,UAAU,CAAC,MAAM,EACjC,QAAQ,EAAE,OAAO,IAAI,EAAE,GACxB;gBACD,OAAO,EAAE;oBACP,OAAO,EAAE,OAAO;oBAChB,EAAE,EAAE,OAAO,CAAC,EAAE;oBACd,IAAI,EAAE,OAAO,CAAC,IAAI;oBAClB,SAAS,EAAE,OAAO,CAAC,SAAS;oBAC5B,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,CAAC;iBAChC;gBACD,IAAI,EAAE,mBAAS,CAAC,aAAa,CAAC,OAAO;gBACrC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gBAClC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,OAAO,qBAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;gBAC9B,CAAC;gBACD,WAAW,EAAE,IAAI;aAClB,CAAC,CAAA;SACH;IACH,CAAC;CAAA;AAvGD,4BAuGC"} \ No newline at end of file diff --git a/dist/src/controllers/botapi/index.js b/dist/src/controllers/botapi/index.js index e296fec1..8d501642 100644 --- a/dist/src/controllers/botapi/index.js +++ b/dist/src/controllers/botapi/index.js @@ -134,7 +134,7 @@ function processAction(req, res) { return (0, res_1.failure)(res, 'failed to parse webhook body json'); } } - const { action, bot_id, bot_secret, pubkey, amount, content, chat_uuid, msg_uuid, reply_uuid, recipient_id, parent_id, } = body; + const { action, bot_id, bot_secret, pubkey, amount, content, chat_uuid, msg_uuid, reply_uuid, recipient_id, parent_id, only_pubkey, } = body; if (!bot_id) return (0, res_1.failure)(res, 'no bot_id'); const bot = (yield models_1.models.Bot.findOne({ where: { id: bot_id } })); @@ -167,6 +167,7 @@ function processAction(req, res) { reply_uuid: reply_uuid || '', parent_id: parent_id || 0, recipient_id: recipient_id ? parseInt(recipient_id) : 0, + only_pubkey: only_pubkey || '', }; try { const r = yield finalAction(a); diff --git a/dist/src/controllers/botapi/index.js.map b/dist/src/controllers/botapi/index.js.map index 5c28cb55..180ade72 100644 --- a/dist/src/controllers/botapi/index.js.map +++ b/dist/src/controllers/botapi/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,yCAAwC;AACxC,yCASqB;AACrB,yCAAgE;AAChE,+CAAuC;AACvC,+CAA6D;AAC7D,+CAA0D;AAC1D,0CAAyC;AACzC,2CAA6E;AAC7E,2CAA4C;AAE5C,iDAAsE;AACtE,yCAA4C;AAC5C,6BAAiC;AACjC,+BAAuB;AACvB,2CAAmC;AA2BnC,SAAsB,cAAc,CAAC,GAAQ,EAAE,GAAQ;;;QACrD,qBAAY,CAAC,IAAI,CAAC,qBAAqB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;QAClD,MAAM,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAA;QAC9C,IAAI,CAAC,GAAG,EAAE;YACR,qBAAY,CAAC,KAAK,CAAC,mBAAmB,EAAE,gBAAO,CAAC,IAAI,CAAC,CAAA;YACrD,OAAO,IAAA,kBAAY,EAAC,GAAG,CAAC,CAAA;SACzB;QAED,MAAM,UAAU,GACd,GAAG,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAA;QAChE,IAAI,CAAC,UAAU,EAAE;YACf,qBAAY,CAAC,KAAK,CAAC,sBAAsB,EAAE,gBAAO,CAAC,IAAI,CAAC,CAAA;YACxD,OAAO,IAAA,kBAAY,EAAC,GAAG,CAAC,CAAA;SACzB;QAED,MAAM,KAAK,GAAG,GAAG,CAAC,IAAoB,CAAA;QACtC,IAAI,IAAI,GAAG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,EAAE,CAAA;IACjC,CAAC;CAAA;AAVD,wCAUC;AAED,SAAsB,iBAAiB,CAAC,GAAQ,EAAE,GAAQ;;QACxD,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC,IAAI,CAAA;QAC1B,IAAI,CAAC,IAAI,EAAE;YACT,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,SAAS,CAAC,CAAA;SAC/B;QACD,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAA;QAClC,IAAI,CAAC,UAAU,EAAE;YACf,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,eAAe,CAAC,CAAA;SACrC;QACD,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAA;QAC9B,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,aAAa,CAAC,CAAA;SACnC;QAED,IAAI,cAAS,CAAC,UAAU,CAAC,EAAE;YACzB,cAAS,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAA;SAChC;QAED,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAA;IAC5B,CAAC;CAAA;AAnBD,8CAmBC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,yCAAwC;AACxC,yCASqB;AACrB,yCAAgE;AAChE,+CAAuC;AACvC,+CAA6D;AAC7D,+CAA0D;AAC1D,0CAAyC;AACzC,2CAA6E;AAC7E,2CAA4C;AAE5C,iDAAsE;AACtE,yCAA4C;AAC5C,6BAAiC;AACjC,+BAAuB;AACvB,2CAAmC;AA4BnC,SAAsB,cAAc,CAAC,GAAQ,EAAE,GAAQ;;;QACrD,qBAAY,CAAC,IAAI,CAAC,qBAAqB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;QAClD,MAAM,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,q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AAC,GAAG,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAA;IAC5B,CAAC;CAAA;AAnBD,8CAmBC"} \ No newline at end of file diff --git a/src/controllers/botapi/broadcast.ts b/src/controllers/botapi/broadcast.ts index 8e8dbec8..25412683 100644 --- a/src/controllers/botapi/broadcast.ts +++ b/src/controllers/botapi/broadcast.ts @@ -1,11 +1,11 @@ import * as short from 'short-uuid' import * as network from '../../network' -import { models, Message, ChatRecord } from '../../models' +import { models, Message, ChatRecord, ContactRecord } from '../../models' import * as rsa from '../../crypto/rsa' import * as jsonUtils from '../../utils/json' import * as socket from '../../utils/socket' import constants from '../../constants' -import { sphinxLogger } from '../../utils/logger' +import { sphinxLogger, logging } from '../../utils/logger' import { ChatPlusMembers } from '../../network/send' import { Action, validateAction } from './index' @@ -20,6 +20,7 @@ export default async function broadcast(a: Action): Promise { bot_pic, only_owner, only_user, + only_pubkey, } = a sphinxLogger.info(`=> BOT BROADCAST`) @@ -28,8 +29,20 @@ export default async function broadcast(a: Action): Promise { const { chat, owner } = ret const tenant: number = owner.id - if (only_user) { - chat.contactIds = `[${only_user}]` + if (only_user || only_pubkey) { + if (only_user) { + chat.contactIds = `[${only_user}]` + } else { + try { + const user = (await models.Contact.findOne({ + where: { tenant, publicKey: only_pubkey! }, + })) as ContactRecord + chat.contactIds = `[${user.id}]` + } catch (error) { + sphinxLogger.error(`=> ONLY_PUBKEY ERROR ${error}`, logging.Bots) + return + } + } } const encryptedForMeText = rsa.encrypt(owner.contactKey, content || '') @@ -55,7 +68,7 @@ export default async function broadcast(a: Action): Promise { updatedAt: date, senderAlias: alias, tenant, - onlyOwner: only_owner || only_user ? true : false, + onlyOwner: only_owner || only_user || only_pubkey ? true : false, } if (parent_id) msg.parentId = parent_id if (bot_pic) msg.senderPic = bot_pic diff --git a/src/controllers/botapi/index.ts b/src/controllers/botapi/index.ts index 6a7d5e6b..fc86772b 100644 --- a/src/controllers/botapi/index.ts +++ b/src/controllers/botapi/index.ts @@ -48,6 +48,7 @@ export interface Action { bot_pic?: string only_owner?: boolean only_user?: number + only_pubkey?: string } export async function processWebhook(req: Req, res: Res): Promise { @@ -171,6 +172,7 @@ export async function processAction(req: Req, res: Res): Promise { reply_uuid, recipient_id, parent_id, + only_pubkey, } = body if (!bot_id) return failure(res, 'no bot_id') @@ -204,6 +206,7 @@ export async function processAction(req: Req, res: Res): Promise { reply_uuid: reply_uuid || '', parent_id: parent_id || 0, recipient_id: recipient_id ? parseInt(recipient_id) : 0, + only_pubkey: only_pubkey || '', } try { diff --git a/src/tests/configs/nodes.json b/src/tests/configs/nodes.json index 6a73af79..535ce311 100644 --- a/src/tests/configs/nodes.json +++ b/src/tests/configs/nodes.json @@ -4,11 +4,11 @@ "pubkey": "03a394d0ebf0d003124ab130c6b12b8b990a50a30a464354800a51981ba745bb07", "ip": "http://alice.sphinx:3001", "external_ip": "http://localhost:3001", - "authToken": "1D6OhvgPS5sxO1KNd1tb", - "transportToken": "MIIBCgKCAQEAzfnmLizb704AtLy5fU/3/l6mMnw3MoDYDf91ztWNWaiGtM8tn8y4\n0z9Xca21Lzmhj38AL9/+53zF9NtkSBx5BCfpbI6JcTM5FDTxfclYRUwoIE8AJz6G\nJCLR41dgzBqvdhVPQWdyIqA1bsQQKHqwqMyKYqpf0VJo88Kv9UPqyDqobqtkn1WO\n23HAVhEIzcEYFTZqktdddczrhSfrwmXJYgC7Jfrdsu/SHyv55BCQLBJ2Ni5SavmE\nCR1zZY8xg1Oxj722DK+ITsv4VHXP1sTwbhVN+0Jc48hjXjyONlce7KRLh83Botvb\nyy70y4RUyfQz8rejODkaBHEPUDPG5XySWwIDAQAB", - "contact_key": "MIIBCgKCAQEA3x/bV+mHa3gAhec7M88LNTFTQnjfu0nAJBSabvIJjxu/6t3k4sqL1gIu8aLmA+iOqOJ6/8wqZLY8jddVUXE5rbeevw0qWcyuVT94xlChQ+ltcz55K3FXkMm9TejEm6l1HBHKLQqi8ke/oSxBQWLa5hS60PxadYJiO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1jeklaKzFBaHhPTWQzbW1SWVo5WXJPUnByOFgrZFZFWmRZSXhLU3JMQjVPUGFxQVpqK2d2NlBWNndkbzg5UjFyOGVJMGs2bkNJd3RlNGpiVStZYVh1YVdHaTRKMHN0OUo3RERBU0NkSFo1V3hNWDc5Kzg2SzI0TmJsdjdTZk1zV2tQb2E3Mm90WXpUSEdqR0w3WWsvaDRXckl0QVBLK2YzY0lGU1dxbWpucWwzMlBwcmFtR2xPd1N6S2hDM2dObnBZMGM5dkVQUFE2ME4ycGk4R2QxWnpVRlY1WHJyS2ZVSFA0dURwSUFRTXZXNTlZR0t5NndBVkNVc205K2Q2R0lkU1lYUGQ3OGdhOHB6T1BjbEJPK1hYWHVOYktZM1BoVG1BK1NZVDVycW1RbkZ5TVNLbEJBYUdob1Z1UGwvS09wQzdybEh4U2o2L1ltMUxLUUxXdmVMU2tkZXcxdkp6TmVFYjFUbDBPdFdWSjdkdFFRWFRiVldHaWIrbmNwSlBSS1NqYlNmYnZGa2VyQ3IvS0FqRnR6V0V0bnduMGFtY2x5aW92dGYzM1pzdWVFbHBVMnBiNmRscjZLRjF2MTl0WGlZcklwYmxSRjdTQU95MWhTaGdPdS9UekV2a056cURIbDcwblJtVmozMk0veHNsbDRtRTdmaldUelZ2cFhabXZwaEFleUpSWjlkU1pGTzh0S1AzWENGNWVuK1ltcEFzU3RLQ3QydUppMDVQVEZqYXZCN3ZLbFQ2Z1Nrd25sNGNGb2VPVGZnRityRkt3NkoyS0Riai90V3hpYVRKb3k2cHhaWER5VGd5clkrV09lK1BlMkkwY2trK010MUtxajdsSXY5eFdCZlhuVHNKMTVpSHJ5VG85WFc5ZWd2N0lhS3ZhZHh2TnJWVGxGTER1MmJUcm14MD0=", "pin": "111111" }, { @@ -16,11 +16,11 @@ "pubkey": "02a38857848aca6b32ebcc3c85d07ee41354988f4f1e0b4e6ccd255eee6ed75b8d", "ip": "http://bob.sphinx:3002", "external_ip": "http://localhost:3002", - "authToken": "H6X0wWoNonz3JmQ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GFBaVk4YW0xTzJweGEzTmkvN1hHdWFwSTk1aEY2YmIzYm5xVWJ3TkNlZHUvMUYzVnN3bzJ3UEg3eVpFV0pLSlVnWnI1WEdVNTU0NkVWUnpnUVhzdWJIZElsSVh6WHdOMG9tTWthdEY1QXVGNWVTRCs0VXJoa2srVkkvVjJrVUZ3YmlBbkVERkFXLzQ0MTNGUjh2Szc5SlBvK054Tnppc2NtUmV6eE5ML2Qya1J3SXJHa3BvN24vdkRwVGF6L1hnb2NnKzBNV0JWNTRvM2ZUR3NuMDRSOWhrMmE1UFRIaXNVUis2elNDT2daTWlFcHB3WXB3V2ZBaHNNNUhVN3kwZ2d5U05tWGEzZz0=", "pin": "111111" }, { @@ -28,11 +28,11 @@ "pubkey": "0364c05cbcbb9612036cc66297445a88bcfc21941fd816e17a56b54b0b52ff02b9", "ip": "http://carol.sphinx:3003", "external_ip": "http://localhost:3003", - "authToken": "0stlf6fhD+RoHujVsnbm", - "transportToken": "MIIBCgKCAQEA3al3iGqMBljn5du9HoqoO1chHY5J6cNCdreLcEXDT46vyceRXxz1\nejP+5QUQEKH1LL3JxZ4Mnm1JWhaguNC8hlp4Z2wDf/3K4IYUpoyK+0Nq2iJE3oRT\nmM4Vjb4njIMoNkW+QrFVKH/vwqpbcNdAXIhzVnMk46/1YJvRrnautq5gfdpDgUjW\nfdJVx3+LCcpgUvDNFAXZZan+2EU048rqmAIRSopY9s/Pi4zFRJGxd7cvp5TMdgpP\n0Wj+cn4M/Cde/wriFONqm3ty07rqfACC3Bai6LC/AnCWAbsw2FMuk+ZE0JNtOflL\n2BxIrlvfMn/UwcPqW7AGxDITXHHDUI8LDQIDAQAB", - "contact_key": "MIIBCgKCAQEAxYTcIq9w/dL2yozIFncWl6H6YUEIlr8DYBAImIWnvP+nP3a9BIaGwYhjzsozzztYxU4mEgwN6F0gJet04BSNyAgsQ+mdONtW325yPIrtR4kOthsNsAyzhE6gffnWdzrAGdNjeL6FNZRiRQaKRaNI5uHFeml8LA5POBN1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JRdGEyakpOKys4WDBwT3V3bXVhcUtTdThrRjFZMDZhR2tDaC9lOVpxZmduaE93OExIblk5b3JFVWhiVS9mUVNNSjFUMElEaHQrVmdkbWRzTEJpYUVldU41VmN0MTJZVUVsN0VJZUloU3BxWHZHWHJHcjNPSFZQbGxDekI4RzlybHVHYnNLRmJtUzJ6QmtXNGx3Wmgrd3psNUdQZmZBLzR4ZktoRlBGam93Y2FINEYvVkFSQ2RKWmd2MkhpczlUczhJZy9PSDlMRGlEWC81a294NDFSbm1RbVJjVG0rRHp3ZkJaVFFNbjVubHBZcFlTRlEwcWlTdmtKSmdLMm9jYWx5ZEJCSVpBWVBRVjRMbTlCY2tVdGljYWovRGtqZnZUK3NYSWVwQjhaWmlPd2lMS1hkOWhHVThyd2NWbG1SanRaWUM5SVUybXVQZmRhZjJyWEJvcEdhbG9mV3gvNCtBTEpQUE5MOE5XanlMdHRrRS9DUCtDOE9CRVorMmVEc2ZvY2tLQ1hKeUJMWDN1QmI1Zk11UGkvaDB1ODdETkpNdVJXUmFCd0dZaERoN3lTWktUME1udTVoY3htOURMaUw0Z1JMT1pOa211R0p0TFk1RmpUNUx4RFhnN2dIczBHcmpDU3M2QktGMHZ4NVd6a1FTUmtFb3NjbWRTSFVmN3BIb0QrMTl5bVlIdG9sM0JnanB4VTM4N1ErUU8rbkdYZUlWRmNDeVFod2RPbWRsekRBWkF4OXlTZzJxMWZveW5sOE9RWjBRdWEyY2FtN0h4RlE3UURmbkpNT1NkcHBPS2FsZVJyOFV4WkQ2WlNrR2Z0UU9qNXZwSUpiTjdnaU9uTDZMK09ibHoyelBSUlloVGJxK0FUYz0=", "pin": "111111" }, { @@ -42,37 +42,37 @@ "external_ip": "http://localhost:3004", "proxy_ip": "http://proxy.sphinx:5050", "admin_token": "r46bnf8ibrhbb424heba", - "authToken": "i/0VW+trhjIPzhTWNqOU", - "transportToken": "MIIBCgKCAQEAvzoM8xogMNxAVY4B1hoImhnjtYQDc6V2IrpfGkbYPHWQ5O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XUU9jZGR3NDZzM0E3S3dmcnlKaWRacVlmT01iRUpRVGZwbkxSeEdBVXNFaTlGYWh5OEZ5ZFdhTk9GekYwV2l6NW55Uk9TRk9CNmd5YmhSZWtIQVFjNGpWMm0vUWQ3QkJLZGRrNWVtb3U5c2V2aGE3TzhJcFpyanIxOUxMek9vdjBsUzhaK3BCZG4vRzkvZHR0aE5tZ2d5czVwVERNRzRPV3h4TkhOdmxNalZ6bjNXQzBWQ3A4VHd5Ti9UbXlkVHgzeE5kNE1vZ2FKQWtzQkdHYz0=", "pin": "111111" }, { - "pubkey": "020095b6e93fbd7ae89e760dd6aa9674af79b817f6e6cff9d2d9f4e7da2df39bed", - "routeHint": "037ec785c6004d512ebaeb0020f81a2bcdb6fccc9539f7b891f704289ebc65a4e3:2199023386625", + "pubkey": "02d997c50eb7b7f914b865451f37244a9abbfd2f5ba6d056489e8ca1526397bd82", + "routeHint": "037ec785c6004d512ebaeb0020f81a2bcdb6fccc9539f7b891f704289ebc65a4e3:2199023452161", "alias": "virtualNode0", "ip": "http://host.docker.internal:3004", "external_ip": "http://localhost:3004", - "authToken": "uw+L1VUN7S2yWOXBLJ0h", - "transportToken": "MIIBCgKCAQEAvzoM8xogMNxAVY4B1hoImhnjtYQDc6V2IrpfGkbYPHWQ5Oj/1T/L\ntlpDV6NeEPBuw0l4tDbHQxcU50EBXQdZeRszdl/LOyTRcrfJenYb//as/irkyjda\nt+QJ5Zsn2ArYfSus1lpNWxQdx5OslfkjRXdZcroyoJgsuoJdsJX+BfKSjnQJpd5x\nu/YpJx0+Q9Qk9Lp1e0ckPJd9Y0U/CuWhHFbbDaQX2TjFNHxBQ1zJjVqOEA4Wnx8c\nbve8ib0ccKy+nbhrBoGKsDM4ei/6+lupHtGJ+CW/ckYcYebBMcOG9979eCp6dRMY\ngBJNRWnIyzAt7RrRu6l7A+nlffeRycgLxQIDAQAB", - "contact_key": "MIIBCgKCAQEArF9zcpdPzJldC/jMVuVts4iZ8kEZcQQJRiul4rkF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ecf1a1cc2f4ef3d682e2edb66190f291eb64a", - "routeHint": "037ec785c6004d512ebaeb0020f81a2bcdb6fccc9539f7b891f704289ebc65a4e3:2199023452161", + "pubkey": "039188edc6c39499de81ef40f5de2701256ae2ca6ccd57c0c72d7408da202953ac", + "routeHint": "037ec785c6004d512ebaeb0020f81a2bcdb6fccc9539f7b891f704289ebc65a4e3:2199023386625", "alias": "virtualNode1", "ip": "http://host.docker.internal:3004", "external_ip": "http://localhost:3004", - "authToken": "5fWjl/000ovFMpz1LRCf", - "transportToken": "MIIBCgKCAQEAvzoM8xogMNxAVY4B1hoImhnjtYQDc6V2IrpfGkbYPHWQ5Oj/1T/L\ntlpDV6NeEPBuw0l4tDbHQxcU50EBXQdZeRszdl/LOyTRcrfJenYb//as/irkyjda\nt+QJ5Zsn2ArYfSus1lpNWxQdx5OslfkjRXdZcroyoJgsuoJdsJX+BfKSjnQJpd5x\nu/YpJx0+Q9Qk9Lp1e0ckPJd9Y0U/CuWhHFbbDaQX2TjFNHxBQ1zJjVqOEA4Wnx8c\nbve8ib0ccKy+nbhrBoGKsDM4ei/6+lupHtGJ+CW/ckYcYebBMcOG9979eCp6dRMY\ngBJNRWnIyzAt7RrRu6l7A+nlffeRycgLxQIDAQAB", - "contact_key": "MIIBCgKCAQEA5poDxkN6LZLURRLupUpQHKdIqDZ48KmG5va16b5Ve4me9WOeRgL4tXkJP8T9UxMRoYC2x9Rdph+EDM73ElyNGU/GDRayCNldfoxTLaePrpO63CFhi5J7U8Y72b9Hyc3QDag5OpTkdkkxCmpk0uQJDwM100Yf6S0UPgxj//xPC1urr+XYClFXIcCAg30cmBlJQTTqEPwd3v6IUcFoKpECPHsvCi/qNl8tHPQpgZgyQopaZIVvXkf8gGrDqZmOHdxUjAf9MOh0DoAQ5h/ITfl1VZbvwT4XTpV6FheRg4QnBsB/IFJaKc+kMFC41MnlwlJnne4EjKNTBUp6WeXXfpP6xQIDAQAB", - "privkey": "MIIEpQIBAAKCAQEA5poDxkN6LZL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ytYem5STFNOdW5kQ25yZUVkbXZCcGxMdWFIOWRhZTQ5UGlHSm0vWTZGMk9NaXhQWTBnSklCdTU5UVlueTl5ekI3OVBMbWpQc1V2dUlibSt2VkdTY2tKczEwazQ0OS9EeTJkS3pZZElRZmp5WmJsei84ZllEa3JZNUJoR0k3Z1FkaHlickZFbXpjd0FTNlI4T3NuVitMZ1A5bCt5dmp1Sm1IbHl5WFJNNGJreDZUVDJUb2N5TFpYT3IwQW1kdm1QZTRuOEtKMEt3SDdyT09GaTlrajhzdFRWcWNJWGtFRVgzeW9hVlRaZDZtZXczRDF2amwvVFl4Yit3T3RBMUhkcVJvV2lJa0M3bnZaWkJyaXRnSC9laWhGRXlyUFFQYUJIQi8rTkZIMEE2bk14Ry8va1BFUnFIQjdWUmYvanlhSlJRTHI0bFFTNGgwZTdrMkFuaWRzRk9QQ0pzanJZQUhmYndRa3YvR25tRXlDVnR5cFdPaDFoN3JGRW1SR0xIZFFqbjNITzhMZFRER0NxcVhlWWdPcHB4ZDg2UnBZdVdZUDR3SkpxMmpjalhnckpvS3JFZXNXN1FuS3hmak9rbHhLb3hJbTFtREpxWTBrd2x5MWFPQnpTcXU3Nyt1L0FtSTgvZUlGSVVXaFZkZ0VNdjhxVzYzNEo0Ni9mZGFUVDBvYz0=", "pin": "111111" } ] From 8383974589cd26bd83b13f8c79ff3a3dbe303c33 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 12 Sep 2023 19:00:27 +0000 Subject: [PATCH 005/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 175facde945a49cc9148fc6afe3d0f0c7ca553b9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 12 Sep 2023 19:01:05 +0000 Subject: [PATCH 006/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 9b054c4315045f361fdc6fbb7f014f81e3cc4fbb Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Wed, 13 Sep 2023 15:47:41 +0100 Subject: [PATCH 007/117] update: handled condition, if user not found --- dist/src/controllers/botapi/broadcast.js | 3 ++- dist/src/controllers/botapi/broadcast.js.map | 2 +- src/controllers/botapi/broadcast.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dist/src/controllers/botapi/broadcast.js b/dist/src/controllers/botapi/broadcast.js index 2ee3bdc3..33876955 100644 --- a/dist/src/controllers/botapi/broadcast.js +++ b/dist/src/controllers/botapi/broadcast.js @@ -36,7 +36,8 @@ function broadcast(a) { const user = (yield models_1.models.Contact.findOne({ where: { tenant, publicKey: only_pubkey }, })); - chat.contactIds = `[${user.id}]`; + if (user) + chat.contactIds = `[${user.id}]`; } catch (error) { logger_1.sphinxLogger.error(`=> ONLY_PUBKEY ERROR ${error}`, logger_1.logging.Bots); diff --git a/dist/src/controllers/botapi/broadcast.js.map b/dist/src/controllers/botapi/broadcast.js.map index edc1268e..bc3df536 100644 --- a/dist/src/controllers/botapi/broadcast.js.map +++ b/dist/src/controllers/botapi/broadcast.js.map @@ -1 +1 @@ -{"version":3,"file":"broadcast.js","sourceRoot":"","sources":["../../../../src/controllers/botapi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AC;CAAA;AAvGD,4BAuGC"} \ No newline at end of file diff --git a/src/controllers/botapi/broadcast.ts b/src/controllers/botapi/broadcast.ts index 25412683..5c34bd9c 100644 --- a/src/controllers/botapi/broadcast.ts +++ b/src/controllers/botapi/broadcast.ts @@ -37,7 +37,7 @@ export default async function broadcast(a: Action): Promise { const user = (await models.Contact.findOne({ where: { tenant, publicKey: only_pubkey! }, })) as ContactRecord - chat.contactIds = `[${user.id}]` + if (user) chat.contactIds = `[${user.id}]` } catch (error) { sphinxLogger.error(`=> ONLY_PUBKEY ERROR ${error}`, logging.Bots) return From fe892744c5cfb740a745d0ad0d506d583760ef96 Mon Sep 17 00:00:00 2001 From: kevkevin Date: Wed, 13 Sep 2023 12:13:13 -0500 Subject: [PATCH 008/117] added a percent value to the invoice instead of fixed, we can make this an env var in the future --- src/grpc/lightning.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grpc/lightning.ts b/src/grpc/lightning.ts index 847da729..11d6a4d9 100644 --- a/src/grpc/lightning.ts +++ b/src/grpc/lightning.ts @@ -321,7 +321,7 @@ export async function sendPayment( if (isProxy(lightning)) { const opts = { payment_request, - fee_limit: { fixed: 100 }, + fee_limit: { percent: 7 }, } lightning.sendPaymentSync(opts, (err, response) => { if (err || !response) { From e35f080607d9e024d6382aad2a8bd87e4dfa12a6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Sep 2023 18:27:03 +0000 Subject: [PATCH 009/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 7fb2c5d249bf591ac638dc95a09a3eef496877d3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Sep 2023 18:27:21 +0000 Subject: [PATCH 010/117] [ci commit] Automatic build --- dist/src/grpc/lightning.js | 2 +- dist/src/grpc/lightning.js.map | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/src/grpc/lightning.js b/dist/src/grpc/lightning.js index d3d9fdef..7c557f8f 100644 --- a/dist/src/grpc/lightning.js +++ b/dist/src/grpc/lightning.js @@ -254,7 +254,7 @@ function sendPayment(payment_request, ownerPubkey) { if ((0, proxy_1.isProxy)(lightning)) { const opts = { payment_request, - fee_limit: { fixed: 100 }, + fee_limit: { percent: 7 }, }; lightning.sendPaymentSync(opts, (err, response) => { if (err || !response) { diff --git a/dist/src/grpc/lightning.js.map b/dist/src/grpc/lightning.js.map index fe422991..aa0f9465 100644 --- a/dist/src/grpc/lightning.js.map +++ b/dist/src/grpc/lightning.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AuC;AACvC,0FAA0F;AAC1F,6BAA6B;AAC7B,MAAM;AACN,IAAI"} \ No newline at end of file +{"version":3,"file":"lightning.js","sourceRoot":"","sources":["../../../src/grpc/lightning.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yBAAwB;AACxB,iCAAgC;AAChC,sCAAqC;AACrC,iCAAgC;AAChC,uCAAsC;AACtC,oCAAmC;AACnC,wCAAkC;AAClC,4CAAoC;AACpC,gDAA+C;AAC/C,4CAA4C;AAC5C,0CAA4D;AAC5D,4CAAuD;AACvD,4CAA2C;AAE3C,mCAAmC;AAanC,2CAA0C;AAC1C,uCAA+B;AAC/B,6CAAsD;AAEtD,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAC3B,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,WAAW,CAAA;AAC3C,MAAM,MAAM,GAAG,MAAM,CAAC,kBAAkB,KAAK,KAAK,CAAA;AAClD,MAAM,aAAa,GAAG,MAAM,CAAC,kBAAkB,KAAK,YAAY,CAAA;AAChE,MAAM,MAAM,GAAG,MAAM,CAAC,kBAAkB,KAAK,KAAK,CAAA;AAErC,QAAA,eAAe,GAAG,UAAU,CAAA;AAC5B,QAAA,wBAAwB,GAAG,SAAS,CAAA;AAEjD,MAAM,aAAa,GAAG,EAAE,CAAA;AAExB,IAAI,eAKS,CAAA;AACb,IAAI,cAAgD,CAAA;AACpD,IAAI,YAAsC,CAAA;AAE1C,+BAA+B;AAC/B,SAAgB,KAAK,CACnB,MAKa;IAEb,OAAO,MAAM,CAAA;AACf,CAAC;AATD,sBASC;AAED,SAAgB,IAAI,CAClB,MAKa;IAEb,OAAO,aAAa,CAAA;AACtB,CAAC;AATD,oBASC;AAED,SAAgB,KAAK,CACnB,MAKa;IAEb,OAAO,MAAM,CAAA;AACf,CAAC;AATD,sBASC;AAED,SAAgB,eAAe,CAAC,OAAgB;IAC9C,IAAI;QACF,6CAA6C;QAC7C,MAAM,OAAO,GAAG,EAAE,CA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ACb,yCAAyC;AACzC,8EAA8E;AAC9E,6EAA6E;AAC7E,uCAAuC;AACvC,0FAA0F;AAC1F,6BAA6B;AAC7B,MAAM;AACN,IAAI"} \ No newline at end of file From 05576ce88f7e6d413ae8476bda9e719752eb5eca Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Sep 2023 18:27:50 +0000 Subject: [PATCH 011/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 60fa0817105f02b0c295c94d2fbd2cfb1c6ebab9 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Mon, 18 Sep 2023 17:02:45 +0100 Subject: [PATCH 012/117] feat: added get contact by id endpoint --- dist/src/controllers/contacts.js | 25 ++++++++++++++++++++++++- dist/src/controllers/contacts.js.map | 2 +- dist/src/controllers/index.js | 1 + dist/src/controllers/index.js.map | 2 +- src/controllers/contacts.ts | 23 +++++++++++++++++++++++ src/controllers/index.ts | 1 + 6 files changed, 51 insertions(+), 3 deletions(-) diff --git a/dist/src/controllers/contacts.js b/dist/src/controllers/contacts.js index 0000af0e..fe1e840f 100644 --- a/dist/src/controllers/contacts.js +++ b/dist/src/controllers/contacts.js @@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.unblockContact = exports.blockContact = exports.getLatestContacts = exports.receiveConfirmContactKey = exports.receiveContactKey = exports.deleteContact = exports.createContact = exports.exchangeKeys = exports.updateContact = exports.getHmacKey = exports.registerHmacKey = exports.generateToken = exports.generateOwnerWithExternalSigner = exports.getContactsForChat = exports.getContacts = void 0; +exports.getContactById = exports.unblockContact = exports.blockContact = exports.getLatestContacts = exports.receiveConfirmContactKey = exports.receiveContactKey = exports.deleteContact = exports.createContact = exports.exchangeKeys = exports.updateContact = exports.getHmacKey = exports.registerHmacKey = exports.generateToken = exports.generateOwnerWithExternalSigner = exports.getContactsForChat = exports.getContacts = void 0; const crypto = require("crypto"); const sequelize_1 = require("sequelize"); const moment = require("moment"); @@ -704,4 +704,27 @@ const unblockContact = (req, res) => __awaiter(void 0, void 0, void 0, function* switchBlock(res, req.owner.id, contactId, false); }); exports.unblockContact = unblockContact; +const getContactById = (req, res) => __awaiter(void 0, void 0, void 0, function* () { + if (!req.owner) + return (0, res_1.failure)(res, 'no owner'); + const tenant = req.owner.id; + try { + const contactId = parseInt(req.params.contact_id); + if (!contactId) { + return (0, res_1.failure)(res, 'provide a valid contact id'); + } + const contact = (yield models_1.models.Contact.findOne({ + where: { id: contactId, tenant }, + })); + if (!contact) { + return (0, res_1.failure)(res, 'contact does not exist'); + } + return (0, res_1.success)(res, jsonUtils.contactToJson(contact)); + } + catch (error) { + logger_1.sphinxLogger.error(error, logger_1.logging.DB); + return (0, res_1.failure)(res, error); + } +}); +exports.getContactById = getContactById; //# sourceMappingURL=contacts.js.map \ No newline at end of file diff --git a/dist/src/controllers/contacts.js.map b/dist/src/controllers/contacts.js.map index 25fedf8c..41ade2b5 100644 --- a/dist/src/controllers/contacts.js.map +++ b/dist/src/controllers/contacts.js.map @@ -1 +1 @@ -{"version":3,"file":"contacts.js","sourceRoot":"","sources":["../../../src/controllers/contacts.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iCAAgC;AAChC,yCAA2C;AAC3C,iCAAgC;AAChC,sCASkB;AAClB,0CAAyC;AACzC,sCAAqC;AACrC,2CAA0C;AAC1C,sCAA+C;AAC/C,gDAAwC;AACxC,4CAAoC;AACpC,0CAAyC;AACzC,sCAAqC;AAErC,0CAAiE;AACjE,4CAAuD;AACvD,qCAAoC;AACpC,wCAA4E;AAE5E,6CAA0C;AAEnC,MAAM,WAAW,GAAG,CAAO,GAAQ,EAAE,GAAQ,EAAiB,EAAE;IACrE,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAC/C,MAAM,MAAM,GAAW,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;IAEnC,MAAM,oBAAoB,GACxB,GAAG,CAAC,KAAK,CAAC,UAAU,IAAI,GAAG,CAAC,KAAK,CAAC,UAAU,KAAK,OAAO,CAAA;IAC1D,MAAM,YAAY,GAAG,GAAG,CAAC,KAAK,CAAC,KAAK,IAAI,GAAG,CAAC,KAAK,CAAC,KAAK,KAAK,SAAS,CAAA;IAErE,MAAM,KAAK,GAKP,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAA;IAC9B,IAAI,oBAAoB,EAAE;QACxB,KAAK,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CAAA;QAEd,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,wBAAwB,CAAC,CAAA;SAC9C;QACD,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,SAAS,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAA;KACtD;IAAC,OAAO,KAAK,EAAE;QACd,qBAAY,CAAC,KAAK,CAAC,KAAK,EAAE,gBAAO,CAAC,EAAE,CAAC,CAAA;QACrC,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;KAC3B;AACH,CAAC,CAAA,CAAA;AArBY,QAAA,cAAc,kBAqB1B"} \ No newline at end of file diff --git a/dist/src/controllers/index.js b/dist/src/controllers/index.js index 2349f11e..e6a2d424 100644 --- a/dist/src/controllers/index.js +++ b/dist/src/controllers/index.js @@ -91,6 +91,7 @@ function set(app) { app.post('/generate_external', contacts.generateOwnerWithExternalSigner); app.post('/hmac_key', contacts.registerHmacKey); app.get('/hmac_key', contacts.getHmacKey); + app.get('/contact/:contact_id', contacts.getContactById); app.post('/profile', personal.createPeopleProfile); app.delete('/profile', personal.deletePersonProfile); app.post('/delete_ticket', personal.deleteTicketByAdmin); diff --git a/dist/src/controllers/index.js.map b/dist/src/controllers/index.js.map index 217eb92d..83e2765e 100644 --- a/dist/src/controllers/index.js.map +++ b/dist/src/controllers/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAA0C;AAC1C,sCAA2C;AAC3C,kCAAuD;AACvD,4CAA2C;AAC3C,0CAAyC;AACzC,0CAAyC;AACzC,4CAAoC;AACpC,sCAAsC;AAEtC,kEAAoF;AACpF,iCAAgC;AAChC,2CAA0C;AAC1C,+BAA8B;AAC9B,qCAAoC;AACpC,uCAAsC;AACtC,qCAAoC;AACpC,uCAAsC;AACtC,iCAAgC;AAChC,uCAAsC;AACtC,sCA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,WAAW;CACtC,CAAA"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAA0C;AAC1C,sCAA2C;AAC3C,kCAAuD;AACvD,4CAA2C;AAC3C,0CAAyC;AACzC,0CAAyC;AACzC,4CAAoC;AACpC,sCAAsC;AAEtC,kEAAoF;AACpF,iCAAgC;AAChC,2CAA0C;AAC1C,+BAA8B;AAC9B,qCAAoC;AACpC,uCAAsC;AACtC,qCAAoC;AACpC,uCAAsC;AACtC,iCAAgC;AAChC,uCAAsC;AACtC,sCAAqC;AACrC,gDAA+C;AAC/C,qCAAoC;AACpC,iDAAgD;AAChD,oCAAmC;AACnC,qCAAoC;AACpC,iCAAgC;AAChC,+BAA8B;AAC9B,+BAA8B;AAC9B,2CAA0C;AAC1C,iCAAgC;AAChC,0CAAyC;AACzC,oCAAmC;AACnC,yDAAwD;AAExD,MAAM,OAAO,GAAG,IAAA,4BAAS,EAAC;IACxB,QAAQ,EAAE,IAAI;IACd,GAAG,EAAE,CAAC;IACN,eAAe,EAAE,IAAI;IACrB,aAAa,EAAE,KAAK,EAAE,sCAAsC;CAC7D,CAAC,CAAA;AAEF,SAAsB,GAAG,CAAC,GAAG;;QAC3B,WAAW,CAAC,IAAI,EAAE,CAAA;QAElB,IAAI,eAAM,IAAI,eAAM,CAAC,YAAY,EAAE;YACjC,YAAY,CAAC,kBAAkB,EAAE,CAAA;SAClC;QAED,IAAI,eAAM,IAAI,eAAM,CAAC,aAAa,EAAE;YAClC,IAAA,mDAAmC,GAAE,CAAA;SACtC;QAED,IAAI,eAAM,IAAI,eAAM,CAAC,OAAO,EAAE;YAC5B,QAAQ,CAAC,+BAA+B,EAAE,CAAA;SAC3C;QAED,0BAA0B;QAE1B,MAAM,CAAC,YAAY,EAAE,CAAA;QAErB,gCAAgC;QAEhC,GAAG,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC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,EAAE,IAAI,CAAC,aAAa;IACtC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,aAAa;IACtC,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,gBAAgB;IACpD,CAAC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,aAAa,CAAC,4BAA4B;IAC7E,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,YAAY;IACvC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,YAAY;IACtC,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,oBAAoB;IACvD,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,WAAW;CACtC,CAAA"} \ No newline at end of file diff --git a/src/controllers/contacts.ts b/src/controllers/contacts.ts index 2da54e9b..426b72d4 100644 --- a/src/controllers/contacts.ts +++ b/src/controllers/contacts.ts @@ -812,3 +812,26 @@ export const unblockContact = async (req: Req, res: Res): Promise => { const contactId = parseInt(req.params.contact_id as string) switchBlock(res, req.owner.id, contactId, false) } + +export const getContactById = async (req: Req, res: Res): Promise => { + if (!req.owner) return failure(res, 'no owner') + const tenant: number = req.owner.id + try { + const contactId = parseInt(req.params.contact_id as string) + + if (!contactId) { + return failure(res, 'provide a valid contact id') + } + const contact: Contact = (await models.Contact.findOne({ + where: { id: contactId, tenant }, + })) as Contact + + if (!contact) { + return failure(res, 'contact does not exist') + } + return success(res, jsonUtils.contactToJson(contact)) + } catch (error) { + sphinxLogger.error(error, logging.DB) + return failure(res, error) + } +} diff --git a/src/controllers/index.ts b/src/controllers/index.ts index 6602f1a9..5a30b102 100644 --- a/src/controllers/index.ts +++ b/src/controllers/index.ts @@ -94,6 +94,7 @@ export async function set(app) { app.post('/generate_external', contacts.generateOwnerWithExternalSigner) app.post('/hmac_key', contacts.registerHmacKey) app.get('/hmac_key', contacts.getHmacKey) + app.get('/contact/:contact_id', contacts.getContactById) app.post('/profile', personal.createPeopleProfile) app.delete('/profile', personal.deletePersonProfile) From 3da8a7af211163e50bd1f6c6211331ba5ea989a4 Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Tue, 19 Sep 2023 10:35:38 -0700 Subject: [PATCH 013/117] better send msg error --- src/controllers/messages.ts | 19 ++++++++++++++++++- src/grpc/lightning.ts | 13 ++++++++++--- src/utils/errMsgString.ts | 5 ++++- 3 files changed, 32 insertions(+), 5 deletions(-) diff --git a/src/controllers/messages.ts b/src/controllers/messages.ts index b24140ac..22f5b9f2 100644 --- a/src/controllers/messages.ts +++ b/src/controllers/messages.ts @@ -30,6 +30,7 @@ import { ChatPlusMembers } from '../network/send' import { getCacheMsg } from '../utils/tribes' import { loadConfig } from '../utils/config' import { onReceiveReversal } from '../utils/reversal' +import { errMsgString } from '../utils/errMsgString' import { sendConfirmation } from './confirmations' interface ExtentedMessage extends Message { @@ -485,6 +486,23 @@ export const sendMessage = async (req: Req, res: Res): Promise => { amount: amount || 0, type: msgtype, message: msgToSend, + success: function () { + success(res, jsonUtils.messageToJson(message, chat)) + }, + failure: async function (error) { + const errMsg = errMsgString(error) + await message.update({ + status: constants.statuses.failed, + errorMessage: errMsg, + }) + res.status(400) + res.json({ + success: false, + error: errMsg, + response: jsonUtils.messageToJson(message, chat), + }) + res.end() + }, } if (isTribeOwner && realSatsContactId) { sendMessageParams.realSatsContactId = realSatsContactId @@ -497,7 +515,6 @@ export const sendMessage = async (req: Req, res: Res): Promise => { // final send // console.log('==> FINAL SEND MSG PARAMS', sendMessageParams) await network.sendMessage(sendMessageParams) - success(res, jsonUtils.messageToJson(message, chat)) } /** diff --git a/src/grpc/lightning.ts b/src/grpc/lightning.ts index 11d6a4d9..5c6af8de 100644 --- a/src/grpc/lightning.ts +++ b/src/grpc/lightning.ts @@ -557,7 +557,7 @@ export async function keysendMessage( // too long! need to send serial const n = Math.ceil(opts.data.length / MAX_MSG_LENGTH) let success = false - let fail = false + let fail: Error | string | null = null let res: any = null const ts = new Date().valueOf() // WEAVE MESSAGE If TOO LARGE @@ -579,17 +579,24 @@ export async function keysendMessage( await sleep(432) } catch (e) { sphinxLogger.error(e) - fail = true + fail = e } } if (success && !fail) { resolve(res) } else { - reject(new Error('fail')) + reject(new Error(keysendErrorString(fail))) } }) } +function keysendErrorString(e: any): string { + if (!e) return 'failed keysend' + if (typeof e === 'string') return e + if (e.toString) return e.toString() + return 'failed keysend' +} + export async function signAscii( ascii: string, ownerPubkey?: string diff --git a/src/utils/errMsgString.ts b/src/utils/errMsgString.ts index c1283418..29793f0b 100644 --- a/src/utils/errMsgString.ts +++ b/src/utils/errMsgString.ts @@ -1,7 +1,10 @@ -export function errMsgString(error) { +export function errMsgString(error: Error | string | null): string { let errMsg = '' + if (!error) return 'failure' if (typeof error === 'string') { errMsg = error + } else if (error.toString) { + errMsg = error.toString() } else { errMsg = error?.message } From a3494a0e9b95640c7d2ee68700244adc7728880f Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Tue, 19 Sep 2023 10:37:23 -0700 Subject: [PATCH 014/117] failureWithResponse --- src/controllers/messages.ts | 10 ++-------- src/utils/res.ts | 14 +++++++++++++- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/src/controllers/messages.ts b/src/controllers/messages.ts index 22f5b9f2..02818ede 100644 --- a/src/controllers/messages.ts +++ b/src/controllers/messages.ts @@ -18,7 +18,7 @@ import { import * as socket from '../utils/socket' import * as jsonUtils from '../utils/json' import * as helpers from '../helpers' -import { failure, success } from '../utils/res' +import { failure, success, failureWithResponse } from '../utils/res' import * as timers from '../utils/timers' import * as network from '../network' import { Payload } from '../network' @@ -495,13 +495,7 @@ export const sendMessage = async (req: Req, res: Res): Promise => { status: constants.statuses.failed, errorMessage: errMsg, }) - res.status(400) - res.json({ - success: false, - error: errMsg, - response: jsonUtils.messageToJson(message, chat), - }) - res.end() + failureWithResponse(res, errMsg, jsonUtils.messageToJson(message, chat)) }, } if (isTribeOwner && realSatsContactId) { diff --git a/src/utils/res.ts b/src/utils/res.ts index 76bf453f..f660bc83 100644 --- a/src/utils/res.ts +++ b/src/utils/res.ts @@ -20,6 +20,18 @@ function failure(res, e) { res.end() } +function failureWithResponse(res, e, json) { + const errorMessage = (e && e.message) || e + // sphinxLogger.error(`--> failure: ${errorMessage}`) + res.status(400) + res.json({ + success: false, + error: errorMessage, + response: json, + }) + res.end() +} + function failure200(res, e) { res.status(200) res.json({ @@ -35,4 +47,4 @@ function unauthorized(res) { res.end() } -export { success, failure, failure200, unauthorized } +export { success, failure, failure200, unauthorized, failureWithResponse } From e95583e37e2114496bc4e4012688a448b2a13622 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Tue, 19 Sep 2023 20:33:11 +0100 Subject: [PATCH 015/117] update: boost-fail test --- dist/src/controllers/messages.js | 15 +++- dist/src/controllers/messages.js.map | 2 +- dist/src/grpc/lightning.js | 15 +++- dist/src/grpc/lightning.js.map | 2 +- dist/src/tests/controllers/boostFail.test.js | 2 +- .../tests/controllers/boostFail.test.js.map | 2 +- dist/src/tests/utils/msg/sendBoost.js | 11 ++- dist/src/tests/utils/msg/sendBoost.js.map | 2 +- dist/src/utils/errMsgString.js | 5 ++ dist/src/utils/errMsgString.js.map | 2 +- dist/src/utils/res.js | 14 +++- dist/src/utils/res.js.map | 2 +- src/tests/configs/nodes.json | 70 +++++++++---------- src/tests/controllers/boostFail.test.ts | 2 +- src/tests/utils/msg/sendBoost.ts | 13 +++- 15 files changed, 105 insertions(+), 54 deletions(-) diff --git a/dist/src/controllers/messages.js b/dist/src/controllers/messages.js index 41929459..a93d3bed 100644 --- a/dist/src/controllers/messages.js +++ b/dist/src/controllers/messages.js @@ -27,6 +27,7 @@ const logger_1 = require("../utils/logger"); const tribes_1 = require("../utils/tribes"); const config_1 = require("../utils/config"); const reversal_1 = require("../utils/reversal"); +const errMsgString_1 = require("../utils/errMsgString"); const confirmations_1 = require("./confirmations"); // store all current running jobs in memory const jobs = {}; @@ -414,6 +415,19 @@ const sendMessage = (req, res) => __awaiter(void 0, void 0, void 0, function* () amount: amount || 0, type: msgtype, message: msgToSend, + success: function () { + (0, res_1.success)(res, jsonUtils.messageToJson(message, chat)); + }, + failure: function (error) { + return __awaiter(this, void 0, void 0, function* () { + const errMsg = (0, errMsgString_1.errMsgString)(error); + yield message.update({ + status: constants_1.default.statuses.failed, + errorMessage: errMsg, + }); + (0, res_1.failureWithResponse)(res, errMsg, jsonUtils.messageToJson(message, chat)); + }); + }, }; if (isTribeOwner && realSatsContactId) { sendMessageParams.realSatsContactId = realSatsContactId; @@ -425,7 +439,6 @@ const sendMessage = (req, res) => __awaiter(void 0, void 0, void 0, function* () // final send // console.log('==> FINAL SEND MSG PARAMS', sendMessageParams) yield network.sendMessage(sendMessageParams); - (0, res_1.success)(res, jsonUtils.messageToJson(message, chat)); }); exports.sendMessage = sendMessage; /** diff --git a/dist/src/controllers/messages.js.map b/dist/src/controllers/messages.js.map index 7d8e367b..6f8ed1a1 100644 --- a/dist/src/controllers/messages.js.map +++ b/dist/src/controllers/messages.js.map @@ -1 +1 @@ -{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../../src/controllers/messages.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,2CAAoC;AACpC,oCAAmC;AACnC,+BAA8B;AAC9B,sCAOkB;AAClB,gCAIe;AACf,0CAAyC;AACzC,2CAA0C;AAC1C,sCAAqC;AACrC,sCAA+C;AAC/C,0CAAyC;AACzC,sCAAqC;AAGrC,4CAAoC;AACpC,4CAAuD;AAGvD,4CAA6C;AAC7C,4CAA4C;AAC5C,gDAAqD;AACrD,mDAAkD;AAMlD,2CAA2C;AAC3C,MAAM,IAAI,GAAG,EAAE,CAAA;AAEf,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAEpB,MAAM,gBAAgB,GAAG,CAAO,GAAQ,EAAE,GAAQ,EAAiB,EAAE;IAC1E,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,I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,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBACrC,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;gBACrB,MAAM,YAAY,GAAG,CAAC,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;oBACjD,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE;iBACnC,CAAC,CAAoB,CAAA;gBACtB,IAAI,YAAY,CAAC,MAAM,GAAG,EAAE,EAAE;oBAC5B,MAAM,aAAa,GAAG,YAAY,CAAC,YAAY,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;oBAC5D,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;wBAC3B,KAAK,EAAE;4BACL,EAAE,EAAE,EAAE,CAAC,cAAE,CAAC,EAAE,CAAC,EAAE,aAAa,CAAC,EAAE,EAAE;4BACjC,SAAS,EAAE,EAAE,CAAC,cAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE;4BAC5B,MAAM,EAAE,IAAI,CAAC,EAAE;4BACf,MAAM;yBACP;qBACF,CAAC,CAAA;iBACH;aACF;YACD,qBAAY,CAAC,IAAI,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAA;SACtD;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,CAAC,uCAAuC,EAAE,KAAK,CAAC,CAAC,CAAA;SACrE;IACH,CAAC;CAAA"} \ No newline at end of file +{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../../src/controllers/messages.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,2CAAoC;AACpC,oCAAmC;AACnC,+BAA8B;AAC9B,sCAOkB;AAClB,gCAIe;AACf,0CAAyC;AACzC,2CAA0C;AAC1C,sCAAqC;AACrC,sCAAoE;AACpE,0CAAyC;AACzC,sCAAqC;AAGrC,4CAAoC;AACpC,4CAAuD;AAGvD,4CAA6C;AAC7C,4CAA4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AE,CAAC,cAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE;4BAC5B,MAAM,EAAE,IAAI,CAAC,EAAE;4BACf,MAAM;yBACP;qBACF,CAAC,CAAA;iBACH;aACF;YACD,qBAAY,CAAC,IAAI,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAA;SACtD;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,CAAC,uCAAuC,EAAE,KAAK,CAAC,CAAC,CAAA;SACrE;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/dist/src/grpc/lightning.js b/dist/src/grpc/lightning.js index 7c557f8f..dd313dae 100644 --- a/dist/src/grpc/lightning.js +++ b/dist/src/grpc/lightning.js @@ -485,7 +485,7 @@ function keysendMessage(opts, ownerPubkey) { // too long! need to send serial const n = Math.ceil(opts.data.length / MAX_MSG_LENGTH); let success = false; - let fail = false; + let fail = null; let res = null; const ts = new Date().valueOf(); // WEAVE MESSAGE If TOO LARGE @@ -501,20 +501,29 @@ function keysendMessage(opts, ownerPubkey) { } catch (e) { logger_1.sphinxLogger.error(e); - fail = true; + fail = e; } } if (success && !fail) { resolve(res); } else { - reject(new Error('fail')); + reject(new Error(keysendErrorString(fail))); } }); }); }); } exports.keysendMessage = keysendMessage; +function keysendErrorString(e) { + if (!e) + return 'failed keysend'; + if (typeof e === 'string') + return e; + if (e.toString) + return e.toString(); + return 'failed keysend'; +} function signAscii(ascii, ownerPubkey) { return __awaiter(this, void 0, void 0, function* () { const sig = yield signMessage(ascii_to_hexa(ascii), ownerPubkey); diff --git a/dist/src/grpc/lightning.js.map b/dist/src/grpc/lightning.js.map index aa0f9465..af827768 100644 --- a/dist/src/grpc/lightning.js.map +++ b/dist/src/grpc/lightning.js.map @@ -1 +1 @@ -{"version":3,"file":"lightning.js","sourceRoot":"","sources":["../../../src/grpc/lightning.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yBAAwB;AACxB,iCAAgC;AAChC,sCAAqC;AACrC,iC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AAC,QAAgB;;QAC1D,qBAAY,CAAC,IAAI,CAAC,uBAAuB,EAAE,gBAAO,CAAC,SAAS,CAAC,CAAA;QAC7D,OAAO,IAAI,OAAO,CAAC,CAAO,OAAO,EAAE,MAAM,EAAE,EAAE;YAC3C,MAAM,SAAS,GAAG,MAAM,aAAa,EAAE,CAAA;YACvC,IAAI,KAAK,CAAC,SAAS,CAAC,EAAE;gBACpB,MAAM,SAAS,CAAC,mBAAmB,CACjC;oBACE,MAAM,EAAE,IAAI;oBACZ,aAAa,EAAE,aAAa,CAAC,QAAQ,CAAC;oBACtC,eAAe,EAAE,EAAE;iBACpB,EACD,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE;oBAChB,IAAI,GAAG,EAAE;wBACP,qBAAY,CAAC,KAAK,CAAC,GAAG,EAAE,gBAAO,CAAC,SAAS,CAAC,CAAA;wBAC1C,MAAM,CAAC,GAAG,CAAC,CAAA;qBACZ;yBAAM;wBACL,OAAO,CAAC,QAAQ,CAAC,CAAA;wBACjB,qBAAY,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAA;qBACzD;gBACH,CAAC,CACF,CAAA;aACF;QACH,CAAC,CAAA,CAAC,CAAA;IACJ,CAAC;CAAA;AAvBD,sDAuBC;AAED,SAAS,gBAAgB,CAAC,MAAc;IACtC,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AAC9B,CAAC;AAED,SAAS,aAAa,CAAC,MAAc;IACnC,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AAC9B,CAAC;AACD,sCAAsC;AACtC,2BAA2B;AAC3B,6BAA6B;AAC7B,aAAa;AACb,yCAAyC;AACzC,8EAA8E;AAC9E,6EAA6E;AAC7E,uCAAuC;AACvC,0FAA0F;AAC1F,6BAA6B;AAC7B,MAAM;AACN,IAAI"} \ No newline at end of file +{"version":3,"file":"lightning.js","sourceRoot":"","sources":["../../../src/grpc/lightning.ts"],"names":[],"mappings":";;;;;;;;;;;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IACnC,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AAC9B,CAAC;AACD,sCAAsC;AACtC,2BAA2B;AAC3B,6BAA6B;AAC7B,aAAa;AACb,yCAAyC;AACzC,8EAA8E;AAC9E,6EAA6E;AAC7E,uCAAuC;AACvC,0FAA0F;AAC1F,6BAA6B;AAC7B,MAAM;AACN,IAAI"} \ No newline at end of file diff --git a/dist/src/tests/controllers/boostFail.test.js b/dist/src/tests/controllers/boostFail.test.js index 156bcd49..8bd13ca2 100644 --- a/dist/src/tests/controllers/boostFail.test.js +++ b/dist/src/tests/controllers/boostFail.test.js @@ -59,7 +59,7 @@ function boostFail(t, index1, index2, index3) { //NODE1 SENDS A BOOST ON NODE2'S MESSAGE // const boost = await sendBoost(t, node1, node2, tribeMessage2, 11, tribe) const boost = yield (0, msg_1.boostAsMessage)(t, tribe, node1, tribeMessage2, 1100000000000); - t.true(boost.success); + t.false(boost.success); //Node 2 should not get the boost message, because the boost should fail const checkNode2 = yield (0, get_1.shouldNotGetNewMsgs)(t, node2, boost.response.uuid); t.true(checkNode2, 'Node2 should not receive the boost message'); diff --git a/dist/src/tests/controllers/boostFail.test.js.map b/dist/src/tests/controllers/boostFail.test.js.map index df9c5c6b..2201be71 100644 --- a/dist/src/tests/controllers/boostFail.test.js.map +++ b/dist/src/tests/controllers/boostFail.test.js.map @@ -1 +1 @@ -{"version":3,"file":"boostFail.test.js","sourceRoot":"","sources":["../../../../src/tests/controllers/boostFail.test.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6BAAsB;AACtB,8CAAoD;AACpD,sCAAsD;AACtD,wCAAsD;AACtD,sCAIqB;AACrB,oCAA4B;AAC5B,sCAAgE;AAEhE;;EAEE;AAEF,IAAA,aAAI,EAAC,mMAAmM,EAAE,CAAO,CAAC,EAAE,EAAE;IACpN,MAAM,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;AAC7B,CAAC,CAAA,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AA2B,CAAC,CAAA;IAChD,CAAC;CAAA;AAtJD,8BAsJC"} \ No newline at end of file +{"version":3,"file":"boostFail.test.js","sourceRoot":"","sources":["../../../../src/tests/controllers/boostFail.test.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6BAAsB;AACtB,8CAAoD;AACpD,sCAAsD;AACtD,wCAAsD;AACtD,sCAIqB;AACrB,oCAA4B;AAC5B,sCAAgE;AAEhE;;EAEE;AAEF,IAAA,aAAI,EAAC,mMAAmM,EAAE,CAAO,CAAC,EAAE,EAAE;IACpN,MAAM,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;AAC7B,CAAC,CAAA,CAAC,CAAA;AAEF,SAAsB,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;;QACvD,2CAA2C;QAC3C,IAAI,KAAK,GAAG,eAAK,CAAC,MAAM,CAAC,CAAA;QACzB,IAAI,KAAK,GAAG,eAAK,CAAC,MAAM,CAAC,CAAA;QACzB,IAAI,KAAK,GAAG,eAAK,CAAC,MAAM,CAAC,CAAA;QACzB,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,gCAAgC,CAAC,CAAA;QAEjD,OAAO,CAAC,GAAG,CACT,wCAAwC,KAAK,CAAC,KAAK,QAAQ,KAAK,CAAC,KAAK,QAAQ,KAAK,CAAC,KAAK,EAAE,CAC5F,CAAA;QAED,uBAAuB;QACvB,IAAI,KAAK,GAAG,MAAM,IAAA,kBAAW,EAAC,CAAC,EAAE,KAAK,CAAC,CAAA;QACvC,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,yCAAyC,CAAC,CAAA;QAE1D,oCAAoC;QACpC,IAAI,KAAK,CAAC,SAAS;YAAE,KAAK,CAAC,gBAAgB,GAAG,KAAK,CAAC,SAAS,CAAA;QAC7D,IAAI,IAAI,GAAG,MAAM,IAAA,gBAAS,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA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K,EACL,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CACjC,CAAA;QACD,CAAC,CAAC,IAAI,CAAC,UAAU,EAAE,0DAA0D,CAAC,CAAA;QAE9E,oBAAoB;QACpB,IAAI,KAAK,GAAG,MAAM,IAAA,gBAAU,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAC7C,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,0BAA0B,CAAC,CAAA;QAEzC,qBAAqB;QACrB,IAAI,SAAS,GAAG,MAAM,IAAA,iBAAW,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAClD,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,2BAA2B,CAAC,CAAA;IAChD,CAAC;CAAA;AAtJD,8BAsJC"} \ No newline at end of file diff --git a/dist/src/tests/utils/msg/sendBoost.js b/dist/src/tests/utils/msg/sendBoost.js index 018a16c4..5e00f9f9 100644 --- a/dist/src/tests/utils/msg/sendBoost.js +++ b/dist/src/tests/utils/msg/sendBoost.js @@ -65,9 +65,14 @@ function boostAsMessage(t, tribe, node, replyMessage, amount) { message_price: 0, }; //node1 sends a boost on node2's message - const msg = yield http.post(node.external_ip + '/messages', (0, helpers_1.makeArgs)(node, v)); - t.true(msg.success, 'msg should exist'); - return msg; + try { + const msg = yield http.post(node.external_ip + '/messages', (0, helpers_1.makeArgs)(node, v)); + t.true(msg.success, 'msg should exist'); + return msg; + } + catch (error) { + return error.error; + } }); } exports.boostAsMessage = boostAsMessage; diff --git a/dist/src/tests/utils/msg/sendBoost.js.map b/dist/src/tests/utils/msg/sendBoost.js.map index 26ae21af..73b212a5 100644 --- a/dist/src/tests/utils/msg/sendBoost.js.map +++ b/dist/src/tests/utils/msg/sendBoost.js.map @@ -1 +1 @@ -{"version":3,"file":"sendBoost.js","sourceRoot":"","sources":["../../../../../src/tests/utils/msg/sendBoost.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iCAAgC;AAChC,wCAAqC;AAC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AAE,KAAK,CAAC,CAAA;QACxD,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAA;QAEzC,mFAAmF;QACnF,MAAM,CAAC,GAAG;YACR,KAAK,EAAE,IAAI;YACX,UAAU,EAAE,IAAI;YAChB,IAAI,EAAE,EAAE;YACR,OAAO,EAAE,OAAO;YAChB,UAAU,EAAE,SAAS;YACrB,MAAM,EAAE,MAAM;YACd,aAAa,EAAE,CAAC;SACjB,CAAA;QACD,wCAAwC;QACxC,IAAI;YACF,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,IAAI,CACzB,IAAI,CAAC,WAAW,GAAG,WAAW,EAC9B,IAAA,kBAAQ,EAAC,IAAI,EAAE,CAAC,CAAC,CAClB,CAAA;YACD,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAA;YACvC,OAAO,GAAG,CAAA;SACX;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,KAAK,CAAC,KAAK,CAAA;SACnB;IACH,CAAC;CAAA;AA9BD,wCA8BC"} \ No newline at end of file diff --git a/dist/src/utils/errMsgString.js b/dist/src/utils/errMsgString.js index e2bbd326..2a4ed20f 100644 --- a/dist/src/utils/errMsgString.js +++ b/dist/src/utils/errMsgString.js @@ -3,9 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.errMsgString = void 0; function errMsgString(error) { let errMsg = ''; + if (!error) + return 'failure'; if (typeof error === 'string') { errMsg = error; } + else if (error.toString) { + errMsg = error.toString(); + } else { errMsg = error === null || error === void 0 ? void 0 : error.message; } diff --git a/dist/src/utils/errMsgString.js.map b/dist/src/utils/errMsgString.js.map index 61f0657d..d8b400d4 100644 --- a/dist/src/utils/errMsgString.js.map +++ b/dist/src/utils/errMsgString.js.map @@ -1 +1 @@ -{"version":3,"file":"errMsgString.js","sourceRoot":"","sources":["../../../src/utils/errMsgString.ts"],"names":[],"mappings":";;;AAAA,SAAgB,YAAY,CAAC,KAAK;IAChC,IAAI,MAAM,GAAG,EAAE,CAAA;IACf,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;QAC7B,MAAM,GAAG,KAAK,CAAA;KACf;SAAM;QACL,MAAM,GAAG,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,CAAA;KACxB;IACD,IAAI,MAAM,KAAK,yBAAyB,EAAE;QACxC,MAAM,GAAG,gBAAgB,CAAA;KAC1B;IACD,IAAI,MAAM,KAAK,qCAAqC,EAAE;QACpD,MAAM,GAAG,sBAAsB,CAAA;KAChC;IACD,IAAI,MAAM,KAAK,0CAA0C,EAAE;QACzD,MAAM,GAAG,2BAA2B,CAAA;KACrC;IACD,OAAO,MAAM,CAAA;AACf,CAAC;AAjBD,oCAiBC"} \ No newline at end of file +{"version":3,"file":"errMsgString.js","sourceRoot":"","sources":["../../../src/utils/errMsgString.ts"],"names":[],"mappings":";;;AAAA,SAAgB,YAAY,CAAC,KAA4B;IACvD,IAAI,MAAM,GAAG,EAAE,CAAA;IACf,IAAI,CAAC,KAAK;QAAE,OAAO,SAAS,CAAA;IAC5B,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;QAC7B,MAAM,GAAG,KAAK,CAAA;KACf;SAAM,IAAI,KAAK,CAAC,QAAQ,EAAE;QACzB,MAAM,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAA;KAC1B;SAAM;QACL,MAAM,GAAG,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,CAAA;KACxB;IACD,IAAI,MAAM,KAAK,yBAAyB,EAAE;QACxC,MAAM,GAAG,gBAAgB,CAAA;KAC1B;IACD,IAAI,MAAM,KAAK,qCAAqC,EAAE;QACpD,MAAM,GAAG,sBAAsB,CAAA;KAChC;IACD,IAAI,MAAM,KAAK,0CAA0C,EAAE;QACzD,MAAM,GAAG,2BAA2B,CAAA;KACrC;IACD,OAAO,MAAM,CAAA;AACf,CAAC;AApBD,oCAoBC"} \ No newline at end of file diff --git a/dist/src/utils/res.js b/dist/src/utils/res.js index c39adf3e..eb0deff5 100644 --- a/dist/src/utils/res.js +++ b/dist/src/utils/res.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.unauthorized = exports.failure200 = exports.failure = exports.success = void 0; +exports.failureWithResponse = exports.unauthorized = exports.failure200 = exports.failure = exports.success = void 0; const logger_1 = require("./logger"); function success(res, json) { res.status(200); @@ -22,6 +22,18 @@ function failure(res, e) { res.end(); } exports.failure = failure; +function failureWithResponse(res, e, json) { + const errorMessage = (e && e.message) || e; + // sphinxLogger.error(`--> failure: ${errorMessage}`) + res.status(400); + res.json({ + success: false, + error: errorMessage, + response: json, + }); + res.end(); +} +exports.failureWithResponse = failureWithResponse; function failure200(res, e) { res.status(200); res.json({ diff --git a/dist/src/utils/res.js.map b/dist/src/utils/res.js.map index aa99f239..145fe5d7 100644 --- a/dist/src/utils/res.js.map +++ b/dist/src/utils/res.js.map @@ -1 +1 @@ -{"version":3,"file":"res.js","sourceRoot":"","sources":["../../../src/utils/res.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AAEvC,SAAS,OAAO,CAAC,GAAG,EAAE,IAAI;IACxB,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IACf,GAAG,CAAC,IAAI,CAAC;QACP,OAAO,EAAE,IAAI;QACb,QAAQ,EAAE,IAAI;KACf,CAAC,CAAA;IACF,GAAG,CAAC,GAAG,EAAE,CAAA;AACX,CAAC;AA4BQ,0BAAO;AA1BhB,SAAS,OAAO,CAAC,GAAG,EAAE,CAAC;IACrB,MAAM,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC1C,qBAAY,CAAC,KAAK,CAAC,gBAAgB,YAAY,EAAE,CAAC,CAAA;IAClD,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IACf,GAAG,CAAC,IAAI,CAAC;QACP,OAAO,EAAE,KAAK;QACd,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CAAC;QACP,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,YAAY;KACpB,CAAC,CAAA;IACF,GAAG,CAAC,GAAG,EAAE,CAAA;AACX,CAAC;AA6BiB,0BAAO;AA3BzB,SAAS,mBAAmB,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI;IACvC,MAAM,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC1C,qDAAqD;IACrD,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IACf,GAAG,CAAC,IAAI,CAAC;QACP,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,YAAY;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC,CAAA;IACF,GAAG,CAAC,GAAG,EAAE,CAAA;AACX,CAAC;AAiBoD,kDAAmB;AAfxE,SAAS,UAAU,CAAC,GAAG,EAAE,CAAC;IACxB,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IACf,GAAG,CAAC,IAAI,CAAC;QACP,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;KAC7B,CAAC,CAAA;IACF,GAAG,CAAC,GAAG,EAAE,CAAA;AACX,CAAC;AAQ0B,gCAAU;AANrC,SAAS,YAAY,CAAC,GAAG;IACvB,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IACf,GAAG,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,qBAAqB,EAAE,CAAC,CAAA;IAC1D,GAAG,CAAC,GAAG,EAAE,CAAA;AACX,CAAC;AAEsC,oCAAY"} \ No newline at end of file diff --git a/src/tests/configs/nodes.json b/src/tests/configs/nodes.json index 535ce311..7800665e 100644 --- a/src/tests/configs/nodes.json +++ b/src/tests/configs/nodes.json @@ -4,11 +4,11 @@ "pubkey": "03a394d0ebf0d003124ab130c6b12b8b990a50a30a464354800a51981ba745bb07", "ip": "http://alice.sphinx:3001", "external_ip": "http://localhost:3001", - "authToken": "LbFzZjmPk5+DQAxi7uqc", - "transportToken": "MIIBCgKCAQEAwnY++L1i3vkXfwmvOavII/Vk8BZfsxz8jU6nTpBu5+MdOc9Dm9C+\n/B3WE32/KB68ZfY3cDfGaAPlxicLawwf5IzZewDJobU7wtHkxTJRxuRZjs++pnDR\nrPj2H26I/OGuUCDSI11Si5tIQgBIgcep+ABG3YbZVZ1lM/keip2T3a/D/o7YKohs\n+GJ+FpsQ1x36WBdnqOrZpE+eqC27SlKqE3l9d9VerlflcUUrwyJO62+5eO+GSmJr\n+fkis2IGeBDDw9+LGq1mRNkg9GaulT9NbBT8zkskOLdgpAWHN6Yqh6FJqQBVrLhX\nDyjxhkskRD/CcKT9jqA9O/ltKGVREdCIcQIDAQAB", - "contact_key": "MIIBCgKCAQEAtKKOV5Wqw+ruEELOaELDAOIErNTVpCCWwo8mApwBI8OoWcmQ3KKIj72r02i4S0MR9rEZbzDE5sfVAwjGMoEofRk5AabEIeH5lxjKB+nk+CZBxk3zdhf8be5rjpCsyXDMgEyaOQaJA0RvoUKD9cbZbzZkKxuKdkZbdL66N/DKeiU/J3FwHkhIdrtaUnCfW/io9blAtgodLCsctea/RG4y8ns2YIE4tUHMFqXXrj8AjWFKgAda4TSTu1yW/h0ap7qKgxFmABCMj4CC+BgXr2FzL2rMxlEHR9ybBujqjGEegm41iIhIXcD8TXT35uug6GNq9O5NAGJflKBOyvR0+eYneQIDAQAB", - "privkey": "MIIEowIBAAKCAQEAtKKOV5Wqw+ruEELOaELDAOIErNTVpCCWwo8mApwBI8OoWcmQ3KKIj72r02i4S0MR9rEZbzDE5sfVAwjGMoEofRk5AabEIeH5lxjKB+nk+CZBxk3zdhf8be5rjpCsyXDMgEyaOQaJA0RvoUKD9cbZbzZkKxuKdkZbdL66N/DKeiU/J3FwHkhIdrtaUnCfW/io9blAtgodLCsctea/RG4y8ns2YIE4tUHMFqXXrj8AjWFKgAda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TYnd5b09Kd0xpc1MxaU1QQ1pRUEdJZFppaVVoRFNKb1ZCaUI4Mkt0aFo3d2RFMEY1NWVpR1Y3dTIvR3hWUW9Pb2lqM0pzdXhLTDNxZDRPLzgwSXF5M05RenN4SU4wUFBDNHR4NWttaFRTSXhQTkFWS0I1Y3oxOXJpeGltMU81RkYvU2hiWUNCRHB2V0o3QzlTSGN4VlFjZEZ0aTBWZmxGMDZMUysxM1JacHZLT3FjM2ljYlU5dDUwdkFzb0F6eTZzalo1aDF0UmwwTDByeGl0MTZQRU81V1BoRVYyajZiUCt2M2hlMjZjOHZYNDJRdXdJSGZua1luQStNSjYrbmtNRmU3Z0hxRktiM25yQ1RGQ0hHeVpQcyt2V0JhU1ZYYlA5eU1QeTIycWJHRGNSUlA3QjBKYUdvMTZETkd5WnNKcDV4dUpmM29hRFVMWThlR1BDYWtlZz0=", "pin": "111111" }, { @@ -16,11 +16,11 @@ "pubkey": "02a38857848aca6b32ebcc3c85d07ee41354988f4f1e0b4e6ccd255eee6ed75b8d", "ip": "http://bob.sphinx:3002", "external_ip": "http://localhost:3002", - "authToken": "HRSEIm0uJ+DMl2NiqE+9", - "transportToken": "MIIBCgKCAQEAzHweYwVGPCYniBqo3P1ls/t6OXgARUQwsMg8SmwlMz2kcA+lSjHy\nJpU4hG4LrAeAbKs9N0yWKkCyOsgeRn6jJE3vrVWswhtwsjjOg0UP1gf6IEm4cOtH\nwFPugoqVKPXtU62NaNAelgQZZvPAVgdz/JJWxo39PT4DS5rkWUc8Hrjzse1d2G/+\nKF81Dtp9BQmSIeflN/AGIn1pfItVPYCzgpZE0Cg03+M/f+1FAUGChuZK5gUdZU8u\n/63OGxteMJ8qJIp7rzHu9TTRVvPxcKW36jLHk5FsZIMTdme/neRzfFI9lshrEFyX\nG+2lMVw9ewdTT6OIalfQJo/OxjC+OmGV7wIDAQAB", - "contact_key": "MIIBCgKCAQEAyUXEATghuQEiD1qLuDcW15imbOzDg4s/2PwCsiUEbt7xHZjodH+/+050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sphinx:3003", "external_ip": "http://localhost:3003", - "authToken": "20J1JmSYUIdrUBz6DsOQ", - "transportToken": "MIIBCgKCAQEA5XWHsAQimMbTZfoa+pHxo8miRBH8gdzLxsH40Bs8iE/hqDlP0Lzy\nkbPBF4KNVK2eF92vLFc6Q/FIg+Jc5izQNeXZnRQyZchBwEV1Z1KgNgvIeGzlNXDk\nSQs0spP7ASfIi3QzVcO6vwXuQnvTa/SuhKQ7mxRVHJxRi/5WXI+pGXe1Z23x0nJ2\nP/nJPiaKmlunsZQcFU9MmN4Bs2o169fJiOOLhYhplxuEwU9F39MimaYyHKe721+J\ngF+7Fwa//CY5/2AA1IdhhxjAh6w4WhoKGM/x560+Z7nanweFNGf1O2CfitpByAFe\nvd/VGgnCAO8DZSPtDaT6BwTIVUGDoGI+2QIDAQAB", - "contact_key": "MIIBCgKCAQEAxiANsI284V5ZlCn8MZbrcBTK9SLTqWfHAKmwrda9lgSMD2nTAeons6CNBY4nKt903G1Cl57G/pQh0Q0udoxxG1vUoZh7uzOvAIaK9Ph0YwxZOtUgBVwOV5jmqixDR8nG/06PPNZVyAEsX4h4k6Yo9sdIBPygdnsbUzfdzs0IqOwNgpAIgYJdzPO/Jm7WRCR2c0TyPEaKNPT8P3MAwQrEBjiIG+wWY4UMOw4n92L3sEi8mHIrLmRQizDzStxzY8FKkzJWj1ceR571IkKLu/8sg2g6GVnXEBJSLEBFCtwFkoYD7o0aSFqt4T7q+GCqNf3qTPE0XWE9ky/IiFA8vCs2OwIDAQAB", - "privkey": "MIIEowIBAAKCAQEAxiANsI284V5ZlCn8MZbrcBTK9SLTqWfHAKmwrda9lgSMD2nTAeons6CNBY4nKt903G1Cl57G/pQh0Q0udoxxG1vUoZh7uzOvAIaK9Ph0YwxZOtUgBVwOV5jmqixDR8nG/06PPNZVyAEsX4h4k6Yo9sdIBPygdnsbUzfdzs0IqOwNgpAIgYJdzPO/Jm7WRCR2c0TyPEaKNPT8P3MAwQrEBjiIG+wWY4UMOw4n92L3sE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czNvdGhLdURtZ0huTGltRlYyVzJka1RhKzZJNFpYbVdCVkhuRXUvVjFDZWxiOFhweFFpUkpqVzc2R0cvaTdoQndkM1pOdzRPUVdCelNSMFBnRUh2RDBjMGUwRlJiY1YxYzkyTXRoZUxSMTVpTkRkN3FHbkNjbDlCTWNObDlQR09qcHNySXkrSjRMbmdOUUh3bHhZU3p5MHNLTXM4KzN5NHpTVDdYWUdTa1JQeVF2Q0IvYmJvWUhvSU1HOVFvTkkrQ2hGdEJESnJoY2NwSFRHVlRkZFFuS0IzVy9oenNLRnZVRHNTN0VTSGJEY2czQit2OEJnWkZ0Mi9zUFhZdkZNRE1iNDZQMHdkaWNvT1ByWEtMa1J2bGd6MUFFQWFpQS82dDdTNU5yRys2WkgyM1pvSlBoMkxpUnBrUzJpa1R6TTJ4VGUwbkwvNmZ3UWoxK3NRS3pqUDlUNG5vaU9EQjV1aW9YbThIbz0=", "pin": "111111" }, { "alias": "dave", - "pubkey": "037ec785c6004d512ebaeb0020f81a2bcdb6fccc9539f7b891f704289ebc65a4e3", + "pubkey": "030841d1519f19c68e80efc5ef5af3460ca4bfa17486fda9baca878b9ef255358f", "ip": "http://host.docker.internal:3004", "external_ip": "http://localhost:3004", "proxy_ip": "http://proxy.sphinx:5050", "admin_token": "r46bnf8ibrhbb424heba", - "authToken": "w0E9RlM+na9DMdr41FlP", - "transportToken": "MIIBCgKCAQEAvyQWgvYvEMJUDnQnzL1jkG05vGG/7DfS3LOSjW3ag455MAhePnpj\nxF1VABSmF4ShcEiH6jhO8wI8hrXDsGbM1hE34mMx53DSuepk93s1ZgF5Q+G0uKqE\n+MbRL+QmW5qmyr7TRA5cJV5kZz2Nmh6con9IvnoH45yR2hIMkB0M+BMbjXu+Y+RG\nyD/C8eaCnGwSRr42Fi7kfanXUBVjWrUULbQgR8x+HTfU9DhshK0Jx1b2c6uDRFTs\neJLUJCZN6x6KVLNq/i6hreG3ry7RZJraFVrsXrqBgOgFYwy9LAXCb+x0b46OQbQu\nX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5ZOXZFbz0=", "pin": "111111" }, { - "pubkey": "02d997c50eb7b7f914b865451f37244a9abbfd2f5ba6d056489e8ca1526397bd82", - "routeHint": "037ec785c6004d512ebaeb0020f81a2bcdb6fccc9539f7b891f704289ebc65a4e3:2199023452161", + "pubkey": "026859dd768481577e1486e6dbd7b231b278cd6ea10b7da4ce33b91025a1410145", + "routeHint": "030841d1519f19c68e80efc5ef5af3460ca4bfa17486fda9baca878b9ef255358f:2199023386625", "alias": "virtualNode0", "ip": "http://host.docker.internal:3004", "external_ip": "http://localhost:3004", - "authToken": "281SW9Rn3POP1sUdpnLM", - "transportToken": "MIIBCgKCAQEAvyQWgvYvEMJUDnQnzL1jkG05vGG/7DfS3LOSjW3ag455MAhePnpj\nxF1VABSmF4ShcEiH6jhO8wI8hrXDsGbM1hE34mMx53DSuepk93s1ZgF5Q+G0uKqE\n+MbRL+QmW5qmyr7TRA5cJV5kZz2Nmh6con9IvnoH45yR2hIMkB0M+BMbjXu+Y+RG\nyD/C8eaCnGwSRr42Fi7kfanXUBVjWrUULbQgR8x+HTfU9DhshK0Jx1b2c6uDRFTs\neJLUJCZN6x6KVLNq/i6hreG3ry7RZJraFVrsXrqBgOgFYwy9LAXCb+x0b46OQbQu\nX44ClVdTYVsl7EcsGJ4GmaopGJwP1MnpDQIDAQAB", - "contact_key": "MIIBCgKCAQEAyyGoArxKiY/Hqmubjszr83Hy+yPQtmi7NU3iwZjeFVprydGgIOgtjqRlzev/9ynnDnf6L5R0AIOdAGdL2qW7MZ7smsPfcIMH+QLmzWwTHH6QhIwoPM098lW+Fl/2vUFbs0Qnt5F2fQ9otK8qqHcaz9lJPKrUC7QUzqa0mskA2n6gteqnsvG+p/4fOmNC55gLaFyYe8vV9qENLz7b2/Ow0n9pAgbiDA/JJXcqsfk/GiGJHaDp+BxYieKRguY3L+9x056Xk1M1x1L3o42+jAhj+b01xJ33OGjT1QxEzgQZHkc9ec8TpFhQsKgEIa3DQhT4Xj7ju+MtQ8mbg6Cboy1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Y0F1R2lmazBsSFQ5bDlyYXFHaVZ2MnRYd25kVGtsOXFRZnFoN1d1Y3R6Uzd4MTdtQy9iS1B5SGt5NXo2MzFvMENwV1FHZHQzVEoyc0pvb0xwWU1UaXRtbWNybmtiUkNQaWhvNFliWVNJNytUNFFwQU1CRmkvT3VSZjAyUEsrWHJxNWtCQmVCd01MYVozOGNLS0ZuaUQ0NmRXQXdUVjVnYloyRERGOExIK1c0UHF5azJVeTJ1YjEvWEk4cWFJN21nZEVXZ1B1U2dPUGJLeEluSFI1N0VLYngxTTBXNVZTQnozckhJNTBycHc0TDNFYjNaVVhKd3A5clVOUWZJR2xrRG1GY1ljeThhRlU4VkUyeTJ2RjljMi9WdVVvNWh3eVFUV0hxbllRM1c3ZE9xRGpRY3JyOCsySk1mN3B0MDhuR3BtcDlIbVN1Z25xRFFVRUFac2djbWZuM1JxMngwWXlsemtGT2RIVHdhRitQeTJwekVlT3REUHZhYlJvdUEwaUd1SERrWERsU1lLNk05R0dmdzlRSjM4UW9jVllhUzk4NjlrclM2L3FXZHZnTVNsUVRFL2NLSnlESldsaWV5akVaUC9TS0ZwcHQyU2srUndDeExGVzRIamVwYnVpRkhCUFpGd3Y1WWliRUs4OW9kU2ozZkR5V2RlMzAwWk5HU2I1ZHo2Sk5FVWlpRkhWL293YVZrVUd6a0hkNFdvc0Z3WlB1RnQ5ND0=", "pin": "111111" }, { - "pubkey": "039188edc6c39499de81ef40f5de2701256ae2ca6ccd57c0c72d7408da202953ac", - "routeHint": "037ec785c6004d512ebaeb0020f81a2bcdb6fccc9539f7b891f704289ebc65a4e3:2199023386625", + "pubkey": "02c3a8cce111d30bf5718c4a01726b708cc15139573e4ad91ea5a7f24eba417f9b", + "routeHint": "030841d1519f19c68e80efc5ef5af3460ca4bfa17486fda9baca878b9ef255358f:2199023452161", "alias": "virtualNode1", "ip": "http://host.docker.internal:3004", "external_ip": "http://localhost:3004", - "authToken": "T9+jctlc0YiYB0w07vxM", - "transportToken": "MIIBCgKCA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WWlCdk9KcllmZUZ3eHhobm12Z1RIaGZnL2VseVg1N2s1cmlvNXVrZmNzZndBNFJiSWZjWTBPZ3c4Sjh1eC9CaTVvMUFWYnJQWS8zREo1c08vQzRjTWQ2NlRsc1RDQmFRTW9ZSHlGdzNrMGpqTWtBTElpb1laVUp4SXg0Y0ZVZHR0TGxzNXpnNmt2YTR6Y09YOC9xQ05KT2RyODh6czBCSEVmN1VQY0ltTzhnRnhrcG5VU2lQQ1REMWdYcm90V2pXTlorZytuRk1QWmc0aWR6QmhFVFA2dFhvbTdDOStDdzZpa0hodmMzRENucUpSY29nNG50U3doRkphaXVDRGMweTcxM3UzMHFKYUxuTXNBL2FDM0UzRmFBNVg2dXBBdnozUktrRXQrcHNGcndmbz0=", "pin": "111111" } ] diff --git a/src/tests/controllers/boostFail.test.ts b/src/tests/controllers/boostFail.test.ts index efe35697..83996b21 100644 --- a/src/tests/controllers/boostFail.test.ts +++ b/src/tests/controllers/boostFail.test.ts @@ -85,7 +85,7 @@ export async function boostFail(t, index1, index2, index3) { tribeMessage2, 1100000000000 ) - t.true(boost.success) + t.false(boost.success) //Node 2 should not get the boost message, because the boost should fail const checkNode2 = await shouldNotGetNewMsgs(t, node2, boost.response.uuid) diff --git a/src/tests/utils/msg/sendBoost.ts b/src/tests/utils/msg/sendBoost.ts index bc9c7566..5cacf4bd 100644 --- a/src/tests/utils/msg/sendBoost.ts +++ b/src/tests/utils/msg/sendBoost.ts @@ -73,7 +73,14 @@ export async function boostAsMessage(t, tribe, node, replyMessage, amount) { message_price: 0, } //node1 sends a boost on node2's message - const msg = await http.post(node.external_ip + '/messages', makeArgs(node, v)) - t.true(msg.success, 'msg should exist') - return msg + try { + const msg = await http.post( + node.external_ip + '/messages', + makeArgs(node, v) + ) + t.true(msg.success, 'msg should exist') + return msg + } catch (error) { + return error.error + } } From 106d442fb1342be2d3168eae87ffc1209e774318 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Tue, 19 Sep 2023 20:55:07 +0100 Subject: [PATCH 016/117] refactore: added the correct response type --- dist/src/controllers/admin.js.map | 2 +- dist/src/controllers/chats.js.map | 2 +- dist/src/utils/res.js.map | 2 +- src/controllers/admin.ts | 2 +- src/controllers/chats.ts | 17 +++++++---------- src/utils/res.ts | 11 ++++++----- 6 files changed, 17 insertions(+), 19 deletions(-) diff --git a/dist/src/controllers/admin.js.map b/dist/src/controllers/admin.js.map index 455ea4b4..c1365897 100644 --- a/dist/src/controllers/admin.js.map +++ b/dist/src/controllers/admin.js.map @@ -1 +1 @@ -{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/controllers/admin.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iCAAgC;AAChC,sCAA+C;AAE/C,sCAAqC;AACrC,0CAA6E;AAC7E,sCAAgE;AAChE,4CAAoC;AACpC,+CAA8C;AAEvC,MAAM,kBAAkB,GAAG,CAAO,GAAQ,EAAE,GAAQ,EAAiB,EAAE;IAC5E,MAAM,MAAM,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAW,CAAA;IAC3C,IAAI,CAAC,MAAM,EAAE;QACX,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,WAAW,CAAC,CAAA;KACjC;IACD,MAAM,KAAK,GAAY,CAAC,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;QACnD,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE;KAC5C,CAAC,CAAY,CAAA;IACd,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;KAChC;IAED,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,OAAO,CAAW,CAAA;IACzC,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,kBAAkB,CAAC,CAAA;KACxC;IACD,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,QAAQ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1bc45cfa 100644 --- a/dist/src/controllers/chats.js.map +++ b/dist/src/controllers/chats.js.map @@ -1 +1 @@ -{"version":3,"file":"chats.js","sourceRoot":"","sources":["../../../src/controllers/chats.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2BAA0B;AAC1B,sCAQkB;AAClB,2CAA0C;AAC1C,sCAA+C;AAC/C,sCAAqC;AACrC,sCAAqC;AAErC,0CAAyC;AACzC,gCAAyC;AACzC,0CAAyC;AACzC,0CAAyC;AACzC,4CAAoC;AACpC,4CAAuD;AAEvD,wCAAyC;AACzC,4CAA4C;AAC5C,wDAAoD;AACpD,6CAIqB;AAErB,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B;;;;;;GAMG;AACH,SAAsB,UAAU,CAAC,GAAQ,EAAE,GAAQ;;QACjD,IAAI,CAAC,GAAG,CAAC,KAAK;YAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QAC/C,MAAM,MAAM,GAAW,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;QACnC,qBAAY,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;QAClC,MAAM,EAAE,GAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;QAClC,IAAI,CAAC,EAAE,EAAE;YACP,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,YAAY,CAAC,CAAA;SAClC;QACD,MAAM,IAAI,GAAS,CAAC,MAAM,eAAM,CAAC,IAAI,CAAC,OAAO,CAAC;YAC5C,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE;SACtB,CAAC,CAAS,CAAA;QACX,IAAI,CAAC,IAAI,EAAE;YACT,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,gBAAgB,CAAC,CAAA;SACtC;QACD,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,GAAG,CAAC,IAAI,C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B,CAAC,CAAA;YAEF,+BAA+B;YAC/B,MAAM,MAAM,CAAC,uBAAuB,CAAC;gBACnC,MAAM,EAAE,KAAK,CAAC,IAAI;gBAClB,WAAW,EAAE,SAAS;gBACtB,SAAS,EAAE,KAAK,CAAC,IAAI;gBACrB,YAAY,EAAE,KAAK,CAAC,WAAW;aAChC,CAAC,CAAA;YAEF,gBAAgB;YAChB,MAAM,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAA;YAC1C,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,qCAAqC,CAAC,CAAA;SAC3D;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,mCAAmC,KAAK,EAAE,CAAC,CAAA;YAC9D,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;SAC3B;IACH,CAAC;CAAA;AAjED,0CAiEC"} \ No newline at end of file +{"version":3,"file":"chats.js","sourceRoot":"","sources":["../../../src/controllers/chats.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2BAA0B;AAC1B,sCAQkB;AAClB,2CAA0C;AAC1C,sCAA+C;AAC/C,sCAAqC;AACrC,sCAAqC;AAErC,0CAAyC;AACzC,gCAAyC;AACzC,0CAAyC;AACzC,0CAAyC;AACzC,4CAAoC;AACpC,4CAAuD;AAEvD,wCAAyC;AACzC,4CAA4C;AAC5C,wDAAoD;AACpD,6CAIqB;AAErB,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B;;;;;;GAMG;AACH,SAAsB,UAAU,CAAC,GAAQ,EAAE,GAAQ;;QACjD,IAAI,CAAC,GAAG,CAAC,KAAK;YAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QAC/C,MAAM,MAAM,GAAW,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;QACnC,qBAAY,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;QAClC,M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EAAE,oCAAoC,CAAC,CAAA;YAE5E,oBAAoB;YACpB,MAAM,kBAAkB,GACtB,MAAM,MAAM,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAA;YAE/C,2BAA2B;YAC3B,MAAM,IAAI,GAAG,IAAI,IAAI,EAAE,CAAA;YACvB,MAAM,KAAK,GAAG,OAAO,CAAA;YACrB,MAAM,gBAAgB,CAAC;gBACrB,cAAc,EAAE,kBAAkB,CAAC,MAAM;gBACzC,MAAM;gBACN,IAAI,EAAE,KAAK;gBACX,IAAI;gBACJ,WAAW,EAAE,KAAK;gBAClB,gBAAgB,EAAE,EAAE;gBACpB,iBAAiB,EAAE,EAAE;gBACrB,MAAM,EAAE,EAAE,GAAG,EAAE,kBAAkB,CAAC,WAAW,EAAE,KAAK,EAAE;gBACtD,YAAY,EAAE,IAAI;aACnB,CAAC,CAAA;YAEF,+BAA+B;YAC/B,MAAM,MAAM,CAAC,uBAAuB,CAAC;gBACnC,MAAM,EAAE,KAAK,CAAC,IAAI;gBAClB,WAAW,EAAE,SAAS;gBACtB,SAAS,EAAE,KAAK,CAAC,IAAI;gBACrB,YAAY,EAAE,KAAK,CAAC,WAAW;aAChC,CAAC,CAAA;YAEF,gBAAgB;YAChB,MAAM,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAA;YAC1C,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,qCAAqC,CAAC,CAAA;SAC3D;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,mCAAmC,KAAK,EAAE,CAAC,CAAA;YAC9D,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;SAC3B;IACH,CAAC;CAAA;AAjED,0CAiEC"} \ No newline at end of file diff --git a/dist/src/utils/res.js.map b/dist/src/utils/res.js.map index 145fe5d7..b5b3b513 100644 --- a/dist/src/utils/res.js.map +++ b/dist/src/utils/res.js.map @@ -1 +1 @@ -{"version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CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;IAC1C,qDAAqD;IACrD,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IACf,GAAG,CAAC,IAAI,CAAC;QACP,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,YAAY;QACnB,QAAQ,EAAE,IAAI;KACf,CAAC,CAAA;IACF,GAAG,CAAC,GAAG,EAAE,CAAA;AACX,CAAC;AAiBoD,kDAAmB;AAfxE,SAAS,UAAU,CAAC,GAAQ,EAAE,CAAC;IAC7B,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IACf,GAAG,CAAC,IAAI,CAAC;QACP,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;KAC7B,CAAC,CAAA;IACF,GAAG,CAAC,GAAG,EAAE,CAAA;AACX,CAAC;AAQ0B,gCAAU;AANrC,SAAS,YAAY,CAAC,GAAQ;IAC5B,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IACf,GAAG,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,qBAAqB,EAAE,CAAC,CAAA;IAC1D,GAAG,CAAC,GAAG,EAAE,CAAA;AACX,CAAC;AAEsC,oCAAY"} \ No newline at end of file diff --git a/src/controllers/admin.ts b/src/controllers/admin.ts index aa852878..7b1eb9f6 100644 --- a/src/controllers/admin.ts +++ b/src/controllers/admin.ts @@ -143,7 +143,7 @@ export async function listUsers(req: Req, res: Res): Promise { } } -export async function listTribes(req: Req, res: Response): Promise { +export async function listTribes(req: Req, res: Res): Promise { if (!req.admin) return failure(res, 'no owner') const tenant: number = req.admin.id const chats: Chat[] = (await models.Chat.findAll({ diff --git a/src/controllers/chats.ts b/src/controllers/chats.ts index 5bb25b7f..07d4f5d3 100644 --- a/src/controllers/chats.ts +++ b/src/controllers/chats.ts @@ -186,7 +186,7 @@ export async function receiveGroupKick(payload: Payload): Promise { * @param {Response} res - The response object used to send the list of chats. * @returns {Promise} */ -export async function getChats(req: Req, res: Response): Promise { +export async function getChats(req: Req, res: Res): Promise { if (!req.owner) return failure(res, 'no owner') const tenant: number = req.owner.id const chats: Chat[] = (await models.Chat.findAll({ @@ -204,7 +204,7 @@ export async function getChats(req: Req, res: Response): Promise { * @param {Response} res - The response object used to send the updated chat. * @returns {Promise} */ -export async function setNotifyLevel(req: Req, res: Response): Promise { +export async function setNotifyLevel(req: Req, res: Res): Promise { if (!req.owner) return failure(res, 'no owner') const tenant: number = req.owner.id const chatId = req.params['chat_id'] @@ -233,7 +233,7 @@ export async function setNotifyLevel(req: Req, res: Response): Promise { * @param {Response} res - The response object used to send the updated chat. * @returns {Promise} */ -export async function mute(req: Req, res: Response): Promise { +export async function mute(req: Req, res: Res): Promise { if (!req.owner) return failure(res, 'no owner') const tenant: number = req.owner.id @@ -265,7 +265,7 @@ export async function mute(req: Req, res: Response): Promise { // just add self here if tribes // or can u add contacts as members? -export async function createGroupChat(req: Req, res: Response): Promise { +export async function createGroupChat(req: Req, res: Res): Promise { if (!req.owner) return failure(res, 'no owner') const tenant: number = req.owner.id @@ -432,7 +432,7 @@ export async function createGroupChat(req: Req, res: Response): Promise { } // only owner can do for tribe? -export async function addGroupMembers(req: Req, res: Response): Promise { +export async function addGroupMembers(req: Req, res: Res): Promise { if (!req.owner) return failure(res, 'no owner') const tenant: number = req.owner.id @@ -482,7 +482,7 @@ export async function addGroupMembers(req: Req, res: Response): Promise { }) } -export const deleteChat = async (req: Req, res: Response): Promise => { +export const deleteChat = async (req: Req, res: Res): Promise => { if (!req.owner) return failure(res, 'no owner') const tenant: number = req.owner.id @@ -544,10 +544,7 @@ export const deleteChat = async (req: Req, res: Response): Promise => { success(res, { chat_id: id }) } -export const addTribeMember = async ( - req: Req, - res: Response -): Promise => { +export const addTribeMember = async (req: Req, res: Res): Promise => { if (!req.owner) return failure(res, 'no owner') const tenant: number = req.owner.id const { chat_id, pub_key, photo_url, route_hint, alias, contact_key } = diff --git a/src/utils/res.ts b/src/utils/res.ts index f660bc83..ba652f28 100644 --- a/src/utils/res.ts +++ b/src/utils/res.ts @@ -1,6 +1,7 @@ import { sphinxLogger } from './logger' +import { Res } from '../types' -function success(res, json) { +function success(res: Res, json) { res.status(200) res.json({ success: true, @@ -9,7 +10,7 @@ function success(res, json) { res.end() } -function failure(res, e) { +function failure(res: Res, e) { const errorMessage = (e && e.message) || e sphinxLogger.error(`--> failure: ${errorMessage}`) res.status(400) @@ -20,7 +21,7 @@ function failure(res, e) { res.end() } -function failureWithResponse(res, e, json) { +function failureWithResponse(res: Res, e, json) { const errorMessage = (e && e.message) || e // sphinxLogger.error(`--> failure: ${errorMessage}`) res.status(400) @@ -32,7 +33,7 @@ function failureWithResponse(res, e, json) { res.end() } -function failure200(res, e) { +function failure200(res: Res, e) { res.status(200) res.json({ success: false, @@ -41,7 +42,7 @@ function failure200(res, e) { res.end() } -function unauthorized(res) { +function unauthorized(res: Res) { res.status(401) res.json({ success: false, error: 'Invalid credentials' }) res.end() From e2c1aa6298160adb41fc7d145338af9c793fc9ab Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 19 Sep 2023 21:31:02 +0000 Subject: [PATCH 017/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- src/utils/res.ts | 2 +- 84 files changed, 84 insertions(+), 84 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string diff --git a/src/utils/res.ts b/src/utils/res.ts index ba652f28..d74dfb67 100644 --- a/src/utils/res.ts +++ b/src/utils/res.ts @@ -1,5 +1,5 @@ -import { sphinxLogger } from './logger' import { Res } from '../types' +import { sphinxLogger } from './logger' function success(res: Res, json) { res.status(200) From fa18e2a7b7e5f37570c6b120ca180fe03a5fab96 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 19 Sep 2023 21:31:20 +0000 Subject: [PATCH 018/117] [ci commit] Automatic build --- dist/src/utils/res.js.map | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/src/utils/res.js.map b/dist/src/utils/res.js.map index b5b3b513..7ec28335 100644 --- a/dist/src/utils/res.js.map +++ b/dist/src/utils/res.js.map @@ -1 +1 @@ -{"version":3,"file":"res.js","sourceRoot":"","sources":["../../../src/utils/res.ts"],"names":[],"mappings":";;;AAAA,qCAAuC;AAGvC,SAAS,OAAO,CAAC,GAAQ,EAAE,IAAI;IAC7B,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IACf,GAAG,CAAC,IAAI,CAAC;QACP,OAAO,EAAE,IAAI;Q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IAAI;KACf,CAAC,CAAA;IACF,GAAG,CAAC,GAAG,EAAE,CAAA;AACX,CAAC;AAiBoD,kDAAmB;AAfxE,SAAS,UAAU,CAAC,GAAQ,EAAE,CAAC;IAC7B,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IACf,GAAG,CAAC,IAAI,CAAC;QACP,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;KAC7B,CAAC,CAAA;IACF,GAAG,CAAC,GAAG,EAAE,CAAA;AACX,CAAC;AAQ0B,gCAAU;AANrC,SAAS,YAAY,CAAC,GAAQ;IAC5B,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;IACf,GAAG,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,qBAAqB,EAAE,CAAC,CAAA;IAC1D,GAAG,CAAC,GAAG,EAAE,CAAA;AACX,CAAC;AAEsC,oCAAY"} \ No newline at end of file From 403d5254a3cc94e681a7cfb4fd08f2a0f7e3f6de Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 19 Sep 2023 21:31:49 +0000 Subject: [PATCH 019/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 778be6d45449b3e09014d5a2d45147568798b6fa Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Wed, 20 Sep 2023 01:52:11 +0100 Subject: [PATCH 020/117] update: external bot can specify only_owner value via api --- dist/src/controllers/botapi/index.js | 3 ++- dist/src/controllers/botapi/index.js.map | 2 +- src/controllers/botapi/index.ts | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dist/src/controllers/botapi/index.js b/dist/src/controllers/botapi/index.js index 8d501642..753de79b 100644 --- a/dist/src/controllers/botapi/index.js +++ b/dist/src/controllers/botapi/index.js @@ -134,7 +134,7 @@ function processAction(req, res) { return (0, res_1.failure)(res, 'failed to parse webhook body json'); } } - const { action, bot_id, bot_secret, pubkey, amount, content, chat_uuid, msg_uuid, reply_uuid, recipient_id, parent_id, only_pubkey, } = body; + const { action, bot_id, bot_secret, pubkey, amount, content, chat_uuid, msg_uuid, reply_uuid, recipient_id, parent_id, only_pubkey, only_owner, } = body; if (!bot_id) return (0, res_1.failure)(res, 'no bot_id'); const bot = (yield models_1.models.Bot.findOne({ where: { id: bot_id } })); @@ -168,6 +168,7 @@ function processAction(req, res) { parent_id: parent_id || 0, recipient_id: recipient_id ? parseInt(recipient_id) : 0, only_pubkey: only_pubkey || '', + only_owner: only_owner || false, }; try { const r = yield finalAction(a); diff --git a/dist/src/controllers/botapi/index.js.map b/dist/src/controllers/botapi/index.js.map index 180ade72..6bcc542f 100644 --- a/dist/src/controllers/botapi/index.js.map +++ b/dist/src/controllers/botapi/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,yCAAwC;AACxC,yCASqB;AACrB,yCAAgE;AAChE,+CAAuC;AACvC,+CAA6D;AAC7D,+CAA0D;AAC1D,0CAAyC;AACzC,2CAA6E;AAC7E,2CAA4C;AAE5C,iDAAsE;AACtE,yCAA4C;AAC5C,6BAAiC;AACjC,+BAAuB;AACvB,2CAAmC;AA4BnC,SAAsB,cAAc,CAAC,GAAQ,EAAE,GAAQ;;;QACrD,qBAAY,CAAC,IAAI,CAAC,qBAAqB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;QAClD,MAAM,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAA;QAC9C,IAAI,CAAC,GAAG,EAAE;YACR,qBAAY,CAAC,KAAK,CAAC,mBAAmB,EAAE,gBAAO,CAAC,IAAI,CAAC,CAAA;YACrD,OAAO,IAAA,kBAAY,EAAC,GAAG,CAAC,CAAA;SACzB;QAED,MAAM,UAAU,GACd,GAAG,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAA;QAChE,IAAI,CAAC,UAAU,EAAE;YACf,qBAAY,CAAC,KAAK,CAAC,sBAAsB,EAAE,gBAAO,CAAC,IAAI,CAAC,CAAA;YACxD,OAAO,IAAA,kBAAY,EAAC,GAAG,CAAC,CAAA;SACzB;QAED,MAAM,KAAK,GAAG,GAAG,CAAC,IAAoB,CAAA;QACtC,IAAI,IAAI,GAAG,EAAE,CAAA;QACb,IAAI,YAAY,IAAI,KAAK,EAAE;YACzB,IAAI,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;IACjC,CAAC;CAAA;AAVD,wCAUC;AAED,SAAsB,iBAAiB,CAAC,GAAQ,EAAE,GAAQ;;QACxD,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC,IAAI,CAAA;QAC1B,IAAI,CAAC,IAAI,EAAE;YACT,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,SAAS,CAAC,CAAA;SAC/B;QACD,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAA;QAClC,IAAI,CAAC,UAAU,EAAE;YACf,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,eAAe,CAAC,CAAA;SACrC;QACD,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAA;QAC9B,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,aAAa,CAAC,CAAA;SACnC;QAED,IAAI,cAAS,CAAC,UAAU,CAAC,EAAE;YACzB,cAAS,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAA;SAChC;QAED,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAA;IAC5B,CAAC;CAAA;AAnBD,8CAmBC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,yCAAwC;AACxC,yCASqB;AACrB,yCAAgE;AAChE,+CAAuC;AACvC,+CAA6D;AAC7D,+CAA0D;AAC1D,0CAAyC;AACzC,2CAA6E;AAC7E,2CAA4C;AAE5C,iDAAsE;AACtE,yCAA4C;AAC5C,6BAAiC;AACjC,+BAAuB;AACvB,2CAAmC;AA4BnC,SAAsB,cAAc,CAAC,GAAQ,EAAE,GAAQ;;;QACrD,qBAAY,CAAC,IAAI,CAAC,qBAAqB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;QAClD,MAAM,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,qBAAqB,CAAC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AAC,CAAA;SAChC;QAED,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAA;IAC5B,CAAC;CAAA;AAnBD,8CAmBC"} \ No newline at end of file diff --git a/src/controllers/botapi/index.ts b/src/controllers/botapi/index.ts index fc86772b..7739fca0 100644 --- a/src/controllers/botapi/index.ts +++ b/src/controllers/botapi/index.ts @@ -173,6 +173,7 @@ export async function processAction(req: Req, res: Res): Promise { recipient_id, parent_id, only_pubkey, + only_owner, } = body if (!bot_id) return failure(res, 'no bot_id') @@ -207,6 +208,7 @@ export async function processAction(req: Req, res: Res): Promise { parent_id: parent_id || 0, recipient_id: recipient_id ? parseInt(recipient_id) : 0, only_pubkey: only_pubkey || '', + only_owner: only_owner || false, } try { From 6b7f63a2484dcecca8e633cf7ccbe8b46ec728c1 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Wed, 20 Sep 2023 15:41:11 +0100 Subject: [PATCH 021/117] update: added failureWithResponse to send attachment message --- dist/src/controllers/media.js | 2 +- dist/src/controllers/media.js.map | 2 +- src/controllers/media.ts | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/dist/src/controllers/media.js b/dist/src/controllers/media.js index 225a5788..1c82fa3f 100644 --- a/dist/src/controllers/media.js +++ b/dist/src/controllers/media.js @@ -155,7 +155,7 @@ const sendAttachmentMessage = (req, res) => __awaiter(void 0, void 0, void 0, fu errorMessage, status: constants_1.default.statuses.failed, }); - return resUtils.failure(res, errorMessage || error); + return resUtils.failureWithResponse(res, errorMessage || error, jsonUtils.messageToJson(message, chat)); }), }); } diff --git a/dist/src/controllers/media.js.map b/dist/src/controllers/media.js.map index e7cc6496..c2dd806b 100644 --- a/dist/src/controllers/media.js.map +++ b/dist/src/controllers/media.js.map @@ -1 +1 @@ -{"version":3,"file":"media.js","sourceRoot":"","sources":["../../../src/controllers/media.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCAAqC;AACrC,oC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AC;CAAA;AAPD,4BAOC;AAED,SAAsB,YAAY,CAAC,IAAI,EAAE,MAAc;;QACrD,IAAI;YACF,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU,CAAC,CAAA;YAC7D,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAA;YAC9B,IAAI,QAAQ,GAAG,OAAO,CAAA;YACtB,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC;gBAAE,QAAQ,GAAG,MAAM,CAAA;YACjD,IAAI,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC;gBAAE,QAAQ,GAAG,MAAM,CAAA;YACxD,MAAM,QAAQ,GAAG,GAAG,QAAQ,MAAM,IAAI,GAAG,CAAA;YACzC,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC,GAAG,CAAC,QAAQ,GAAG,UAAU,GAAG,IAAI,EAAE;gBACrD,OAAO,EAAE;oBACP,aAAa,EAAE,UAAU,KAAK,EAAE;oBAChC,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,IAAI;aACX,CAAC,CAAA;YACF,OAAO,GAAG,CAAA;SACX;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,IAAI,CAAA;SACZ;IACH,CAAC;CAAA;AAnBD,oCAmBC"} \ No newline at end of file +{"version":3,"file":"media.js","sourceRoot":"","sources":["../../../src/controllers/media.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCAAqC;AACrC,oCAAmC;AACnC,sCAAqD;AACrD,0CAAyC;AACzC,2CAA0C;AAC1C,yCAAwC;AACxC,sCAAqC;AACrC,gCAAyC;AACzC,+CAA8C;AAC9C,wCAA6E;AAC7E,sCAAqC;AACrC,4CAA2C;AAC3C,sCAAqC;AACrC,4CAAoC;AACpC,4CAA4C;AAC5C,sCAAsC;AACtC,4CAAuD;AAGvD,wDAAoD;AACpD,mDAAkD;AAClD,qCAAoC;AAEpC,MAAM,MAAM,G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,GAAG,OAAO,CAAA;YACtB,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC;gBAAE,QAAQ,GAAG,MAAM,CAAA;YACjD,IAAI,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC;gBAAE,QAAQ,GAAG,MAAM,CAAA;YACxD,MAAM,QAAQ,GAAG,GAAG,QAAQ,MAAM,IAAI,GAAG,CAAA;YACzC,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC,GAAG,CAAC,QAAQ,GAAG,UAAU,GAAG,IAAI,EAAE;gBACrD,OAAO,EAAE;oBACP,aAAa,EAAE,UAAU,KAAK,EAAE;oBAChC,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,IAAI;aACX,CAAC,CAAA;YACF,OAAO,GAAG,CAAA;SACX;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,IAAI,CAAA;SACZ;IACH,CAAC;CAAA;AAnBD,oCAmBC"} \ No newline at end of file diff --git a/src/controllers/media.ts b/src/controllers/media.ts index 063704ab..d3152063 100644 --- a/src/controllers/media.ts +++ b/src/controllers/media.ts @@ -163,7 +163,11 @@ export const sendAttachmentMessage = async (req: Req, res) => { errorMessage, status: constants.statuses.failed, }) - return resUtils.failure(res, errorMessage || error) + return resUtils.failureWithResponse( + res, + errorMessage || error, + jsonUtils.messageToJson(message, chat) + ) }, }) } catch (error) { From 0e73cbf18dc29f3729ca406f2dc1fe2b385fce29 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Wed, 20 Sep 2023 15:42:44 +0100 Subject: [PATCH 022/117] update: added failureWithResponse to purchase attachment --- dist/src/controllers/media.js | 2 +- dist/src/controllers/media.js.map | 2 +- src/controllers/media.ts | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/dist/src/controllers/media.js b/dist/src/controllers/media.js index 1c82fa3f..7bc057da 100644 --- a/dist/src/controllers/media.js +++ b/dist/src/controllers/media.js @@ -244,7 +244,7 @@ const purchase = (req, res) => __awaiter(void 0, void 0, void 0, function* () { failure: (error) => __awaiter(void 0, void 0, void 0, function* () { const errorMessage = (0, errMsgString_1.errMsgString)(error); yield message.update({ errorMessage, status: constants_1.default.statuses.failed }); - resUtils.failure(res, errorMessage || error); + resUtils.failureWithResponse(res, errorMessage || error, jsonUtils.messageToJson(message, chat)); }), }); }); diff --git a/dist/src/controllers/media.js.map b/dist/src/controllers/media.js.map index c2dd806b..f315ae2d 100644 --- a/dist/src/controllers/media.js.map +++ b/dist/src/controllers/media.js.map @@ -1 +1 @@ -{"version":3,"file":"media.js","sourceRoot":"","sources":["../../../src/controllers/media.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCAAqC;AACrC,oCAAmC;AACnC,sCAAqD;AACrD,0CAAyC;AACzC,2CAA0C;AAC1C,yCAAwC;AACxC,sCAAqC;AACrC,gCAAyC;AACzC,+CAA8C;AAC9C,wCAA6E;AAC7E,sCAAqC;AACrC,4CAA2C;AAC3C,sCAAqC;AACrC,4CAAoC;AACpC,4CAA4C;AAC5C,sCAAsC;AACtC,4CAAuD;AAGvD,wDAAoD;AACpD,mDAAkD;AAClD,qCAAoC;AAEpC,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B;;;;;;;;;;;;;;;;EAgBE;AAEK,MAAM,qBAAqB,GAAG,CAAO,GAAQ,EAAE,GAAG,EAAE,EAAE;IAC3D,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAC/C,MAAM,MAAM,GAAW,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;IACnC,QAAQ;IACR,8CAA8C;IAC9C,eAAe;IACf,4CAA4C;IAC5C,IAAI;IACJ,IAAI;QACF,MAAM,EACJ,OAAO,EACP,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,WAAW,EACX,eAAe,EACf,aAAa,EACb,UAAU,EACV,MAAM,EACN,SAAS,EACT,GAAG,EACH,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AC,OAAO,CAAC,EAAE;YACV,OAAO,IAAI,CAAA;SACZ;IACH,CAAC;CAAA;AAnBD,oCAmBC"} \ No newline at end of file +{"version":3,"file":"media.js","sourceRoot":"","sources":["../../../src/controllers/media.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCAAqC;AACrC,oCAAmC;AACnC,sCAAqD;AACrD,0CAAyC;AACzC,2CAA0C;AAC1C,yCAAwC;AACxC,sCAAqC;AACrC,gCAAyC;AACzC,+CAA8C;AAC9C,wCAA6E;AAC7E,sCAAqC;AACrC,4CAA2C;AAC3C,sCAAqC;AACrC,4CAAoC;AACpC,4CAA4C;AAC5C,sCAAsC;AACtC,4CAAuD;AAGvD,wDAAoD;AACpD,mDAAkD;AAClD,qCAAoC;AAEpC,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B;;;;;;;;;;;;;;;;EAgBE;AAEK,MAAM,qBAAqB,GAAG,CAAO,GAAQ,EAAE,GAAG,EAAE,EAAE;IAC3D,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAC/C,MAAM,MAAM,GAAW,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;IACnC,QAAQ;IACR,8CAA8C;IAC9C,eAAe;IACf,4CAA4C;IAC5C,IAAI;IACJ,IAAI;QACF,MAAM,EACJ,OAAO,EACP,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,WAAW,EACX,eAAe,EACf,aAAa,EACb,UAAU,EACV,MAAM,EACN,SAAS,EACT,GAAG,EACH,KAAK,EAAE,+CAA+C;QACtD,UAAU,EACV,SAAS,EACT,WAAW,GACZ,GAAG,GAAG,CAAC,IAAI,CAAA;QAEZ,qBAAY,CAAC,IAAI,CAAC,CAAC,mBAAmB,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,CAAA;QAElD,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAA;QACvB,MAAM,I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AAC,CAAA;SACzB;IACH,CAAC;CAAA;AAjBD,wBAiBC;AAED,SAAsB,QAAQ,CAAC,GAAG,EAAE,GAAG;;QACrC,IAAI;YACF,MAAM,GAAG,GAAG,MAAM,SAAS,CAAC,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;YACnD,OAAO,GAAG,CAAA;SACX;QAAC,OAAO,CAAC,EAAE;YACV,qBAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;SACtB;IACH,CAAC;CAAA;AAPD,4BAOC;AAED,SAAsB,YAAY,CAAC,IAAI,EAAE,MAAc;;QACrD,IAAI;YACF,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,UAAU,CAAC,CAAA;YAC7D,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAA;YAC9B,IAAI,QAAQ,GAAG,OAAO,CAAA;YACtB,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC;gBAAE,QAAQ,GAAG,MAAM,CAAA;YACjD,IAAI,IAAI,CAAC,QAAQ,CAAC,kBAAkB,CAAC;gBAAE,QAAQ,GAAG,MAAM,CAAA;YACxD,MAAM,QAAQ,GAAG,GAAG,QAAQ,MAAM,IAAI,GAAG,CAAA;YACzC,MAAM,GAAG,GAAG,MAAM,EAAE,CAAC,GAAG,CAAC,QAAQ,GAAG,UAAU,GAAG,IAAI,EAAE;gBACrD,OAAO,EAAE;oBACP,aAAa,EAAE,UAAU,KAAK,EAAE;oBAChC,cAAc,EAAE,kBAAkB;iBACnC;gBACD,IAAI,EAAE,IAAI;aACX,CAAC,CAAA;YACF,OAAO,GAAG,CAAA;SACX;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,IAAI,CAAA;SACZ;IACH,CAAC;CAAA;AAnBD,oCAmBC"} \ No newline at end of file diff --git a/src/controllers/media.ts b/src/controllers/media.ts index d3152063..feb364db 100644 --- a/src/controllers/media.ts +++ b/src/controllers/media.ts @@ -263,7 +263,11 @@ export const purchase = async (req: Req, res) => { failure: async (error) => { const errorMessage = errMsgString(error) await message.update({ errorMessage, status: constants.statuses.failed }) - resUtils.failure(res, errorMessage || error) + resUtils.failureWithResponse( + res, + errorMessage || error, + jsonUtils.messageToJson(message, chat) + ) }, }) } From aee3c2c2f07edb20a160349281a960fe05de3270 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Wed, 20 Sep 2023 15:59:50 +0100 Subject: [PATCH 023/117] update: added failure with response to sendpayment --- dist/src/controllers/payment.js | 8 +------- dist/src/controllers/payment.js.map | 2 +- src/controllers/payment.ts | 10 ++-------- 3 files changed, 4 insertions(+), 16 deletions(-) diff --git a/dist/src/controllers/payment.js b/dist/src/controllers/payment.js index a6718945..a904a43c 100644 --- a/dist/src/controllers/payment.js +++ b/dist/src/controllers/payment.js @@ -128,13 +128,7 @@ const sendPayment = (req, res) => __awaiter(void 0, void 0, void 0, function* () status: constants_1.default.statuses.failed, errorMessage: errMsg, }); - res.status(400); - res.json({ - success: false, - error: errMsg, - response: jsonUtils.messageToJson(message, chat), - }); - res.end(); + (0, res_1.failureWithResponse)(res, errMsg, jsonUtils.messageToJson(message, chat)); }), }); }); diff --git a/dist/src/controllers/payment.js.map b/dist/src/controllers/payment.js.map index c46643d7..27d9f80a 100644 --- a/dist/src/controllers/payment.js.map +++ b/dist/src/controllers/payment.js.map @@ -1 +1 @@ -{"version":3,"file":"payment.js","sourceRoot":"","sources":["../../../src/controllers/payment.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAAmC;AACnC,yCAA8B;AAC9B,sCAA2C;AAC3C,gCAAyC;AACzC,0CAAyC;AACzC,2CAA0C;AAC1C,sCAAqC;AACrC,sCAA+C;AAC/C,wCAA8C;AAC9C,sCAAqC;AAErC,4CAAoC;AACpC,4CAA8C;AAE9C,wDAAoD;AACpD,gDAAqD;AACrD,iCAAyC;AACzC,mDAAkD;AAE3C,MAAM,WAAW,GAAG,CAAO,GAAQ,EAAE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AAC,CACvD,CAAA;KACF;IAAC,OAAO,CAAC,EAAE;QACV,IAAA,aAAO,EAAC,GAAG,EAAE,oBAAoB,CAAC,CAAA;KACnC;AACH,CAAC,CAAA,CAAA;AAxFY,QAAA,YAAY,gBAwFxB"} \ No newline at end of file +{"version":3,"file":"payment.js","sourceRoot":"","sources":["../../../src/controllers/payment.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAAmC;AACnC,yCAA8B;AAC9B,sCAA2C;AAC3C,gCAAyC;AACzC,0CAAyC;AACzC,2CAA0C;AAC1C,sCAAqC;AACrC,sCAAoE;AACpE,wCAA8C;AAC9C,sCAAqC;AAErC,4CAAoC;AACpC,4CAA8C;AAE9C,wDAAoD;AACpD,gDAAqD;AACrD,iCAAyC;AACzC,mDAAkD;AAE3C,MAAM,WAAW,GAAG,CAAO,GAAQ,EAAE,GAAQ,EAAiB,EAAE;IACrE,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAC/C,MAAM,MAAM,GAAW,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;IACnC,MAAM,EACJ,MAAM,EACN,OAAO,EACP,UAAU,EACV,eAAe,EACf,UAAU,EACV,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,WAAW,EACX,UAAU,EACV,eAAe,EACf,WAAW,EACX,UAAU,EACV,SAAS,GACV,GAAG,GAAG,CAAC,IAAI,CAAA;IAEZ,qBAAY,CAAC,IAAI,CAAC,kBAAkB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;IAE/C,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAA;IAEvB,IAAI,eAAe,IAAI,CAAC,UAAU,IAAI,CAAC,OAAO,EAAE;QAC9C,IAAA,uBAAgB,EACd,KAAK,EACL,eAAe,EACf,UAAU,EACV,MAAM,IAAI,EAAE,EACZ,IAAI,IAAI,EAAE,EACV,UAAU,IAAI;YACZ,IAAA,a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MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;YACpD,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,KAAK;YACxD,KAAK,EAAE,CAAC,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;YAC9B,KAAK;YACL,MAAM;SACP,CAAC,CAAc,CAAA;QAChB,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAA;QACtB,IAAA,aAAO,EACL,GAAG,EACH,GAAG,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,SAAS,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CACvD,CAAA;KACF;IAAC,OAAO,CAAC,EAAE;QACV,IAAA,aAAO,EAAC,GAAG,EAAE,oBAAoB,CAAC,CAAA;KACnC;AACH,CAAC,CAAA,CAAA;AAxFY,QAAA,YAAY,gBAwFxB"} \ No newline at end of file diff --git a/src/controllers/payment.ts b/src/controllers/payment.ts index 8f243820..9f4cc345 100644 --- a/src/controllers/payment.ts +++ b/src/controllers/payment.ts @@ -5,7 +5,7 @@ import { sendNotification } from '../hub' import * as socket from '../utils/socket' import * as jsonUtils from '../utils/json' import * as helpers from '../helpers' -import { failure, success } from '../utils/res' +import { failure, failureWithResponse, success } from '../utils/res' import { tokenFromTerms } from '../utils/ldat' import * as network from '../network' import { Payload } from '../network' @@ -143,13 +143,7 @@ export const sendPayment = async (req: Req, res: Res): Promise => { status: constants.statuses.failed, errorMessage: errMsg, }) - res.status(400) - res.json({ - success: false, - error: errMsg, - response: jsonUtils.messageToJson(message, chat), - }) - res.end() + failureWithResponse(res, errMsg, jsonUtils.messageToJson(message, chat)) }, }) } From 8a21c226488d886bafc4c6e645ec873a5ca401d1 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Wed, 20 Sep 2023 16:12:58 +0100 Subject: [PATCH 024/117] update: added success and failure to create invoice --- dist/src/controllers/invoices.js | 7 ++++++- dist/src/controllers/invoices.js.map | 2 +- src/controllers/invoices.ts | 14 +++++++++++--- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/dist/src/controllers/invoices.js b/dist/src/controllers/invoices.js index 3768b0bb..684c4a25 100644 --- a/dist/src/controllers/invoices.js +++ b/dist/src/controllers/invoices.js @@ -202,8 +202,13 @@ const createInvoice = (req, res) => __awaiter(void 0, void 0, void 0, function* id: message.id, invoice: message.paymentRequest, }, + success: () => __awaiter(void 0, void 0, void 0, function* () { + (0, res_1.success)(res, jsonUtils.messageToJson(message, chat)); + }), + failure: (error) => __awaiter(void 0, void 0, void 0, function* () { + (0, res_1.failureWithResponse)(res, error, jsonUtils.messageToJson(message, chat)); + }), }); - (0, res_1.success)(res, jsonUtils.messageToJson(message, chat)); } } catch (err) { diff --git a/dist/src/controllers/invoices.js.map b/dist/src/controllers/invoices.js.map index dcf50d5e..e9463c87 100644 --- a/dist/src/controllers/invoices.js.map +++ b/dist/src/controllers/invoices.js.map @@ -1 +1 @@ -{"version":3,"file":"invoices.js","sourceRoot":"","sources":["../../../src/controllers/invoices.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAAmC;AACnC,wCAAuC;AAEvC,sCAA6D;AAC7D,+CAA8C;AAE9C,0CAAyC;AACzC,2CAA0C;AAC1C,4CAAsD;AACtD,sCAAqC;AACrC,gCAAyC;AACzC,sCAA+C;AAC/C,sCAAqC;AAErC,4CAAoC;AACpC,4CAA8C;AAG9C,mDAAkD;AAElD,SAAS,oBAAoB,CAAC,CAAS;IACrC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;QAAE,OAAO,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;IACpE,OAAO,CAAC,CAAA;AACV,CAAC;AAEM,MAAM,UAAU,GAAG,CAAO,GAAQ,EAAE,GAAa,EAAiB,EAAE;IACzE,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,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AAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC;KACzD,EACD,MAAM,CACP,CAAA;IAED,IAAA,sBAAgB,EAAC,IAAI,EAAE,GAAG,CAAC,WAAW,IAAI,MAAM,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,CAAA;IAEzE,IAAA,gCAAgB,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAA;AACrE,CAAC,CAAA,CAAA;AAtEY,QAAA,cAAc,kBAsE1B"} \ No newline at end of file +{"version":3,"file":"invoices.js","sourceRoot":"","sources":["../../../src/controllers/invoices.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAAmC;AACnC,wCAAuC;AAEvC,sCAA6D;AAC7D,+CAA8C;AAE9C,0CAAyC;AACzC,2CAA0C;AAC1C,4CAAsD;AACtD,sCAAqC;AACrC,gCAAyC;AACzC,sCAAoE;AACpE,sCAAqC;AAErC,4CAAoC;AACpC,4CAA8C;AAG9C,mDAAkD;AAElD,SAAS,oBAAoB,CAAC,CAAS;IACrC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;QAAE,OAAO,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;IACpE,OAAO,CAAC,CAAA;AACV,CAAC;AAEM,MAAM,UAAU,GAAG,CAAO,GAAQ,EAAE,GAAa,EAAiB,EAAE;IACzE,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAC/C,MAAM,MAAM,GAAW,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;IAEnC,MAAM,eAAe,GAAG,oBAAoB,CAAC,GAAG,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;IAEtE,IAAI,CAAC,eAAe,EAAE;QACpB,qBAAY,CAAC,KAAK,CAAC,0CAA0C,CAAC,CAAA;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I,EAAE,MAAM,CAAC;KACzD,EACD,MAAM,CACP,CAAA;IAED,IAAA,sBAAgB,EAAC,IAAI,EAAE,GAAG,CAAC,WAAW,IAAI,MAAM,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,CAAA;IAEzE,IAAA,gCAAgB,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAA;AACrE,CAAC,CAAA,CAAA;AAtEY,QAAA,cAAc,kBAsE1B"} \ No newline at end of file diff --git a/src/controllers/invoices.ts b/src/controllers/invoices.ts index fd9d7b9c..ed363c2e 100644 --- a/src/controllers/invoices.ts +++ b/src/controllers/invoices.ts @@ -9,7 +9,7 @@ import * as jsonUtils from '../utils/json' import { decodePaymentRequest } from '../utils/decode' import * as helpers from '../helpers' import { sendNotification } from '../hub' -import { success, failure } from '../utils/res' +import { success, failure, failureWithResponse } from '../utils/res' import * as network from '../network' import { Payload } from '../network' import constants from '../constants' @@ -219,9 +219,17 @@ export const createInvoice = async (req: Req, res: Response): Promise => { id: message.id, invoice: message.paymentRequest, }, + success: async () => { + success(res, jsonUtils.messageToJson(message, chat)) + }, + failure: async (error) => { + failureWithResponse( + res, + error, + jsonUtils.messageToJson(message, chat) + ) + }, }) - - success(res, jsonUtils.messageToJson(message, chat)) } } catch (err) { sphinxLogger.error(`addInvoice error: ${err}`) From 0f752a2709f25fc30d90c4af17e77dfba7847f7d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 20 Sep 2023 15:54:24 +0000 Subject: [PATCH 025/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 79de490838fc67bce5fb8df8de113833056704b5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 20 Sep 2023 15:55:17 +0000 Subject: [PATCH 026/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 4a983809d4abd29d15f646c0a96db64352b029c7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 20 Sep 2023 17:03:13 +0000 Subject: [PATCH 027/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From a3b339366b8319b3ddacf9482317a71310b856bb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 20 Sep 2023 17:03:52 +0000 Subject: [PATCH 028/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 2836b14407eae0ad42763017d2d01bf712a94034 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Fri, 22 Sep 2023 20:37:14 +0100 Subject: [PATCH 029/117] update: fixed self payment for lsat --- dist/src/controllers/lsats.js | 20 +++++++++++++++++++- dist/src/controllers/lsats.js.map | 2 +- dist/src/grpc/lightning.js | 14 ++++++++++---- dist/src/grpc/lightning.js.map | 2 +- src/controllers/lsats.ts | 31 +++++++++++++++++++++++++++++-- src/grpc/lightning.ts | 23 ++++++++++++++++------- src/types.ts | 8 ++++++++ 7 files changed, 84 insertions(+), 16 deletions(-) diff --git a/dist/src/controllers/lsats.js b/dist/src/controllers/lsats.js index b18d890d..8256e06e 100644 --- a/dist/src/controllers/lsats.js +++ b/dist/src/controllers/lsats.js @@ -16,6 +16,7 @@ const logger_1 = require("../utils/logger"); const res_1 = require("../utils/res"); const Lightning = require("../grpc/lightning"); const constants_1 = require("../constants"); +const bolt11 = require("@boltz/bolt11"); /* interface LsatResponse { paymentRequest: string @@ -47,6 +48,12 @@ function lsatAlreadyExists(lsat) { return false; }); } +function extractPubkeyAndPaymentHashFromPaymentRequest(payment_request) { + var _a; + const decodedPaymentRequest = bolt11.decode(payment_request); + const payment_hash = ((_a = decodedPaymentRequest.tags.find((t) => t.tagName === 'payment_hash')) === null || _a === void 0 ? void 0 : _a.data) || ''; + return { payment_hash, public_key: decodedPaymentRequest.payeeNodeKey }; +} function payForLsat(paymentRequest) { return __awaiter(this, void 0, void 0, function* () { if (!paymentRequest) { @@ -84,7 +91,18 @@ function saveLsat(req, res) { } let preimage; try { - preimage = yield payForLsat(paymentRequest); + //Decode payment request + const ownerPubkey = req.owner.publicKey; + const { payment_hash, public_key } = extractPubkeyAndPaymentHashFromPaymentRequest(paymentRequest); + //check if pubkey from request is the same with owner's pubkey + if (public_key !== ownerPubkey) { + preimage = yield payForLsat(paymentRequest); + } + else { + // search for invoice + const invoice = yield Lightning.getInvoiceHandler(payment_hash, ownerPubkey, true); + preimage = invoice.preimage; + } } catch (e) { logger_1.sphinxLogger.error(['[pay for lsat] Problem paying for lsat:', e], logger_1.logging.Lsat); diff --git a/dist/src/controllers/lsats.js.map b/dist/src/controllers/lsats.js.map index d17999c0..8a22b431 100644 --- a/dist/src/controllers/lsats.js.map +++ b/dist/src/controllers/lsats.js.map @@ -1 +1 @@ -{"version":3,"file":"lsats.js","sourceRoot":"","sources":["../../../src/controllers/lsats.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuC;AAEvC,sCAAiD;AACjD,4CAAuD;AACvD,sCAA+C;AAC/C,+CAA8C;AAC9C,4CAAoC;AAgBpC;;;;;;;;;EASE;AAEF,MAAM,sBAAsB,GAAG;IAC7B,UAAU;IACV,gBAAgB;IAChB,OAAO;IACP,UAAU;IACV,QAAQ;IACR,UAAU;IACV,YAAY;CACb,CAAA;AAED,SAAe,iBAAiB,CAAC,IAAI;;QACnC,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,CAAA;QAC1B,MAAM,KAAK,GAAmB,CAAC,MAAM,eAAM,CAAC,IAAI,CAAC,OAAO,CAAC;YACvD,KAAK,EAAE,EAAE,UAAU,EAAE;YACrB,UAAU,EAAE,sBAAsB;SACnC,CAAC,CAAmB,CAAA;QAErB,IAAI,KAAK;YAAE,OAAO,IAAI,CAAA;QACtB,OAAO,KAAK,CAAA;IACd,CAAC;CAAA;AAED,SAAsB,UAAU,CAC9B,cAAsB;;QAEtB,IAAI,CAAC,cAAc,EAAE;YACnB,qBAAY,CAAC,KAAK,CAChB,0CAA0C,EAC1C,gBAAO,CAAC,SAAS,CAClB,CAAA;YACD,OAAM;SACP;QAED,qBAAY,CAAC,IAAI,CAAC,iBAAiB,cAAc,EAAE,EAAE,gBAAO,CAAC,SAAS,CAAC,CAAA;QAEvE,MAAM,QAAQ,GAAG,MAAM,SAAS,CAA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AAC,OAAO,KAClD;oBACE,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;iBAC9B,CACF,CAAA;aACF;iBAAM;gBACL,MAAM,eAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE;oBAC7B,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;iBAC9B,CAAC,CAAA;aACH;YACD,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,2BAA2B,CAAC,CAAA;SACjD;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,0BAA0B,CAAC,CAAC,OAAO,EAAE,CAAC,CAAA;SAC3D;IACH,CAAC;CAAA;AAzBD,gCAyBC;AAED,SAAsB,UAAU,CAC9B,GAAiB,EACjB,GAAa;;QAEb,MAAM,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;QAC3B,MAAM,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC,UAAU,CAAA;QACxC,qBAAY,CAAC,IAAI,CAAC,iBAAiB,UAAU,EAAE,EAAE,gBAAO,CAAC,OAAO,CAAC,CAAA;QACjE,IAAI;YACF,MAAM,eAAM,CAAC,IAAI,CAAC,OAAO,CAAC;gBACxB,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;aAC9B,CAAC,CAAA;YACF,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,2BAA2B,CAAC,CAAA;SACjD;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,uBAAuB,CAAC,CAAA;SAC7C;IACH,CAAC;CAAA;AAfD,gCAeC"} \ No newline at end of file +{"version":3,"file":"lsats.js","sourceRoot":"","sources":["../../../src/controllers/lsats.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuC;AAEvC,sCAAiD;AACjD,4CAAuD;AACvD,sCAA+C;AAC/C,+CAA8C;AAC9C,4CAAoC;AAEpC,wCAAuC;AAgBvC;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,uBAAuB,CAAC,CAAA;SAC7C;IACH,CAAC;CAAA;AAfD,gCAeC"} \ No newline at end of file diff --git a/dist/src/grpc/lightning.js b/dist/src/grpc/lightning.js index dd313dae..b387e710 100644 --- a/dist/src/grpc/lightning.js +++ b/dist/src/grpc/lightning.js @@ -1069,7 +1069,7 @@ function ascii_to_hexa(str) { } return arr1.join(''); } -function getInvoiceHandler(payment_hash, ownerPubkey) { +function getInvoiceHandler(payment_hash, ownerPubkey, showPreImage) { return __awaiter(this, void 0, void 0, function* () { logger_1.sphinxLogger.info('getInvoice', logger_1.logging.Lightning); const payment_hash_bytes = Buffer.from(payment_hash, 'hex'); @@ -1091,7 +1091,7 @@ function getInvoiceHandler(payment_hash, ownerPubkey) { settled: response === null || response === void 0 ? void 0 : response.settled, payment_request: response === null || response === void 0 ? void 0 : response.payment_request, payment_hash: response === null || response === void 0 ? void 0 : response.r_hash.toString('hex'), - preimage: (response === null || response === void 0 ? void 0 : response.settled) + preimage: (response === null || response === void 0 ? void 0 : response.settled) || showPreImage ? response === null || response === void 0 ? void 0 : response.r_preimage.toString('hex') : '', amount: convertMsatToSat(response.amt_paid), @@ -1116,14 +1116,20 @@ function getInvoiceHandler(payment_hash, ownerPubkey) { amount: convertMsatToSat(((_a = res === null || res === void 0 ? void 0 : res.amount_received_msat) === null || _a === void 0 ? void 0 : _a.msat) || 0), settled: res.status.toLowerCase() === 'paid' ? true : false, payment_request: res.bolt11, - preimage: res.status.toLowerCase() === 'paid' + preimage: res.status.toLowerCase() === 'paid' || showPreImage ? res.payment_preimage.toString('hex') : '', payment_hash: res.payment_hash.toString('hex'), }; resolve(invoice); } - resolve({}); + resolve({ + amount: 0, + settled: false, + payment_hash: '', + payment_request: '', + preimage: '', + }); } }); } diff --git a/dist/src/grpc/lightning.js.map b/dist/src/grpc/lightning.js.map index af827768..e13574b6 100644 --- a/dist/src/grpc/lightning.js.map +++ b/dist/src/grpc/lightning.js.map @@ -1 +1 @@ -{"version":3,"file":"lightning.js","s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GAAG,IAAI,CAAA;AAC9B,CAAC;AAED,SAAS,aAAa,CAAC,MAAc;IACnC,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AAC9B,CAAC;AACD,sCAAsC;AACtC,2BAA2B;AAC3B,6BAA6B;AAC7B,aAAa;AACb,yCAAyC;AACzC,8EAA8E;AAC9E,6EAA6E;AAC7E,uCAAuC;AACvC,0FAA0F;AAC1F,6BAA6B;AAC7B,MAAM;AACN,IAAI"} \ No newline at end of file +{"version":3,"file":"lightning.js","sourceRoot":"","sources":["../../../src/grpc/lightning.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yBAAwB;AACxB,iCAAgC;AAChC,sCAAqC;AACrC,iCAAgC;AAChC,uCAAsC;AACtC,oCAAmC;AACnC,wCAAkC;AAClC,4CAAoC;AACpC,gDAA+C;AAC/C,4CAA4C;AAC5C,0CAA4D;AAC5D,4CAAuD;AACvD,4CAA2C;AAE3C,mCAAmC;AAanC,2CAA0C;AAC1C,uCAA+B;AAC/B,6CAAsD;AAGtD,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAC3B,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,WAAW,CAAA;AAC3C,MAAM,MAAM,GAAG,MAAM,CAAC,kBAAkB,KAAK,KAAK,CAAA;AAClD,MAAM,aAAa,GAAG,MAAM,CAAC,kBAAkB,KAAK,YAAY,CAAA;AAChE,MAAM,MAAM,GAAG,MAAM,CAAC,kBAAkB,KAAK,KAAK,CAAA;AAErC,QAAA,eAAe,GAAG,UAAU,CAAA;AAC5B,QAAA,wBAAwB,GAAG,SAAS,CAAA;AAEjD,MAAM,aAAa,GAAG,EAAE,CAAA;AAExB,IAAI,eAKS,CAAA;AACb,IAAI,cAAgD,CAAA;AACpD,IAAI,YAAsC,CAAA;AAE1C,+BAA+B;AAC/B,SAAgB,KAAK,CACnB,MAKa;IAEb,OAAO,MAAM,CAAA;AACf,CAAC;AATD,sBASC;AAED,S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Q,CAAC;oBACtC,eAAe,EAAE,EAAE;iBACpB,EACD,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE;oBAChB,IAAI,GAAG,EAAE;wBACP,qBAAY,CAAC,KAAK,CAAC,GAAG,EAAE,gBAAO,CAAC,SAAS,CAAC,CAAA;wBAC1C,MAAM,CAAC,GAAG,CAAC,CAAA;qBACZ;yBAAM;wBACL,OAAO,CAAC,QAAQ,CAAC,CAAA;wBACjB,qBAAY,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAA;qBACzD;gBACH,CAAC,CACF,CAAA;aACF;QACH,CAAC,CAAA,CAAC,CAAA;IACJ,CAAC;CAAA;AAvBD,sDAuBC;AAED,SAAS,gBAAgB,CAAC,MAAc;IACtC,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AAC9B,CAAC;AAED,SAAS,aAAa,CAAC,MAAc;IACnC,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AAC9B,CAAC;AACD,sCAAsC;AACtC,2BAA2B;AAC3B,6BAA6B;AAC7B,aAAa;AACb,yCAAyC;AACzC,8EAA8E;AAC9E,6EAA6E;AAC7E,uCAAuC;AACvC,0FAA0F;AAC1F,6BAA6B;AAC7B,MAAM;AACN,IAAI"} \ No newline at end of file diff --git a/src/controllers/lsats.ts b/src/controllers/lsats.ts index 30fb9af6..e0b30124 100644 --- a/src/controllers/lsats.ts +++ b/src/controllers/lsats.ts @@ -5,6 +5,8 @@ import { logging, sphinxLogger } from '../utils/logger' import { failure, success } from '../utils/res' import * as Lightning from '../grpc/lightning' import constants from '../constants' +import { Req } from '../types' +import * as bolt11 from '@boltz/bolt11' export interface LsatRequestBody { paymentRequest: string @@ -52,6 +54,16 @@ async function lsatAlreadyExists(lsat): Promise { return false } +function extractPubkeyAndPaymentHashFromPaymentRequest( + payment_request: string +) { + const decodedPaymentRequest = bolt11.decode(payment_request) + const payment_hash = + (decodedPaymentRequest.tags.find((t) => t.tagName === 'payment_hash') + ?.data as string) || ('' as string) + return { payment_hash, public_key: decodedPaymentRequest.payeeNodeKey } +} + export async function payForLsat( paymentRequest: string ): Promise { @@ -73,7 +85,7 @@ export async function payForLsat( } export async function saveLsat( - req: RelayRequest, + req: Req, res: Response ): Promise { const tenant: number = req.owner.id @@ -111,7 +123,22 @@ export async function saveLsat( let preimage: string | void try { - preimage = await payForLsat(paymentRequest) + //Decode payment request + const ownerPubkey = req.owner.publicKey + const { payment_hash, public_key } = + extractPubkeyAndPaymentHashFromPaymentRequest(paymentRequest) + //check if pubkey from request is the same with owner's pubkey + if (public_key !== ownerPubkey) { + preimage = await payForLsat(paymentRequest) + } else { + // search for invoice + const invoice = await Lightning.getInvoiceHandler( + payment_hash, + ownerPubkey, + true + ) + preimage = invoice.preimage + } } catch (e) { sphinxLogger.error( ['[pay for lsat] Problem paying for lsat:', e], diff --git a/src/grpc/lightning.ts b/src/grpc/lightning.ts index 5c6af8de..330088de 100644 --- a/src/grpc/lightning.ts +++ b/src/grpc/lightning.ts @@ -28,6 +28,7 @@ import { WalletUnlockerClient } from './types/lnrpc/WalletUnlocker' import * as interfaces from './interfaces' import libhsmd from './libhsmd' import { get_greenlight_grpc_uri } from './greenlight' +import { InvoiceRes } from '../types' const config = loadConfig() const LND_IP = config.lnd_ip || 'localhost' @@ -1248,8 +1249,9 @@ function ascii_to_hexa(str) { export async function getInvoiceHandler( payment_hash: string, - ownerPubkey?: string -) { + ownerPubkey?: string, + showPreImage?: boolean +): Promise { sphinxLogger.info('getInvoice', logging.Lightning) const payment_hash_bytes = Buffer.from(payment_hash, 'hex') return new Promise(async (resolve, reject) => { @@ -1270,9 +1272,10 @@ export async function getInvoiceHandler( settled: response?.settled, payment_request: response?.payment_request, payment_hash: response?.r_hash.toString('hex'), - preimage: response?.settled - ? response?.r_preimage.toString('hex') - : '', + preimage: + response?.settled || showPreImage + ? response?.r_preimage.toString('hex') + : '', amount: convertMsatToSat(response.amt_paid), } resolve(invoice) @@ -1299,14 +1302,20 @@ export async function getInvoiceHandler( settled: res.status.toLowerCase() === 'paid' ? true : false, payment_request: res.bolt11, preimage: - res.status.toLowerCase() === 'paid' + res.status.toLowerCase() === 'paid' || showPreImage ? res.payment_preimage.toString('hex') : '', payment_hash: res.payment_hash.toString('hex'), } resolve(invoice) } - resolve({}) + resolve({ + amount: 0, + settled: false, + payment_hash: '', + payment_request: '', + preimage: '', + }) } } ) diff --git a/src/types.ts b/src/types.ts index 13bc6318..f7e3b696 100644 --- a/src/types.ts +++ b/src/types.ts @@ -25,3 +25,11 @@ export interface SpamGoneMeta { alias: string }[] } + +export interface InvoiceRes { + amount: number + payment_hash: string + settled: boolean + payment_request: string + preimage: string +} From 6634f09b33586b707c6a44e5d73e7e9fdfff17a0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 22 Sep 2023 23:10:21 +0000 Subject: [PATCH 030/117] [ci commit] Lint and format code --- src/controllers/lsats.ts | 2 +- src/grpc/lightning.ts | 3 +-- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 85 files changed, 85 insertions(+), 86 deletions(-) diff --git a/src/controllers/lsats.ts b/src/controllers/lsats.ts index e0b30124..ea7fcba0 100644 --- a/src/controllers/lsats.ts +++ b/src/controllers/lsats.ts @@ -1,12 +1,12 @@ import { Lsat as LsatB } from 'lsat-js' import { Response, Request } from 'express' +import * as bolt11 from '@boltz/bolt11' import { models, Lsat as LsatT } from '../models' import { logging, sphinxLogger } from '../utils/logger' import { failure, success } from '../utils/res' import * as Lightning from '../grpc/lightning' import constants from '../constants' import { Req } from '../types' -import * as bolt11 from '@boltz/bolt11' export interface LsatRequestBody { paymentRequest: string diff --git a/src/grpc/lightning.ts b/src/grpc/lightning.ts index 330088de..22a96a32 100644 --- a/src/grpc/lightning.ts +++ b/src/grpc/lightning.ts @@ -11,7 +11,7 @@ import { loadConfig } from '../utils/config' import { isProxy, loadProxyLightning } from '../utils/proxy' import { logging, sphinxLogger } from '../utils/logger' import * as zbase32 from '../utils/zbase32' -import { Req } from '../types' +import { Req, InvoiceRes } from '../types' import { loadProto } from './proto' /* eslint-disable import/no-unresolved */ import { LightningClient } from './types/lnrpc/Lightning' @@ -28,7 +28,6 @@ import { WalletUnlockerClient } from './types/lnrpc/WalletUnlocker' import * as interfaces from './interfaces' import libhsmd from './libhsmd' import { get_greenlight_grpc_uri } from './greenlight' -import { InvoiceRes } from '../types' const config = loadConfig() const LND_IP = config.lnd_ip || 'localhost' diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 1186eb4c537e278272d996854d7fb7450891b4de Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 22 Sep 2023 23:10:36 +0000 Subject: [PATCH 031/117] [ci commit] Automatic build --- dist/src/controllers/lsats.js | 2 +- dist/src/controllers/lsats.js.map | 2 +- dist/src/grpc/lightning.js.map | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/src/controllers/lsats.js b/dist/src/controllers/lsats.js index 8256e06e..fff13e82 100644 --- a/dist/src/controllers/lsats.js +++ b/dist/src/controllers/lsats.js @@ -11,12 +11,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge Object.defineProperty(exports, "__esModule", { value: true }); exports.deleteLsat = exports.updateLsat = exports.listLsats = exports.getActiveLsat = exports.getLsat = exports.saveLsat = exports.payForLsat = void 0; const lsat_js_1 = require("lsat-js"); +const bolt11 = require("@boltz/bolt11"); const models_1 = require("../models"); const logger_1 = require("../utils/logger"); const res_1 = require("../utils/res"); const Lightning = require("../grpc/lightning"); const constants_1 = require("../constants"); -const bolt11 = require("@boltz/bolt11"); /* interface LsatResponse { paymentRequest: string diff --git a/dist/src/controllers/lsats.js.map b/dist/src/controllers/lsats.js.map index 8a22b431..a75fa354 100644 --- a/dist/src/controllers/lsats.js.map +++ b/dist/src/controllers/lsats.js.map @@ -1 +1 @@ -{"version":3,"file":"lsats.js","sourceRoot":"","sources":["../../../src/controllers/lsats.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuC;AAEvC,sCAAiD;AACjD,4CAAuD;AACvD,sCAA+C;AAC/C,+CAA8C;AAC9C,4CAAoC;AAEpC,wCAAuC;AAgBvC;;;;;;;;;EASE;AAEF,MAAM,sBAAsB,GAAG;IAC7B,UAAU;IACV,gBAAgB;IAChB,OAAO;IACP,UAAU;IACV,QAAQ;IACR,UAAU;IACV,YAAY;CACb,CAAA;AAED,SAAe,iBAAiB,CAAC,IAAI;;QACnC,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,CAAA;QAC1B,MAAM,KAAK,GAAmB,CAAC,MAAM,eAAM,CAAC,IAAI,CAAC,OAAO,CAAC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E,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;iBAC9B,CACF,CAAA;aACF;iBAAM;gBACL,MAAM,eAAM,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE;oBAC7B,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;iBAC9B,CAAC,CAAA;aACH;YACD,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,2BAA2B,CAAC,CAAA;SACjD;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,0BAA0B,CAAC,CAAC,OAAO,EAAE,CAAC,CAAA;SAC3D;IACH,CAAC;CAAA;AAzBD,gCAyBC;AAED,SAAsB,UAAU,CAC9B,GAAiB,EACjB,GAAa;;QAEb,MAAM,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;QAC3B,MAAM,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC,UAAU,CAAA;QACxC,qBAAY,CAAC,IAAI,CAAC,iBAAiB,UAAU,EAAE,EAAE,gBAAO,CAAC,OAAO,CAAC,CAAA;QACjE,IAAI;YACF,MAAM,eAAM,CAAC,IAAI,CAAC,OAAO,CAAC;gBACxB,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;aAC9B,CAAC,CAAA;YACF,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,2BAA2B,CAAC,CAAA;SACjD;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,uBAAuB,CAAC,CAAA;SAC7C;IACH,CAAC;CAAA;AAfD,gCAeC"} \ No newline at end of file +{"version":3,"file":"lsats.js","sourceRoot":"","sources":["../../../src/controllers/lsats.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuC;AAEvC,wCAAuC;AACvC,sCAAiD;AACjD,4CAAuD;AACvD,sCAA+C;AAC/C,+CAA8C;AAC9C,4CAAoC;AAiBpC;;;;;;;;;EASE;AAEF,M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SAC7C;IACH,CAAC;CAAA;AAfD,gCAeC"} \ No newline at end of file diff --git a/dist/src/grpc/lightning.js.map b/dist/src/grpc/lightning.js.map index e13574b6..20f14b90 100644 --- a/dist/src/grpc/lightning.js.map +++ b/dist/src/grpc/lightning.js.map @@ -1 +1 @@ -{"version":3,"file":"lightning.js","sourceRoot":"","sources":["../../../src/grpc/lightning.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yBAAwB;AACxB,iCAAgC;AAChC,sCAAqC;AACrC,iCAAgC;AAChC,uCAAsC;AACtC,oCAAmC;AACnC,wCAAkC;AAClC,4CAAoC;AACpC,gDAA+C;AAC/C,4CAA4C;AAC5C,0CAA4D;AAC5D,4CAAuD;AACvD,4CAA2C;AAE3C,mCAAmC;AAanC,2CAA0C;AAC1C,uCAA+B;AAC/B,6CAAsD;AAGtD,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAC3B,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,WAAW,CAAA;AAC3C,MAAM,MAAM,GAAG,MAAM,CAAC,kBAAkB,KAAK,KAAK,CAAA;AAClD,MAAM,aAAa,GAAG,MAAM,CAAC,kBAAkB,KAAK,YAAY,CAAA;AAChE,MAAM,MAAM,GAAG,MAAM,CAAC,kBAAkB,KAAK,KAAK,CAAA;AAErC,QAAA,eAAe,GAAG,UAAU,CAAA;AAC5B,QAAA,wBAAwB,GAAG,SAAS,CAAA;AAEjD,MAAM,aAAa,GAAG,EAAE,CAAA;AAExB,IAAI,eAKS,CAAA;AACb,IAAI,cAAgD,CAAA;AACpD,IAAI,YAAsC,CAAA;AAE1C,+BAA+B;AAC/B,SAAgB,KAAK,CACnB,MAKa;IAEb,OAAO,MAAM,CAAA;AACf,CAAC;AATD,sBASC;AAED,SAAgB,IAAI,CAClB,MAKa;IAEb,OAAO,aAAa,CAAA;AACtB,CAAC;AATD,oBASC;AAED,SAAgB,KAAK,CACnB,MAKa;IAEb,OAAO,MAAM,CAAA;AACf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KAAK,CAAC,GAAG,EAAE,gBAAO,CAAC,SAAS,CAAC,CAAA;wBAC1C,MAAM,CAAC,GAAG,CAAC,CAAA;qBACZ;yBAAM;wBACL,OAAO,CAAC,QAAQ,CAAC,CAAA;wBACjB,qBAAY,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAA;qBACzD;gBACH,CAAC,CACF,CAAA;aACF;QACH,CAAC,CAAA,CAAC,CAAA;IACJ,CAAC;CAAA;AAvBD,sDAuBC;AAED,SAAS,gBAAgB,CAAC,MAAc;IACtC,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AAC9B,CAAC;AAED,SAAS,aAAa,CAAC,MAAc;IACnC,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AAC9B,CAAC;AACD,sCAAsC;AACtC,2BAA2B;AAC3B,6BAA6B;AAC7B,aAAa;AACb,yCAAyC;AACzC,8EAA8E;AAC9E,6EAA6E;AAC7E,uCAAuC;AACvC,0FAA0F;AAC1F,6BAA6B;AAC7B,MAAM;AACN,IAAI"} \ No newline at end of file +{"version":3,"file":"lightning.js","sourceRoot":"","sources":["../../../src/grpc/lightning.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yBAAwB;AACxB,iCAAgC;AAChC,sCAAqC;AACrC,iCAAgC;AAChC,uCAAsC;AACtC,oCAAmC;AACnC,wCAAkC;AAClC,4CAAoC;AACpC,gDAA+C;AAC/C,4CAA4C;AAC5C,0CAA4D;AAC5D,4CAAuD;AACvD,4CAA2C;AAE3C,mCAAmC;AAanC,2CAA0C;AAC1C,uCAA+B;AAC/B,6CAAsD;AAEtD,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAC3B,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,WAAW,CAAA;AAC3C,MAAM,MAAM,GAAG,MAAM,CAAC,kBAAkB,KAAK,KAAK,CAAA;AAClD,MAAM,aAAa,GAAG,MAAM,CAAC,kBAAkB,KAA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actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 22 Sep 2023 23:11:00 +0000 Subject: [PATCH 032/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 4031e969bf6e40b55cf89e3706c97821744fbd3e Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Mon, 9 Oct 2023 23:45:23 +0100 Subject: [PATCH 033/117] update: search active lsat based off issuer --- dist/src/controllers/lsats.js | 7 ++++++- dist/src/controllers/lsats.js.map | 2 +- src/controllers/lsats.ts | 9 ++++++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/dist/src/controllers/lsats.js b/dist/src/controllers/lsats.js index fff13e82..744b923d 100644 --- a/dist/src/controllers/lsats.js +++ b/dist/src/controllers/lsats.js @@ -161,9 +161,14 @@ function getActiveLsat(req, res) { return __awaiter(this, void 0, void 0, function* () { const tenant = req.owner.id; logger_1.sphinxLogger.info(`=> getActiveLsat`, logger_1.logging.Express); + const issuer = req.query.issuer; + const where = { tenant, status: 1 }; + if (issuer) { + where['issuer'] = issuer; + } try { const lsat = (yield models_1.models.Lsat.findOne({ - where: { tenant, status: 1 }, + where, })); if (!lsat) { return res diff --git a/dist/src/controllers/lsats.js.map b/dist/src/controllers/lsats.js.map index a75fa354..3e3bfd14 100644 --- a/dist/src/controllers/lsats.js.map +++ b/dist/src/controllers/lsats.js.map @@ -1 +1 @@ -{"version":3,"file":"lsats.js","sourceRoot":"","sources":["../../../src/controllers/lsats.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuC;AAEvC,wCAAuC;AACvC,sCAAiD;AACjD,4CAAuD;AACvD,sCAA+C;AAC/C,+CAA8C;AAC9C,4CAAoC;AAiBpC;;;;;;;;;EASE;AAEF,MAAM,sBAAsB,GAAG;IAC7B,UAAU;IACV,gBAAgB;IAChB,OAAO;IACP,UAAU;IACV,QAAQ;IACR,UAAU;IACV,YAAY;CACb,CAAA;AAED,SAAe,iBAAiB,CAAC,IAAI;;QACnC,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,CAAA;QAC1B,MAAM,KAAK,GAAmB,CAAC,MAAM,eAAM,CAAC,IAAI,CAAC,OAAO,CAAC;YACvD,KAAK,EAAE,EAAE,UAAU,EAAE;YACrB,UAAU,EAAE,sBAAsB;SACnC,CAAC,CAAmB,CAAA;QAErB,IAAI,KAAK;YAAE,OAAO,IAAI,CAAA;QACtB,OAAO,KAAK,CAAA;IACd,CAAC;CAAA;AAED,SAAS,6CAA6C,CACpD,eAAuB;;IAEvB,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,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2B,CAAC,CAAA;SACjD;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,0BAA0B,CAAC,CAAC,OAAO,EAAE,CAAC,CAAA;SAC3D;IACH,CAAC;CAAA;AAzBD,gCAyBC;AAED,SAAsB,UAAU,CAC9B,GAAiB,EACjB,GAAa;;QAEb,MAAM,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;QAC3B,MAAM,UAAU,GAAG,GAAG,CAAC,MAAM,CAAC,UAAU,CAAA;QACxC,qBAAY,CAAC,IAAI,CAAC,iBAAiB,UAAU,EAAE,EAAE,gBAAO,CAAC,OAAO,CAAC,CAAA;QACjE,IAAI;YACF,MAAM,eAAM,CAAC,IAAI,CAAC,OAAO,CAAC;gBACxB,KAAK,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;aAC9B,CAAC,CAAA;YACF,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,2BAA2B,CAAC,CAAA;SACjD;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,uBAAuB,CAAC,CAAA;SAC7C;IACH,CAAC;CAAA;AAfD,gCAeC"} \ No newline at end of file +{"version":3,"file":"lsats.js","sourceRoot":"","sources":["../../../src/controllers/lsats.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuC;AAEvC,wCAAuC;AACvC,sCAAiD;AACjD,4CAAuD;AACvD,sCAA+C;AAC/C,+CAA8C;AAC9C,4CAAoC;AAiBpC;;;;;;;;;EASE;AAEF,MAAM,sBAAsB,GAAG;IAC7B,UAAU;IACV,gBAAgB;IAChB,OAAO;IACP,UAAU;IACV,QAAQ;IACR,UAAU;IACV,YAAY;CACb,CAAA;AAED,SAAe,iBAAiB,CAAC,IAAI;;QACnC,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,CAAA;QAC1B,MAAM,KAAK,GAAmB,CAAC,MAAM,eAAM,CAAC,IAAI,CAAC,O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cba0..96a44425 100644 --- a/src/controllers/lsats.ts +++ b/src/controllers/lsats.ts @@ -205,9 +205,16 @@ export async function getActiveLsat( ): Promise { const tenant = req.owner.id sphinxLogger.info(`=> getActiveLsat`, logging.Express) + const issuer = req.query.issuer as string + + const where = { tenant, status: 1 } + + if (issuer) { + where['issuer'] = issuer + } try { const lsat: LsatT = (await models.Lsat.findOne({ - where: { tenant, status: 1 }, + where, })) as LsatT if (!lsat) { return res From d1fcb1729133d892daa4b5ff434b83373c1414d0 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Tue, 10 Oct 2023 18:49:27 +0100 Subject: [PATCH 034/117] fix: stopped converting msat to sats --- dist/src/grpc/lightning.js | 2 +- dist/src/grpc/lightning.js.map | 2 +- dist/src/tests/controllers/invoices.test.js | 6 -- .../tests/controllers/invoices.test.js.map | 2 +- src/grpc/lightning.ts | 2 +- src/tests/configs/nodes.json | 73 +++---------------- src/tests/controllers/invoices.test.ts | 6 -- 7 files changed, 15 insertions(+), 78 deletions(-) diff --git a/dist/src/grpc/lightning.js b/dist/src/grpc/lightning.js index b387e710..1e2b0242 100644 --- a/dist/src/grpc/lightning.js +++ b/dist/src/grpc/lightning.js @@ -1094,7 +1094,7 @@ function getInvoiceHandler(payment_hash, ownerPubkey, showPreImage) { preimage: (response === null || response === void 0 ? void 0 : response.settled) || showPreImage ? response === null || response === void 0 ? void 0 : response.r_preimage.toString('hex') : '', - amount: convertMsatToSat(response.amt_paid), + amount: response.amt_paid_sat, }; resolve(invoice); } diff --git a/dist/src/grpc/lightning.js.map b/dist/src/grpc/lightning.js.map index 20f14b90..f7ca246b 100644 --- a/dist/src/grpc/lightning.js.map +++ b/dist/src/grpc/lightning.js.map @@ -1 +1 @@ -{"version":3,"file":"lightning.js","sourceRoot":"","sources":["../../../src/grpc/lightning.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yBAAwB;AACxB,iCAAgC;AAChC,sCAAqC;AACrC,iCAAgC;AAChC,uCAAsC;A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O,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AAC9B,CAAC;AAED,SAAS,aAAa,CAAC,MAAc;IACnC,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AAC9B,CAAC;AACD,sCAAsC;AACtC,2BAA2B;AAC3B,6BAA6B;AAC7B,aAAa;AACb,yCAAyC;AACzC,8EAA8E;AAC9E,6EAA6E;AAC7E,uCAAuC;AACvC,0FAA0F;AAC1F,6BAA6B;AAC7B,MAAM;AACN,IAAI"} \ No newline at end of file +{"version":3,"file":"lightning.js","sourceRoot":"","sources":["../../../src/grpc/lightning.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yBAAwB;AACxB,iCAAgC;AAChC,sCAAqC;AACrC,iCAAgC;AAChC,uCAAsC;AACtC,oCAAmC;AACnC,wCAAkC;AAClC,4CAAoC;AACpC,gDAA+C;AAC/C,4CAA4C;AAC5C,0CAA4D;AAC5D,4CAAuD;AACvD,4CAA2C;AAE3C,mCAAmC;AAanC,2CAA0C;AAC1C,uCAA+B;AAC/B,6CAAsD;AAEtD,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAC3B,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,IAAI,WAAW,CAAA;AAC3C,MAAM,MAAM,GAAG,MAAM,CAAC,kBAAkB,KAAK,KAAK,CAAA;AAClD,MAAM,aAAa,GAAG,MAAM,CAAC,kBAAkB,KAAK,YAAY,CAAA;AAChE,MAAM,MAAM,GAAG,MAAM,CAAC,kBAAkB,KAAK,KAAK,CAAA;AAErC,QAAA,eAAe,GAAG,UAAU,CAAA;AAC5B,QAAA,wBAAwB,GAAG,SAAS,CAAA;AAEjD,MAAM,aAAa,GAAG,EAAE,CAAA;AAExB,IAAI,eAKS,CAAA;AACb,IAAI,cAAgD,CAAA;AACpD,IAAI,YAAsC,CAAA;AAE1C,+BAA+B;AAC/B,SAAgB,KAAK,CACnB,MAKa;IAEb,OAAO,MAAM,CAAA;A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,QAAQ,CAAC;oBACtC,eAAe,EAAE,EAAE;iBACpB,EACD,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE;oBAChB,IAAI,GAAG,EAAE;wBACP,qBAAY,CAAC,KAAK,CAAC,GAAG,EAAE,gBAAO,CAAC,SAAS,CAAC,CAAA;wBAC1C,MAAM,CAAC,GAAG,CAAC,CAAA;qBACZ;yBAAM;wBACL,OAAO,CAAC,QAAQ,CAAC,CAAA;wBACjB,qBAAY,CAAC,IAAI,CAAC,qCAAqC,CAAC,CAAA;qBACzD;gBACH,CAAC,CACF,CAAA;aACF;QACH,CAAC,CAAA,CAAC,CAAA;IACJ,CAAC;CAAA;AAvBD,sDAuBC;AAED,SAAS,gBAAgB,CAAC,MAAc;IACtC,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AAC9B,CAAC;AAED,SAAS,aAAa,CAAC,MAAc;IACnC,OAAO,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;AAC9B,CAAC;AACD,sCAAsC;AACtC,2BAA2B;AAC3B,6BAA6B;AAC7B,aAAa;AACb,yCAAyC;AACzC,8EAA8E;AAC9E,6EAA6E;AAC7E,uCAAuC;AACvC,0FAA0F;AAC1F,6BAA6B;AAC7B,MAAM;AACN,IAAI"} \ No newline at end of file diff --git a/dist/src/tests/controllers/invoices.test.js b/dist/src/tests/controllers/invoices.test.js index a9e750aa..98f17b81 100644 --- a/dist/src/tests/controllers/invoices.test.js +++ b/dist/src/tests/controllers/invoices.test.js @@ -48,17 +48,11 @@ function invoices(t, node1, node2) { //Create an Invoice by node 2 yield helpers.sleep(1000); const createdInvoice2 = yield (0, invoices_1.createInvoice)(t, node2, 12, 'test invoice'); - if (node1.alias === 'alice' && node2.alias === 'virtualNode0') { - console.log(createdInvoice2); - } const paymentRequest2 = createdInvoice2.response.invoice; t.truthy(paymentRequest2, 'Payment request should have been created'); //Get Invoice details by node 2 const invoiceDetail3 = yield (0, invoices_1.getInvoice)(t, node2, paymentRequest2); const invoicePaymentRequest2 = invoiceDetail3.response.payment_request; - if (node1.alias === 'alice' && node2.alias === 'virtualNode0') { - console.log(invoiceDetail3); - } t.truthy(invoicePaymentRequest2, `Payment request should exist for ${node2.alias} when testing with ${node1.alias}`); //Payment request gotten from getInvoice should equal payment request from create invoice t.true(paymentRequest2 === invoicePaymentRequest2, 'Payment request gotten from getInvoice should equal payment request from create invoice'); diff --git a/dist/src/tests/controllers/invoices.test.js.map b/dist/src/tests/controllers/invoices.test.js.map index 6558db30..a6345935 100644 --- a/dist/src/tests/controllers/invoices.test.js.map +++ b/dist/src/tests/controllers/invoices.test.js.map @@ -1 +1 @@ -{"version":3,"file":"invoices.test.js","sourceRoot":"","sources":["../../../../src/tests/controllers/invoices.test.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,6BAAsB;AACtB,gDAAyE;AACzE,oCAA4B;AAC5B,4CAA2C;AAE3C;;EAEE;AAEF,IAAA,aAAI,EAAC,+FAA+F,EAAE,CAAO,CAAC,EAAE,EAAE;IAChH,MAAM,OAAO,CAAC,OAAO,CAAC,eAAK,EAAE,CAAO,KAAK,EAAE,KAAK,EAAE,EAAE;QAClD,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;IACvC,CAAC,CAAA,CAAC,CAAA;AACJ,CAAC,CAAA,CAAC,CAAA;AAEF,SAAe,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK;;QACrC,OAAO,CAAC,GAAG,CAAC,yBAAyB,KAAK,CAAC,KAAK,QAAQ,KAAK,CAAC,KAAK,EAAE,CAAC,CAAA;QAEtE,OAAO,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,qCAAqC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAA;QAE7E,mBAAmB;QACnB,MAAM,cAAc,GAAG,MAAM,IAAA,wBAAa,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;QACx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AC,CAAA;QAClE,MAAM,qBAAqB,GAAG,cAAc,CAAC,QAAQ,CAAC,OAAO,CAAA;QAC7D,CAAC,CAAC,IAAI,CACJ,qBAAqB,EACrB,oCAAoC,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC,KAAK,EAAE,CACpE,CAAA;IACH,CAAC;CAAA"} \ No newline at end of file +{"version":3,"file":"invoices.test.js","sourceRoot":"","sources":["../../../../src/tests/controllers/invoices.test.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,6BAAsB;AACtB,gDAAyE;AACzE,oCAA4B;AAC5B,4CAA2C;AAE3C;;EAEE;AAEF,IAAA,aAAI,EAAC,+FAA+F,EAAE,CAAO,CAAC,EAAE,EAAE;IAChH,MAAM,OAAO,CAAC,OAAO,CAAC,eAAK,EAAE,CAAO,KAAK,EAAE,KAAK,EAAE,EAAE;QAClD,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;IACvC,CAAC,CAAA,CAAC,CAAA;AACJ,CAAC,CAAA,CAAC,CAAA;AAEF,SAAe,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK;;QACrC,OAAO,CAAC,GAAG,CAAC,yBAAyB,KAAK,CAAC,KAAK,QAAQ,KAAK,CAAC,KAAK,EAAE,CAAC,CAAA;QAEtE,OAAO,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,qCAAqC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAA;QAE7E,mBAAmB;QACnB,MAAM,cAAc,GAAG,MAAM,IAAA,wBAAa,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;QACxE,MAAM,cAAc,GAAG,cAAc,CAAC,QAAQ,CAAC,OAAO,CAAA;QACtD,CAAC,CAAC,MAAM,CAAC,cAAc,EAAE,0CAA0C,CAAC,CAAA;QAEpE,qBAAqB;QACrB,MAAM,aAAa,GAAG,MAAM,IAAA,qBAAU,EAAC,CAAC,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ErE,+BAA+B;QAC/B,MAAM,cAAc,GAAG,MAAM,IAAA,qBAAU,EAAC,CAAC,EAAE,KAAK,EAAE,eAAe,CAAC,CAAA;QAClE,MAAM,sBAAsB,GAAG,cAAc,CAAC,QAAQ,CAAC,eAAe,CAAA;QACtE,CAAC,CAAC,MAAM,CACN,sBAAsB,EACtB,oCAAoC,KAAK,CAAC,KAAK,sBAAsB,KAAK,CAAC,KAAK,EAAE,CACnF,CAAA;QAED,yFAAyF;QACzF,CAAC,CAAC,IAAI,CACJ,eAAe,KAAK,sBAAsB,EAC1C,yFAAyF,CAC1F,CAAA;QACD,MAAM,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;QACzB,wBAAwB;QACxB,MAAM,YAAY,GAAG,MAAM,IAAA,qBAAU,EAAC,CAAC,EAAE,KAAK,EAAE,eAAe,CAAC,CAAA;QAChE,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,+BAA+B,CAAC,CAAA;QAE7D,MAAM,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;QAEzB,uDAAuD;QACvD,MAAM,cAAc,GAAG,MAAM,IAAA,qBAAU,EAAC,CAAC,EAAE,KAAK,EAAE,eAAe,CAAC,CAAA;QAClE,MAAM,qBAAqB,GAAG,cAAc,CAAC,QAAQ,CAAC,OAAO,CAAA;QAC7D,CAAC,CAAC,IAAI,CACJ,qBAAqB,EACrB,oCAAoC,KAAK,CAAC,KAAK,OAAO,KAAK,CAAC,KAAK,EAAE,CACpE,CAAA;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/src/grpc/lightning.ts b/src/grpc/lightning.ts index 22a96a32..29cb0ba6 100644 --- a/src/grpc/lightning.ts +++ b/src/grpc/lightning.ts @@ -1275,7 +1275,7 @@ export async function getInvoiceHandler( response?.settled || showPreImage ? response?.r_preimage.toString('hex') : '', - amount: convertMsatToSat(response.amt_paid), + amount: response.amt_paid_sat, } resolve(invoice) } diff --git a/src/tests/configs/nodes.json b/src/tests/configs/nodes.json index 7800665e..ddcd54b5 100644 --- a/src/tests/configs/nodes.json +++ b/src/tests/configs/nodes.json @@ -4,75 +4,24 @@ "pubkey": "03a394d0ebf0d003124ab130c6b12b8b990a50a30a464354800a51981ba745bb07", "ip": "http://alice.sphinx:3001", "external_ip": "http://localhost:3001", - "authToken": "WS4f9DcV/9eSVsN/LzX2", - "transportToken": "MIIBCgKCAQEAtD1vkburW0AfHf9unrfzDWpYFu9m7EAByZiegYWatpxo1q0r6RnQ\nMTq2K6YdxvUXlPYjt5R26ucY93hWQc1VFrxx+J+STUB5GtpPYpAp+N9GFyQgKryB\nd/qTn+aCD6jNilUCxRhjwOOp3Vo5X6uAnh/JcjSt5fZekywTUX4oYeoDRms9TkIF\nwhgJLIsLCBdUYDGHj93Feqg+LVuvUXuVy643bNZLDwn85azQ3wBrz5lDCd02t7/o\naqzDbmivlB064hutYye9gtvMT7gnSRIp/os7I9szqMNlcPY3SFZqereo/xmbPHjD\ntvjuR5baV556YNOYnIc/fbxxg9n/EGMvdwIDAQAB", - "contact_key": "MIIBCgKCAQEAxIB6LCKm6CJi/xrjOPbTagZQT7z40XQZtHCAQR4Tzhp7OVZJ37FAj4XuuxenLVvenQV7c91jOwvAM16t0zqjO/9IUb+sjQSKzH04mNiwRNET6JNyCbB4K2wn7nlABCq8PGJCmwVCHptKPB+ML2cI6XN6RGiOJePDKpzGtKXh9RvlckBq0yvyAVU/Qa6TlstBevfOgaGFc+mCpsisdEn3S4KT+K08vX5iJiPVt+Ho2UjiBrwPfCkfrCrB8voIwjyNv4uqk3SyDP9lZ5nyMf2jSFOdL5PXWYnWMm9nEf/sU+bh4c1qP9tjEkmUWhAgf8kVGqFlUWtQOkzE0tNhw0MaHwIDAQAB", - "privkey": "MIIEogIBAAKCAQEAxIB6LCKm6CJi/xrjOPbTagZQT7z40XQZtHCAQR4Tzhp7OVZJ37FAj4XuuxenLVvenQV7c91jOwvAM16t0zqjO/9IUb+sjQSKzH04mNiwRNET6J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YLzVtY25MdmwzVEZaYVN6NGphOHNrRytuZ1pvdklWR1pBcUZNeVVqclBjVHUvaUI4RVRyblhpMW9sR1FyL2RCNUVtSzNZVG4ybWx0cmNNcHBrQlpWYXNJaFlBbWFNMytFQWhBNW0wQVhuRWZhcmFOZDZSc1FRbG54b2RYKzhMWGx2d241U0tENWNFUEkwcEdac3ZYemZUNzMycjJ2TXlOdWRpdWhVZ2p4SGZWY2g2WnF0RmYxTmNITXd4NCtsWkVlaHorWWUvU0lvRGNjMlQyRHExZFZ5eUFIUmp4V1VRSFdiWlM5Wmx2VFN2MmRjL0ZrcW90VlVtVEFxTkVOclVQVlQ5L3R6MzJPZ09pMU95U0lNMFdiRDFuRTkvVUwwOThlOFdpVE5VNTAyMmswQ0wra3dCTUpUSzFHNG16Y2dnVXdvN3ZPcTVEaXVBblcxN0xjSkZac1RZYXMra1pJYVZjVGV0ejYvMVE0NG9TSlRxMVM0QjZWY1hZbTdiNDVteDVPTXdvNXhER04zb3E4ZE1YRi9BbjZ0c0tWdDg4NkU0MXpJNVV1bVY5aTNCMVNUTWhmZW9iQ20rZzJjTlZ1aW4vbEx0Q0t3cTFNaXhaTmZKYk5SVzlxTFBUQT0=", "pin": "111111" }, { - "alias": "bob", - "pubkey": "02a38857848aca6b32ebcc3c85d07ee41354988f4f1e0b4e6ccd255eee6ed75b8d", - "ip": "http://bob.sphinx:3002", - "external_ip": "http://localhost:3002", - "authToken": "GnrFziYx7uYVKCsQPHhW", - "transportToken": "MIIBCgKCAQEAuxZFKO7AYhIY1GAE/UrBAwDqgq8FhS9/+hCUhjW3Ro68G8zk71dW\naJCQWI0oO7RglhPNwSYV3MLPanUpvbWgvluuToLfCliU6zH6hD27tuDIiPTAGHNl\nEfuW4c/R1DRqjW5EeMyzBzjdDEK+rVPE1D3cJaUsnoB/yh4ulR4yKgfeS+Pa1dYl\nbZyOqdeLydGM1U6U4VKCKykLV1/6z0oXqt2Vy7O2D9n/AcozfQt+GED6jj6t+5JH\nFaPP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UdEVRR1hsTTJHZkF0dUcvUUh5cXZFM29HclBRT0VXUjhaNVNnMWkzWnBSN0lxQllrNCtoS0RwUElyVnhINkUvL0p6c0UxdG9GWWpIYXRWZlFZUFowK09zMHhydG05R1dlOXM3VC9GeDZQNlViTlR5R1EzTHdkUTJ6dW9LcG90NVpJUm91eUQ0OTZGeWNKSjQzUVlGOXhZcDQ0Mmg5cU1SZUFrcEgrdWUvVHFkN25obC9DNS9iL1dpV0RTS29Jbk5oc0s2N3FOUHNmODE0ZkZTODVEQ28wekxzcVRjNk0xVjl3YjBra3JJa0xVNHFmYXdGS2dwd29uZml6eFpOWDFBY0RwYXNiL2h5dTJ5QVUvc2xFanRFUEh4QkI1dHhrTEJjbG5vejhBVUtoZFVFZGNFNURkTXRkU2xaZz0=", - "pin": "111111" - }, - { - "alias": "carol", - "pubkey": "0364c05cbcbb9612036cc66297445a88bcfc21941fd816e17a56b54b0b52ff02b9", - "ip": "http://carol.sphinx:3003", - "external_ip": "http://localhost:3003", - "authToken": "I06lAsdHqhGE7VNzfeiT", - "transportToken": "MIIBCgKCAQEAyYR+lwwKBHhSfytlr9k4Mh8u0PXNvYQgfu+Q6w0x1sRpmI95u04h\nNpTCpBPFpuNBRK6mDjTFzbMDBjyZsGsXs125RqeyHJe2dxIcyF0YaOAE75OwxwvP\nHdqEJNInM4g+5zyAJ+DteLcGOURR4QbXQvOXvDOKavR73hrTmzKIUzkzZ8/EugpE\njMw5TrC6Q/Q+Cpih4nrl7oBxaflz6cTq/Dt283NCJSX48Ka2DkREwG4ar/kxjBX3\nVvWv0ggRY0PT5jZ2+9gfwNmeCO/ZjTbm+TX93Wlzd8x+V6ZiSHqte4F7JPsyG7i4\ngZdLK1xENNh2W/IXMKAg15GLxPd4gpdeFQIDAQAB", - "contact_key": "MIIBCgKCAQEA07wMWr6rH5yTUma0m7WO1NP1LNufoFanRf4EsZT/9Lil6Dmdqf1mUTEbEYV1Pu2/i5HbndKHhAO3y3yf9hIixlLfJTQtmeKB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q0IvYmJvWUhvSU1HOVFvTkkrQ2hGdEJESnJoY2NwSFRHVlRkZFFuS0IzVy9oenNLRnZVRHNTN0VTSGJEY2czQit2OEJnWkZ0Mi9zUFhZdkZNRE1iNDZQMHdkaWNvT1ByWEtMa1J2bGd6MUFFQWFpQS82dDdTNU5yRys2WkgyM1pvSlBoMkxpUnBrUzJpa1R6TTJ4VGUwbkwvNmZ3UWoxK3NRS3pqUDlUNG5vaU9EQjV1aW9YbThIbz0=", - "pin": "111111" - }, - { - "alias": "dave", - "pubkey": "030841d1519f19c68e80efc5ef5af3460ca4bfa17486fda9baca878b9ef255358f", - "ip": "http://host.docker.internal:3004", - "external_ip": "http://localhost:3004", - "proxy_ip": "http://proxy.sphinx:5050", - "admin_token": "r46bnf8ibrhbb424heba", - "authToken": "JodZJTWFybsTjqoMVnGw", - "transportToken": "MIIBCgKCAQEAxKthkYuznKfEvsgaS0iCQDJePLJxaDbsL5KXDFCjvBz+5yLImlk5\nj3c9Vz9w08PGJePogcfDvdgp23fYBWgWYapd00doW+6jZKDDaZUOmhBrKrfh66CM\n/cwEawAY+mKFmgZM5M24Ewu8+/Rmb3+1AYNu7AY9rTzo8/aXHKiRyKNQt1oj+MQI\njdWRZkJsvZ0vRK7SRYRxpnnPWiPuQoKuAQDL7OGxeoliqy99QcHdAUXruS1je4rJ\nr75qibs31Qvnu6uM/gWxbAuEXJNXIFzlS/v8BrT4aN1kI9AyPBz0O+CSIZpWCGoS\n5EYXUCzfkxZ6EwgNdm9cCKx7tV2AhheN1wIDAQAB", - "contact_key": "MIIBCgKCAQEAvnpLvLIvyC2B44Y1XLBh/oIcoZPMWzKOaw0is989rc5SWo4Ek5L1zCOULktsP7qoxMOQ32VT3tSu3RpGBksxFBzLezak09T6OHuh3bU0c9Ne9mP8vtTAkCZSm+BeKsEUqvouGi67A72fSf8ElmbwANmuOJiVXrTJtmm+1MYn2ZjuZBZDcDyojMnwyRVxxPXfIbL4WQ6YMa05oEjFB8aOqkbgX026CvRS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0akpLbVpoNzFtZWNKRUxiVCtwL05LNW5MZlNoZS9BOGxvM1F5Y2J3V1pETFJ2TzBEaXBiMitVQTV3R2N0Yk5ZOXZFbz0=", - "pin": "111111" - }, - { - "pubkey": "026859dd768481577e1486e6dbd7b231b278cd6ea10b7da4ce33b91025a1410145", + "pubkey": "021391d86095d6cd08e5305e03b236a962998c651bbf7723d8b3b57d9e89da4c7e", "routeHint": "030841d1519f19c68e80efc5ef5af3460ca4bfa17486fda9baca878b9ef255358f:2199023386625", "alias": "virtualNode0", "ip": "http://host.docker.internal:3004", "external_ip": "http://localhost:3004", - "authToken": "E63m4qbKvxzvgx2RwMWn", - "transportToken": "MIIBCgKCAQEAxKthkYuznKfEvsgaS0iCQDJePLJxaDbsL5KXDFCjvBz+5yLImlk5\nj3c9Vz9w08PGJePogcfDvdgp23fYBWgWYapd00doW+6jZKDDaZUOmhBrKrfh66CM\n/cwEawAY+mKFmgZM5M24Ewu8+/Rmb3+1AYNu7AY9rTzo8/aXHKiRyKNQt1oj+MQI\njdWRZkJsvZ0vRK7SRYRxpnnPWiPuQoKuAQDL7OGxeoliqy99QcHdAUXruS1je4rJ\nr75qibs31Qvnu6uM/gWxbAuEXJNXIFzlS/v8BrT4aN1kI9AyPBz0O+CSIZpWCGoS\n5EYXUCzfkxZ6EwgNdm9cCKx7tV2AhheN1wIDAQAB", - "contact_key": "MIIBCgKCAQEA+J5/+IBjFh2Hf2f+LPW/FyYiOEPV9N+oei8u3GQxyTp+tCsay7vVGtLxw6dCeZNDrXuuaur5oougSWLw2TyRLZ5bCYnaYJtDp1IrMD9pw3SDL5XdYznuPrq1NLQUMFtBhnWD3PIcxeaJ2g8eQyzvwqGuOTMb3VcCk9q6PlRBAs++de/MEH44OaWC4jo3/nHTrQlHsUE96jtrzB+wP0sq45pbkUjYqW52yCPgVX351T3CPV5HhGv2ksMuYWd3HFBmCqS25VHD3G0ULsEuPL/2Y33Um+p7gTvKsstSqnelNmgpeWSZUmy2hmbxlPMfKYH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0=", - "pin": "111111" - }, - { - "pubkey": "02c3a8cce111d30bf5718c4a01726b708cc15139573e4ad91ea5a7f24eba417f9b", - "routeHint": "030841d1519f19c68e80efc5ef5af3460ca4bfa17486fda9baca878b9ef255358f:2199023452161", - "alias": "virtualNode1", - "ip": "http://host.docker.internal:3004", - "external_ip": "http://localhost:3004", - "authToken": "f8+085fvkBOkBYO55Ti4", - "transportToken": "MIIBCgKCAQEAxKthkYuznKfEvsgaS0iCQDJePLJxaDbsL5KXDFCjvBz+5yLImlk5\nj3c9Vz9w08PGJePogcfDvdgp23fYBWgWYapd00doW+6jZKDDaZUOmhBrKrfh66CM\n/cwEawAY+mKFmgZM5M24Ewu8+/Rmb3+1AYNu7AY9rTzo8/aXHKiRyKNQt1oj+MQI\njdWRZkJsvZ0vRK7SRYRxpnnPWiPuQoKuAQDL7OGxeoliqy99QcHdAUXruS1je4rJ\nr75qibs31Qvnu6uM/gWxbAuEXJNXIFzlS/v8BrT4aN1kI9AyPBz0O+CSIZpWCGoS\n5EYXUCzfkxZ6EwgNdm9cCKx7tV2AhheN1wIDAQAB", - "contact_key": "MIIBCgKCAQEAzE7Hp+DrlAeCBNtYBdrmCQb+uJqE6IXD5r3QzyvmfEj8YNa5nxhc2xpUDlrCQhTchBwhVd2oOCsY/7e2Vx+eO1hBvP1ASDLl6TSFxOCkGvajfp2et0OB7SgCSXLaYZeJASldDbJrbs4KkKoGefVYK0MdgeGGsQjOnmPh4cHZtwz9LljwjzUtGapU//p1UgNjQQPkL6oJBuaMJpJkEufLBnZa+ZJvyI2rZ7MXbzJRawaXZ+fwoLPVnG6ueFAh2mULRk4UUbrFlFXOdKjq64D1VybihZrsQPraNvvSyL58xRuD6LW8cQsdnzKjtvAbXfe/lmNqR3n1Z2dGEjsJ1uHKMQIDAQAB", - "privkey": "MIIEpQIBAAKCAQEAzE7Hp+DrlAeCBNtYBdrmCQb+uJqE6IXD5r3QzyvmfEj8YNa5nxhc2xpUDlrCQhTchBwhVd2oOCsY/7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doVG82S0w5bW5sNjVWc0lndE9YUWVsRDllT1pHZnJTUkZoQW02OGJYdGdPZUxBOXZZclkrb2o3U3pKV1JGd005dHZGUis0NERkR0pOWEtjT2w5MzA0eTZtYzk4anI1alZDNEpXYVVuaTgwVHdIcUNEbUhDMWYybUJWM2xaQjczbFNna1cvdk5paDFQOERNMlp5Y2g4Sm1WaGNWeWh4TjV1N0hIa1ZrM2E2QWdTSWs1UmpkYUJaUERKc2tYYm05emV3cDdxZnNTaUtsM0RBODdPQlhkejBSSmI1dWFKOFQ2RUhxb2tXTTY1L0lWQUR0Z1VaakJuVmUwdzg1UXJzeTBCUTgxaE85aDlwdzk3MVY3bitmaXlrL2s0NVdCUFAwSWRsbytkWGRwaEY0WnZ5Zmhubk9BZUN5RWNKUHV5SXdkSHZKSjZIK0RNOTJWc1hRZVhxYWd3SHEvb2xQanZGa2hUdlI0WEZHeGpHZ05BRXlid2tRYU9EUHJXbDVZNzVBNWlyTlUrNkZqbFV0SkNUclhFVGh6czU0Y0lzVVpTVXcvWEFzeGI4dFF3TFd5YkVDcWUxY0daT0dJOTRTbTNsTXFvYkRKOWdnWGRzaXMvazFjdjRYU2E1ZDdJOD0=", "pin": "111111" } ] diff --git a/src/tests/controllers/invoices.test.ts b/src/tests/controllers/invoices.test.ts index 805c18d4..730dba47 100644 --- a/src/tests/controllers/invoices.test.ts +++ b/src/tests/controllers/invoices.test.ts @@ -54,18 +54,12 @@ async function invoices(t, node1, node2) { //Create an Invoice by node 2 await helpers.sleep(1000) const createdInvoice2 = await createInvoice(t, node2, 12, 'test invoice') - if (node1.alias === 'alice' && node2.alias === 'virtualNode0') { - console.log(createdInvoice2) - } const paymentRequest2 = createdInvoice2.response.invoice t.truthy(paymentRequest2, 'Payment request should have been created') //Get Invoice details by node 2 const invoiceDetail3 = await getInvoice(t, node2, paymentRequest2) const invoicePaymentRequest2 = invoiceDetail3.response.payment_request - if (node1.alias === 'alice' && node2.alias === 'virtualNode0') { - console.log(invoiceDetail3) - } t.truthy( invoicePaymentRequest2, `Payment request should exist for ${node2.alias} when testing with ${node1.alias}` From f46a681539e09ef9fdb2c18b30e4a423d8341fcb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 10 Oct 2023 18:30:52 +0000 Subject: [PATCH 035/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 23c802f97d9780ec888011eacc0596df334701d9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 10 Oct 2023 18:31:33 +0000 Subject: [PATCH 036/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 35a77045c5b07c0c42d07534edfa0f5320efad1f Mon Sep 17 00:00:00 2001 From: Bamidele Oluwatobi <56609046+tobi-bams@users.noreply.github.com> Date: Tue, 10 Oct 2023 22:22:43 +0100 Subject: [PATCH 037/117] Fix/socket hang (#773) * update: added sleep before delete tribe * update: added sleep to the tribe test * update: added sleep to trime image * update: resolved sleep inport to correct path --- dist/src/tests/controllers/paidTribeImages.test.js | 1 + dist/src/tests/controllers/paidTribeImages.test.js.map | 2 +- dist/src/tests/controllers/tribe.test.js | 1 + dist/src/tests/controllers/tribe.test.js.map | 2 +- dist/src/tests/controllers/tribeEdit.test.js | 1 + dist/src/tests/controllers/tribeEdit.test.js.map | 2 +- dist/src/tests/controllers/tribeImages.test.js | 1 + dist/src/tests/controllers/tribeImages.test.js.map | 2 +- src/tests/controllers/paidTribeImages.test.ts | 4 +++- src/tests/controllers/tribe.test.ts | 3 ++- src/tests/controllers/tribeEdit.test.ts | 4 +++- src/tests/controllers/tribeImages.test.ts | 4 +++- 12 files changed, 19 insertions(+), 8 deletions(-) diff --git a/dist/src/tests/controllers/paidTribeImages.test.js b/dist/src/tests/controllers/paidTribeImages.test.js index c585d241..83ab2c6c 100644 --- a/dist/src/tests/controllers/paidTribeImages.test.js +++ b/dist/src/tests/controllers/paidTribeImages.test.js @@ -48,6 +48,7 @@ function paidTribeImages(t, node1, node2) { //NODE2 LEAVES TRIBE let left2 = yield (0, del_1.leaveTribe)(t, node2, tribe); t.true(left2, 'node2 should leave tribe'); + yield (0, helpers_1.sleep)(2000); //NODE1 DELETES TRIBE let delTribe2 = yield (0, del_1.deleteTribe)(t, node1, tribe); t.true(delTribe2, 'node1 should delete tribe'); diff --git a/dist/src/tests/controllers/paidTribeImages.test.js.map b/dist/src/tests/controllers/paidTribeImages.test.js.map index 6c74a4a7..d29baaa5 100644 --- a/dist/src/tests/controllers/paidTribeImages.test.js.map +++ b/dist/src/tests/controllers/paidTribeImages.test.js.map @@ -1 +1 @@ -{"version":3,"file":"paidTribeImages.test.js","sourceRoot":"","sources":["../../../../src/tests/controllers/paidTribeImages.test.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6BAA4C;AAC5C,oCAA4B;AAC5B,wDAA+D;AAC/D,8CAA0C;AAC1C,sCAAwC;AACxC,sCAAsD;AACtD,wCAAsD;AAQtD,aAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAO,CAA4B,EAAE,EAAE;IAClE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,eAAK,CAAC,CAAC,CA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,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,CAAA;QAC1E,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,EAAE,+BAA+B,CAAC,CAAA;QAErD,oBAAoB;QACpB,IAAI,KAAK,GAAG,MAAM,IAAA,gBAAU,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAC7C,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,0BAA0B,CAAC,CAAA;QAEzC,qBAAqB;QACrB,IAAI,SAAS,GAAG,MAAM,IAAA,iBAAW,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAClD,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,2BAA2B,CAAC,CAAA;IAChD,CAAC;CAAA;AAhCD,0CAgCC"} \ No newline at end of file +{"version":3,"file":"paidTribeImages.test.js","sourceRoot":"","sources":["../../../../src/tests/controllers/paidTribeImages.test.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6BAA4C;AAC5C,oCAA4B;AAC5B,wDAA+D;AAC/D,8CAAiD;AACjD,sCAAwC;AACxC,sCAAsD;AACtD,wCAAsD;AAQtD,aAAI,CAAC,MAAM,CAAC,eAAe,EAAE,CAAO,CAA4B,EAAE,EAAE;IAClE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,eAAK,CAAC,CAAC,CAAA;IAC5B,MAAM,IAAA,iBAAO,EAAC,eAAK,EAAE,CAAO,KAAK,EAAE,KAAK,EAAE,EAAE;QAC1C,MAAM,eAAe,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;IACxC,CAAC,CAAA,CAAC,CAAA;AACJ,CAAC,CAAA,CAAC,CAAA;AAEF,SAAsB,eAAe,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK;;QACnD,+CAA+C;QAC/C,OAAO,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,QAAQ,KA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C,IAAI,CAAC,CAAA;QAEjB,qBAAqB;QACrB,IAAI,SAAS,GAAG,MAAM,IAAA,iBAAW,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAClD,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,2BAA2B,CAAC,CAAA;IAChD,CAAC;CAAA;AAlCD,0CAkCC"} \ No newline at end of file diff --git a/dist/src/tests/controllers/tribe.test.js b/dist/src/tests/controllers/tribe.test.js index 1d9621a5..550f475d 100644 --- a/dist/src/tests/controllers/tribe.test.js +++ b/dist/src/tests/controllers/tribe.test.js @@ -44,6 +44,7 @@ function tribeTest(t, node1, node2) { //NODE2 LEAVES THE TRIBE let left = yield (0, del_1.leaveTribe)(t, node2, tribe); t.true(left, 'node2 should leave tribe'); + yield (0, helpers_1.sleep)(2000); //NODE1 DELETES THE TRIBE let delTribe = yield (0, del_1.deleteTribe)(t, node1, tribe); t.true(delTribe, 'node1 should delete tribe'); diff --git a/dist/src/tests/controllers/tribe.test.js.map b/dist/src/tests/controllers/tribe.test.js.map index 03d96a0b..189697e7 100644 --- a/dist/src/tests/controllers/tribe.test.js.map +++ b/dist/src/tests/controllers/tribe.test.js.map @@ -1 +1 @@ -{"version":3,"file":"tribe.test.js","sourceRoot":"","sources":["../../../../src/tests/controllers/tribe.test.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,6BAA4C;AAC5C,oCAA4B;AAC5B,sCAAsD;AACtD,wCAAqE;AACrE,8CAAsD;AAEtD,sCAAiE;AACjE,sCAAuD;AAQvD,aAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAO,CAA4B,EAAE,EAAE;IAC1D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,eAAK,CAAC,CAAC,CAAA;IAC5B,MAAM,IAAA,iBAAO,EAAC,eAAK,EAAE,CAAO,KAAK,EAAE,KAAK,EAAE,EAAE;QAC1C,MAAM,SAAS,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,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llers/tribeEdit.test.js index c344af73..24a04608 100644 --- a/dist/src/tests/controllers/tribeEdit.test.js +++ b/dist/src/tests/controllers/tribeEdit.test.js @@ -76,6 +76,7 @@ function tribeEdit(t, node1, node2) { console.log('leave tribe'); let left = yield (0, del_1.leaveTribe)(t, node2, tribe); t.true(left, 'node2 should leave tribe'); + yield (0, helpers_1.sleep)(2000); //NODE1 DELETES THE TRIBE console.log('delete tribe'); let delTribe = yield (0, del_1.deleteTribe)(t, node1, tribe); diff --git a/dist/src/tests/controllers/tribeEdit.test.js.map b/dist/src/tests/controllers/tribeEdit.test.js.map index 86e77f5d..f465d25e 100644 --- a/dist/src/tests/controllers/tribeEdit.test.js.map +++ b/dist/src/tests/controllers/tribeEdit.test.js.map @@ -1 +1 @@ -{"version":3,"file":"tribeEdit.test.js","sourceRoot":"","sources":["../../../../src/tests/controllers/tribeEdit.test.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,6BAA4C;AAC5C,sCAAsD;AACtD,wCAAiE;AACjE,8CAA0C;AAC1C,sCAAmE;AACnE,oCAA4B;AAQ5B,aAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAO,CAA4B,EAAE,EAAE;IAC9D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,eAAK,CAAC,CAAC,CAAA;IAC5B,MAAM,IAAA,iBAAO,EAAC,eAAK,EAAE,CAAO,KAAK,EAAE,KAAK,EAAE,EAAE;QAC1C,MAAM,SAAS,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;IAClC,CAAC,CAAA,CAAC,CAAA;AACJ,CAAC,CAAA,CAAC,CAAA;AAEF,SAAe,SAAS,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK;;QACtC,+CAA+C;QAE/C,OAAO,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC,KAAK,QAAQ,KAAK,CAAC,KAAK,EAAE,CAAC,CAAA;QAEhD,uBAAuB;QACvB,OAAO,CAAC,GAAG,CAA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AAK,EAAE,KAAK,CAAC,CAAA;QAC5C,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,0BAA0B,CAAC,CAAA;QAExC,MAAM,IAAA,eAAK,EAAC,IAAI,CAAC,CAAA;QAEjB,yBAAyB;QACzB,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAA;QAC3B,IAAI,QAAQ,GAAG,MAAM,IAAA,iBAAW,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QACjD,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,2BAA2B,CAAC,CAAA;IAC/C,CAAC;CAAA"} \ No newline at end of file diff --git a/dist/src/tests/controllers/tribeImages.test.js b/dist/src/tests/controllers/tribeImages.test.js index c8d9352e..34812239 100644 --- a/dist/src/tests/controllers/tribeImages.test.js +++ b/dist/src/tests/controllers/tribeImages.test.js @@ -48,6 +48,7 @@ function tribeImages(t, node1, node2) { //NODE2 LEAVES TRIBE let left2 = yield (0, del_1.leaveTribe)(t, node2, tribe); t.true(left2, 'node2 should leave tribe'); + yield (0, helpers_1.sleep)(2000); //NODE1 DELETES TRIBE let delTribe2 = yield (0, del_1.deleteTribe)(t, node1, tribe); t.true(delTribe2, 'node1 should delete tribe'); diff --git a/dist/src/tests/controllers/tribeImages.test.js.map b/dist/src/tests/controllers/tribeImages.test.js.map index 88ad3335..2b28a1f3 100644 --- a/dist/src/tests/controllers/tribeImages.test.js.map +++ b/dist/src/tests/controllers/tribeImages.test.js.map @@ -1 +1 @@ -{"version":3,"file":"tribeImages.test.js","sourceRoot":"","sources":["../../../../src/tests/controllers/tribeImages.test.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6BAAsB;AACtB,8CAA0C;AAC1C,oCAA4B;AAC5B,wCAAsD;AACtD,sCAAsD;AACtD,sCAAwC;AACxC,wDAA+D;AAE/D;;EAEE;AAEF,IAAA,aAAI,EAAC,oFAAoF,EAAE,CAAO,CAAC,EAAE,EAAE;IACrG,MAAM,IAAA,iBAA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,EAAE,+BAA+B,CAAC,CAAA;QAErD,oBAAoB;QACpB,IAAI,KAAK,GAAG,MAAM,IAAA,gBAAU,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAC7C,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,0BAA0B,CAAC,CAAA;QAEzC,qBAAqB;QACrB,IAAI,SAAS,GAAG,MAAM,IAAA,iBAAW,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAClD,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,2BAA2B,CAAC,CAAA;IAChD,CAAC;CAAA;AA/BD,kCA+BC"} \ No newline at end of file +{"version":3,"file":"tribeImages.test.js","sourceRoot":"","sources":["../../../../src/tests/controllers/tribeImages.test.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6BAAsB;AACtB,8CAAiD;AACjD,oCAA4B;AAC5B,wCAAsD;AACtD,sCAAsD;AACtD,sCAAwC;AACxC,wDAA+D;AAE/D;;EAEE;AAEF,IAAA,aAAI,EAAC,oFAAoF,EAAE,CAAO,CAAC,EAAE,EAAE;IACrG,MAAM,IAAA,iBAAO,EAAC,eAAK,EAAE,CAAO,KAAK,EAAE,KAAK,EAAE,EAAE;QAC1C,MAAM,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;IACpC,CAAC,CAAA,CAAC,CAAA;AACJ,CAAC,CAAA,CAAC,CAAA;AAEF,SAAsB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK;;QAC/C,2CAA2C;QAE3C,OAAO,CAAC,GAAG,CAAC,6BAA6B,KAAK,CAAC,KAAK,QAAQ,KAAK,CAAC,KAAK,EAAE,CAAC,CAAA;QAE1E,uBAAuB;QACvB,IAAI,KAAK,GAAG,MAAM,IAAA,kBAAW,EAAC,CAAC,EAAE,KAAK,CAAC,CAAA;QACvC,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,yCAAyC,CAAC,CAAA;QAE1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ts index 962f7242..83fbf402 100644 --- a/src/tests/controllers/paidTribeImages.test.ts +++ b/src/tests/controllers/paidTribeImages.test.ts @@ -1,7 +1,7 @@ import test, { ExecutionContext } from 'ava' import nodes from '../nodes' import { pinkSquare, greenSquare } from '../utils/base64images' -import { iterate } from '../utils/helpers' +import { iterate, sleep } from '../utils/helpers' import { sendImage } from '../utils/msg' import { leaveTribe, deleteTribe } from '../utils/del' import { createTribe, joinTribe } from '../utils/save' @@ -48,6 +48,8 @@ export async function paidTribeImages(t, node1, node2) { let left2 = await leaveTribe(t, node2, tribe) t.true(left2, 'node2 should leave tribe') + await sleep(2000) + //NODE1 DELETES TRIBE let delTribe2 = await deleteTribe(t, node1, tribe) t.true(delTribe2, 'node1 should delete tribe') diff --git a/src/tests/controllers/tribe.test.ts b/src/tests/controllers/tribe.test.ts index a01b660a..051af095 100644 --- a/src/tests/controllers/tribe.test.ts +++ b/src/tests/controllers/tribe.test.ts @@ -2,7 +2,7 @@ import test, { ExecutionContext } from 'ava' import nodes from '../nodes' import { leaveTribe, deleteTribe } from '../utils/del' import { createTribe, joinTribe, updateProfile } from '../utils/save' -import { randomText, iterate } from '../utils/helpers' +import { randomText, iterate, sleep } from '../utils/helpers' import { NodeConfig } from '../types' import { sendTribeMessageAndCheckDecryption } from '../utils/msg' import { getCheckNewMsgs, getSelf } from '../utils/get' @@ -61,6 +61,7 @@ async function tribeTest( let left = await leaveTribe(t, node2, tribe) t.true(left, 'node2 should leave tribe') + await sleep(2000) //NODE1 DELETES THE TRIBE let delTribe = await deleteTribe(t, node1, tribe) t.true(delTribe, 'node1 should delete tribe') diff --git a/src/tests/controllers/tribeEdit.test.ts b/src/tests/controllers/tribeEdit.test.ts index b08cfc54..516ee447 100644 --- a/src/tests/controllers/tribeEdit.test.ts +++ b/src/tests/controllers/tribeEdit.test.ts @@ -1,7 +1,7 @@ import test, { ExecutionContext } from 'ava' import { deleteTribe, leaveTribe } from '../utils/del' import { createTribe, joinTribe, editTribe } from '../utils/save' -import { iterate } from '../utils/helpers' +import { iterate, sleep } from '../utils/helpers' import { getTribeId, getChats, getTribeByUuid } from '../utils/get' import nodes from '../nodes' @@ -93,6 +93,8 @@ async function tribeEdit(t, node1, node2) { let left = await leaveTribe(t, node2, tribe) t.true(left, 'node2 should leave tribe') + await sleep(2000) + //NODE1 DELETES THE TRIBE console.log('delete tribe') let delTribe = await deleteTribe(t, node1, tribe) diff --git a/src/tests/controllers/tribeImages.test.ts b/src/tests/controllers/tribeImages.test.ts index 046cc22e..e7d9c827 100644 --- a/src/tests/controllers/tribeImages.test.ts +++ b/src/tests/controllers/tribeImages.test.ts @@ -1,5 +1,5 @@ import test from 'ava' -import { iterate } from '../utils/helpers' +import { iterate, sleep } from '../utils/helpers' import nodes from '../nodes' import { createTribe, joinTribe } from '../utils/save' import { deleteTribe, leaveTribe } from '../utils/del' @@ -44,6 +44,8 @@ export async function tribeImages(t, node1, node2) { let left2 = await leaveTribe(t, node2, tribe) t.true(left2, 'node2 should leave tribe') + await sleep(2000) + //NODE1 DELETES TRIBE let delTribe2 = await deleteTribe(t, node1, tribe) t.true(delTribe2, 'node1 should delete tribe') From 8fdf059e58e5e188d1cfff64ca70cec5e82db4dd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 10 Oct 2023 21:24:32 +0000 Subject: [PATCH 038/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 4cb0df77ab63eeaad7e2e30b47d019404c25f9a7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 10 Oct 2023 21:25:13 +0000 Subject: [PATCH 039/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 5c3381d193305e41af23698c540ad850d5898a21 Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Mon, 16 Oct 2023 10:19:12 -0700 Subject: [PATCH 040/117] fetch invoice can use payment hash or payment req --- dist/src/controllers/invoices.js | 20 ++++++++++++++++---- dist/src/controllers/invoices.js.map | 2 +- src/controllers/invoices.ts | 22 ++++++++++++++++------ 3 files changed, 33 insertions(+), 11 deletions(-) diff --git a/dist/src/controllers/invoices.js b/dist/src/controllers/invoices.js index 684c4a25..9b6e65cc 100644 --- a/dist/src/controllers/invoices.js +++ b/dist/src/controllers/invoices.js @@ -240,12 +240,24 @@ function getInvoice(req, res) { if (!req.owner) return (0, res_1.failure)(res, 'no owner'); const payment_request = req.query.payment_request; - if (!payment_request) { - return (0, res_1.failure)(res, 'Invalid payment request'); + let payment_hash = req.query.payment_hash; + if (!payment_request && !payment_hash) { + return (0, res_1.failure)(res, 'No payment request or hash'); + } + if (!payment_hash) { + try { + const decodedPaymentRequest = bolt11.decode(payment_request); + payment_hash = + ((_a = decodedPaymentRequest.tags.find((t) => t.tagName === 'payment_hash')) === null || _a === void 0 ? void 0 : _a.data) || ''; + } + catch (e) { + return (0, res_1.failure)(res, e); + } + } + if (!payment_hash) { + return (0, res_1.failure)(res, 'No payment hash'); } try { - const decodedPaymentRequest = bolt11.decode(payment_request); - const payment_hash = ((_a = decodedPaymentRequest.tags.find((t) => t.tagName === 'payment_hash')) === null || _a === void 0 ? void 0 : _a.data) || ''; const invoice = yield Lightning.getInvoiceHandler(payment_hash, req.owner.publicKey); return (0, res_1.success)(res, invoice); } diff --git a/dist/src/controllers/invoices.js.map b/dist/src/controllers/invoices.js.map index e9463c87..b0c0c1fb 100644 --- a/dist/src/controllers/invoices.js.map +++ b/dist/src/controllers/invoices.js.map @@ -1 +1 @@ -{"version":3,"file":"invoices.js","sourceRoot":"","sources":["../../../src/controllers/invoices.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAAmC;AACnC,wCAAuC;AAEvC,sCAA6D;AAC7D,+CAA8C;AAE9C,0CAAyC;AACzC,2CAA0C;AAC1C,4CAAsD;AACtD,sCAAqC;AACrC,gCAAyC;AACzC,sCAAoE;AACpE,sCAAqC;AAErC,4CAAoC;AACpC,4CAA8C;AAG9C,mDAAkD;AAElD,SAAS,oBAAoB,CAAC,CAAS;IACrC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,UAAU,CAAC,YAAY,CAAC;QAAE,OAAO,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;IACpE,OAAO,CAAC,CAAA;AACV,CAAC;AAEM,MAAM,UAAU,GAAG,CAAO,GAAQ,EAAE,GAAa,EAAiB,EAAE;IACzE,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAC/C,MAAM,MAAM,GAAW,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;IAEnC,MAAM,eAAe,GAAG,oBAAoB,CAAC,GAAG,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;IAEtE,IAAI,CAAC,eAAe,EAAE;QACpB,qBAAY,CAAC,KAAK,CAAC,0CAA0C,CAAC,CAAA;QAC9D,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;QACf,GAAG,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,0BAA0B,EAAE,CAAC,CAAA;QAC/D,GAAG,C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AE,EAAE,CAAC,CAAA;IAEnE,MAAM,CAAC,QAAQ,CACb;QACE,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,SAAS,CAAC,aAAa,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC;KACzD,EACD,MAAM,CACP,CAAA;IAED,IAAA,sBAAgB,EAAC,IAAI,EAAE,GAAG,CAAC,WAAW,IAAI,MAAM,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,CAAA;IAEzE,IAAA,gCAAgB,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAA;AACrE,CAAC,CAAA,CAAA;AAtEY,QAAA,cAAc,kBAsE1B"} \ No newline at end of file diff --git a/src/controllers/invoices.ts b/src/controllers/invoices.ts index ed363c2e..7ea5dfe6 100644 --- a/src/controllers/invoices.ts +++ b/src/controllers/invoices.ts @@ -258,15 +258,25 @@ export const listInvoices = async (req: Req, res: Response): Promise => { export async function getInvoice(req: Req, res: Response): Promise { if (!req.owner) return failure(res, 'no owner') const payment_request = req.query.payment_request as string + let payment_hash = req.query.payment_hash as string - if (!payment_request) { - return failure(res, 'Invalid payment request') + if (!payment_request && !payment_hash) { + return failure(res, 'No payment request or hash') + } + if (!payment_hash) { + try { + const decodedPaymentRequest = bolt11.decode(payment_request) + payment_hash = + (decodedPaymentRequest.tags.find((t) => t.tagName === 'payment_hash') + ?.data as string) || ('' as string) + } catch (e) { + return failure(res, e) + } + } + if (!payment_hash) { + return failure(res, 'No payment hash') } try { - const decodedPaymentRequest = bolt11.decode(payment_request) - const payment_hash = - (decodedPaymentRequest.tags.find((t) => t.tagName === 'payment_hash') - ?.data as string) || ('' as string) const invoice = await Lightning.getInvoiceHandler( payment_hash, req.owner.publicKey From bd954e1eda98a1851c273248716ce1ff59c9edba Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 17:21:10 +0000 Subject: [PATCH 041/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From ec56a8f44d6d4726a68332ed7e4be5d5958e4352 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 17:21:51 +0000 Subject: [PATCH 042/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From bf61d8b5ef85c184cb6c6dfafbe933f9654dbc86 Mon Sep 17 00:00:00 2001 From: kevkevin Date: Thu, 19 Oct 2023 18:14:10 -0500 Subject: [PATCH 043/117] fix: updated workflow id for saving call recording (#780) --- src/builtin/utill/callRecording.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtin/utill/callRecording.ts b/src/builtin/utill/callRecording.ts index 2e046189..aeed5ef8 100644 --- a/src/builtin/utill/callRecording.ts +++ b/src/builtin/utill/callRecording.ts @@ -212,7 +212,7 @@ export async function sendToStakwork( }, body: JSON.stringify({ name: `${callId} file`, - workflow_id: 6173, + workflow_id: 12346, workflow_params: { set_var: { attributes: { From 460901c7f030e51e8b18e4ca9e527eaababcfdde Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 19 Oct 2023 23:15:39 +0000 Subject: [PATCH 044/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 74bc26a570fe9a041fc3cb9586acb276ed0dcf0d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 19 Oct 2023 23:15:54 +0000 Subject: [PATCH 045/117] [ci commit] Automatic build --- dist/src/builtin/utill/callRecording.js | 2 +- dist/src/builtin/utill/callRecording.js.map | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/src/builtin/utill/callRecording.js b/dist/src/builtin/utill/callRecording.js index 2961102a..a358d7ae 100644 --- a/dist/src/builtin/utill/callRecording.js +++ b/dist/src/builtin/utill/callRecording.js @@ -178,7 +178,7 @@ function sendToStakwork(apikey, callId, filePathAndName, webhook, ownerPubkey, f }, body: JSON.stringify({ name: `${callId} file`, - workflow_id: 6173, + workflow_id: 12346, workflow_params: { set_var: { attributes: { diff --git a/dist/src/builtin/utill/callRecording.js.map b/dist/src/builtin/utill/callRecording.js.map index e9fffeb0..e61abb12 100644 --- a/dist/src/builtin/utill/callRecording.js.map +++ b/dist/src/builtin/utill/callRecording.js.map @@ -1 +1 @@ -{"version":3,"file":"callRecording.js","sourceRoot":"","sources":["../../../../src/builtin/utill/callRecording.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAMqB;AACrB,yCAAwC;AACxC,+CAAiD;AACjD,+BAA8B;AAC9B,2CAA8B;AAC9B,+CAAuC;AASvC,SAAsB,iBAAiB,CAAC,EACtC,IAAI,EACJ,KAAK,EACL,WAAW,EACX,KAAK,EACL,MAAM,GACQ;;QACd,IACE,CAAC,KAAK,CAAC,aAAa;YACpB,CAAC,KAAK,CAAC,WAAW;YAClB,CAAC,KAAK,CAAC,kBAAkB;YACzB,CAAC,KAAK,CAAC,cAAc;YACrB,CAAC,KAAK,CAAC,eAAe;YACtB,KAAK,CAAC,WAAW,KAAK,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,WAAW,CAAC,EAClE;YACA,OAAO;gBACL,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE,2CAA2C;aACpD,CAAA;SACF;QACD,MAAM,aAAa,GAAG,CAAC,MAAM,eAAM,CAAC,aAAa,CAAC,MAAM,CAAC;YACvD,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YACxB,KAAK;YACL,WAAW;YACX,MAAM,EAAE,KAAK,CAAC,EAAE;YAChB,MAAM;YACN,OAAO,EAAE,KAAK;SACf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CACvC,GAAW,EACX,KAAiB;;QAEjB,IAAI;YACF,MAAM,aAAa,GAAG,CAAC,MAAM,eAAM,CAAC,aAAa,CAAC,OAAO,CAAC;gBACxD,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,EAAE;aACvC,CAAC,CAAwB,CAAA;YAE1B,IAAI,CAAC,aAAa,EAAE;gBAClB,qBAAY,CAAC,KAAK,CAAC,CAAC,kCAAkC,EAAE,GAAG,CAAC,CAAC,CAAA;gBAC7D,OAAO,+BAA+B,CAAA;aACvC;YACD,MAAM,aAAa,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAA;YAC7C,IAAI,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,EAAE;gBAC1B,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAA;gBAC7B,OAAO,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC,CAAA;gBAC7B,qBAAY,CAAC,IAAI,CAAC,CAAC,4BAA4B,EAAE,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;aACtE;YACD,OAAO,8CAA8C,CAAA;SACtD;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,CAAC,mCAAmC,EAAE,KAAK,CAAC,CAAC,CAAA;YAChE,OAAO,iCAAiC,CAAA;SACzC;IACH,CAAC;CAAA;AAxBD,kDAwBC"} \ No newline at end of file +{"version":3,"file":"callRecording.js","sourceRoot":"","sources":["../../../../src/builtin/utill/callRecording.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAMqB;AACrB,yCAAwC;AACxC,+CAAiD;AACjD,+BAA8B;AAC9B,2CAA8B;AAC9B,+CAAuC;AASvC,SAAsB,iBAAiB,CAAC,EACtC,IAAI,EACJ,KAAK,EACL,WAAW,EACX,KAAK,EACL,MAAM,GACQ;;QACd,IACE,CAAC,KAAK,CAAC,aAAa;YACp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A;aACtE;YACD,OAAO,8CAA8C,CAAA;SACtD;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,CAAC,mCAAmC,EAAE,KAAK,CAAC,CAAC,CAAA;YAChE,OAAO,iCAAiC,CAAA;SACzC;IACH,CAAC;CAAA;AAxBD,kDAwBC"} \ No newline at end of file From ebfd4947f8de21b342d2c8d7f62b984abffba50c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 19 Oct 2023 23:16:17 +0000 Subject: [PATCH 046/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From bd114eecc9d494a1f16c3bac61ab5264d1a1fc12 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 17:03:33 -0500 Subject: [PATCH 047/117] build(deps): bump crypto-js from 4.1.1 to 4.2.0 (#782) Bumps [crypto-js](https://github.com/brix/crypto-js) from 4.1.1 to 4.2.0. - [Commits](https://github.com/brix/crypto-js/compare/4.1.1...4.2.0) --- updated-dependencies: - dependency-name: crypto-js dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index fcf506e7..37bd5cba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5914,10 +5914,9 @@ } }, "node_modules/crypto-js": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz", - "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==", - "license": "MIT" + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", + "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==" }, "node_modules/crypto-random-string": { "version": "2.0.0", @@ -22022,9 +22021,9 @@ } }, "crypto-js": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz", - "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==" + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.2.0.tgz", + "integrity": "sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==" }, "crypto-random-string": { "version": "2.0.0", From 7d1ab81a99b58764a3a0c71858f2740a67c8e064 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 17:04:02 -0500 Subject: [PATCH 048/117] build(deps): bump browserify-sign from 4.2.1 to 4.2.2 (#783) Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2. - [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md) - [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2) --- updated-dependencies: - dependency-name: browserify-sign dependency-type: indirect ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index 37bd5cba..d157a94b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4709,20 +4709,22 @@ "license": "MIT" }, "node_modules/browserify-sign": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", - "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", - "license": "ISC", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.2.tgz", + "integrity": "sha512-1rudGyeYY42Dk6texmv7c4VcQ0EsvVbLwZkA+AQB7SxvXxmcD93jcHie8bzecJ+ChDlmAm2Qyu0+Ccg5uhZXCg==", "dependencies": { - "bn.js": "^5.1.1", - "browserify-rsa": "^4.0.1", + "bn.js": "^5.2.1", + "browserify-rsa": "^4.1.0", "create-hash": "^1.2.0", "create-hmac": "^1.1.7", - "elliptic": "^6.5.3", + "elliptic": "^6.5.4", "inherits": "^2.0.4", - "parse-asn1": "^5.1.5", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" + "parse-asn1": "^5.1.6", + "readable-stream": "^3.6.2", + "safe-buffer": "^5.2.1" + }, + "engines": { + "node": ">= 4" } }, "node_modules/browserify-sign/node_modules/bn.js": { @@ -21140,19 +21142,19 @@ } }, "browserify-sign": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", - "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.2.tgz", + "integrity": "sha512-1rudGyeYY42Dk6texmv7c4VcQ0EsvVbLwZkA+AQB7SxvXxmcD93jcHie8bzecJ+ChDlmAm2Qyu0+Ccg5uhZXCg==", "requires": { - "bn.js": "^5.1.1", - "browserify-rsa": "^4.0.1", + "bn.js": "^5.2.1", + "browserify-rsa": "^4.1.0", "create-hash": "^1.2.0", "create-hmac": "^1.1.7", - "elliptic": "^6.5.3", + "elliptic": "^6.5.4", "inherits": "^2.0.4", - "parse-asn1": "^5.1.5", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" + "parse-asn1": "^5.1.6", + "readable-stream": "^3.6.2", + "safe-buffer": "^5.2.1" }, "dependencies": { "bn.js": { From 942ae31d4943eeb320c57f9e732889687c8a4f31 Mon Sep 17 00:00:00 2001 From: uncleJim21 <96802642+uncleJim21@users.noreply.github.com> Date: Mon, 30 Oct 2023 17:06:02 -0500 Subject: [PATCH 049/117] add endpoint that can mark a given chat as read/unread (#776) * add endpoint that can mark a given chat as read/unread * attempt to resolve build issues * try again * test: added new test for marking messages as unread * commit to force CI/CD to run again * remove unnecessary notification --------- Co-authored-by: kevkevin --- .github/workflows/integration_test.yml | 1 + dist/src/tests/configs/b64-images.js | 10 ++ dist/src/tests/configs/b64-images.js.map | 1 + .../controllers/markMessageUnread.test.js | 98 +++++++++++ .../controllers/markMessageUnread.test.js.map | 1 + dist/src/tests/utils/msg/index.js | 6 +- dist/src/tests/utils/msg/index.js.map | 2 +- dist/src/tests/utils/msg/markUnread.js | 22 +++ dist/src/tests/utils/msg/markUnread.js.map | 1 + dist/src/tests/utils/msg/readMessages.js | 22 +++ dist/src/tests/utils/msg/readMessages.js.map | 1 + src/controllers/index.ts | 1 + src/controllers/messages.ts | 65 +++++++ .../controllers/markMessageUnread.test.ts | 160 ++++++++++++++++++ src/tests/types/jsonModels.ts | 2 + src/tests/utils/msg/index.ts | 2 + src/tests/utils/msg/markUnread.ts | 11 ++ src/tests/utils/msg/readMessages.ts | 11 ++ 18 files changed, 415 insertions(+), 2 deletions(-) create mode 100644 dist/src/tests/configs/b64-images.js create mode 100644 dist/src/tests/configs/b64-images.js.map create mode 100644 dist/src/tests/controllers/markMessageUnread.test.js create mode 100644 dist/src/tests/controllers/markMessageUnread.test.js.map create mode 100644 dist/src/tests/utils/msg/markUnread.js create mode 100644 dist/src/tests/utils/msg/markUnread.js.map create mode 100644 dist/src/tests/utils/msg/readMessages.js create mode 100644 dist/src/tests/utils/msg/readMessages.js.map create mode 100644 src/tests/controllers/markMessageUnread.test.ts create mode 100644 src/tests/utils/msg/markUnread.ts create mode 100644 src/tests/utils/msg/readMessages.ts diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index f0f66872..df8616d1 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -52,6 +52,7 @@ jobs: 'externalHostedBot', 'spamGoneBot', 'mlBot', + 'markMessageUnread', ] node: [16] steps: diff --git a/dist/src/tests/configs/b64-images.js b/dist/src/tests/configs/b64-images.js new file mode 100644 index 00000000..c973c090 --- /dev/null +++ b/dist/src/tests/configs/b64-images.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.blueSquare = exports.greenSquare = exports.pinkSquare = void 0; +let pinkSquare = '/9j/4AAQSkZJRgABAQAASABIAAD/4QBARXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAACqADAAQAAAABAAAACgAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNBCUAAAAAABDUHYzZjwCyBOmACZjs+EJ+/+IH2ElDQ19QUk9GSUxFAAEBAAAHyGFwcGwCIAAAbW50clJHQiBYWVogB9kAAgAZAAsAGgALYWNzcEFQUEwAAAAAYXBwbAAAAAAAAAAAAAAAAAAAAAAAAPbWAAEAAAAA0y1hcHBsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALZGVzYwAAAQgAAABvZHNjbQAAAXgAAAWKY3BydAAABwQAAAA4d3RwdAAABzwAAAAUclhZWgAAB1AAAAAUZ1hZWgAAB2QAAAAUYlhZWgAAB3gAAAAUclRSQwAAB4wAAAAOY2hhZAAAB5wAAAAsYlRSQwAAB4wAAAAOZ1RSQwAAB4wAAAAOZGVzYwAAAAAAAAAUR2VuZXJpYyBSR0IgUHJvZmlsZQAAAAAAAAAAAAAAFEdlbmVyaWMgUkdCIFByb2ZpbGUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG1sdWMAAAAAAAAAHwAAAAxza1NLAAAAKAAAAYRkYURLAAAAJAAAAaxjYUVTAAAAJAAAAdB2aVZOAAAAJAAAAfRwdEJSAAAAJgAAAhh1a1VBAAAAKgAAAj5mckZVAAAAKAAAAmhodUhVAAAAKAAAApB6aFRXAAAAEgAAArhrb0tSAAAAFgAAAspuYk5PAAAAJgAAAuBjc0NaAAAAIgA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Cw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/bAEMAHBwcHBwcMBwcMEQwMDBEXERERERcdFxcXFxcdIx0dHR0dHSMjIyMjIyMjKioqKioqMTExMTE3Nzc3Nzc3Nzc3P/bAEMBIiQkODQ4YDQ0YOacgJzm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5v/dAAQAAf/aAAwDAQACEQMRAD8Aiooor0zzz//Z'; +exports.blueSquare = blueSquare; +//# sourceMappingURL=b64-images.js.map \ No newline at end of file diff --git a/dist/src/tests/configs/b64-images.js.map b/dist/src/tests/configs/b64-images.js.map new file mode 100644 index 00000000..0b10fde6 --- /dev/null +++ b/dist/src/tests/configs/b64-images.js.map @@ -0,0 +1 @@ +{"version":3,"file":"b64-images.js","sourceRoot":"","sources":["../../../../src/tests/configs/b64-images.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GACZ,knHAAknH,CAAA;AAM3mH,gCAAU;AALnB,IAAI,WAAW,GACb,snHAAsnH,CAAA;AAInmH,kCAAW;AAHhC,IAAI,UAAU,GACZ,knHAAknH,CAAA;AAEllH,gCAAU"} \ No newline at end of file diff --git a/dist/src/tests/controllers/markMessageUnread.test.js b/dist/src/tests/controllers/markMessageUnread.test.js new file mode 100644 index 00000000..ed2fc467 --- /dev/null +++ b/dist/src/tests/controllers/markMessageUnread.test.js @@ -0,0 +1,98 @@ +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.unreadMessages = void 0; +const ava_1 = require("ava"); +const helpers_1 = require("../utils/helpers"); +const del_1 = require("../utils/del"); +const save_1 = require("../utils/save"); +const msg_1 = require("../utils/msg"); +const nodes_1 = require("../nodes"); +/* +npx ava src/tests/controllers/deleteMessages.test.ts --verbose --serial --timeout=2m +*/ +(0, ava_1.default)('test message mark unread: create tribe, join tribe, send messages, read messages, mark unread messages, check number of messages, leave tribe, delete tribe', (t) => __awaiter(void 0, void 0, void 0, function* () { + yield unreadMessages(t, 0, 1, 2); +})); +function unreadMessages(t, index1, index2, index3) { + return __awaiter(this, void 0, void 0, function* () { + //TWO NODES SEND IMAGES WITHIN A TRIBE ===> + let node1 = nodes_1.default[index1]; + let node2 = nodes_1.default[index2]; + let node3 = nodes_1.default[index3]; + t.truthy(node3, 'this test requires three nodes'); + console.log(`Checking boost messages in tribe for ${node1.alias} and ${node2.alias} and ${node3.alias}`); + //NODE1 CREATES A TRIBE + let tribe = yield (0, save_1.createTribe)(t, node1); + t.truthy(tribe, 'tribe should have been created by node1'); + //NODE2 JOINS TRIBE CREATED BY NODE1 + if (node1.routeHint) + tribe.owner_route_hint = node1.routeHint; + let join = yield (0, save_1.joinTribe)(t, node2, tribe); + t.true(join, 'node2 should join tribe'); + //NODE3 JOINS TRIBE CREATED BY NODE1 + if (node1.routeHint) + tribe.owner_route_hint = node1.routeHint; + let join2 = yield (0, save_1.joinTribe)(t, node3, tribe); + t.true(join2, 'node3 should join tribe'); + //NODE1 SENDS A MESSAGE IN THE TRIBE AND NODE2 CHECKS TO SEE IF THEY RECEIVED THE MESSAGE + const text = (0, helpers_1.randomText)(); + let tribeMessage1 = yield (0, msg_1.sendTribeMessageAndCheckDecryption)(t, node1, node2, text, tribe); + t.truthy(tribeMessage1, 'node1 should send message to tribe'); + //NODE2 SENDS A MESSAGE IN THE TRIBE AND NODE3 CHECKS TO SEE IF THEY RECEIVED THE MESSAGE + const text2 = (0, helpers_1.randomText)(); + let tribeMessage2 = yield (0, msg_1.sendTribeMessageAndCheckDecryption)(t, node2, node3, text2, tribe); + t.truthy(tribeMessage2, 'node2 should send message to tribe'); + //NODE3 SENDS A MESSAGE IN THE TRIBE AND NODE1 CHECKS TO SEE IF THEY RECEIVED THE MESSAGE + const text3 = (0, helpers_1.randomText)(); + let tribeMessage3 = yield (0, msg_1.sendTribeMessageAndCheckDecryption)(t, node3, node1, text3, tribe); + t.truthy(tribeMessage3, 'node3 should send message to tribe'); + const text4 = (0, helpers_1.randomText)(); + let tribeMessage4 = yield (0, msg_1.sendTribeMessageAndCheckDecryption)(t, node3, node1, text4, tribe); + t.truthy(tribeMessage4, 'node3 should send message to tribe'); + const text5 = (0, helpers_1.randomText)(); + let tribeMessage5 = yield (0, msg_1.sendTribeMessageAndCheckDecryption)(t, node3, node1, text5, tribe); + t.truthy(tribeMessage5, 'node3 should send message to tribe'); + const text6 = (0, helpers_1.randomText)(); + let tribeMessage6 = yield (0, msg_1.sendTribeMessageAndCheckDecryption)(t, node3, node1, text6, tribe); + t.truthy(tribeMessage6, 'node3 should send message to tribe'); + const text7 = (0, helpers_1.randomText)(); + let tribeMessage7 = yield (0, msg_1.sendTribeMessageAndCheckDecryption)(t, node3, node1, text7, tribe); + t.truthy(tribeMessage7, 'node3 should send message to tribe'); + const text8 = (0, helpers_1.randomText)(); + let tribeMessage8 = yield (0, msg_1.sendTribeMessageAndCheckDecryption)(t, node3, node1, text8, tribe); + t.truthy(tribeMessage8, 'node3 should send message to tribe'); + const tribeMessages = yield (0, msg_1.getTribeMessages)(t, node1, tribe); + t.true(tribeMessages.length === 10, 'The total number of message left should be 10'); + yield (0, msg_1.readMessages)(node1, tribe); + // Mark messaages as read here + const tribeMessages1 = yield (0, msg_1.getTribeMessages)(t, node1, tribe); + t.true(tribeMessages1[0].seen === 1, 'last message should be read'); + console.log(tribeMessages1.length); + // check that we have less message + // mark messages as unread + yield (0, msg_1.markUnread)(node1, tribe); + // check that we have more messages now + const tribeMessages2 = yield (0, msg_1.getTribeMessages)(t, node1, tribe); + t.true(tribeMessages2[0].seen == 0, 'last message should be unread'); + //NODE2 LEAVES TRIBE + let left2 = yield (0, del_1.leaveTribe)(t, node2, tribe); + t.true(left2, 'node2 should leave tribe'); + //NODE3 LEAVES TRIBE + let left3 = yield (0, del_1.leaveTribe)(t, node3, tribe); + t.true(left3, 'node3 should leave tribe'); + //NODE1 DELETES TRIBE + let delTribe2 = yield (0, del_1.deleteTribe)(t, node1, tribe); + t.true(delTribe2, 'node1 should delete tribe'); + }); +} +exports.unreadMessages = unreadMessages; +//# sourceMappingURL=markMessageUnread.test.js.map \ No newline at end of file diff --git a/dist/src/tests/controllers/markMessageUnread.test.js.map b/dist/src/tests/controllers/markMessageUnread.test.js.map new file mode 100644 index 00000000..2d4f3019 --- /dev/null +++ b/dist/src/tests/controllers/markMessageUnread.test.js.map @@ -0,0 +1 @@ +{"version":3,"file":"markMessageUnread.test.js","sourceRoot":"","sources":["../../../../src/tests/controllers/markMessageUnread.test.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6BAAsB;AACtB,8CAA6C;AAC7C,sCAAsD;AACtD,wCAAsD;AACtD,sCAKqB;AACrB,oCAA4B;AAE5B;;EAEE;AAEF,IAAA,aAAI,EAAC,6JAA6J,EAAE,CAAO,CAAC,EAAE,EAAE;IAC9K,MAAM,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;AAClC,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AC9D,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,EAAE,+BAA+B,CAAC,CAAA;QAEpE,oBAAoB;QACpB,IAAI,KAAK,GAAG,MAAM,IAAA,gBAAU,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAC7C,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,0BAA0B,CAAC,CAAA;QAEzC,oBAAoB;QACpB,IAAI,KAAK,GAAG,MAAM,IAAA,gBAAU,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAC7C,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,0BAA0B,CAAC,CAAA;QAEzC,qBAAqB;QACrB,IAAI,SAAS,GAAG,MAAM,IAAA,iBAAW,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAClD,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,2BAA2B,CAAC,CAAA;IAChD,CAAC;CAAA;AA5ID,wCA4IC"} \ No newline at end of file diff --git a/dist/src/tests/utils/msg/index.js b/dist/src/tests/utils/msg/index.js index 8ceedf8a..a12681f7 100644 --- a/dist/src/tests/utils/msg/index.js +++ b/dist/src/tests/utils/msg/index.js @@ -1,6 +1,6 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.decryptMessage = exports.getTribeMessages = exports.sendDirectPayment = exports.sendTribeDirectPayment = exports.getSpecificMsg = exports.getAllMessages = exports.sendMessage = exports.payStream = exports.appRejMember = exports.payInvoice = exports.sendInvoice = exports.sendTribeMessage = exports.sendEscrowMsg = exports.sendPayment = exports.sendImage = exports.boostAsMessage = exports.sendBoost = exports.checkMessageDecryption = exports.sendTribeMessageAndCheckDecryption = exports.sendMessageAndCheckDecryption = void 0; +exports.readMessages = exports.markUnread = exports.decryptMessage = exports.getTribeMessages = exports.sendDirectPayment = exports.sendTribeDirectPayment = exports.getSpecificMsg = exports.getAllMessages = exports.sendMessage = exports.payStream = exports.appRejMember = exports.payInvoice = exports.sendInvoice = exports.sendTribeMessage = exports.sendEscrowMsg = exports.sendPayment = exports.sendImage = exports.boostAsMessage = exports.sendBoost = exports.checkMessageDecryption = exports.sendTribeMessageAndCheckDecryption = exports.sendMessageAndCheckDecryption = void 0; var sendMessageAndCheckDecryption_1 = require("./sendMessageAndCheckDecryption"); Object.defineProperty(exports, "sendMessageAndCheckDecryption", { enumerable: true, get: function () { return sendMessageAndCheckDecryption_1.sendMessageAndCheckDecryption; } }); var sendTribeMessageAndCheckDecryption_1 = require("./sendTribeMessageAndCheckDecryption"); @@ -39,4 +39,8 @@ var getTribeMessages_1 = require("./getTribeMessages"); Object.defineProperty(exports, "getTribeMessages", { enumerable: true, get: function () { return getTribeMessages_1.getTribeMessages; } }); var decryptMsg_1 = require("./decryptMsg"); Object.defineProperty(exports, "decryptMessage", { enumerable: true, get: function () { return decryptMsg_1.decryptMessage; } }); +var markUnread_1 = require("./markUnread"); +Object.defineProperty(exports, "markUnread", { enumerable: true, get: function () { return markUnread_1.markUnread; } }); +var readMessages_1 = require("./readMessages"); +Object.defineProperty(exports, "readMessages", { enumerable: true, get: function () { return readMessages_1.readMessages; } }); //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/src/tests/utils/msg/index.js.map b/dist/src/tests/utils/msg/index.js.map index 831c42fd..3d71b56c 100644 --- a/dist/src/tests/utils/msg/index.js.map +++ b/dist/src/tests/utils/msg/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/tests/utils/msg/index.ts"],"names":[],"mappings":";;;AAAA,iFAA+E;AAAtE,8IAAA,6BAA6B,OAAA;AACtC,2FAAyF;AAAhF,wJAAA,kCAAkC,OAAA;AAC3C,mEAAiE;AAAxD,gIAAA,sBAAsB,OAAA;AAC/B,yCAAuD;AAA9C,sGAAA,SAAS,OAAA;AAAE,2GAAA,cAAc,OAAA;AAClC,yCAAuC;AAA9B,sGAAA,SAAS,OAAA;AAClB,6CAA2C;AAAlC,0GAAA,WAAW,OAAA;AACpB,iDAA+C;AAAtC,8GAAA,aAAa,OAAA;AACtB,uDAAqD;AAA5C,oHAAA,gBAAgB,OAAA;AACzB,6CAA2C;AAAlC,0GAAA,WAAW,OAAA;AACpB,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,+CAA6C;AAApC,4GAAA,YAAY,OAAA;AACrB,yCAAuC;AAA9B,sGAAA,SAAS,OAAA;AAClB,6CAA2C;AAAlC,0GAAA,WAAW,OAAA;AACpB,mDAAiD;AAAxC,gHAAA,cAAc,OAAA;AACvB,yDAAoD;AAA3C,mHAAA,cAAc,OAAA;AACvB,mEAGiC;AAF/B,gIAAA,sBAAsB,OAAA;AACtB,2HAAA,iBAAiB,OAAA;AAEnB,uDAAqD;AAA5C,oHAAA,gBAAgB,OAAA;AACzB,2CAA6C;AAApC,4GAAA,cAAc,OAAA"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/tests/utils/msg/index.ts"],"names":[],"mappings":";;;AAAA,iFAA+E;AAAtE,8IAAA,6BAA6B,OAAA;AACtC,2FAAyF;AAAhF,wJAAA,kCAAkC,OAAA;AAC3C,mEAAiE;AAAxD,gIAAA,sBAAsB,OAAA;AAC/B,yCAAuD;AAA9C,sGAAA,SAAS,OAAA;AAAE,2GAAA,cAAc,OAAA;AAClC,yCAAuC;AAA9B,sGAAA,SAAS,OAAA;AAClB,6CAA2C;AAAlC,0GAAA,WAAW,OAAA;AACpB,iDAA+C;AAAtC,8GAAA,aAAa,OAAA;AACtB,uDAAqD;AAA5C,oHAAA,gBAAgB,OAAA;AACzB,6CAA2C;AAAlC,0GAAA,WAAW,OAAA;AACpB,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,+CAA6C;AAApC,4GAAA,YAAY,OAAA;AACrB,yCAAuC;AAA9B,sGAAA,SAAS,OAAA;AAClB,6CAA2C;AAAlC,0GAAA,WAAW,OAAA;AACpB,mDAAiD;AAAxC,gHAAA,cAAc,OAAA;AACvB,yDAAoD;AAA3C,mHAAA,cAAc,OAAA;AACvB,mEAGiC;AAF/B,gIAAA,sBAAsB,OAAA;AACtB,2HAAA,iBAAiB,OAAA;AAEnB,uDAAqD;AAA5C,oHAAA,gBAAgB,OAAA;AACzB,2CAA6C;AAApC,4GAAA,cAAc,OAAA;AACvB,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,+CAA6C;AAApC,4GAAA,YAAY,OAAA"} \ No newline at end of file diff --git a/dist/src/tests/utils/msg/markUnread.js b/dist/src/tests/utils/msg/markUnread.js new file mode 100644 index 00000000..e35d0e03 --- /dev/null +++ b/dist/src/tests/utils/msg/markUnread.js @@ -0,0 +1,22 @@ +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.markUnread = void 0; +const helpers_1 = require("../helpers"); +const http = require("ava-http"); +function markUnread(node, chat_id) { + return __awaiter(this, void 0, void 0, function* () { + const msg = yield http.post(node.external_ip + `/messages/${chat_id.id}/toggleChatReadUnread`, (0, helpers_1.makeArgs)(node, { shouldMarkAsUnread: true })); + return msg.response.new_messages; + }); +} +exports.markUnread = markUnread; +//# sourceMappingURL=markUnread.js.map \ No newline at end of file diff --git a/dist/src/tests/utils/msg/markUnread.js.map b/dist/src/tests/utils/msg/markUnread.js.map new file mode 100644 index 00000000..5d62d149 --- /dev/null +++ b/dist/src/tests/utils/msg/markUnread.js.map @@ -0,0 +1 @@ +{"version":3,"file":"markUnread.js","sourceRoot":"","sources":["../../../../../src/tests/utils/msg/markUnread.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,wCAAqC;AACrC,iCAAgC;AAEhC,SAAsB,UAAU,CAAC,IAAgB,EAAE,OAAa;;QAC9D,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,IAAI,CACzB,IAAI,CAAC,WAAW,GAAG,aAAa,OAAO,CAAC,EAAE,uBAAuB,EACjE,IAAA,kBAAQ,EAAC,IAAI,EAAE,EAAE,kBAAkB,EAAE,IAAI,EAAE,CAAC,CAC7C,CAAA;QACD,OAAO,GAAG,CAAC,QAAQ,CAAC,YAAY,CAAA;IAClC,CAAC;CAAA;AAND,gCAMC"} \ No newline at end of file diff --git a/dist/src/tests/utils/msg/readMessages.js b/dist/src/tests/utils/msg/readMessages.js new file mode 100644 index 00000000..d9322c02 --- /dev/null +++ b/dist/src/tests/utils/msg/readMessages.js @@ -0,0 +1,22 @@ +"use strict"; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.readMessages = void 0; +const helpers_1 = require("../helpers"); +const http = require("ava-http"); +function readMessages(node, chat_id) { + return __awaiter(this, void 0, void 0, function* () { + const msg = yield http.post(node.external_ip + `/messages/${chat_id.id}/read`, (0, helpers_1.makeArgs)(node)); + return msg.response.new_messages; + }); +} +exports.readMessages = readMessages; +//# sourceMappingURL=readMessages.js.map \ No newline at end of file diff --git a/dist/src/tests/utils/msg/readMessages.js.map b/dist/src/tests/utils/msg/readMessages.js.map new file mode 100644 index 00000000..ae200ad4 --- /dev/null +++ b/dist/src/tests/utils/msg/readMessages.js.map @@ -0,0 +1 @@ +{"version":3,"file":"readMessages.js","sourceRoot":"","sources":["../../../../../src/tests/utils/msg/readMessages.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,wCAAqC;AACrC,iCAAgC;AAEhC,SAAsB,YAAY,CAAC,IAAgB,EAAE,OAAa;;QAChE,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,IAAI,CACzB,IAAI,CAAC,WAAW,GAAG,aAAa,OAAO,CAAC,EAAE,OAAO,EACjD,IAAA,kBAAQ,EAAC,IAAI,CAAC,CACf,CAAA;QACD,OAAO,GAAG,CAAC,QAAQ,CAAC,YAAY,CAAA;IAClC,CAAC;CAAA;AAND,oCAMC"} \ No newline at end of file diff --git a/src/controllers/index.ts b/src/controllers/index.ts index 5a30b102..5b31fc13 100644 --- a/src/controllers/index.ts +++ b/src/controllers/index.ts @@ -118,6 +118,7 @@ export async function set(app) { app.get('/messages', messages.getMessages) app.delete('/message/:id', messages.deleteMessage) app.post('/messages/:chat_id/read', messages.readMessages) + app.post('/messages/:chat_id/toggleChatReadUnread', messages.toggleChatReadUnread) app.post('/messages/clear', messages.clearMessages) app.delete('/messages', messages.disappearingMessages) app.get('/message/:uuid', messages.getMessageByUuid) diff --git a/src/controllers/messages.ts b/src/controllers/messages.ts index 02818ede..25f7da17 100644 --- a/src/controllers/messages.ts +++ b/src/controllers/messages.ts @@ -797,6 +797,71 @@ export const receiveDeleteMessage = async (payload: Payload): Promise => { ) } +/** +Either makes all messages of a chat read or it marks the last message of the given chat as unread. + +@param {Req} req - The request object containing the chat ID. +@param {Res} res - The response object used to send the updated chat information. +@returns {Promise} - An empty promise. +*/ +export const toggleChatReadUnread = async (req: Req, res: Res): Promise => { + if (!req.owner) return failure(res, 'no owner') + // + try{ + const requestBody = JSON.parse(req.rawBody); + //We want to mark the chat as read + if (requestBody.shouldMarkAsUnread === false) { + // Call the readMessages function with the same req and res objects + const result = await readMessages(req, res); + return result; // Exit the function after calling readMessages + } + + //we want to mark the last message + chat as unread + const chat_id = req.params.chat_id + const owner = req.owner + const tenant: number = owner.id + + // Find the latest message that is not from the user and has been read + const latestMessage = await models.Message.findOne({ + where: { + sender: { + [Op.ne]: owner.id, + }, + chatId: chat_id, + [Op.or]: [{ seen: true }, { seen: null }], + tenant, + }, + order: [['date', 'DESC']], + }); + + // Update just the latest message found in the database to mark it as unseen + if (latestMessage) { + await latestMessage.update({ seen: false }); + } + //mark the chat as unseen + const chat: Chat = (await models.Chat.findOne({ + where: { id: chat_id, tenant }, + })) as Chat + if (chat) { + resetNotifyTribeCount(parseInt(chat_id)) + await chat.update({ seen: false }) + success(res, {}) + socket.sendJson( + { + type: 'chat_unseen', + response: jsonUtils.chatToJson(chat), + }, + tenant + ) + } else { + failure(res, 'no chat') + } + } + catch(error){ + return failureWithResponse(res, 'Invalid JSON body', { error: error.message }); + } +} + /** Updates the messages in the specified chat to mark them as seen by the owner and sends a notification to the other chat members. diff --git a/src/tests/controllers/markMessageUnread.test.ts b/src/tests/controllers/markMessageUnread.test.ts new file mode 100644 index 00000000..cd0a4b7b --- /dev/null +++ b/src/tests/controllers/markMessageUnread.test.ts @@ -0,0 +1,160 @@ +import test from 'ava' +import { randomText } from '../utils/helpers' +import { deleteTribe, leaveTribe } from '../utils/del' +import { createTribe, joinTribe } from '../utils/save' +import { + sendTribeMessageAndCheckDecryption, + getTribeMessages, + markUnread, + readMessages, +} from '../utils/msg' +import nodes from '../nodes' + +/* +npx ava src/tests/controllers/deleteMessages.test.ts --verbose --serial --timeout=2m +*/ + +test('test message mark unread: create tribe, join tribe, send messages, read messages, mark unread messages, check number of messages, leave tribe, delete tribe', async (t) => { + await unreadMessages(t, 0, 1, 2) +}) + +export async function unreadMessages(t, index1, index2, index3) { + //TWO NODES SEND IMAGES WITHIN A TRIBE ===> + let node1 = nodes[index1] + let node2 = nodes[index2] + let node3 = nodes[index3] + t.truthy(node3, 'this test requires three nodes') + + console.log( + `Checking boost messages in tribe for ${node1.alias} and ${node2.alias} and ${node3.alias}` + ) + + //NODE1 CREATES A TRIBE + let tribe = await createTribe(t, node1) + t.truthy(tribe, 'tribe should have been created by node1') + + //NODE2 JOINS TRIBE CREATED BY NODE1 + if (node1.routeHint) tribe.owner_route_hint = node1.routeHint + let join = await joinTribe(t, node2, tribe) + t.true(join, 'node2 should join tribe') + + //NODE3 JOINS TRIBE CREATED BY NODE1 + if (node1.routeHint) tribe.owner_route_hint = node1.routeHint + let join2 = await joinTribe(t, node3, tribe) + t.true(join2, 'node3 should join tribe') + + //NODE1 SENDS A MESSAGE IN THE TRIBE AND NODE2 CHECKS TO SEE IF THEY RECEIVED THE MESSAGE + const text = randomText() + let tribeMessage1 = await sendTribeMessageAndCheckDecryption( + t, + node1, + node2, + text, + tribe + ) + t.truthy(tribeMessage1, 'node1 should send message to tribe') + + //NODE2 SENDS A MESSAGE IN THE TRIBE AND NODE3 CHECKS TO SEE IF THEY RECEIVED THE MESSAGE + const text2 = randomText() + let tribeMessage2 = await sendTribeMessageAndCheckDecryption( + t, + node2, + node3, + text2, + tribe + ) + t.truthy(tribeMessage2, 'node2 should send message to tribe') + + //NODE3 SENDS A MESSAGE IN THE TRIBE AND NODE1 CHECKS TO SEE IF THEY RECEIVED THE MESSAGE + const text3 = randomText() + let tribeMessage3 = await sendTribeMessageAndCheckDecryption( + t, + node3, + node1, + text3, + tribe + ) + t.truthy(tribeMessage3, 'node3 should send message to tribe') + + const text4 = randomText() + let tribeMessage4 = await sendTribeMessageAndCheckDecryption( + t, + node3, + node1, + text4, + tribe + ) + t.truthy(tribeMessage4, 'node3 should send message to tribe') + + const text5 = randomText() + let tribeMessage5 = await sendTribeMessageAndCheckDecryption( + t, + node3, + node1, + text5, + tribe + ) + t.truthy(tribeMessage5, 'node3 should send message to tribe') + + const text6 = randomText() + let tribeMessage6 = await sendTribeMessageAndCheckDecryption( + t, + node3, + node1, + text6, + tribe + ) + t.truthy(tribeMessage6, 'node3 should send message to tribe') + + const text7 = randomText() + let tribeMessage7 = await sendTribeMessageAndCheckDecryption( + t, + node3, + node1, + text7, + tribe + ) + t.truthy(tribeMessage7, 'node3 should send message to tribe') + + const text8 = randomText() + let tribeMessage8 = await sendTribeMessageAndCheckDecryption( + t, + node3, + node1, + text8, + tribe + ) + t.truthy(tribeMessage8, 'node3 should send message to tribe') + + const tribeMessages = await getTribeMessages(t, node1, tribe) + t.true( + tribeMessages.length === 10, + 'The total number of message left should be 10' + ) + + await readMessages(node1, tribe) + + // Mark messaages as read here + const tribeMessages1 = await getTribeMessages(t, node1, tribe) + t.true(tribeMessages1[0].chat.seen === 1, 'last message should be read') + + // check that we have less message + // mark messages as unread + await markUnread(node1, tribe) + + // check that we have more messages now + const tribeMessages2 = await getTribeMessages(t, node1, tribe) + t.true(tribeMessages2[0].chat.seen === 0, 'last message should be unread') + + //NODE2 LEAVES TRIBE + let left2 = await leaveTribe(t, node2, tribe) + t.true(left2, 'node2 should leave tribe') + + //NODE3 LEAVES TRIBE + let left3 = await leaveTribe(t, node3, tribe) + t.true(left3, 'node3 should leave tribe') + + //NODE1 DELETES TRIBE + let delTribe2 = await deleteTribe(t, node1, tribe) + t.true(delTribe2, 'node1 should delete tribe') +} diff --git a/src/tests/types/jsonModels.ts b/src/tests/types/jsonModels.ts index a7c73e57..0ac05938 100644 --- a/src/tests/types/jsonModels.ts +++ b/src/tests/types/jsonModels.ts @@ -51,6 +51,7 @@ export interface Message { cached?: boolean error_message?: string thread_uuid?: string + chat: Chat } export interface Chat { @@ -81,4 +82,5 @@ export interface Chat { img: string meta: string pin: string + seen: number } diff --git a/src/tests/utils/msg/index.ts b/src/tests/utils/msg/index.ts index a3fa4220..676d029e 100644 --- a/src/tests/utils/msg/index.ts +++ b/src/tests/utils/msg/index.ts @@ -19,3 +19,5 @@ export { } from './sendTribeDirectpayment' export { getTribeMessages } from './getTribeMessages' export { decryptMessage } from './decryptMsg' +export { markUnread } from './markUnread' +export { readMessages } from './readMessages' diff --git a/src/tests/utils/msg/markUnread.ts b/src/tests/utils/msg/markUnread.ts new file mode 100644 index 00000000..8e4ed650 --- /dev/null +++ b/src/tests/utils/msg/markUnread.ts @@ -0,0 +1,11 @@ +import { NodeConfig, Chat } from '../../types' +import { makeArgs } from '../helpers' +import * as http from 'ava-http' + +export async function markUnread(node: NodeConfig, chat_id: Chat) { + const msg = await http.post( + node.external_ip + `/messages/${chat_id.id}/toggleChatReadUnread`, + makeArgs(node, { shouldMarkAsUnread: true }) + ) + return msg.response.new_messages +} diff --git a/src/tests/utils/msg/readMessages.ts b/src/tests/utils/msg/readMessages.ts new file mode 100644 index 00000000..90c6079c --- /dev/null +++ b/src/tests/utils/msg/readMessages.ts @@ -0,0 +1,11 @@ +import { NodeConfig, Chat } from '../../types' +import { makeArgs } from '../helpers' +import * as http from 'ava-http' + +export async function readMessages(node: NodeConfig, chat_id: Chat) { + const msg = await http.post( + node.external_ip + `/messages/${chat_id.id}/read`, + makeArgs(node) + ) + return msg.response.new_messages +} From 4df2a11d20fa864d0fc9b1e1c197e6d442c99484 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 22:12:04 +0000 Subject: [PATCH 050/117] [ci commit] Lint and format code --- src/controllers/index.ts | 5 +++- src/controllers/messages.ts | 26 +++++++++++-------- .../types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- .../types/cln/cln/ListforwardsForwards.ts | 2 +- .../types/cln/cln/ListinvoicesInvoices.ts | 2 +- .../types/cln/cln/ListpeersPeersChannels.ts | 2 +- .../cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- .../types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- .../types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- .../types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- .../types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- .../types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- .../types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- .../types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- .../types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- .../types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- .../types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- .../lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- .../types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- .../types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- .../ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- .../types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- .../types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- .../types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 85 files changed, 102 insertions(+), 95 deletions(-) diff --git a/src/controllers/index.ts b/src/controllers/index.ts index 5b31fc13..1d6ebe7d 100644 --- a/src/controllers/index.ts +++ b/src/controllers/index.ts @@ -118,7 +118,10 @@ export async function set(app) { app.get('/messages', messages.getMessages) app.delete('/message/:id', messages.deleteMessage) app.post('/messages/:chat_id/read', messages.readMessages) - app.post('/messages/:chat_id/toggleChatReadUnread', messages.toggleChatReadUnread) + app.post( + '/messages/:chat_id/toggleChatReadUnread', + messages.toggleChatReadUnread + ) app.post('/messages/clear', messages.clearMessages) app.delete('/messages', messages.disappearingMessages) app.get('/message/:uuid', messages.getMessageByUuid) diff --git a/src/controllers/messages.ts b/src/controllers/messages.ts index 25f7da17..05b9a341 100644 --- a/src/controllers/messages.ts +++ b/src/controllers/messages.ts @@ -804,16 +804,19 @@ Either makes all messages of a chat read or it marks the last message of the giv @param {Res} res - The response object used to send the updated chat information. @returns {Promise} - An empty promise. */ -export const toggleChatReadUnread = async (req: Req, res: Res): Promise => { +export const toggleChatReadUnread = async ( + req: Req, + res: Res +): Promise => { if (!req.owner) return failure(res, 'no owner') // - try{ - const requestBody = JSON.parse(req.rawBody); - //We want to mark the chat as read + try { + const requestBody = JSON.parse(req.rawBody) + //We want to mark the chat as read if (requestBody.shouldMarkAsUnread === false) { // Call the readMessages function with the same req and res objects - const result = await readMessages(req, res); - return result; // Exit the function after calling readMessages + const result = await readMessages(req, res) + return result // Exit the function after calling readMessages } //we want to mark the last message + chat as unread @@ -832,11 +835,11 @@ export const toggleChatReadUnread = async (req: Req, res: Res): Promise => tenant, }, order: [['date', 'DESC']], - }); + }) // Update just the latest message found in the database to mark it as unseen if (latestMessage) { - await latestMessage.update({ seen: false }); + await latestMessage.update({ seen: false }) } //mark the chat as unseen const chat: Chat = (await models.Chat.findOne({ @@ -856,9 +859,10 @@ export const toggleChatReadUnread = async (req: Req, res: Res): Promise => } else { failure(res, 'no chat') } - } - catch(error){ - return failureWithResponse(res, 'Invalid JSON body', { error: error.message }); + } catch (error) { + return failureWithResponse(res, 'Invalid JSON body', { + error: error.message, + }) } } diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 775a5d541d0128cba4dbb2e76844156e68c2697f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 22:12:21 +0000 Subject: [PATCH 051/117] [ci commit] Automatic build --- dist/src/controllers/index.js | 1 + dist/src/controllers/index.js.map | 2 +- dist/src/controllers/messages.js | 65 ++++++++++++++++++- dist/src/controllers/messages.js.map | 2 +- .../controllers/markMessageUnread.test.js | 5 +- .../controllers/markMessageUnread.test.js.map | 2 +- 6 files changed, 70 insertions(+), 7 deletions(-) diff --git a/dist/src/controllers/index.js b/dist/src/controllers/index.js index e6a2d424..77689df3 100644 --- a/dist/src/controllers/index.js +++ b/dist/src/controllers/index.js @@ -113,6 +113,7 @@ function set(app) { app.get('/messages', messages.getMessages); app.delete('/message/:id', messages.deleteMessage); app.post('/messages/:chat_id/read', messages.readMessages); + app.post('/messages/:chat_id/toggleChatReadUnread', messages.toggleChatReadUnread); app.post('/messages/clear', messages.clearMessages); app.delete('/messages', messages.disappearingMessages); app.get('/message/:uuid', messages.getMessageByUuid); diff --git a/dist/src/controllers/index.js.map b/dist/src/controllers/index.js.map index 83e2765e..0ebaf3b0 100644 --- a/dist/src/controllers/index.js.map +++ b/dist/src/controllers/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src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AAI,CAAC,aAAa;IACtC,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,gBAAgB;IACpD,CAAC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,aAAa,CAAC,4BAA4B;IAC7E,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,YAAY;IACvC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,YAAY;IACtC,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,oBAAoB;IACvD,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,WAAW;CACtC,CAAA"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAA0C;AAC1C,sCAA2C;AAC3C,kCAAuD;AACvD,4CAA2C;AAC3C,0CAAyC;AACzC,0CAAyC;AACzC,4CAAoC;AACpC,sCAAsC;AAEtC,kEAAoF;AACpF,iCAAgC;AAChC,2CAA0C;AAC1C,+BAA8B;AAC9B,qCAAoC;AACpC,uCAAsC;AACtC,qCAAoC;AACpC,uCAAsC;AACtC,iCAAgC;AAChC,uCAAsC;AACtC,sCAAqC;AACrC,gDAA+C;AAC/C,qCAAoC;AACpC,iDAAgD;AAChD,oCAAmC;AACnC,qCAAoC;AACpC,iCAAgC;AAChC,+BAA8B;AAC9B,+BAA8B;AAC9B,2CAA0C;AAC1C,iCAAgC;AAChC,0CAAyC;AACzC,oCAAmC;AACnC,yDAAwD;AAExD,MAAM,OAAO,GAAG,IAAA,4BAAS,EAAC;IACxB,QAAQ,EAAE,IAAI;IACd,GAAG,EAAE,CAAC;IACN,eAAe,EAAE,IAAI;IACrB,aAAa,EAAE,KAAK,EAAE,sCAAsC;CAC7D,CAAC,CAAA;AAEF,SAAsB,GAAG,CAAC,GAAG;;QAC3B,WAAW,CAAC,IAAI,EAAE,CAAA;QAElB,IAAI,eAA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AAC,MAAM,CAAC,EAAE,QAAQ,CAAC,oBAAoB;IAChD,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAC,gBAAgB;IAC/C,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,oBAAoB;IAC1D,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,oBAAoB;IAC1D,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,mBAAmB;IACxD,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,UAAU,CAAC,kBAAkB;IACtD,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,iBAAiB;IAC9C,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,aAAa;IACtC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,aAAa;IACtC,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,gBAAgB;IACpD,CAAC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,aAAa,CAAC,4BAA4B;IAC7E,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,YAAY;IACvC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,YAAY;IACtC,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,oBAAoB;IACvD,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,WAAW;CACtC,CAAA"} \ No newline at end of file diff --git a/dist/src/controllers/messages.js b/dist/src/controllers/messages.js index a93d3bed..ce7843a1 100644 --- a/dist/src/controllers/messages.js +++ b/dist/src/controllers/messages.js @@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.initializeDeleteMessageCronJobs = exports.receiveVoip = exports.disappearingMessages = exports.clearMessages = exports.readMessages = exports.receiveDeleteMessage = exports.receiveRepayment = exports.receiveBoost = exports.receiveMessage = exports.sendMessage = exports.deleteMessage = exports.getMsgs = exports.getAllMessages = exports.getMessages = exports.getMessageByUuid = void 0; +exports.initializeDeleteMessageCronJobs = exports.receiveVoip = exports.disappearingMessages = exports.clearMessages = exports.readMessages = exports.toggleChatReadUnread = exports.receiveDeleteMessage = exports.receiveRepayment = exports.receiveBoost = exports.receiveMessage = exports.sendMessage = exports.deleteMessage = exports.getMsgs = exports.getAllMessages = exports.getMessages = exports.getMessageByUuid = void 0; const sequelize_1 = require("sequelize"); const underscore_1 = require("underscore"); const short = require("short-uuid"); @@ -646,6 +646,69 @@ const receiveDeleteMessage = (payload) => __awaiter(void 0, void 0, void 0, func }); exports.receiveDeleteMessage = receiveDeleteMessage; /** +Either makes all messages of a chat read or it marks the last message of the given chat as unread. + +@param {Req} req - The request object containing the chat ID. +@param {Res} res - The response object used to send the updated chat information. +@returns {Promise} - An empty promise. +*/ +const toggleChatReadUnread = (req, res) => __awaiter(void 0, void 0, void 0, function* () { + if (!req.owner) + return (0, res_1.failure)(res, 'no owner'); + // + try { + const requestBody = JSON.parse(req.rawBody); + //We want to mark the chat as read + if (requestBody.shouldMarkAsUnread === false) { + // Call the readMessages function with the same req and res objects + const result = yield (0, exports.readMessages)(req, res); + return result; // Exit the function after calling readMessages + } + //we want to mark the last message + chat as unread + const chat_id = req.params.chat_id; + const owner = req.owner; + const tenant = owner.id; + // Find the latest message that is not from the user and has been read + const latestMessage = yield models_1.models.Message.findOne({ + where: { + sender: { + [sequelize_1.Op.ne]: owner.id, + }, + chatId: chat_id, + [sequelize_1.Op.or]: [{ seen: true }, { seen: null }], + tenant, + }, + order: [['date', 'DESC']], + }); + // Update just the latest message found in the database to mark it as unseen + if (latestMessage) { + yield latestMessage.update({ seen: false }); + } + //mark the chat as unseen + const chat = (yield models_1.models.Chat.findOne({ + where: { id: chat_id, tenant }, + })); + if (chat) { + (0, hub_1.resetNotifyTribeCount)(parseInt(chat_id)); + yield chat.update({ seen: false }); + (0, res_1.success)(res, {}); + socket.sendJson({ + type: 'chat_unseen', + response: jsonUtils.chatToJson(chat), + }, tenant); + } + else { + (0, res_1.failure)(res, 'no chat'); + } + } + catch (error) { + return (0, res_1.failureWithResponse)(res, 'Invalid JSON body', { + error: error.message, + }); + } +}); +exports.toggleChatReadUnread = toggleChatReadUnread; +/** Updates the messages in the specified chat to mark them as seen by the owner and sends a notification to the other chat members. @param {Req} req - The request object containing the chat ID. diff --git a/dist/src/controllers/messages.js.map b/dist/src/controllers/messages.js.map index 6f8ed1a1..22dd1a3c 100644 --- a/dist/src/controllers/messages.js.map +++ b/dist/src/controllers/messages.js.map @@ -1 +1 @@ -{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../../src/controllers/messages.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,2CAAoC;AACpC,oCAAmC;AACnC,+BAA8B;AAC9B,sCAOkB;AAClB,gCAIe;AACf,0CAAyC;AACzC,2CAA0C;AAC1C,sCAAqC;AACrC,sCAAoE;AACpE,0CAAyC;AACzC,sCAAqC;AAGrC,4CAAoC;AACpC,4CAAuD;AAGvD,4CAA6C;AAC7C,4CAA4C;AAC5C,gDAAqD;AACrD,wDAAoD;AACpD,mDAAkD;AAMlD,2CAA2C;AAC3C,MAAM,IAAI,GAAG,EAAE,CAAA;AAEf,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAEpB,MAAM,gBAAgB,GAAG,CAAO,GAAQ,EAAE,GAAQ,EAAiB,EAAE;IAC1E,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAC/C,MAAM,MAAM,GAAW,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;IACnC,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,IAAI,CAAA;IAC5B,IAAI,CAAC,IAAI;QAAE,OAAO,IAAA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AAM,CAAC,IAAI,CAAC,OAAO,CAAC;gBACvC,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE;aAClC,CAAC,CAAiB,CAAA;YAEnB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBACrC,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;gBACrB,MAAM,YAAY,GAAG,CAAC,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;oBACjD,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE;iBACnC,CAAC,CAAoB,CAAA;gBACtB,IAAI,YAAY,CAAC,MAAM,GAAG,EAAE,EAAE;oBAC5B,MAAM,aAAa,GAAG,YAAY,CAAC,YAAY,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;oBAC5D,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;wBAC3B,KAAK,EAAE;4BACL,EAAE,EAAE,EAAE,CAAC,cAAE,CAAC,EAAE,CAAC,EAAE,aAAa,CAAC,EAAE,EAAE;4BACjC,SAAS,EAAE,EAAE,CAAC,cAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE;4BAC5B,MAAM,EAAE,IAAI,CAAC,EAAE;4BACf,MAAM;yBACP;qBACF,CAAC,CAAA;iBACH;aACF;YACD,qBAAY,CAAC,IAAI,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAA;SACtD;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,CAAC,uCAAuC,EAAE,KAAK,CAAC,CAAC,CAAA;SACrE;IACH,CAAC;CAAA"} \ No newline at end of file +{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../../src/controllers/messages.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,2CAAoC;AACpC,oCAAmC;AACnC,+BAA8B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AAC,CAAC,CAAA;SACrE;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/dist/src/tests/controllers/markMessageUnread.test.js b/dist/src/tests/controllers/markMessageUnread.test.js index ed2fc467..bfa89781 100644 --- a/dist/src/tests/controllers/markMessageUnread.test.js +++ b/dist/src/tests/controllers/markMessageUnread.test.js @@ -75,14 +75,13 @@ function unreadMessages(t, index1, index2, index3) { yield (0, msg_1.readMessages)(node1, tribe); // Mark messaages as read here const tribeMessages1 = yield (0, msg_1.getTribeMessages)(t, node1, tribe); - t.true(tribeMessages1[0].seen === 1, 'last message should be read'); - console.log(tribeMessages1.length); + t.true(tribeMessages1[0].chat.seen === 1, 'last message should be read'); // check that we have less message // mark messages as unread yield (0, msg_1.markUnread)(node1, tribe); // check that we have more messages now const tribeMessages2 = yield (0, msg_1.getTribeMessages)(t, node1, tribe); - t.true(tribeMessages2[0].seen == 0, 'last message should be unread'); + t.true(tribeMessages2[0].chat.seen === 0, 'last message should be unread'); //NODE2 LEAVES TRIBE let left2 = yield (0, del_1.leaveTribe)(t, node2, tribe); t.true(left2, 'node2 should leave tribe'); diff --git a/dist/src/tests/controllers/markMessageUnread.test.js.map b/dist/src/tests/controllers/markMessageUnread.test.js.map index 2d4f3019..c815bfda 100644 --- a/dist/src/tests/controllers/markMessageUnread.test.js.map +++ b/dist/src/tests/controllers/markMessageUnread.test.js.map @@ -1 +1 @@ -{"version":3,"file":"markMessageUnread.test.js","sourceRoot":"","sources":["../../../../src/tests/controllers/markMessageUnread.test.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6BAAsB;AACtB,8CAA6C;AAC7C,sCAAsD;AACtD,wCAAsD;AACtD,sCAKqB;AACrB,oCAA4B;AAE5B;;EAEE;AAEF,IAAA,aAAI,EAAC,6JAA6J,EAAE,CAAO,CAAC,EAAE,EAAE;IAC9K,MAAM,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;AAClC,CAAC,CAAA,CAA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C,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,EAAE,+BAA+B,CAAC,CAAA;QAEpE,oBAAoB;QACpB,IAAI,KAAK,GAAG,MAAM,IAAA,gBAAU,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAC7C,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,0BAA0B,CAAC,CAAA;QAEzC,oBAAoB;QACpB,IAAI,KAAK,GAAG,MAAM,IAAA,gBAAU,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAC7C,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,0BAA0B,CAAC,CAAA;QAEzC,qBAAqB;QACrB,IAAI,SAAS,GAAG,MAAM,IAAA,iBAAW,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAClD,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,2BAA2B,CAAC,CAAA;IAChD,CAAC;CAAA;AA5ID,wCA4IC"} \ No newline at end of file +{"version":3,"file":"markMessageUnread.test.js","sourceRoot":"","sources":["../../../../src/tests/controllers/markMessageUnread.test.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6BAAsB;AACtB,8CAA6C;AAC7C,sCAAsD;AACtD,wCAAsD;AACtD,sCAKqB;AACrB,oCAA4B;AAE5B;;EAEE;AAEF,IAAA,aAAI,EAAC,6JAA6J,EAAE,CAAO,CAAC,EAAE,EAAE;IAC9K,MAAM,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAA;AAClC,CAAC,CAAA,CAAC,CAAA;AAEF,SAAsB,cAAc,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;;QAC5D,2CAA2C;QAC3C,IAAI,KAAK,GAAG,eAAK,CAAC,MAAM,CAAC,CAAA;QACzB,IAAI,KAAK,GAAG,eAAK,CAAC,MAAM,CAAC,CAAA;QACzB,IAAI,KAA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AAA;QAEzC,oBAAoB;QACpB,IAAI,KAAK,GAAG,MAAM,IAAA,gBAAU,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAC7C,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,0BAA0B,CAAC,CAAA;QAEzC,qBAAqB;QACrB,IAAI,SAAS,GAAG,MAAM,IAAA,iBAAW,EAAC,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;QAClD,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,2BAA2B,CAAC,CAAA;IAChD,CAAC;CAAA;AA3ID,wCA2IC"} \ No newline at end of file From 70be899cbeb840c0ae8ed21cce8460c6850260f2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 22:12:50 +0000 Subject: [PATCH 052/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 72c4a749a8bf5e9600e8a8760a7494b1279b5787 Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Fri, 1 Dec 2023 09:29:28 -0800 Subject: [PATCH 053/117] rate limit all --- dist/src/controllers/index.js | 10 +++++----- dist/src/controllers/index.js.map | 2 +- dist/src/tests/configs/b64-images.js | 10 ---------- dist/src/tests/configs/b64-images.js.map | 1 - src/controllers/index.ts | 11 ++++++----- 5 files changed, 12 insertions(+), 22 deletions(-) delete mode 100644 dist/src/tests/configs/b64-images.js delete mode 100644 dist/src/tests/configs/b64-images.js.map diff --git a/dist/src/controllers/index.js b/dist/src/controllers/index.js index 77689df3..af96bba1 100644 --- a/dist/src/controllers/index.js +++ b/dist/src/controllers/index.js @@ -63,6 +63,8 @@ function set(app) { // media.cycleMediaToken() timers.reloadTimers(); // queries.startWatchingUTXOs(); + // rate limit these routes: + app.use(limiter); app.get('/chats', chats.getChats); app.post('/group', chats.createGroupChat); app.put('/chats/:id', chats.updateChat); @@ -89,8 +91,6 @@ function set(app) { app.delete('/contacts/:id', contacts.deleteContact); app.get('/latest_contacts', contacts.getLatestContacts); app.post('/generate_external', contacts.generateOwnerWithExternalSigner); - app.post('/hmac_key', contacts.registerHmacKey); - app.get('/hmac_key', contacts.getHmacKey); app.get('/contact/:contact_id', contacts.getContactById); app.post('/profile', personal.createPeopleProfile); app.delete('/profile', personal.deletePersonProfile); @@ -108,7 +108,6 @@ function set(app) { app.get('/badge_per_tribe/:chat_id', personal.getBadgePerTribe); app.post('/remove_badge', personal.removeBadgeFromTribe); app.put('/reissue_badge', personal.reissueBadge); - app.get('/msgs', messages.getMsgs); app.get('/allmessages', messages.getAllMessages); app.get('/messages', messages.getMessages); app.delete('/message/:id', messages.deleteMessage); @@ -203,8 +202,9 @@ function set(app) { app.delete('/default_tribe/:id', auth_1.proxyAdminMiddleware, admin.removeDefaultJoinTribe); app.get('/tribes', auth_1.proxyAdminMiddleware, admin.listTribes); app.get('/admin_balance', auth_1.proxyAdminMiddleware, admin.adminBalance); - // rate limit these routes: - app.use(limiter); + app.get('/msgs', messages.getMsgs); + app.post('/hmac_key', contacts.registerHmacKey); + app.get('/hmac_key', contacts.getHmacKey); app.post('/messages', messages.sendMessage); app.post('/contacts/:id/keys', contacts.exchangeKeys); app.post('/contacts', contacts.createContact); diff --git a/dist/src/controllers/index.js.map b/dist/src/controllers/index.js.map index 0ebaf3b0..522ef865 100644 --- a/dist/src/controllers/index.js.map +++ b/dist/src/controllers/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAA0C;AAC1C,sCAA2C;AAC3C,kCAAuD;AACvD,4CAA2C;AAC3C,0CAAyC;AACzC,0CAAyC;AACzC,4CAAoC;AACpC,sCAAsC;AAEtC,kEAAoF;AACpF,iCAAgC;AAChC,2CAA0C;AAC1C,+BAA8B;AAC9B,qCAAoC;AACpC,uCAAsC;AACtC,qCAAoC;AACpC,uCAAsC;AACtC,iCAAgC;AAChC,uCAAsC;AACtC,sCAAqC;AACrC,gDAA+C;AAC/C,qCAAoC;AACpC,iDAAgD;AAChD,oCAAmC;AACnC,qCAAoC;AACpC,iCAAgC;AAChC,+BAA8B;AAC9B,+BAA8B;AAC9B,2CAA0C;AAC1C,iCAAgC;AAChC,0CAAyC;AACzC,oCAAmC;AACnC,yDAAwD;AAExD,MAAM,OAAO,GAAG,IAAA,4BAAS,EAAC;IACxB,QAAQ,EAAE,IAAI;IACd,GAAG,EAAE,CAAC;IACN,eAAe,EAAE,IAAI;IACrB,aAAa,EAAE,KAAK,EAAE,sCAAsC;CAC7D,CAAC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aAAa,CAAC,gBAAgB;IACpD,CAAC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,aAAa,CAAC,4BAA4B;IAC7E,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,YAAY;IACvC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,YAAY;IACtC,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,oBAAoB;IACvD,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,WAAW;CACtC,CAAA"} \ No newline at end of file diff --git a/dist/src/tests/configs/b64-images.js b/dist/src/tests/configs/b64-images.js deleted file mode 100644 index c973c090..00000000 --- a/dist/src/tests/configs/b64-images.js +++ /dev/null @@ -1,10 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.blueSquare = exports.greenSquare = exports.pinkSquare = void 0; -let pinkSquare = '/9j/4AAQSkZJRgABAQAASABIAAD/4QBARXhpZgAATU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAACqADAAQAAAABAAAACgAAAAD/7QA4UGhvdG9zaG9wIDMuMAA4QklNBAQAAAAAAAA4QklNBCUAAAAAABDUHYzZjwCyBOmACZjs+EJ+/+IH2ElDQ19QUk9GSUxFAAEBAAAHyGFwcGwCIAAAbW50clJHQiBYWVogB9kAAgAZAAsAGgALYWNzcEFQUEwAAAAAYXBwbAAAAAAAAAAAAAAAAAAAAAAAAPbWAAEAAAAA0y1hcHBsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALZGVzYwAAAQgAAABvZHNjbQAAAXgAAAWKY3BydAAABwQAAAA4d3RwdAAABzwAAAAUclhZWgAAB1AAAAAUZ1hZWgAAB2QAAAAUYlhZWgAAB3gAAAAUclRSQwAAB4wAAAAOY2hhZAAAB5wAAAAsYlRSQwAAB4wAAAAOZ1RSQwAAB4wAA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AKxzAAAXNFhZWiAAAAAAAAAoGgAAFZ8AALg2Y3VydgAAAAAAAAABAc0AAHNmMzIAAAAAAAEMQgAABd7///MmAAAHkgAA/ZH///ui///9owAAA9wAAMBs/8AAEQgACgAKAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEBAQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXETIjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/bAEMAHBwcHBwcMBwcMEQwMDBEXERERERcdFxcXFxcdIx0dHR0dHSMjIyMjIyMjKioqKioqMTExMTE3Nzc3Nzc3Nzc3P/bAEMBIiQkODQ4YDQ0YOacgJzm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5v/dAAQAAf/aAAwDAQACEQMRAD8Aiooor0zzz//Z'; -exports.blueSquare = blueSquare; -//# sourceMappingURL=b64-images.js.map \ No newline at end of file diff --git a/dist/src/tests/configs/b64-images.js.map b/dist/src/tests/configs/b64-images.js.map deleted file mode 100644 index 0b10fde6..00000000 --- a/dist/src/tests/configs/b64-images.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"b64-images.js","sourceRoot":"","sources":["../../../../src/tests/configs/b64-images.js"],"names":[],"mappings":";;;AAAA,IAAI,UAAU,GACZ,knHAAknH,CAAA;AAM3mH,gCAAU;AALnB,IAAI,WAAW,GACb,snHAAsnH,CAAA;AAInmH,kCAAW;AAHhC,IAAI,UAAU,GACZ,knHAAknH,CAAA;AAEllH,gCAAU"} \ No newline at end of file diff --git a/src/controllers/index.ts b/src/controllers/index.ts index 1d6ebe7d..b311ac04 100644 --- a/src/controllers/index.ts +++ b/src/controllers/index.ts @@ -60,6 +60,9 @@ export async function set(app) { // queries.startWatchingUTXOs(); + // rate limit these routes: + app.use(limiter) + app.get('/chats', chats.getChats) app.post('/group', chats.createGroupChat) app.put('/chats/:id', chats.updateChat) @@ -92,8 +95,6 @@ export async function set(app) { app.delete('/contacts/:id', contacts.deleteContact) app.get('/latest_contacts', contacts.getLatestContacts) app.post('/generate_external', contacts.generateOwnerWithExternalSigner) - app.post('/hmac_key', contacts.registerHmacKey) - app.get('/hmac_key', contacts.getHmacKey) app.get('/contact/:contact_id', contacts.getContactById) app.post('/profile', personal.createPeopleProfile) @@ -113,7 +114,6 @@ export async function set(app) { app.post('/remove_badge', personal.removeBadgeFromTribe) app.put('/reissue_badge', personal.reissueBadge) - app.get('/msgs', messages.getMsgs) app.get('/allmessages', messages.getAllMessages) app.get('/messages', messages.getMessages) app.delete('/message/:id', messages.deleteMessage) @@ -233,8 +233,9 @@ export async function set(app) { app.get('/tribes', pamid, admin.listTribes) app.get('/admin_balance', pamid, admin.adminBalance) - // rate limit these routes: - app.use(limiter) + app.get('/msgs', messages.getMsgs) + app.post('/hmac_key', contacts.registerHmacKey) + app.get('/hmac_key', contacts.getHmacKey) app.post('/messages', messages.sendMessage) From cc8d704a4bd7e2777deb55ef0e25d2c695724b16 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 17:30:43 +0000 Subject: [PATCH 054/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 8805e21b561745ff6a8b8a071cd09a94663e56a4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 17:31:14 +0000 Subject: [PATCH 055/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 6d4050aa33f2c0a41eab7a9a534e5028f9d98468 Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Fri, 1 Dec 2023 10:18:13 -0800 Subject: [PATCH 056/117] limit 10 per second --- dist/src/controllers/index.js | 2 +- dist/src/controllers/index.js.map | 2 +- src/controllers/index.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/src/controllers/index.js b/dist/src/controllers/index.js index af96bba1..54a3f605 100644 --- a/dist/src/controllers/index.js +++ b/dist/src/controllers/index.js @@ -44,7 +44,7 @@ const feeds = require("./getFeeds"); const contentFeedStatus = require("./contentFeedStatus"); const limiter = (0, express_rate_limit_1.default)({ windowMs: 1000, - max: 2, + max: 10, standardHeaders: true, legacyHeaders: false, // Disable the `X-RateLimit-*` headers }); diff --git a/dist/src/controllers/index.js.map b/dist/src/controllers/index.js.map index 522ef865..50bb2320 100644 --- a/dist/src/controllers/index.js.map +++ b/dist/src/controllers/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAA0C;AAC1C,sCAA2C;AAC3C,kCAAuD;AACvD,4CAA2C;AAC3C,0CAAyC;AACzC,0CAAyC;AACzC,4CAAoC;AACpC,sCAAsC;AAEtC,kEAAoF;AACpF,iCAAgC;AAChC,2CAA0C;AAC1C,+BAA8B;AAC9B,qCAAoC;AACpC,uCAAsC;AACtC,qCAAoC;AACpC,uCAAsC;AACtC,iCAAgC;AAChC,uCAAsC;AACtC,sCAAqC;AACrC,gDAA+C;AAC/C,qCAAoC;AACpC,iDAAgD;AAChD,oCAAmC;AACnC,qCAAoC;AACpC,iCAAgC;AAChC,+BAA8B;AAC9B,+BAA8B;AAC9B,2CAA0C;AAC1C,iCAAgC;AAChC,0CAAyC;AACzC,oCAAmC;AACnC,yDAAwD;AAExD,MAAM,OAAO,GAAG,IAAA,4BAAS,EAAC;IACxB,QAAQ,EAAE,IAAI;IACd,GAAG,EAAE,CAAC;IACN,eAAe,EAAE,IAAI;IACrB,aAAa,EAAE,KAAK,EAAE,sCAAsC;CAC7D,CAAC,CAAA;AAEF,SAAsB,GAAG,CAAC,GAAG;;QAC3B,WAAW,CAAC,IAAI,EAAE,CAAA;QAElB,IAAI,eAAM,IAAI,eAAM,CAAC,YAAY,EAAE;YACjC,YAAY,CAAC,kBAAkB,EAAE,CAAA;SAClC;QAED,IAAI,eAAM,IAAI,eAAM,CAAC,aAAa,EAAE;YAClC,IAAA,mDAAmC,GAAE,CAAA;SACtC;QAED,IAAI,eAAM,IAAI,eAAM,CAAC,OAAO,EAAE;YAC5B,QAAQ,CAAC,+BAA+B,EAAE,CAAA;SAC3C;QAED,0BAA0B;QAE1B,MAAM,CAAC,YAAY,EAAE,CAAA;Q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D,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,UAAU,CAAC,kBAAkB;IACtD,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,iBAAiB;IAC9C,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,aAAa;IACtC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,aAAa;IACtC,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,gBAAgB;IACpD,CAAC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,aAAa,CAAC,4BAA4B;IAC7E,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,YAAY;IACvC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,YAAY;IACtC,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,oBAAoB;IACvD,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,WAAW;CACtC,CAAA"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAA0C;AAC1C,sCAA2C;AAC3C,kCAAuD;AACvD,4CAA2C;AAC3C,0CAAyC;AACzC,0CAAyC;AACzC,4CAAoC;AACpC,sCAAsC;AAEtC,kEAAoF;AACpF,iCAAgC;AAChC,2CAA0C;AAC1C,+BAA8B;AAC9B,qCAAoC;AACpC,uCAAsC;AACtC,qCAAoC;AACpC,uCAAsC;AACtC,iCAAgC;AAChC,uCAAsC;AACtC,sCAAqC;AACrC,gDAA+C;AAC/C,qCAAoC;AACpC,iDAAgD;AAChD,oCAAmC;AACnC,qCAAoC;AACpC,iCAAgC;AAChC,+BAA8B;AAC9B,+BAA8B;AAC9B,2CAA0C;AAC1C,iCAAgC;AAChC,0CAAyC;AACzC,oCAAmC;AACnC,yDAAwD;AAExD,MAAM,OAAO,GAAG,IA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ac04..cf8e24e1 100644 --- a/src/controllers/index.ts +++ b/src/controllers/index.ts @@ -34,7 +34,7 @@ import * as contentFeedStatus from './contentFeedStatus' const limiter = rateLimit({ windowMs: 1000, // 1 second - max: 2, // Limit each IP to 2 requests per `window` (here, per 1 second) + max: 10, // Limit each IP to 2 requests per `window` (here, per 1 second) standardHeaders: true, // Return rate limit info in the `RateLimit-*` headers legacyHeaders: false, // Disable the `X-RateLimit-*` headers }) From 4297586fa99baa8cfbc04b416e5c135b2ffe20bd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 18:19:50 +0000 Subject: [PATCH 057/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 75400e5949043d15e4a98225feeac1c3d97ebbd1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 1 Dec 2023 18:20:20 +0000 Subject: [PATCH 058/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From b14b3c81e2725b84db4a2942f89a368c8894631d Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Fri, 8 Dec 2023 09:47:41 -0800 Subject: [PATCH 059/117] move rate limiter to top level --- app.ts | 11 +++++++++++ dist/app.js | 9 +++++++++ dist/app.js.map | 2 +- dist/src/controllers/index.js | 9 --------- dist/src/controllers/index.js.map | 2 +- src/controllers/index.ts | 11 ----------- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/app.ts b/app.ts index b7525cea..3b053576 100644 --- a/app.ts +++ b/app.ts @@ -25,6 +25,7 @@ import * as cert from './src/utils/cert' import { loadConfig } from './src/utils/config' import { Req } from './src/types' import { leadershipBoardInterval } from './src/utils/leadershipboard' +import rateLimit from 'express-rate-limit' // force UTC time process.env.TZ = 'UTC' @@ -78,6 +79,13 @@ async function finishSetup() { setupDone() } +const limiter = rateLimit({ + windowMs: 1000, // 1 second + max: 10, // Limit each IP to 2 requests per `window` (here, per 1 second) + standardHeaders: true, // Return rate limit info in the `RateLimit-*` headers + legacyHeaders: false, // Disable the `X-RateLimit-*` headers +}) + // function setupApp() { return new Promise(async (resolve) => { @@ -90,6 +98,9 @@ function setupApp() { } } + // rate limit these routes: + app.use(limiter) + app.use(helmet()) app.use( express.json({ diff --git a/dist/app.js b/dist/app.js index d1d29abb..62ad835a 100644 --- a/dist/app.js +++ b/dist/app.js @@ -28,6 +28,7 @@ const grpc = require("./src/grpc/subscribe"); const cert = require("./src/utils/cert"); const config_1 = require("./src/utils/config"); const leadershipboard_1 = require("./src/utils/leadershipboard"); +const express_rate_limit_1 = require("express-rate-limit"); // force UTC time process.env.TZ = 'UTC'; const env = process.env.NODE_ENV || 'development'; @@ -81,6 +82,12 @@ function finishSetup() { (0, setup_1.setupDone)(); }); } +const limiter = (0, express_rate_limit_1.default)({ + windowMs: 1000, + max: 10, + standardHeaders: true, + legacyHeaders: false, // Disable the `X-RateLimit-*` headers +}); // function setupApp() { return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () { @@ -91,6 +98,8 @@ function setupApp() { app.set('trust proxy', rate_limit_trust_proxy); } } + // rate limit these routes: + app.use(limiter); app.use(helmet()); app.use(express.json({ limit: '5MB', diff --git a/dist/app.js.map b/dist/app.js.map index b67cb246..0c68cc9a 100644 --- a/dist/app.js.map +++ b/dist/app.js.map @@ -1 +1 @@ -{"version":3,"file":"app.js","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,mCAAkC;AAClC,iCAAgC;AAChC,8CAA6C;AAC7C,6BAA4B;AAC5B,+BAA8B;AAC9B,6BAA4B;AAC5B,+CAAkE;AAClE,mCAAoE;AACpE,6CAAoD;AACpD,6CAO0B;AAC1B,iDAAgD;AAChD,+CAA8C;AAC9C,6CAA4C;AAC5C,yCAAwC;AACxC,qCAAsE;AACtE,6CAA4C;AAC5C,yCAAwC;AACxC,+CAA+C;AAE/C,iEAAqE;AAErE,iBAAiB;AACjB,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,KAAK,CAAA;AAEtB,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI,aAAa,CAAA;AACjD,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAC3B,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,MAAM,CAAC,cAAc,IAAI,IAAI,CAAA;AAE9D,qBAAY,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAA;AAClC,0CAA0C;AAE1C,OAAO,CAAC,GAAG,CAAC,sBAAsB;IAChC,yNAAyN,CAAA;AAC3N,OAAO,CAAC,GAAG,CAAC,mBAAmB,GAAG,MAAM,CAAC,YAAY,CAAA;AAErD,eAAe;AACf,SAAe,KAAK;;QAClB,MAAM,IAAA,qBAAa,GAAE,CAAA;QACrB,SAAS,EAAE,CAAA;QACX,gDAAgD;QAChD,IAAI,MAAM,CAAC,WAAW,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE;YACxC,IAAA,qBAAe,EAAC,KAAK,CAAC,CAAA;YACtB,IAAA,wBAAgB,EAAC,KAAK,CAAC,CAAA;SACxB;IACH,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AC,GAAG,CAAC,CAAA;YACpB,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;YACtB,OAAO,CAAC,GAAG,CAAC,CAAA;SACb;aAAM;YACL,GAAG,CAAC,IAAI,CAAC,SAAS,EAAE,UAAgB,GAAQ,EAAE,GAAG;;oBAC/C,MAAM,EAAE,GAAG,MAAM,IAAA,eAAQ,EAAC,GAAG,EAAE,GAAG,CAAC,CAAA;oBACnC,IAAI,EAAE,EAAE;wBACN,qBAAY,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAA;wBACvC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;wBACpB,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;wBACtB,OAAO,CAAC,GAAG,CAAC,CAAA;qBACb;gBACH,CAAC;aAAA,CAAC,CAAA;SACH;IACH,CAAC,CAAA,CAAC,CAAA;AACJ,CAAC"} \ No newline at end of file diff --git a/dist/src/controllers/index.js b/dist/src/controllers/index.js index 54a3f605..8fb58a6b 100644 --- a/dist/src/controllers/index.js +++ b/dist/src/controllers/index.js @@ -10,7 +10,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", { value: true }); exports.ACTIONS = exports.set = void 0; -const express_rate_limit_1 = require("express-rate-limit"); const models_1 = require("../models"); const auth_1 = require("../auth"); const gitinfo = require("../utils/gitinfo"); @@ -42,12 +41,6 @@ const lsats = require("./lsats"); const action = require("./actionHistory"); const feeds = require("./getFeeds"); const contentFeedStatus = require("./contentFeedStatus"); -const limiter = (0, express_rate_limit_1.default)({ - windowMs: 1000, - max: 10, - standardHeaders: true, - legacyHeaders: false, // Disable the `X-RateLimit-*` headers -}); function set(app) { return __awaiter(this, void 0, void 0, function* () { builtInBots.init(); @@ -63,8 +56,6 @@ function set(app) { // media.cycleMediaToken() timers.reloadTimers(); // queries.startWatchingUTXOs(); - // rate limit these routes: - app.use(limiter); app.get('/chats', chats.getChats); app.post('/group', chats.createGroupChat); app.put('/chats/:id', chats.updateChat); diff --git a/dist/src/controllers/index.js.map b/dist/src/controllers/index.js.map index 50bb2320..2d73c787 100644 --- a/dist/src/controllers/index.js.map +++ b/dist/src/controllers/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAA0C;AAC1C,sCAA2C;AAC3C,kCAAuD;AACvD,4CAA2C;AAC3C,0CAAyC;AACzC,0CAAyC;AACzC,4CAAoC;AACpC,sCAAsC;AAEtC,kEAAoF;AACpF,iCAAgC;AAChC,2CAA0C;AAC1C,+BAA8B;AAC9B,qCAAoC;AACpC,uCAAsC;AACtC,qCAAoC;AACpC,uCAAsC;AACtC,iCAAgC;AAChC,uCAAsC;AACtC,sCAAqC;AACrC,gDAA+C;AAC/C,qCAAoC;AACpC,iDAAgD;AAChD,oCAAmC;AACnC,qCAAoC;AACpC,iCAAgC;AAChC,+BAA8B;AAC9B,+BAA8B;AAC9B,2CAA0C;AAC1C,iCAAgC;AAChC,0CAAyC;AACzC,oCAAmC;AACnC,yDAAwD;AAExD,MAAM,OAAO,GAAG,IAAA,4BAAS,EAAC;IACxB,QAAQ,EAAE,IAAI;IACd,GAAG,EAAE,EAAE;IACP,eAAe,EAAE,IAAI;IACrB,aAAa,EAAE,KAAK,EAAE,sCAAsC;CAC7D,CAAC,CAAA;AAEF,SAAsB,GAAG,CAAC,GAAG;;QAC3B,WAAW,CAAC,IAAI,EAAE,CAAA;QAElB,IAAI,eAAM,IAAI,eAAM,CAAC,YAAY,EAAE;YACjC,YAAY,CAAC,kBAAkB,EAAE,CAAA;SAClC;QAED,IAAI,eAAM,IAAI,eAAM,CAAC,aAAa,EAAE;YAClC,IAAA,mDAAmC,GAAE,CAAA;SACtC;QAED,IAAI,eAAM,IAAI,eAAM,CAAC,OAAO,EAAE;YAC5B,QAAQ,CAAC,+BAA+B,EAAE,CAAA;SAC3C;QAED,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AAC,aAAa,CAAC,EAAE,UAAU,CAAC,mBAAmB;IACxD,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,UAAU,CAAC,kBAAkB;IACtD,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,iBAAiB;IAC9C,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,aAAa;IACtC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,aAAa;IACtC,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,gBAAgB;IACpD,CAAC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,aAAa,CAAC,4BAA4B;IAC7E,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,YAAY;IACvC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,YAAY;IACtC,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,oBAAoB;IACvD,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,WAAW;CACtC,CAAA"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCAA2C;AAC3C,kCAAuD;AACvD,4CAA2C;AAC3C,0CAAyC;AACzC,0CAAyC;AACzC,4CAAoC;AACpC,sCAAsC;AAEtC,kEAAoF;AACpF,iCAAgC;AAChC,2CAA0C;AAC1C,+BAA8B;AAC9B,qCAAoC;AACpC,uCAAsC;AACtC,qCAAoC;AACpC,uCAAsC;AACtC,iCAAgC;AAChC,uCAAsC;AACtC,sCAAqC;AACrC,gDAA+C;AAC/C,qCAAoC;AACpC,iDAAgD;AAChD,oCAAmC;AACnC,qCAAoC;AACpC,iCAAgC;AAChC,+BAA8B;AAC9B,+BAA8B;AAC9B,2CAA0C;AAC1C,iCAAgC;AAChC,0CAAyC;AACzC,oCAAmC;AACnC,yDA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AgB;IAC7C,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,QAAQ,CAAC,oBAAoB;IAChD,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAC,gBAAgB;IAC/C,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,oBAAoB;IAC1D,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,oBAAoB;IAC1D,CAAC,QAAQ,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,mBAAmB;IACxD,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,UAAU,CAAC,kBAAkB;IACtD,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,iBAAiB;IAC9C,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,aAAa;IACtC,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,aAAa;IACtC,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC,gBAAgB;IACpD,CAAC,QAAQ,CAAC,sBAAsB,CAAC,EAAE,aAAa,CAAC,4BAA4B;IAC7E,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,QAAQ,CAAC,YAAY;IACvC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,YAAY;IACtC,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,oBAAoB;IACvD,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,QAAQ,CAAC,WAAW;CACtC,CAAA"} \ No newline at end of file diff --git a/src/controllers/index.ts b/src/controllers/index.ts index cf8e24e1..5f263cb6 100644 --- a/src/controllers/index.ts +++ b/src/controllers/index.ts @@ -1,4 +1,3 @@ -import rateLimit from 'express-rate-limit' import { models, Message } from '../models' import { proxyAdminMiddleware as pamid } from '../auth' import * as gitinfo from '../utils/gitinfo' @@ -32,13 +31,6 @@ import * as action from './actionHistory' import * as feeds from './getFeeds' import * as contentFeedStatus from './contentFeedStatus' -const limiter = rateLimit({ - windowMs: 1000, // 1 second - max: 10, // Limit each IP to 2 requests per `window` (here, per 1 second) - standardHeaders: true, // Return rate limit info in the `RateLimit-*` headers - legacyHeaders: false, // Disable the `X-RateLimit-*` headers -}) - export async function set(app) { builtInBots.init() @@ -60,9 +52,6 @@ export async function set(app) { // queries.startWatchingUTXOs(); - // rate limit these routes: - app.use(limiter) - app.get('/chats', chats.getChats) app.post('/group', chats.createGroupChat) app.put('/chats/:id', chats.updateChat) From 14041b6a7b32146c33531ea9be3a5dd11eebe1b0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 8 Dec 2023 17:49:07 +0000 Subject: [PATCH 060/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 031dd7d311d9e1e7fe1e06b6d3df10ed78f4cd1d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 8 Dec 2023 17:49:37 +0000 Subject: [PATCH 061/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 8da979190c8afa0dcaac1b5ac735a9314b051483 Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Fri, 8 Dec 2023 10:03:02 -0800 Subject: [PATCH 062/117] move limiter to after logger --- app.ts | 6 +++--- dist/app.js | 3 +-- dist/app.js.map | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app.ts b/app.ts index 3b053576..eea79599 100644 --- a/app.ts +++ b/app.ts @@ -98,9 +98,6 @@ function setupApp() { } } - // rate limit these routes: - app.use(limiter) - app.use(helmet()) app.use( express.json({ @@ -114,6 +111,9 @@ function setupApp() { if (logging.Express) { app.use(logger) } + + app.use(limiter) + app.use( cors({ allowedHeaders: [ diff --git a/dist/app.js b/dist/app.js index 62ad835a..f5956730 100644 --- a/dist/app.js +++ b/dist/app.js @@ -98,8 +98,6 @@ function setupApp() { app.set('trust proxy', rate_limit_trust_proxy); } } - // rate limit these routes: - app.use(limiter); app.use(helmet()); app.use(express.json({ limit: '5MB', @@ -112,6 +110,7 @@ function setupApp() { if (logger_1.logging.Express) { app.use(logger_1.default); } + app.use(limiter); app.use(cors({ allowedHeaders: [ 'X-Requested-With', diff --git a/dist/app.js.map b/dist/app.js.map index 0c68cc9a..98c42ca8 100644 --- a/dist/app.js.map +++ b/dist/app.js.map @@ -1 +1 @@ -{"version":3,"file":"app.js","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,mCAAkC;AAClC,iCAAgC;AAChC,8CAA6C;AAC7C,6BAA4B;AAC5B,+BAA8B;AAC9B,6BAA4B;AAC5B,+CAAkE;AAClE,mCAAoE;AACpE,6CAAoD;AACpD,6CAO0B;AAC1B,iDAAgD;AAChD,+CAA8C;AAC9C,6CAA4C;AAC5C,yCAAwC;AACxC,qCAAsE;AACtE,6CAA4C;AAC5C,yCAAwC;AACxC,+CAA+C;AAE/C,iEAAqE;AACrE,2DAA0C;AAE1C,iBAAiB;AACjB,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,KAAK,CAAA;AAEtB,MAAM,GAAG,GAAG,OAAO,CAAC,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,CAAA;wBACvC,WAAW,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;wBACpB,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;wBACtB,OAAO,CAAC,GAAG,CAAC,CAAA;qBACb;gBACH,CAAC;aAAA,CAAC,CAAA;SACH;IACH,CAAC,CAAA,CAAC,CAAA;AACJ,CAAC"} \ No newline at end of file From 7c5a97a92a9ecbf2b91c2277c35357bfb9743fbb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 8 Dec 2023 18:04:39 +0000 Subject: [PATCH 063/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From ca64cfa5c3705010b75aeb912a00936172a5f4e5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 8 Dec 2023 18:05:11 +0000 Subject: [PATCH 064/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 63795be8578da007c71698fe1754180de2427bb0 Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Thu, 14 Dec 2023 10:11:39 -0800 Subject: [PATCH 065/117] test clear can be hit without the config --- dist/src/controllers/details.js | 6 ------ dist/src/controllers/details.js.map | 2 +- src/controllers/details.ts | 7 ------- 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/dist/src/controllers/details.js b/dist/src/controllers/details.js index bec54ef1..ffa1d81e 100644 --- a/dist/src/controllers/details.js +++ b/dist/src/controllers/details.js @@ -243,12 +243,6 @@ function clearForTesting(req, res) { if (!req.owner) return (0, res_1.failure)(res, 'no owner'); const tenant = req.owner.id; - if (!config.allow_test_clearing) { - return (0, res_1.failure)(res, 'nope'); - } - if (config.allow_test_clearing !== 'true') { - return (0, res_1.failure)(res, 'nope'); - } try { yield models_1.models.Chat.destroy({ truncate: true, where: { tenant } }); yield models_1.models.Subscription.destroy({ truncate: true, where: { tenant } }); diff --git a/dist/src/controllers/details.js.map b/dist/src/controllers/details.js.map index 2ba0c539..057f15e3 100644 --- a/dist/src/controllers/details.js.map +++ b/dist/src/controllers/details.js.map @@ -1 +1 @@ -{"version":3,"file":"details.js","sourceRoot":"","sources":["../../../src/controllers/details.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,yCAA8B;AAC9B,+CAA8C;AAC9C,sCAA+C;AAC/C,gDAA4C;AAC5C,4CAAoC;AACpC,sCAAiD;AACjD,4CAA4C;AAC5C,gCAA8C;AAC9C,4CAA8C;AAG9C,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B,MAAM,OAAO,GAAG,CAAC,CAAA;AACjB,SAAsB,eAAe,CAAC,GAAQ,EAAE,GAAG;;QACjD,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAA;IACpC,CAAC;CAAA;AAFD,0CAEC;AAED,SAAsB,cAAc,CAAC,GAAQ,EAAE,GAAG;;QAChD,MAAM,EAAE,GAAG,MAAM,IAAA,2BAAqB,GAAE,CAAA;QACxC,IAAI,EAAE,EAAE;YACN,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,CAAC,CAAA;SACjB;aAAM;YACL,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C,qBAAqB,CAAC,QAAQ,CAAC,CAAA;QAC/C,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,sBAAsB,CAAC,CAAA;KAC5C;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;KAC3B;AACH,CAAC,CAAA,CAAA;AATY,QAAA,mBAAmB,uBAS/B"} \ No newline at end of file +{"version":3,"file":"details.js","sourceRoot":"","sources":["../../../src/controllers/details.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,yCAA8B;AAC9B,+CAA8C;AAC9C,sCAA+C;AAC/C,gDAA4C;AAC5C,4CAAoC;AACpC,sCAAiD;AACjD,4CAA4C;AAC5C,gCAA8C;AAC9C,4CAA8C;AAG9C,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B,MAAM,OAAO,GAAG,CAAC,CAAA;AACjB,SAAsB,eAAe,CAAC,GAAQ,EAAE,GAAG;;QACjD,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAA;IACpC,CAAC;CAAA;AAFD,0CAEC;AAED,SAAsB,cAAc,CAAC,GAAQ,EAAE,GAAG;;QAChD,MAAM,EAAE,GAAG,MAAM,IAAA,2BAAqB,GAAE,CAAA;QACxC,IAAI,EAAE,EAAE;YACN,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,CAAC,CAAA;SACjB;aAAM;YACL,IAAA,aAAO,EAAC,GAAG,EAAE,6BAA6B,CAAC,CAAA;SAC5C;IACH,CAAC;CAAA;AAPD,wCAOC;AAEM,MAAM,UAAU,GAAG,CAAO,GAAQ,EAAE,GAAG,EAAE,EAAE;IAChD,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAE/C,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAA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,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE;aACjC,CAAC,CAAY,CAAA;YACd,MAAM,EAAE,CAAC,MAAM,CAAC;gBACd,SAAS,EAAE,EAAE;gBACb,QAAQ,EAAE,EAAE;gBACZ,UAAU,EAAE,EAAE;gBACd,KAAK,EAAE,EAAE;gBACT,QAAQ,EAAE,EAAE;aACb,CAAC,CAAA;YACF,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAA;SAC9B;QAAC,OAAO,CAAC,EAAE;YACV,IAAA,aAAO,EAAC,GAAG,EAAE,CAAC,CAAC,CAAA;SAChB;IACH,CAAC;CAAA;AAnCD,0CAmCC;AAEM,MAAM,mBAAmB,GAAG,CAAO,GAAQ,EAAE,GAAG,EAAE,EAAE;IACzD,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAC/C,IAAI;QACF,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,IAAI,CAAA;QAC7B,MAAM,SAAS,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAA;QAC/C,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,sBAAsB,CAAC,CAAA;KAC5C;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;KAC3B;AACH,CAAC,CAAA,CAAA;AATY,QAAA,mBAAmB,uBAS/B"} \ No newline at end of file diff --git a/src/controllers/details.ts b/src/controllers/details.ts index d3856c44..e8c2c124 100644 --- a/src/controllers/details.ts +++ b/src/controllers/details.ts @@ -225,13 +225,6 @@ export async function clearForTesting(req: Req, res) { if (!req.owner) return failure(res, 'no owner') const tenant: number = req.owner.id - if (!config.allow_test_clearing) { - return failure(res, 'nope') - } - if (config.allow_test_clearing !== 'true') { - return failure(res, 'nope') - } - try { await models.Chat.destroy({ truncate: true, where: { tenant } }) await models.Subscription.destroy({ truncate: true, where: { tenant } }) From a5f85a9424356050d5429ec1cda7df91373a195f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 18:13:07 +0000 Subject: [PATCH 066/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 7dcd835334bcecbdc9ab089a6b56b7dfecece505 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 18:13:38 +0000 Subject: [PATCH 067/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 8cfcb67d995e89d9b5c99bdf2a7a13d4c9d620d8 Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Thu, 14 Dec 2023 10:34:09 -0800 Subject: [PATCH 068/117] make sure tenant exists before deleting --- dist/src/controllers/details.js | 2 ++ dist/src/controllers/details.js.map | 2 +- src/controllers/details.ts | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/src/controllers/details.js b/dist/src/controllers/details.js index ffa1d81e..af6b9292 100644 --- a/dist/src/controllers/details.js +++ b/dist/src/controllers/details.js @@ -243,6 +243,8 @@ function clearForTesting(req, res) { if (!req.owner) return (0, res_1.failure)(res, 'no owner'); const tenant = req.owner.id; + if (!tenant) + return (0, res_1.failure)(res, 'no tenant'); try { yield models_1.models.Chat.destroy({ truncate: true, where: { tenant } }); yield models_1.models.Subscription.destroy({ truncate: true, where: { tenant } }); diff --git a/dist/src/controllers/details.js.map b/dist/src/controllers/details.js.map index 057f15e3..7574148c 100644 --- a/dist/src/controllers/details.js.map +++ b/dist/src/controllers/details.js.map @@ -1 +1 @@ -{"version":3,"file":"details.js","sourceRoot":"","sources":["../../../src/controllers/details.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,yCAA8B;AAC9B,+CAA8C;AAC9C,sCAA+C;AAC/C,gDAA4C;AAC5C,4CAAoC;AACpC,sCAAiD;AACjD,4CAA4C;AAC5C,gCAA8C;AAC9C,4CAA8C;AAG9C,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B,MAAM,OAAO,GAAG,CAAC,CAAA;AACjB,SAAsB,eAAe,CAAC,GAAQ,EAAE,GAAG;;QACjD,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAA;IACpC,CAAC;CAAA;AAFD,0CAEC;AAED,SAAsB,cAAc,CAAC,GAAQ,EAAE,GAAG;;QAChD,MAAM,EAAE,GAAG,MAAM,IAAA,2BAAqB,GAAE,CAAA;QACxC,IAAI,EAAE,EAAE;YACN,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,CAAC,CAAA;SACjB;aAAM;YACL,IAAA,aAAO,EAAC,GAAG,EAAE,6BAA6B,CAAC,CAAA;SAC5C;IACH,CAAC;CAAA;AAPD,wCAOC;AAEM,MAAM,UAAU,GAAG,CAAO,GAAQ,EAAE,GAAG,EAAE,EAAE;IAChD,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAE/C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AAM,CAAC,OAAO,CAAC,OAAO,CAAC;gBAChD,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE;aACjC,CAAC,CAAY,CAAA;YACd,MAAM,EAAE,CAAC,MAAM,CAAC;gBACd,SAAS,EAAE,EAAE;gBACb,QAAQ,EAAE,EAAE;gBACZ,UAAU,EAAE,EAAE;gBACd,KAAK,EAAE,EAAE;gBACT,QAAQ,EAAE,EAAE;aACb,CAAC,CAAA;YACF,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAA;SAC9B;QAAC,OAAO,CAAC,EAAE;YACV,IAAA,aAAO,EAAC,GAAG,EAAE,CAAC,CAAC,CAAA;SAChB;IACH,CAAC;CAAA;AAnCD,0CAmCC;AAEM,MAAM,mBAAmB,GAAG,CAAO,GAAQ,EAAE,GAAG,EAAE,EAAE;IACzD,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAC/C,IAAI;QACF,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,IAAI,CAAA;QAC7B,MAAM,SAAS,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAA;QAC/C,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,sBAAsB,CAAC,CAAA;KAC5C;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;KAC3B;AACH,CAAC,CAAA,CAAA;AATY,QAAA,mBAAmB,uBAS/B"} \ No newline at end of file +{"version":3,"file":"details.js","sourceRoot":"","sources":["../../../src/controllers/details.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,yCAA8B;AAC9B,+CAA8C;AAC9C,sCAA+C;AAC/C,gDAA4C;AAC5C,4CAAoC;AACpC,sCAAiD;AACjD,4CAA4C;AAC5C,gCAA8C;AAC9C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C,CAAA;SAChB;IACH,CAAC;CAAA;AAnCD,0CAmCC;AAEM,MAAM,mBAAmB,GAAG,CAAO,GAAQ,EAAE,GAAG,EAAE,EAAE;IACzD,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAC/C,IAAI;QACF,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,IAAI,CAAA;QAC7B,MAAM,SAAS,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAA;QAC/C,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,sBAAsB,CAAC,CAAA;KAC5C;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;KAC3B;AACH,CAAC,CAAA,CAAA;AATY,QAAA,mBAAmB,uBAS/B"} \ No newline at end of file diff --git a/src/controllers/details.ts b/src/controllers/details.ts index e8c2c124..078dcab5 100644 --- a/src/controllers/details.ts +++ b/src/controllers/details.ts @@ -224,7 +224,7 @@ async function asyncForEach(array, callback) { export async function clearForTesting(req: Req, res) { if (!req.owner) return failure(res, 'no owner') const tenant: number = req.owner.id - + if (!tenant) return failure(res, 'no tenant') try { await models.Chat.destroy({ truncate: true, where: { tenant } }) await models.Subscription.destroy({ truncate: true, where: { tenant } }) From fddadf30e3ff959411d331532c747b8e89f88905 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 18:35:54 +0000 Subject: [PATCH 069/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From d884d8059fd54f306a316fae62212c19b3352227 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 18:36:24 +0000 Subject: [PATCH 070/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 180b668537d4796e161173084ce48f4c7570ac4c Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Thu, 14 Dec 2023 12:21:43 -0800 Subject: [PATCH 071/117] fix destroy non owner contacts --- dist/src/controllers/details.js | 2 +- dist/src/controllers/details.js.map | 2 +- src/controllers/details.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/src/controllers/details.js b/dist/src/controllers/details.js index af6b9292..ed2f51ef 100644 --- a/dist/src/controllers/details.js +++ b/dist/src/controllers/details.js @@ -258,7 +258,7 @@ function clearForTesting(req, res) { yield models_1.models.Timer.destroy({ truncate: true, where: { tenant } }); yield models_1.models.Contact.destroy({ where: { - isOwner: { [sequelize_1.Op.ne]: 1 }, + isOwner: { [sequelize_1.Op.or]: [false, null] }, tenant, }, }); diff --git a/dist/src/controllers/details.js.map b/dist/src/controllers/details.js.map index 7574148c..2b2874da 100644 --- a/dist/src/controllers/details.js.map +++ b/dist/src/controllers/details.js.map @@ -1 +1 @@ -{"version":3,"file":"details.js","sourceRoot":"","sources":["../../../src/controllers/details.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,yCAA8B;AAC9B,+CAA8C;AAC9C,sCAA+C;AAC/C,gDAA4C;AAC5C,4CAAo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C,EAAE;YACV,IAAA,aAAO,EAAC,GAAG,EAAE,CAAC,CAAC,CAAA;SAChB;IACH,CAAC;CAAA;AAnCD,0CAmCC;AAEM,MAAM,mBAAmB,GAAG,CAAO,GAAQ,EAAE,GAAG,EAAE,EAAE;IACzD,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAC/C,IAAI;QACF,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,IAAI,CAAA;QAC7B,MAAM,SAAS,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAA;QAC/C,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,sBAAsB,CAAC,CAAA;KAC5C;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;KAC3B;AACH,CAAC,CAAA,CAAA;AATY,QAAA,mBAAmB,uBAS/B"} \ No newline at end of file +{"version":3,"file":"details.js","sourceRoot":"","sources":["../../../src/controllers/details.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,yCAA8B;AAC9B,+CAA8C;AAC9C,sCAA+C;AAC/C,gDAA4C;AAC5C,4CAAoC;AACpC,sCAAiD;AACjD,4CAA4C;AAC5C,gCAA8C;AAC9C,4CAA8C;AAG9C,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B,MAAM,OAAO,GAAG,CAAC,CAAA;AACjB,SAAsB,eAAe,CAAC,GAAQ,EAAE,GAAG;;QACjD,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAA;IACpC,CAAC;CAAA;AAFD,0CAEC;AAED,SAAsB,cAAc,CAAC,GAAQ,EAAE,GAAG;;QAChD,MAAM,EAAE,GAAG,MAAM,IAAA,2BAAqB,GAAE,CAAA;QACxC,IAAI,EAAE,EAAE;YACN,IAAA,aAAO,E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AAG,EAAE,sBAAsB,CAAC,CAAA;KAC5C;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;KAC3B;AACH,CAAC,CAAA,CAAA;AATY,QAAA,mBAAmB,uBAS/B"} \ No newline at end of file diff --git a/src/controllers/details.ts b/src/controllers/details.ts index 078dcab5..043fd7a8 100644 --- a/src/controllers/details.ts +++ b/src/controllers/details.ts @@ -238,7 +238,7 @@ export async function clearForTesting(req: Req, res) { await models.Timer.destroy({ truncate: true, where: { tenant } }) await models.Contact.destroy({ where: { - isOwner: { [Op.ne]: 1 }, + isOwner: { [Op.or]: [false, null] }, tenant, }, }) From f97f6ba492f51045ef0e5f96b74cf5963a6d456a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 20:23:30 +0000 Subject: [PATCH 072/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From a62896f390dab6e7994f27a121cda3beda08a8c3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 20:24:01 +0000 Subject: [PATCH 073/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From e523ef2da27f921b8bd24557e1b1a8c47415cad7 Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Thu, 14 Dec 2023 12:37:03 -0800 Subject: [PATCH 074/117] dont truncate --- dist/src/controllers/details.js | 20 ++++++++++---------- dist/src/controllers/details.js.map | 2 +- dist/src/controllers/messages.js | 2 +- dist/src/controllers/messages.js.map | 2 +- src/controllers/details.ts | 20 ++++++++++---------- src/controllers/messages.ts | 2 +- 6 files changed, 24 insertions(+), 24 deletions(-) diff --git a/dist/src/controllers/details.js b/dist/src/controllers/details.js index ed2f51ef..9f5b43f5 100644 --- a/dist/src/controllers/details.js +++ b/dist/src/controllers/details.js @@ -246,16 +246,16 @@ function clearForTesting(req, res) { if (!tenant) return (0, res_1.failure)(res, 'no tenant'); try { - yield models_1.models.Chat.destroy({ truncate: true, where: { tenant } }); - yield models_1.models.Subscription.destroy({ truncate: true, where: { tenant } }); - yield models_1.models.Accounting.destroy({ truncate: true, where: { tenant } }); - yield models_1.models.Bot.destroy({ truncate: true, where: { tenant } }); - yield models_1.models.BotMember.destroy({ truncate: true, where: { tenant } }); - yield models_1.models.ChatBot.destroy({ truncate: true, where: { tenant } }); - yield models_1.models.Invite.destroy({ truncate: true, where: { tenant } }); - yield models_1.models.MediaKey.destroy({ truncate: true, where: { tenant } }); - yield models_1.models.Message.destroy({ truncate: true, where: { tenant } }); - yield models_1.models.Timer.destroy({ truncate: true, where: { tenant } }); + yield models_1.models.Chat.destroy({ where: { tenant } }); + yield models_1.models.Subscription.destroy({ where: { tenant } }); + yield models_1.models.Accounting.destroy({ where: { tenant } }); + yield models_1.models.Bot.destroy({ where: { tenant } }); + yield models_1.models.BotMember.destroy({ where: { tenant } }); + yield models_1.models.ChatBot.destroy({ where: { tenant } }); + yield models_1.models.Invite.destroy({ where: { tenant } }); + yield models_1.models.MediaKey.destroy({ where: { tenant } }); + yield models_1.models.Message.destroy({ where: { tenant } }); + yield models_1.models.Timer.destroy({ where: { tenant } }); yield models_1.models.Contact.destroy({ where: { isOwner: { [sequelize_1.Op.or]: [false, null] }, diff --git a/dist/src/controllers/details.js.map b/dist/src/controllers/details.js.map index 2b2874da..98d5705a 100644 --- a/dist/src/controllers/details.js.map +++ b/dist/src/controllers/details.js.map @@ -1 +1 @@ -{"version":3,"file":"details.js","sourceRoot":"","sources":["../../../src/controllers/details.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,yCAA8B;AAC9B,+CAA8C;AAC9C,sCAA+C;AAC/C,gDAA4C;AAC5C,4CAAoC;AACpC,sCAAiD;AACjD,4CAA4C;AAC5C,gCAA8C;AAC9C,4CAA8C;AAG9C,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B,MAAM,OAAO,GAAG,CAAC,CAAA;AACjB,SAAsB,eAAe,CAAC,GAAQ,EAAE,GAAG;;QACjD,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAA;IACpC,CAAC;CAAA;AAFD,0CAEC;AAED,SAAsB,cAAc,CAAC,GAAQ,EAAE,GAAG;;QAChD,MAAM,EAAE,GAAG,MAAM,IAAA,2BAAqB,GAAE,CAAA;QACxC,IAAI,EAAE,EAAE;YACN,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,CAAC,CAAA;SACjB;aAAM;YACL,IAAA,aAAO,EAAC,GAAG,EAAE,6BAA6B,CAAC,CAAA;SAC5C;IACH,CAAC;CAAA;AAPD,wCAOC;AAEM,MAAM,UAAU,GAAG,CAAO,GAAQ,EAAE,GAAG,EAAE,EAAE;IAChD,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAE/C,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC,KAAK,CAAA;IAChD,IAAI,CAAC,CAAC,MAA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eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;gBAChD,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE;aACjC,CAAC,CAAY,CAAA;YACd,MAAM,EAAE,CAAC,MAAM,CAAC;gBACd,SAAS,EAAE,EAAE;gBACb,QAAQ,EAAE,EAAE;gBACZ,UAAU,EAAE,EAAE;gBACd,KAAK,EAAE,EAAE;gBACT,QAAQ,EAAE,EAAE;aACb,CAAC,CAAA;YACF,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAA;SAC9B;QAAC,OAAO,CAAC,EAAE;YACV,IAAA,aAAO,EAAC,GAAG,EAAE,CAAC,CAAC,CAAA;SAChB;IACH,CAAC;CAAA;AAnCD,0CAmCC;AAEM,MAAM,mBAAmB,GAAG,CAAO,GAAQ,EAAE,GAAG,EAAE,EAAE;IACzD,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAC/C,IAAI;QACF,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,IAAI,CAAA;QAC7B,MAAM,SAAS,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAA;QAC/C,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,sBAAsB,CAAC,CAAA;KAC5C;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;KAC3B;AACH,CAAC,CAAA,CAAA;AATY,QAAA,mBAAmB,uBAS/B"} \ No newline at end of file +{"version":3,"file":"details.js","sourceRoot":"","sources":["../../../src/controllers/details.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,yCAA8B;AAC9B,+CAA8C;AAC9C,sCAA+C;AAC/C,gDAA4C;AAC5C,4CAAoC;AACpC,sCAAiD;AACjD,4CAA4C;AAC5C,gCAA8C;AAC9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AM,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,IAAI,CAAA;QAC7B,MAAM,SAAS,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAA;QAC/C,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,sBAAsB,CAAC,CAAA;KAC5C;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;KAC3B;AACH,CAAC,CAAA,CAAA;AATY,QAAA,mBAAmB,uBAS/B"} \ No newline at end of file diff --git a/dist/src/controllers/messages.js b/dist/src/controllers/messages.js index ce7843a1..2e63c1c7 100644 --- a/dist/src/controllers/messages.js +++ b/dist/src/controllers/messages.js @@ -760,7 +760,7 @@ const clearMessages = (req, res) => __awaiter(void 0, void 0, void 0, function* if (!req.owner) return (0, res_1.failure)(res, 'no owner'); const tenant = req.owner.id; - yield models_1.models.Message.destroy({ where: { tenant }, truncate: true }); + yield models_1.models.Message.destroy({ where: { tenant } }); (0, res_1.success)(res, {}); }); exports.clearMessages = clearMessages; diff --git a/dist/src/controllers/messages.js.map b/dist/src/controllers/messages.js.map index 22dd1a3c..983eafc7 100644 --- a/dist/src/controllers/messages.js.map +++ b/dist/src/controllers/messages.js.map @@ -1 +1 @@ -{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../../src/controllers/messages.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,2CAAoC;AACpC,oCAAmC;AACnC,+BAA8B;AAC9B,sCAOkB;AAClB,gCAIe;AACf,0CAAyC;AACzC,2CAA0C;AAC1C,sCAAqC;AACrC,sCAAoE;AACpE,0CAAyC;AACzC,sCAAqC;AAGrC,4CAAoC;AACpC,4CAAuD;AAGvD,4CAA6C;AAC7C,4CAA4C;AAC5C,gDAAqD;AACrD,wDAAoD;AACpD,mDAAkD;AAMlD,2CAA2C;AAC3C,MAAM,IAAI,GAAG,EAAE,CAAA;AAEf,MAAM,MAAM,GAAG,IAAA,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CAAA;YAEnB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBACrC,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;gBACrB,MAAM,YAAY,GAAG,CAAC,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;oBACjD,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE;iBACnC,CAAC,CAAoB,CAAA;gBACtB,IAAI,YAAY,CAAC,MAAM,GAAG,EAAE,EAAE;oBAC5B,MAAM,aAAa,GAAG,YAAY,CAAC,YAAY,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;oBAC5D,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;wBAC3B,KAAK,EAAE;4BACL,EAAE,EAAE,EAAE,CAAC,cAAE,CAAC,EAAE,CAAC,EAAE,aAAa,CAAC,EAAE,EAAE;4BACjC,SAAS,EAAE,EAAE,CAAC,cAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE;4BAC5B,MAAM,EAAE,IAAI,CAAC,EAAE;4BACf,MAAM;yBACP;qBACF,CAAC,CAAA;iBACH;aACF;YACD,qBAAY,CAAC,IAAI,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAA;SACtD;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,CAAC,uCAAuC,EAAE,KAAK,CAAC,CAAC,CAAA;SACrE;IACH,CAAC;CAAA"} \ No newline at end of file +{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../../src/controllers/messages.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,2CAAoC;AACpC,oCAAmC;AACnC,+BAA8B;AAC9B,sCAOkB;AAClB,gCAIe;AACf,0CAAyC;AACzC,2CAA0C;AAC1C,sCAAqC;AACrC,sCAAoE;AACpE,0CAAyC;AACzC,sCAAqC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;;QACC,IAAI;YACF,MAAM,KAAK,GAAG,CAAC,MAAM,eAAM,CAAC,IAAI,CAAC,OAAO,CAAC;gBACvC,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE;aAClC,CAAC,CAAiB,CAAA;YAEnB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;gBACrC,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;gBACrB,MAAM,YAAY,GAAG,CAAC,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;oBACjD,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE;iBACnC,CAAC,CAAoB,CAAA;gBACtB,IAAI,YAAY,CAAC,MAAM,GAAG,EAAE,EAAE;oBAC5B,MAAM,aAAa,GAAG,YAAY,CAAC,YAAY,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;oBAC5D,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;wBAC3B,KAAK,EAAE;4BACL,EAAE,EAAE,EAAE,CAAC,cAAE,CAAC,EAAE,CAAC,EAAE,aAAa,CAAC,EAAE,EAAE;4BACjC,SAAS,EAAE,EAAE,CAAC,cAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE;4BAC5B,MAAM,EAAE,IAAI,CAAC,EAAE;4BACf,MAAM;yBACP;qBACF,CAAC,CAAA;iBACH;aACF;YACD,qBAAY,CAAC,IAAI,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAA;SACtD;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,CAAC,uCAAuC,EAAE,KAAK,CAAC,CAAC,CAAA;SACrE;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/src/controllers/details.ts b/src/controllers/details.ts index 043fd7a8..fb7ede01 100644 --- a/src/controllers/details.ts +++ b/src/controllers/details.ts @@ -226,16 +226,16 @@ export async function clearForTesting(req: Req, res) { const tenant: number = req.owner.id if (!tenant) return failure(res, 'no tenant') try { - await models.Chat.destroy({ truncate: true, where: { tenant } }) - await models.Subscription.destroy({ truncate: true, where: { tenant } }) - await models.Accounting.destroy({ truncate: true, where: { tenant } }) - await models.Bot.destroy({ truncate: true, where: { tenant } }) - await models.BotMember.destroy({ truncate: true, where: { tenant } }) - await models.ChatBot.destroy({ truncate: true, where: { tenant } }) - await models.Invite.destroy({ truncate: true, where: { tenant } }) - await models.MediaKey.destroy({ truncate: true, where: { tenant } }) - await models.Message.destroy({ truncate: true, where: { tenant } }) - await models.Timer.destroy({ truncate: true, where: { tenant } }) + await models.Chat.destroy({ where: { tenant } }) + await models.Subscription.destroy({ where: { tenant } }) + await models.Accounting.destroy({ where: { tenant } }) + await models.Bot.destroy({ where: { tenant } }) + await models.BotMember.destroy({ where: { tenant } }) + await models.ChatBot.destroy({ where: { tenant } }) + await models.Invite.destroy({ where: { tenant } }) + await models.MediaKey.destroy({ where: { tenant } }) + await models.Message.destroy({ where: { tenant } }) + await models.Timer.destroy({ where: { tenant } }) await models.Contact.destroy({ where: { isOwner: { [Op.or]: [false, null] }, diff --git a/src/controllers/messages.ts b/src/controllers/messages.ts index 05b9a341..db1e2d61 100644 --- a/src/controllers/messages.ts +++ b/src/controllers/messages.ts @@ -924,7 +924,7 @@ export const clearMessages = async (req: Req, res: Res): Promise => { if (!req.owner) return failure(res, 'no owner') const tenant: number = req.owner.id - await models.Message.destroy({ where: { tenant }, truncate: true }) + await models.Message.destroy({ where: { tenant } }) success(res, {}) } From feed3737852db07e19e2567e249a738088f950e6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 20:38:38 +0000 Subject: [PATCH 075/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From e941be6cd23a0c4d9586c0f70004f7008886b22e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 20:39:09 +0000 Subject: [PATCH 076/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 62c8c6b837221c8d9acd517c2c36fa72b83e8347 Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Thu, 14 Dec 2023 12:47:48 -0800 Subject: [PATCH 077/117] fix accounting tenant --- dist/src/controllers/details.js | 1 - dist/src/controllers/details.js.map | 2 +- src/controllers/details.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dist/src/controllers/details.js b/dist/src/controllers/details.js index 9f5b43f5..abec9d3e 100644 --- a/dist/src/controllers/details.js +++ b/dist/src/controllers/details.js @@ -248,7 +248,6 @@ function clearForTesting(req, res) { try { yield models_1.models.Chat.destroy({ where: { tenant } }); yield models_1.models.Subscription.destroy({ where: { tenant } }); - yield models_1.models.Accounting.destroy({ where: { tenant } }); yield models_1.models.Bot.destroy({ where: { tenant } }); yield models_1.models.BotMember.destroy({ where: { tenant } }); yield models_1.models.ChatBot.destroy({ where: { tenant } }); diff --git a/dist/src/controllers/details.js.map b/dist/src/controllers/details.js.map index 98d5705a..d8b649ad 100644 --- a/dist/src/controllers/details.js.map +++ b/dist/src/controllers/details.js.map @@ -1 +1 @@ -{"version":3,"file":"details.js","sourceRoot":"","sources":["../../../src/controllers/details.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,yCAA8B;AAC9B,+CAA8C;AAC9C,sCAA+C;AAC/C,gDAA4C;AAC5C,4CAAoC;AACpC,sCAAiD;AACjD,4CAA4C;AAC5C,gCAA8C;AAC9C,4CAA8C;AAG9C,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B,MAAM,OAAO,GAAG,CAAC,CAAA;AACjB,SAAsB,eAAe,CAAC,GAAQ,EAAE,GAAG;;QACjD,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAA;IACpC,CAAC;CAAA;AAFD,0CAEC;AAED,SAAsB,cAAc,CAAC,GAAQ,EAAE,GAAG;;QAChD,MAAM,EAAE,GAAG,MAAM,IAAA,2BAAqB,GAAE,CAAA;QACxC,IAAI,EAAE,EAAE;YACN,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,CAAC,CAAA;SACjB;aAAM;YACL,IAAA,aAAO,EAAC,GAAG,EAAE,6BAA6B,CAAC,CAAA;SAC5C;IACH,CAAC;CAAA;AAPD,wCAOC;AAEM,MAAM,UAAU,GAAG,CAAO,GAAQ,EAAE,GAAG,EAAE,EAAE;IAChD,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAE/C,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC,KAAK,CAAA;IAChD,IAAI,CAAC,CAAC,MAAM,IAAI,MAAM,CAAC,MAAM,KAAK,EAAE,CAAC;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,cAAc,CAAC,CAAA;IAE1E,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAA;IACvB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CAAA;YACF,MAAM,EAAE,GAAY,CAAC,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;gBAChD,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE;aACjC,CAAC,CAAY,CAAA;YACd,MAAM,EAAE,CAAC,MAAM,CAAC;gBACd,SAAS,EAAE,EAAE;gBACb,QAAQ,EAAE,EAAE;gBACZ,UAAU,EAAE,EAAE;gBACd,KAAK,EAAE,EAAE;gBACT,QAAQ,EAAE,EAAE;aACb,CAAC,CAAA;YACF,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAA;SAC9B;QAAC,OAAO,CAAC,EAAE;YACV,IAAA,aAAO,EAAC,GAAG,EAAE,CAAC,CAAC,CAAA;SAChB;IACH,CAAC;CAAA;AAlCD,0CAkCC;AAEM,MAAM,mBAAmB,GAAG,CAAO,GAAQ,EAAE,GAAG,EAAE,EAAE;IACzD,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAC/C,IAAI;QACF,MAAM,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,IAAI,CAAA;QAC7B,MAAM,SAAS,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAA;QAC/C,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,sBAAsB,CAAC,CAAA;KAC5C;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;KAC3B;AACH,CAAC,CAAA,CAAA;AATY,QAAA,mBAAmB,uBAS/B"} \ No newline at end of file diff --git a/src/controllers/details.ts b/src/controllers/details.ts index fb7ede01..44e86010 100644 --- a/src/controllers/details.ts +++ b/src/controllers/details.ts @@ -228,7 +228,6 @@ export async function clearForTesting(req: Req, res) { try { await models.Chat.destroy({ where: { tenant } }) await models.Subscription.destroy({ where: { tenant } }) - await models.Accounting.destroy({ where: { tenant } }) await models.Bot.destroy({ where: { tenant } }) await models.BotMember.destroy({ where: { tenant } }) await models.ChatBot.destroy({ where: { tenant } }) From 2d7cfb58ddd791891e553877a95501b9de05c0f4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 20:49:20 +0000 Subject: [PATCH 078/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From e1df351fc6b31b6dce0f9781bed9a7564a7bc13e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 20:49:50 +0000 Subject: [PATCH 079/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 0d78b4a6a96ccac2f36177cf7242cbe65cd39ebd Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Thu, 14 Dec 2023 12:52:53 -0800 Subject: [PATCH 080/117] also rm hmac key and pushkit token from contact --- dist/src/controllers/details.js | 2 ++ dist/src/controllers/details.js.map | 2 +- package.json | 2 +- src/controllers/details.ts | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dist/src/controllers/details.js b/dist/src/controllers/details.js index abec9d3e..61015ae8 100644 --- a/dist/src/controllers/details.js +++ b/dist/src/controllers/details.js @@ -270,6 +270,8 @@ function clearForTesting(req, res) { contactKey: '', alias: '', deviceId: '', + hmacKey: '', + pushKitToken: '', }); (0, res_1.success)(res, { clean: true }); } diff --git a/dist/src/controllers/details.js.map b/dist/src/controllers/details.js.map index d8b649ad..ded91a21 100644 --- a/dist/src/controllers/details.js.map +++ b/dist/src/controllers/details.js.map @@ -1 +1 @@ -{"version":3,"file":"details.js","sourceRoot":"","sources":["../../../src/controllers/details.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAAgD;AAChD,yCAA8B;AAC9B,+CAA8C;AAC9C,sCAA+C;AAC/C,gDAA4C;AAC5C,4CAAoC;AACpC,sCAAiD;AACjD,4CAA4C;AAC5C,gCAA8C;AAC9C,4CAA8C;AAG9C,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B,MAAM,OAAO,GAAG,CAAC,CAAA;AACjB,SAAsB,eAAe,CAAC,GAAQ,EAAE,GAAG;;QACjD,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAA;IACpC,CAAC;CAAA;AAFD,0CAEC;AAED,SAAsB,cAAc,CAAC,GAAQ,EAAE,GAAG;;QAChD,MAAM,EAAE,GAAG,MAAM,IAAA,2BAAqB,GAAE,CAAA;QACxC,IAAI,EAAE,EAAE;YACN,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,CAAC,CAAA;SACjB;aAAM;YACL,IAAA,aAAO,EAAC,GAAG,EAAE,6BAA6B,CAAC,CAAA;SAC5C;IACH,CAAC;CAAA;AAPD,wCAOC;AAEM,MAAM,UAAU,GAAG,CAAO,GAAQ,EAAE,GAAG,EAAE,EAAE;IAChD,IAAI,CAAC,GAAG,CAAC,KAAK;QAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;IAE/C,MAAM,E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AAmB,uBAS/B"} \ No newline at end of file diff --git a/package.json b/package.json index bbc4854c..dcf6de4c 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "start-password": "USE_PASSWORD=true ts-node ./app.ts", "start-hosting": "HOSTING_PROVIDER=true ts-node ./app.ts", "prod": "cp config/app.json dist/config/app.json && cp config/config.json dist/config/config.json && env NODE_ENV=production node dist/app.js", - "tsc": "rm -rf dist/ && npx tsc && cp -r public dist/public", + "tsc": "rm -rf dist/ && npx tsc", "dev": "rm -rf dist/ && tsc && cp -r public dist/public && node --inspect ./dist/app.js", "build-binaries": "rm -rf dist/ && tsc && cp config/app.json dist/config/app.json && cp config/config.json dist/config/config.json && pkg . --target node12-alpine-x64,node12-macos-x64 --out-path binaries", "start-ecs": "cp config/app.json dist/config/app.json && cp config/config.json dist/config/config.json && export NODE_ENV=production && node --max-old-space-size=128 dist/app.js", diff --git a/src/controllers/details.ts b/src/controllers/details.ts index 44e86010..3fc6e606 100644 --- a/src/controllers/details.ts +++ b/src/controllers/details.ts @@ -250,6 +250,8 @@ export async function clearForTesting(req: Req, res) { contactKey: '', alias: '', deviceId: '', + hmacKey: '', + pushKitToken: '', }) success(res, { clean: true }) } catch (e) { From 51c57673ae74ba99fc36fd2c33635635cdf063a3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 20:54:31 +0000 Subject: [PATCH 081/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From f0fef0912e648cbd614d1cd0522a1be50e96e36b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 20:55:02 +0000 Subject: [PATCH 082/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From aa13d7d3748e38c49634e1c109228bcc220bed4d Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Tue, 30 Jan 2024 20:52:25 +0100 Subject: [PATCH 083/117] fix: bot payment should actually send payment to recipient --- dist/src/controllers/botapi/pay.js | 1 + dist/src/controllers/botapi/pay.js.map | 2 +- src/controllers/botapi/pay.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dist/src/controllers/botapi/pay.js b/dist/src/controllers/botapi/pay.js index b144844c..c692aab7 100644 --- a/dist/src/controllers/botapi/pay.js +++ b/dist/src/controllers/botapi/pay.js @@ -65,6 +65,7 @@ function pay(a) { replyUuid: message.replyUuid, parentId: message.parentId || 0, }, + amount: amount || 0, type: constants_1.default.message_types.boost, success: () => ({ success: true }), failure: (e) => __awaiter(this, void 0, void 0, function* () { diff --git a/dist/src/controllers/botapi/pay.js.map b/dist/src/controllers/botapi/pay.js.map index aff8f1e2..c1798b26 100644 --- a/dist/src/controllers/botapi/pay.js.map +++ b/dist/src/controllers/botapi/pay.js.map @@ -1 +1 @@ -{"version":3,"file":"pay.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/pay.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,oCAAmC;AACnC,yCAAwC;AACxC,yCAA8C;AAC9C,8CAA6C;AAC7C,6CAA4C;AAC5C,+CAAuC;AACvC,+CAAiD;AACjD,2DAAuD;AACv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,CAAC,CAAC,CAAA;gBAChC,MAAM,OAAO,CAAC,MAAM,CAAC;oBACnB,YAAY,EAAE,QAAQ;oBACtB,MAAM,EAAE,mBAAS,CAAC,QAAQ,CAAC,MAAM;iBAClC,CAAC,CAAA;gBACF,OAAO,qBAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;YAC9B,CAAC,CAAA;YACD,WAAW,EAAE,IAAI;YACjB,iBAAiB,EAAE,YAAY;SAChC,CAAC,CAAA;IACJ,CAAC;CAAA;AApED,sBAoEC"} \ No newline at end of file diff --git a/src/controllers/botapi/pay.ts b/src/controllers/botapi/pay.ts index 933f75f5..ae818043 100644 --- a/src/controllers/botapi/pay.ts +++ b/src/controllers/botapi/pay.ts @@ -62,6 +62,7 @@ export default async function pay(a: Action): Promise { replyUuid: message.replyUuid, parentId: message.parentId || 0, }, + amount: amount || 0, type: constants.message_types.boost, success: () => ({ success: true }), failure: async (e) => { From 49a3c53f111058f1d9d2fa1dd76e64893338116d Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Tue, 30 Jan 2024 21:04:50 +0100 Subject: [PATCH 084/117] update: if reply_uuid is not provided bot pay should be a direct payment --- dist/src/controllers/botapi/pay.js | 10 +++++++--- dist/src/controllers/botapi/pay.js.map | 2 +- src/controllers/botapi/pay.ts | 10 +++++++--- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/dist/src/controllers/botapi/pay.js b/dist/src/controllers/botapi/pay.js index c692aab7..f3e29d88 100644 --- a/dist/src/controllers/botapi/pay.js +++ b/dist/src/controllers/botapi/pay.js @@ -36,7 +36,9 @@ function pay(a) { const msg = { chatId: chat.id, uuid: msg_uuid || short.generate(), - type: constants_1.default.message_types.boost, + type: reply_uuid + ? constants_1.default.message_types.boost + : constants_1.default.message_types.direct_payment, sender: botContactId, amount: amount || 0, date: date, @@ -51,7 +53,7 @@ function pay(a) { msg.parentId = parent_id; const message = (yield models_1.models.Message.create(msg)); socket.sendJson({ - type: 'boost', + type: reply_uuid ? 'boost' : 'direct_payment', response: jsonUtils.messageToJson(message, chat, owner), }, tenant); yield network.sendMessage({ @@ -66,7 +68,9 @@ function pay(a) { parentId: message.parentId || 0, }, amount: amount || 0, - type: constants_1.default.message_types.boost, + type: reply_uuid + ? constants_1.default.message_types.boost + : constants_1.default.message_types.direct_payment, success: () => ({ success: true }), failure: (e) => __awaiter(this, void 0, void 0, function* () { const errorMsg = (0, errMsgString_1.errMsgString)(e); diff --git a/dist/src/controllers/botapi/pay.js.map b/dist/src/controllers/botapi/pay.js.map index c1798b26..33d49e2e 100644 --- a/dist/src/controllers/botapi/pay.js.map +++ b/dist/src/controllers/botapi/pay.js.map @@ -1 +1 @@ -{"version":3,"file":"pay.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/pay.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,oCAAmC;AACnC,yCAAwC;AACxC,yCAA8C;AAC9C,8CAA6C;AAC7C,6CAA4C;AAC5C,+CAAuC;AACvC,+CAAiD;AACjD,2DAAuD;AACvD,mCAAgD;AAEhD,SAA8B,GAAG,CAAC,CAAS;;QACzC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,CAAC,CAAA;QAE7E,qBAAY,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAA;QAC7D,IAAI,CAAC,CAAC,CAAC,YAAY;YAAE,OAAO,qBAAY,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAA;QACjE,MAAM,GAAG,GAAG,MAAM,IAAA,sBAAc,EAAC,CAAC,CAAC,CAAA;QACnC,IAAI,CAAC,GAAG;YAAE,OAAM;QAChB,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,GAAG,CAAA;QAC3B,MAAM,MAAM,GAAW,KAAK,CAAC,EAAE,CAAA;QAC/B,MAAM,KA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/botapi/pay.ts b/src/controllers/botapi/pay.ts index ae818043..63d9cd56 100644 --- a/src/controllers/botapi/pay.ts +++ b/src/controllers/botapi/pay.ts @@ -25,7 +25,9 @@ export default async function pay(a: Action): Promise { const msg: { [k: string]: string | number | Date } = { chatId: chat.id, uuid: msg_uuid || short.generate(), - type: constants.message_types.boost, + type: reply_uuid + ? constants.message_types.boost + : constants.message_types.direct_payment, sender: botContactId, // tribe owner is escrow holder amount: amount || 0, date: date, @@ -40,7 +42,7 @@ export default async function pay(a: Action): Promise { const message: Message = (await models.Message.create(msg)) as Message socket.sendJson( { - type: 'boost', + type: reply_uuid ? 'boost' : 'direct_payment', response: jsonUtils.messageToJson(message, chat, owner), }, tenant @@ -63,7 +65,9 @@ export default async function pay(a: Action): Promise { parentId: message.parentId || 0, }, amount: amount || 0, - type: constants.message_types.boost, + type: reply_uuid + ? constants.message_types.boost + : constants.message_types.direct_payment, success: () => ({ success: true }), failure: async (e) => { const errorMsg = errMsgString(e) From 36773e3a3ca45d06cbc12412cb9dbcfc8e6a2957 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Tue, 30 Jan 2024 21:16:53 +0100 Subject: [PATCH 085/117] update: direct payment can also have content for bot payment --- dist/src/controllers/botapi/pay.js | 28 +++++++++++--------------- dist/src/controllers/botapi/pay.js.map | 2 +- src/controllers/botapi/pay.ts | 20 +++++++++++++++++- 3 files changed, 32 insertions(+), 18 deletions(-) diff --git a/dist/src/controllers/botapi/pay.js b/dist/src/controllers/botapi/pay.js index f3e29d88..efcf2567 100644 --- a/dist/src/controllers/botapi/pay.js +++ b/dist/src/controllers/botapi/pay.js @@ -17,10 +17,11 @@ const socket = require("../../utils/socket"); const constants_1 = require("../../constants"); const logger_1 = require("../../utils/logger"); const errMsgString_1 = require("../../utils/errMsgString"); +const rsa = require("../../crypto/rsa"); const index_1 = require("./index"); function pay(a) { return __awaiter(this, void 0, void 0, function* () { - const { amount, bot_name, msg_uuid, reply_uuid, recipient_id, parent_id } = a; + const { amount, bot_name, msg_uuid, reply_uuid, recipient_id, parent_id, content, } = a; logger_1.sphinxLogger.info(`=> BOT PAY ${JSON.stringify(a, null, 2)}`); if (!a.recipient_id) return logger_1.sphinxLogger.error(`no recipient_id`); @@ -31,24 +32,19 @@ function pay(a) { const tenant = owner.id; const alias = bot_name || owner.alias; const botContactId = -1; + const encryptedForMeText = rsa.encrypt(owner.contactKey, content || ''); + const encryptedText = rsa.encrypt(chat.groupKey, content || ''); + const textMap = { chat: encryptedText }; const date = new Date(); date.setMilliseconds(0); - const msg = { - chatId: chat.id, - uuid: msg_uuid || short.generate(), - type: reply_uuid + const msg = Object.assign({ chatId: chat.id, uuid: msg_uuid || short.generate(), type: reply_uuid ? constants_1.default.message_types.boost - : constants_1.default.message_types.direct_payment, - sender: botContactId, - amount: amount || 0, - date: date, - status: constants_1.default.statuses.confirmed, - replyUuid: reply_uuid || '', - createdAt: date, - updatedAt: date, - senderAlias: alias, - tenant, - }; + : constants_1.default.message_types.direct_payment, sender: botContactId, amount: amount || 0, date: date, status: constants_1.default.statuses.confirmed, replyUuid: reply_uuid || '', createdAt: date, updatedAt: date, senderAlias: alias, tenant }, (reply_uuid + ? {} + : { + messageContent: encryptedForMeText, + remoteMessageContent: JSON.stringify(textMap), + })); if (parent_id) msg.parentId = parent_id; const message = (yield models_1.models.Message.create(msg)); diff --git a/dist/src/controllers/botapi/pay.js.map b/dist/src/controllers/botapi/pay.js.map index 33d49e2e..b40a8b3c 100644 --- a/dist/src/controllers/botapi/pay.js.map +++ b/dist/src/controllers/botapi/pay.js.map @@ -1 +1 @@ -{"version":3,"file":"pay.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/pay.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,oCAAmC;AACnC,yCAAwC;AACxC,yCAA8C;AAC9C,8CAA6C;AAC7C,6CAA4C;AAC5C,+CAAuC;AACvC,+CAAiD;AACjD,2DAAuD;AACvD,mCAAgD;AAEhD,SAA8B,GAAG,CAA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BACtB,MAAM,EAAE,mBAAS,CAAC,QAAQ,CAAC,MAAM;iBAClC,CAAC,CAAA;gBACF,OAAO,qBAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;YAC9B,CAAC,CAAA;YACD,WAAW,EAAE,IAAI;YACjB,iBAAiB,EAAE,YAAY;SAChC,CAAC,CAAA;IACJ,CAAC;CAAA;AAxED,sBAwEC"} \ No newline at end of file +{"version":3,"file":"pay.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/pay.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,oCAAmC;AACnC,yCAAwC;AACxC,yCAA8C;AAC9C,8CAA6C;AAC7C,6CAA4C;AAC5C,+CAAuC;AACvC,+CAAiD;AACjD,2DAAuD;AACvD,wCAAuC;AACvC,mCAAgD;AAEhD,SAA8B,GAAG,CAAC,CAAS;;QACzC,MAAM,EACJ,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,SAAS,EACT,OAAO,GACR,GAAG,CAAC,CAAA;QAEL,qBAAY,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAA;QAC7D,IAAI,CAAC,CAAC,CAAC,YAAY;YAAE,OAAO,qBAAY,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAA;QACjE,MAAM,GAAG,GAAG,MAAM,IAAA,sBAAc,EAAC,CAAC,CAAC,CAAA;QACnC,IAAI,CAAC,GAAG;YAAE,OAAM;QAChB,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,GAAG,CAAA;QAC3B,MAAM,MAAM,GAAW,KAAK,CAAC,EAAE,CAAA;QAC/B,MAAM,KAAK,GAAG,QAAQ,IAAI,KAAK,CAAC,KAAK,CAAA;QACrC,MAAM,YAAY,GAAG,CAAC,CAAC,CAAA;QACvB,MAAM,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,UA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/pay.ts index 63d9cd56..0e8adbd4 100644 --- a/src/controllers/botapi/pay.ts +++ b/src/controllers/botapi/pay.ts @@ -6,10 +6,19 @@ import * as socket from '../../utils/socket' import constants from '../../constants' import { sphinxLogger } from '../../utils/logger' import { errMsgString } from '../../utils/errMsgString' +import * as rsa from '../../crypto/rsa' import { Action, validateAction } from './index' export default async function pay(a: Action): Promise { - const { amount, bot_name, msg_uuid, reply_uuid, recipient_id, parent_id } = a + const { + amount, + bot_name, + msg_uuid, + reply_uuid, + recipient_id, + parent_id, + content, + } = a sphinxLogger.info(`=> BOT PAY ${JSON.stringify(a, null, 2)}`) if (!a.recipient_id) return sphinxLogger.error(`no recipient_id`) @@ -19,6 +28,9 @@ export default async function pay(a: Action): Promise { const tenant: number = owner.id const alias = bot_name || owner.alias const botContactId = -1 + const encryptedForMeText = rsa.encrypt(owner.contactKey, content || '') + const encryptedText = rsa.encrypt(chat.groupKey, content || '') + const textMap = { chat: encryptedText } const date = new Date() date.setMilliseconds(0) @@ -37,6 +49,12 @@ export default async function pay(a: Action): Promise { updatedAt: date, senderAlias: alias, tenant, + ...(reply_uuid + ? {} + : { + messageContent: encryptedForMeText, + remoteMessageContent: JSON.stringify(textMap), + }), } if (parent_id) msg.parentId = parent_id const message: Message = (await models.Message.create(msg)) as Message From 32b3b27a82377d579cc744fb2823e83f7f91e66f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 30 Jan 2024 20:54:31 +0000 Subject: [PATCH 086/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 70667d583d3bc723d5d4623147f69fa03ee410e9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 30 Jan 2024 20:55:02 +0000 Subject: [PATCH 087/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From fbe3d5b294c0b7127f1206e3b3a2407071d5250f Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Fri, 2 Feb 2024 22:04:34 +0100 Subject: [PATCH 088/117] update: added recipient pubkey to bot pay api --- dist/src/controllers/botapi/index.js.map | 2 +- dist/src/controllers/botapi/pay.js | 28 ++++++++++++++++++--- dist/src/controllers/botapi/pay.js.map | 2 +- src/controllers/botapi/index.ts | 1 + src/controllers/botapi/pay.ts | 32 +++++++++++++++++++++--- 5 files changed, 55 insertions(+), 10 deletions(-) diff --git a/dist/src/controllers/botapi/index.js.map b/dist/src/controllers/botapi/index.js.map index 6bcc542f..eb8d486d 100644 --- a/dist/src/controllers/botapi/index.js.map +++ b/dist/src/controllers/botapi/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,yCAAwC;AACxC,yCASqB;AACrB,yCAAgE;AAChE,+CAAuC;AACvC,+CAA6D;AAC7D,+CAA0D;AAC1D,0CAAyC;AACzC,2CAA6E;AAC7E,2CAA4C;AAE5C,iDAAsE;AACtE,yCAA4C;AAC5C,6BAAiC;AACjC,+BAAuB;AACvB,2CAAmC;AA4BnC,SAAsB,cAAc,CAAC,GAAQ,EAAE,GAAQ;;;QACrD,qBAAY,CAAC,IAAI,CAAC,qBAAqB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;QAClD,MAAM,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAA;QAC9C,IAAI,CAAC,GAAG,EAAE;YACR,qBAAY,CAAC,KAAK,CAAC,mBAAmB,EAAE,gBAAO,CAAC,IAAI,CAAC,CAAA;YACrD,OAAO,IAAA,kBAAY,EAAC,GAAG,CAAC,CAAA;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AC,IAAI,EAAE;YACT,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,SAAS,CAAC,CAAA;SAC/B;QACD,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAA;QAClC,IAAI,CAAC,UAAU,EAAE;YACf,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,eAAe,CAAC,CAAA;SACrC;QACD,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAA;QAC9B,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,aAAa,CAAC,CAAA;SACnC;QAED,IAAI,cAAS,CAAC,UAAU,CAAC,EAAE;YACzB,cAAS,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAA;SAChC;QAED,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAA;IAC5B,CAAC;CAAA;AAnBD,8CAmBC"} \ No newline at end of file diff --git a/dist/src/controllers/botapi/pay.js b/dist/src/controllers/botapi/pay.js index efcf2567..158ed8cd 100644 --- a/dist/src/controllers/botapi/pay.js +++ b/dist/src/controllers/botapi/pay.js @@ -21,10 +21,10 @@ const rsa = require("../../crypto/rsa"); const index_1 = require("./index"); function pay(a) { return __awaiter(this, void 0, void 0, function* () { - const { amount, bot_name, msg_uuid, reply_uuid, recipient_id, parent_id, content, } = a; + const { amount, bot_name, msg_uuid, reply_uuid, recipient_id, parent_id, content, recipient_pubkey, } = a; logger_1.sphinxLogger.info(`=> BOT PAY ${JSON.stringify(a, null, 2)}`); - if (!a.recipient_id) - return logger_1.sphinxLogger.error(`no recipient_id`); + if (!recipient_id && !recipient_pubkey) + return logger_1.sphinxLogger.error(`no recipient detail`); const ret = yield (0, index_1.validateAction)(a); if (!ret) return; @@ -35,6 +35,26 @@ function pay(a) { const encryptedForMeText = rsa.encrypt(owner.contactKey, content || ''); const encryptedText = rsa.encrypt(chat.groupKey, content || ''); const textMap = { chat: encryptedText }; + let recipient_detail; + if (recipient_pubkey) { + try { + const user = (yield models_1.models.Contact.findOne({ + where: { tenant, publicKey: recipient_pubkey }, + })); + if (!user) { + logger_1.sphinxLogger.error(`=> RECIPIENT PUBKEY DOES NOT EXIST IN ADMIN RECORD`, logger_1.logging.Bots); + return; + } + recipient_detail = user.id; + } + catch (error) { + logger_1.sphinxLogger.error(`=> RECIPIENT PUBKEY ERROR ${error}`, logger_1.logging.Bots); + return; + } + } + else { + recipient_detail = recipient_id; + } const date = new Date(); date.setMilliseconds(0); const msg = Object.assign({ chatId: chat.id, uuid: msg_uuid || short.generate(), type: reply_uuid @@ -77,7 +97,7 @@ function pay(a) { return logger_1.sphinxLogger.error(e); }), isForwarded: true, - realSatsContactId: recipient_id, + realSatsContactId: recipient_detail, }); }); } diff --git a/dist/src/controllers/botapi/pay.js.map b/dist/src/controllers/botapi/pay.js.map index b40a8b3c..2a109b85 100644 --- a/dist/src/controllers/botapi/pay.js.map +++ b/dist/src/controllers/botapi/pay.js.map @@ -1 +1 @@ -{"version":3,"file":"pay.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/pay.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,oCAAmC;AACnC,yCAAwC;AACxC,yCAA8C;AAC9C,8CAA6C;AAC7C,6CAA4C;AAC5C,+CAAuC;AACvC,+CAAiD;AACjD,2DAAuD;AACvD,wCAAuC;AACvC,mCAAgD;AAEhD,SAA8B,GAAG,CAAC,CAAS;;QACzC,MAAM,EACJ,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,SAAS,EACT,OAAO,GACR,GAAG,CAAC,CAAA;QAEL,qBAAY,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAA;QAC7D,IAAI,CAAC,CAAC,CAAC,YAAY;YAAE,OAAO,qBAAY,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAA;QACjE,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AC,CAAC,CAAA;gBAChC,MAAM,OAAO,CAAC,MAAM,CAAC;oBACnB,YAAY,EAAE,QAAQ;oBACtB,MAAM,EAAE,mBAAS,CAAC,QAAQ,CAAC,MAAM;iBAClC,CAAC,CAAA;gBACF,OAAO,qBAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;YAC9B,CAAC,CAAA;YACD,WAAW,EAAE,IAAI;YACjB,iBAAiB,EAAE,YAAY;SAChC,CAAC,CAAA;IACJ,CAAC;CAAA;AAzFD,sBAyFC"} \ No newline at end of file +{"version":3,"file":"pay.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/pay.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,oCAAmC;AACnC,yCAAwC;AACxC,yCAA6D;AAC7D,8CAA6C;AAC7C,6CAA4C;AAC5C,+CAAuC;AACvC,+CAA0D;AAC1D,2DAAuD;AACvD,wCAAuC;AACvC,mCAAgD;AAEhD,SAA8B,GAAG,CAAC,CAAS;;QACzC,MAAM,EACJ,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,SAAS,EACT,OAAO,EACP,gBAAgB,GACjB,GAAG,CAAC,CAAA;QAEL,qBAAY,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAA;QAC7D,IAAI,CAAC,YAAY,IAAI,CAAC,gBAAgB;YACpC,OAAO,qBAAY,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAA;QAClD,MAAM,GAAG,GAAG,MAAM,IAAA,sBAAc,EAAC,CAAC,CAAC,CAAA;QACnC,IAAI,CAAC,GAAG;YAAE,OAAM;QAChB,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,GAAG,CAAA;QAC3B,MAAM,MAAM,GAAW,KAAK,CAAC,EAAE,CAAA;QAC/B,MAAM,KAAK,GAAG,QAAQ,IAAI,KAAK,CAAC,KAAK,CAAA;Q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MAAM,IAAI,CAAC;YACnB,IAAI,EAAE,UAAU;gBACd,CAAC,CAAC,mBAAS,CAAC,aAAa,CAAC,KAAK;gBAC/B,CAAC,CAAC,mBAAS,CAAC,aAAa,CAAC,cAAc;YAC1C,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;YAClC,OAAO,EAAE,CAAO,CAAC,EAAE,EAAE;gBACnB,MAAM,QAAQ,GAAG,IAAA,2BAAY,EAAC,CAAC,CAAC,CAAA;gBAChC,MAAM,OAAO,CAAC,MAAM,CAAC;oBACnB,YAAY,EAAE,QAAQ;oBACtB,MAAM,EAAE,mBAAS,CAAC,QAAQ,CAAC,MAAM;iBAClC,CAAC,CAAA;gBACF,OAAO,qBAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;YAC9B,CAAC,CAAA;YACD,WAAW,EAAE,IAAI;YACjB,iBAAiB,EAAE,gBAAgB;SACpC,CAAC,CAAA;IACJ,CAAC;CAAA;AAjHD,sBAiHC"} \ No newline at end of file diff --git a/src/controllers/botapi/index.ts b/src/controllers/botapi/index.ts index 7739fca0..7f9d01b0 100644 --- a/src/controllers/botapi/index.ts +++ b/src/controllers/botapi/index.ts @@ -49,6 +49,7 @@ export interface Action { only_owner?: boolean only_user?: number only_pubkey?: string + recipient_pubkey?: string } export async function processWebhook(req: Req, res: Res): Promise { diff --git a/src/controllers/botapi/pay.ts b/src/controllers/botapi/pay.ts index 0e8adbd4..246fb823 100644 --- a/src/controllers/botapi/pay.ts +++ b/src/controllers/botapi/pay.ts @@ -1,10 +1,10 @@ import * as short from 'short-uuid' import * as network from '../../network' -import { models, Message } from '../../models' +import { models, Message, ContactRecord } from '../../models' import * as jsonUtils from '../../utils/json' import * as socket from '../../utils/socket' import constants from '../../constants' -import { sphinxLogger } from '../../utils/logger' +import { logging, sphinxLogger } from '../../utils/logger' import { errMsgString } from '../../utils/errMsgString' import * as rsa from '../../crypto/rsa' import { Action, validateAction } from './index' @@ -18,10 +18,12 @@ export default async function pay(a: Action): Promise { recipient_id, parent_id, content, + recipient_pubkey, } = a sphinxLogger.info(`=> BOT PAY ${JSON.stringify(a, null, 2)}`) - if (!a.recipient_id) return sphinxLogger.error(`no recipient_id`) + if (!recipient_id && !recipient_pubkey) + return sphinxLogger.error(`no recipient detail`) const ret = await validateAction(a) if (!ret) return const { chat, owner } = ret @@ -31,6 +33,28 @@ export default async function pay(a: Action): Promise { const encryptedForMeText = rsa.encrypt(owner.contactKey, content || '') const encryptedText = rsa.encrypt(chat.groupKey, content || '') const textMap = { chat: encryptedText } + let recipient_detail + + if (recipient_pubkey) { + try { + const user = (await models.Contact.findOne({ + where: { tenant, publicKey: recipient_pubkey }, + })) as ContactRecord + if (!user) { + sphinxLogger.error( + `=> RECIPIENT PUBKEY DOES NOT EXIST IN ADMIN RECORD`, + logging.Bots + ) + return + } + recipient_detail = user.id + } catch (error) { + sphinxLogger.error(`=> RECIPIENT PUBKEY ERROR ${error}`, logging.Bots) + return + } + } else { + recipient_detail = recipient_id + } const date = new Date() date.setMilliseconds(0) @@ -96,6 +120,6 @@ export default async function pay(a: Action): Promise { return sphinxLogger.error(e) }, isForwarded: true, - realSatsContactId: recipient_id, + realSatsContactId: recipient_detail, }) } From 25c31b12a5a99b1e2b55ee87664849a6ed1a82ef Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Fri, 2 Feb 2024 23:10:23 +0100 Subject: [PATCH 089/117] update: added recipient pubkey --- dist/src/controllers/botapi/index.js | 3 ++- dist/src/controllers/botapi/index.js.map | 2 +- src/controllers/botapi/index.ts | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dist/src/controllers/botapi/index.js b/dist/src/controllers/botapi/index.js index 753de79b..c44e05e7 100644 --- a/dist/src/controllers/botapi/index.js +++ b/dist/src/controllers/botapi/index.js @@ -134,7 +134,7 @@ function processAction(req, res) { return (0, res_1.failure)(res, 'failed to parse webhook body json'); } } - const { action, bot_id, bot_secret, pubkey, amount, content, chat_uuid, msg_uuid, reply_uuid, recipient_id, parent_id, only_pubkey, only_owner, } = body; + const { action, bot_id, bot_secret, pubkey, amount, content, chat_uuid, msg_uuid, reply_uuid, recipient_id, parent_id, only_pubkey, only_owner, recipient_pubkey, } = body; if (!bot_id) return (0, res_1.failure)(res, 'no bot_id'); const bot = (yield models_1.models.Bot.findOne({ where: { id: bot_id } })); @@ -169,6 +169,7 @@ function processAction(req, res) { recipient_id: recipient_id ? parseInt(recipient_id) : 0, only_pubkey: only_pubkey || '', only_owner: only_owner || false, + recipient_pubkey: recipient_pubkey || '', }; try { const r = yield finalAction(a); diff --git a/dist/src/controllers/botapi/index.js.map b/dist/src/controllers/botapi/index.js.map index eb8d486d..9e73847e 100644 --- a/dist/src/controllers/botapi/index.js.map +++ b/dist/src/controllers/botapi/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,yCAAwC;AACxC,yCASqB;AACrB,yCAAgE;AAChE,+CAAuC;AACvC,+CAA6D;AAC7D,+CAA0D;AAC1D,0CAAyC;AACzC,2CAA6E;AAC7E,2CAA4C;AAE5C,iDAAsE;AACtE,yCAA4C;AAC5C,6BAAiC;AACjC,+BAAuB;AACvB,2CAAmC;AA6BnC,SAAsB,cAAc,CAAC,GAAQ,EAAE,GAAQ;;;QACrD,qBAAY,CAAC,IAAI,CAAC,qBAAqB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;QAClD,MAAM,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAA;QAC9C,IAAI,CAAC,GAAG,EAAE;YACR,qBAAY,CAAC,KAAK,CAAC,mBAAmB,EAAE,gBAAO,CAAC,IAAI,CAAC,CAAA;YACrD,OAAO,IAAA,kBAAY,EAAC,GAAG,CAAC,CAAA;SACzB;QAED,MAAM,UAAU,GACd,GAAG,CAAC,OAAO,CAAC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CAAC;YAAE,OAAO,qBAAY,CAAC,KAAK,CAAC,SAAS,CAAC,CAAA;QAClE,IAAI,OAAO,CAAC,IAAI,KAAK,mBAAS,CAAC,UAAU,CAAC,KAAK;YAC7C,OAAO,qBAAY,CAAC,KAAK,CAAC,aAAa,CAAC,CAAA;QAC1C,MAAM,KAAK,GAAkB,CAAC,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;YACzD,KAAK,EAAE,EAAE,EAAE,EAAE,OAAO,CAAC,MAAM,EAAE;SAC9B,CAAC,CAAkB,CAAA;QACpB,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,CAAA;IACjC,CAAC;CAAA;AAVD,wCAUC;AAED,SAAsB,iBAAiB,CAAC,GAAQ,EAAE,GAAQ;;QACxD,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC,IAAI,CAAA;QAC1B,IAAI,CAAC,IAAI,EAAE;YACT,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,SAAS,CAAC,CAAA;SAC/B;QACD,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAA;QAClC,IAAI,CAAC,UAAU,EAAE;YACf,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,eAAe,CAAC,CAAA;SACrC;QACD,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAA;QAC9B,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,aAAa,CAAC,CAAA;SACnC;QAED,IAAI,cAAS,CAAC,UAAU,CAAC,EAAE;YACzB,cAAS,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAA;SAChC;QAED,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAA;IAC5B,CAAC;CAAA;AAnBD,8CAmBC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/index.ts"],"names":[],"mappings":";;;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AI,CAAC,IAAI,EAAE;YACT,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,SAAS,CAAC,CAAA;SAC/B;QACD,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAA;QAClC,IAAI,CAAC,UAAU,EAAE;YACf,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,eAAe,CAAC,CAAA;SACrC;QACD,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAA;QAC9B,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,aAAa,CAAC,CAAA;SACnC;QAED,IAAI,cAAS,CAAC,UAAU,CAAC,EAAE;YACzB,cAAS,CAAC,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAA;SAChC;QAED,IAAA,aAAO,EAAC,GAAG,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAA;IAC5B,CAAC;CAAA;AAnBD,8CAmBC"} \ No newline at end of file diff --git a/src/controllers/botapi/index.ts b/src/controllers/botapi/index.ts index 7f9d01b0..3516db42 100644 --- a/src/controllers/botapi/index.ts +++ b/src/controllers/botapi/index.ts @@ -175,6 +175,7 @@ export async function processAction(req: Req, res: Res): Promise { parent_id, only_pubkey, only_owner, + recipient_pubkey, } = body if (!bot_id) return failure(res, 'no bot_id') @@ -210,6 +211,7 @@ export async function processAction(req: Req, res: Res): Promise { recipient_id: recipient_id ? parseInt(recipient_id) : 0, only_pubkey: only_pubkey || '', only_owner: only_owner || false, + recipient_pubkey: recipient_pubkey || '', } try { From a9c6c0a6547870bcc9bbccbc683378599a777b09 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 20:52:26 +0000 Subject: [PATCH 090/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From c8818b82a6175b427ac663105620033f83040a38 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 20:52:56 +0000 Subject: [PATCH 091/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 2a47d076b3a224d763562cf5c11afbec667b6ae1 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Wed, 7 Feb 2024 23:34:51 +0100 Subject: [PATCH 092/117] update: only_pubkey takes multiple pubkey by seperating commas --- dist/src/controllers/botapi/broadcast.js | 33 +++++---- dist/src/controllers/botapi/broadcast.js.map | 2 +- src/controllers/botapi/broadcast.ts | 36 +++++++--- src/tests/configs/nodes.json | 75 ++++++++++++++++---- 4 files changed, 111 insertions(+), 35 deletions(-) diff --git a/dist/src/controllers/botapi/broadcast.js b/dist/src/controllers/botapi/broadcast.js index 33876955..e3d155db 100644 --- a/dist/src/controllers/botapi/broadcast.js +++ b/dist/src/controllers/botapi/broadcast.js @@ -28,21 +28,30 @@ function broadcast(a) { const { chat, owner } = ret; const tenant = owner.id; if (only_user || only_pubkey) { - if (only_user) { - chat.contactIds = `[${only_user}]`; - } - else { - try { - const user = (yield models_1.models.Contact.findOne({ - where: { tenant, publicKey: only_pubkey }, - })); - if (user) - chat.contactIds = `[${user.id}]`; + if (only_pubkey) { + const pubkeysArray = only_pubkey.split(','); + const userIds = []; + for (let i = 0; i < pubkeysArray.length; i++) { + const publicKey = pubkeysArray[i]; + try { + const user = (yield models_1.models.Contact.findOne({ + where: { tenant, publicKey }, + })); + if (user) + userIds.push(user.id); + } + catch (error) { + logger_1.sphinxLogger.error(`=> ERROR GETTING USER WITH THIS PUBKEY ${publicKey} ${error}`, logger_1.logging.Bots); + } } - catch (error) { - logger_1.sphinxLogger.error(`=> ONLY_PUBKEY ERROR ${error}`, logger_1.logging.Bots); + if (userIds.length === 0) { + logger_1.sphinxLogger.error(`=> USERS WITH PUBKEYS PROVIDED DO NOT EXIST`, logger_1.logging.Bots); return; } + chat.contactIds = JSON.stringify([...userIds]); + } + else { + chat.contactIds = `[${only_user}]`; } } const encryptedForMeText = rsa.encrypt(owner.contactKey, content || ''); diff --git a/dist/src/controllers/botapi/broadcast.js.map b/dist/src/controllers/botapi/broadcast.js.map index bc3df536..abe2694a 100644 --- a/dist/src/controllers/botapi/broadcast.js.map +++ b/dist/src/controllers/botapi/broadcast.js.map @@ -1 +1 @@ -{"version":3,"file":"broadcast.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/broadcast.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,oCAAmC;AACnC,yCAAwC;AACxC,yCAAyE;AACzE,wCAAuC;AACvC,8CAA6C;AAC7C,6CAA4C;AAC5C,+CAAuC;AACvC,+CAA0D;AAE1D,mCAAgD;AAEhD,SAA8B,SAAS,CAAC,CAAS;;QAC/C,MAAM,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,SAAS,EACT,OAAO,EACP,UAAU,EACV,SAAS,EACT,WAAW,GACZ,GAAG,CAAC,CAAA;QAEL,qBAAY,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAA;QACrC,MAAM,GAAG,GAAG,MAAM,IAAA,sBAAc,EAAC,CAAC,CAAC,CAAA;QACnC,IAAI,CAAC,GAAG;YAAE,OAAM;QAChB,MAAM,EA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BAC7B,MAAM,kCACD,KAAK,CAAC,UAAU,KACnB,KAAK,EACL,EAAE,EAAE,YAAY,EAChB,IAAI,EAAE,mBAAS,CAAC,UAAU,CAAC,MAAM,EACjC,QAAQ,EAAE,OAAO,IAAI,EAAE,GACxB;gBACD,OAAO,EAAE;oBACP,OAAO,EAAE,OAAO;oBAChB,EAAE,EAAE,OAAO,CAAC,EAAE;oBACd,IAAI,EAAE,OAAO,CAAC,IAAI;oBAClB,SAAS,EAAE,OAAO,CAAC,SAAS;oBAC5B,QAAQ,EAAE,OAAO,CAAC,QAAQ,IAAI,CAAC;iBAChC;gBACD,IAAI,EAAE,mBAAS,CAAC,aAAa,CAAC,OAAO;gBACrC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gBAClC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,OAAO,qBAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;gBAC9B,CAAC;gBACD,WAAW,EAAE,IAAI;aAClB,CAAC,CAAA;SACH;IACH,CAAC;CAAA;AAvGD,4BAuGC"} \ No newline at end of file +{"version":3,"file":"broadcast.js","sourceRoot":"","sources":["../../../../src/controllers/botapi/broadcast.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,oCAAmC;AACnC,yCAAwC;AACxC,yCAAyE;AACzE,wCAAuC;AACvC,8CAA6C;AAC7C,6CAA4C;AAC5C,+CAAuC;AACvC,+CAA0D;AAE1D,mCAAgD;AAEhD,SAA8B,SAAS,CAAC,CAAS;;QAC/C,MAAM,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,SAAS,EACT,OAAO,EACP,UAAU,EACV,SAAS,EACT,WAAW,GACZ,GAAG,CAAC,CAAA;QAEL,qBAAY,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAA;QACrC,MAAM,GAAG,GAAG,MAAM,IAAA,sBAAc,EAAC,CAAC,CAAC,C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AuHC"} \ No newline at end of file diff --git a/src/controllers/botapi/broadcast.ts b/src/controllers/botapi/broadcast.ts index 5c34bd9c..dea09301 100644 --- a/src/controllers/botapi/broadcast.ts +++ b/src/controllers/botapi/broadcast.ts @@ -30,18 +30,34 @@ export default async function broadcast(a: Action): Promise { const tenant: number = owner.id if (only_user || only_pubkey) { - if (only_user) { - chat.contactIds = `[${only_user}]` - } else { - try { - const user = (await models.Contact.findOne({ - where: { tenant, publicKey: only_pubkey! }, - })) as ContactRecord - if (user) chat.contactIds = `[${user.id}]` - } catch (error) { - sphinxLogger.error(`=> ONLY_PUBKEY ERROR ${error}`, logging.Bots) + if (only_pubkey) { + const pubkeysArray = only_pubkey.split(',') + const userIds: number[] = [] + + for (let i = 0; i < pubkeysArray.length; i++) { + const publicKey = pubkeysArray[i] + try { + const user = (await models.Contact.findOne({ + where: { tenant, publicKey }, + })) as ContactRecord + if (user) userIds.push(user.id) + } catch (error) { + sphinxLogger.error( + `=> ERROR GETTING USER WITH THIS PUBKEY ${publicKey} ${error}`, + logging.Bots + ) + } + } + if (userIds.length === 0) { + sphinxLogger.error( + `=> USERS WITH PUBKEYS PROVIDED DO NOT EXIST`, + logging.Bots + ) return } + chat.contactIds = JSON.stringify([...userIds]) + } else { + chat.contactIds = `[${only_user}]` } } diff --git a/src/tests/configs/nodes.json b/src/tests/configs/nodes.json index ddcd54b5..0d931db7 100644 --- a/src/tests/configs/nodes.json +++ b/src/tests/configs/nodes.json @@ -4,24 +4,75 @@ "pubkey": "03a394d0ebf0d003124ab130c6b12b8b990a50a30a464354800a51981ba745bb07", "ip": "http://alice.sphinx:3001", "external_ip": "http://localhost:3001", - "authToken": "f0M3tvwpiH9BaXAhLkA7", - "transportToken": "MIIBCgKCAQEAmwXF6+EAD0+8Bh31IMd//Hn/+35303tON3gj+WTMQz7hfjAgM91o\n7z8LSoRzX2nORHs9/vKMG2hcmKfaOdmS+rjQcOVPVddCvI0qCzh/Y0lVRHes8Nlf\n/xu+QXdWs5i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WM3Q3bFBkTHlOUGdoaGxIZVFSVFRQeXFKcmVmcmtOZ2hUS0luZnVrYUMxRGpUZHhldFZ3dllIV1dHaFdCNUh3UlpkNVFGbUlMUTVaOG9LS1hydFRySE9Ra0tjSk1CTG8ycVNVaVg0L1g3czlSMStvSnAzMlEzR2RXbC9qaWlSbU5JUmZkWFppR2k3TFFDZ3ZpMzA1RTcvTW5TdFVBZUF1UVZwaVpWSFRlNGRCYmNUY0NSNWVpZlVmOGZ4QnBCMElnYz0=", "pin": "111111" }, { - "pubkey": "021391d86095d6cd08e5305e03b236a962998c651bbf7723d8b3b57d9e89da4c7e", - "routeHint": "030841d1519f19c68e80efc5ef5af3460ca4bfa17486fda9baca878b9ef255358f:2199023386625", + "alias": "bob", + "pubkey": "02a38857848aca6b32ebcc3c85d07ee41354988f4f1e0b4e6ccd255eee6ed75b8d", + "ip": "http://bob.sphinx:3002", + "external_ip": "http://localhost:3002", + "authToken": "tMGOUuFT1/W11kP7a6rB", + "transportToken": "MIIBCgKCAQEA0xtWDI1jz6B2XuRvm5fCENfLYfGjFhXyTAibm+vnyYUP+7XOhVtP\nNze7lXRjifSfNarJ20BgizPHQN2HpFGAHS23tJWYS7JRlUVMdejDaxy3JjT+56gE\nezQ4aVhKkdEuEHjVWzQNIMTI3G5wXogtx/e2C69HIzUO7fnR1bn0ZFTFB3hX9JJl\nwysZPxxryVBu+PNp8aGRYw4aHX6pQKvMhtOXBytDxkSJFOdLwfQzN6Nvl00zsq5o\nFoh0ZdIBLtWSJ4CQbqWh9aukbLxws/rF+i7VyGeEIswQh+9RQy4MEgNS+IoMyDC0\nUdctzzAaHUvsXFFRTrXaC6qwzITGr9x6IQIDAQAB", + "contact_key": "MIIBCgKCAQEAwuhDmk5+S3DKCsIPJn+679WSkbvg13h+XXePK/O7GdvZkAwelH/7QsJ3WP3cIXcJ8f8aQkUNx56l0ILjULEeE28EdOGCzi2Ld0ME3i+7WoSkyb+lElvV6hiiTvOKkGLcEbuvFgadnHR++m2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YUx5T29hbkIvWWJBZlhFeTVvSDdYc3Z1REVJSlFBTytHVDNmNE9OblRHbk1oU2ZYNGU1VTRiUm81OWIvWWo0OFpZKzNZdWh4dDMrL2V3cUcrcWx5ZUg3dkZrQ05Bd0FIazFSaXBUd0Vic3FJTlJpd05sa0NpeVJXMkV4SjdUWUhCTT0=", + "pin": "111111" + }, + { + "alias": "carol", + "pubkey": "0364c05cbcbb9612036cc66297445a88bcfc21941fd816e17a56b54b0b52ff02b9", + "ip": "http://carol.sphinx:3003", + "external_ip": "http://localhost:3003", + "authToken": "f70soe/8GbmLjzLlyMHN", + "transportToken": "MIIBCgKCAQEA0tntxUY9hUMSmW1ZL5l1V9btss56bCrqFfWV9+9gaNxKBuW+2LSw\nJKvhKeL7IOfSqK9Lq4w4XsBC1sEDA30W48yDzf/khEKX6gaHQcpHm0hnPViranGu\nUNDOXLk7QnVYN/rSwhOmVowFY570cqB4SBXaIrLX31ytKk6Ni3c/sseM80QuC3lq\nb+rbfTu2fygp3P3ro71WzrWYlw8iob61UWbXXvNqqIT4yEG5RKRqZCqj1VFh9JlE\nCjGfUDqSw1UBdY3sd9QMsHYI2vfn91e3/TdI8rO+8IsYxpCcDt23Y8miwbGlCo/B\n3RJEsPFwJPxBvvvtU9/pU9QoMROIX3qgawIDAQAB", + "contact_key": "MIIBCgKCAQEAmVl0urwfeZLhIQ1sTeIeXGWUCUvCvmN9z6gLnjqYVFmkc2lgwV3VKn8/RainrfWA0VRp0u1OmfcAsqW3i7srB8vtv0S+CXGk8vtJfBl52f2lnpKWUCXq7Z3eFWZi86GL+GHKxWAx+m98qf588/g+UR/VU8w67lcaUEK28f0GqAGsORP+CpnzK0p7gZDkjzBoi/H8LceLC8iv72K8aF0MszeQgsX8dNx6VjPrTnDkAX6ikxcuyeKJ64rPz+RENlrZE7At7Q070fGOVgO7ARHUPK3AxiKDqiHyhBXYbFEFPoKSOPZr9xm8UffQtOi76dwfAhFcp/z/aG8mcP+mle3tQwIDAQAB", + "privkey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020f81a2bcdb6fccc9539f7b891f704289ebc65a4e3", + "ip": "http://host.docker.internal:3004", + "external_ip": "http://localhost:3004", + "proxy_ip": "http://proxy.sphinx:5050", + "admin_token": "r46bnf8ibrhbb424heba", + "authToken": "/jbGaLG/jViZeG5dPq+f", + "transportToken": "MIIBCgKCAQEAv85pKAmP8RC1LKq1FG8acSLhCaot+dSEbqPQxCsWJNdzyIeg1D4f\nwH6DSD/+x/ARlKVF+eLwUpVWqVFo+GbpCXkI6emnYwPDwvqkEMu2i8NX4HlzQ9ZD\nDsZzuYafZLBSeHQtOdqBzNEIVHI9tic5QjaKGFGSWjNegObh+vdRJJhDcT/lEZUe\nrOKPHzXVZfTGqWiNoUOZh1jOuJC2khJYsjGjtWutp0kbnB7hc9r0oCtnQ/ebu3sF\nUi61GxPJtrW9Ihw/jfnJN3DBV6NukLh40FAfN+0RbzAtsG665gWtxAzK8+FjL4rq\nG8tJg4cggC1rWS7hxSddc5XjANc6kfBvYwIDAQAB", + "contact_key": "MIIBCgKCAQEAqRulW+eZIOXQ6XzrSk3prC/n5NwemKYozC3D+QJteab7UDXkhTZ2wXo6ZHAOaSD0ONCYAgwk76VPQUPW7v2F9NNFPnxHAzTsG7SuM7wpPH3g7qK2oyE5VsD3og1aJBwmfH1bOVxlrhnHc+lBiYcW9v5bC3XJMVaZntmITC9ium5+ThOXaerDgQHk54kdUSH6SxkC87kZj36WqU2pId9lioLLVgtqAufZjeOpX5GbBLzFYN/SKhslGbXH6z/PPczHsIUedeSQX8yJ2Hh3ROShbfK+7YTYdvFWSMdJVSwXmHfMveovqbwDzrGrPAO91//06259LjU2TkiH78FWXlcGfQIDAQAB", + "privkey": "MIIEpAIBAAKCAQEAqRulW+eZIOXQ6XzrSk3prC/n5NwemKYozC3D+QJteab7UDXkhTZ2wXo6ZHAOaSD0ONCYAgwk76VPQUPW7v2F9NNFPnxHAzTsG7SuM7wpPH3g7qK2oyE5VsD3og1aJBwmfH1bOVxlrhnHc+lBiYcW9v5bC3X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3ZnQzE2OFM0YTh3cDNQbStPZHhRN0loYXNKSE5WQkFEQ1ErdWJyZVZsWk4vTSt5cVUvQzNJQU1PbWt5R0tkSURkNEtqQzFFYXVOY3p5U2RCTkdyUjlLOTRYSWRHVUhmczFuT0VSbHd3RTZoRTBNMVFWY3RlOG52ck5RdkFFR2xqR1h2SU4vZlBKZzhKN014dnZtWnBONllPYmNSK1ZzcVdYUFpZcHBqQWRRUlFRZzU2d0ZkbEpCNkVGS3ZYV2oxRENTZmc5akhXRWdFSVRDaVlsUnMwdnZLbzdrMFcyekJzNHNFa3A1d0JtR0NjcHM2bzFLczZFdi84ZGhTbHBxL1RHd3JEQjg0RkFyM0lSNHE4QzJWQ2x3cFIrdmh3cllGWjdSdVBSRmkwSDRjVy9PMmZhdjBWTThGYUtObWpaNlhqd0NELzZ1bUhacGdIRElTV2NONDdSaGU5WFZwV1lRVklFZVI4aXlZKzhWT00vSitaSWJIT0NpS1NMdVd4K2R4ZU9uSCtlS2NCWVFDcExqL1dFY1hvMXBYby84TmV5VTZkdHBMYlVPUldFbjc5Rk5YM0VkZytsTkpnRVVqWEN0R0M4ckhGU1FrZUszclI2ODRQeWYvK0VqeWlmbGhuckRoTEpPM0tMa1hlQXY2WHRTSnJHdmtONFdVaWJ3b0JYSHUwZXR2djVjbkNjTDE5UG15THMrS2xVUmRuL2hMRm00U2tnTFFyUU1tRG9yUnYrWDZPeTFqbmdwYTFKS1oyZGpRSk9UWExhQmJHSkJKVXBaT29nY2p1b21vVUpiMEZGWHU4REpXQ1RSakVsSFk3ZGRzTEsvQmF0az0=", + "pin": "111111" + }, + { + "pubkey": "027c95215f16745999d69cd473ea4b216debdbb5074e53107872ee48f950a5135e", + "routeHint": "037ec785c6004d512ebaeb0020f81a2bcdb6fccc9539f7b891f704289ebc65a4e3:2199023452161", "alias": "virtualNode0", "ip": "http://host.docker.internal:3004", "external_ip": "http://localhost:3004", - "authToken": "EwNOdUycNff1EQz+/FJ6", - "transportToken": "MIIBCgKCA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d0x0L3pVcVA3OHlFeU0yTVBxNTh5cG51Yjk4Z1kyQUdPUFNaNzNHME5Eek5aQXJtMytWRldFeHRRQzdSVGNlQVZLYkgzL3d1ZFlYQ29ObW9qRGVZZ01FUzhUdUYxV2xLaFhqcmgzUGFPSzhCZXBMeDhaWjhUTUd6SW9vU0lhWjVMT1ZZMTYyZFZZOG8raVpUa3FTd1RaSVozTzJKUUJ3YkxhNDRmelJFM3lzV2ZqNExyNm1YNXgwMTY0UGNDdndNdk1XTmFySi9OV3R3OWJQcDEvdnp1MC9oWmxwY0dKNzY4UGVCREtROXNsYytmVVdHdFhpMWZVUVkxRGNGSndOWk55eW5MNEtRNDR4MkwyS0JGUXVTeFdxaExNV1VsTjNHaTFFSmp2RG9wUThNaGpLbz0=", + "pin": "111111" + }, + { + "pubkey": "0382b91f7efd6c16c551d54096df7a20f66c2fd29a8da39ab237602da4ad7ff76f", + "routeHint": "037ec785c6004d512ebaeb0020f81a2bcdb6fccc9539f7b891f704289ebc65a4e3:2199023386625", + "alias": "virtualNode1", + "ip": "http://host.docker.internal:3004", + "external_ip": "http://localhost:3004", + "authToken": "17HHEVkDq5YrT6knzumM", + "transportToken": "MIIBCgKCAQEAv85pKAmP8RC1LKq1FG8acSLhCaot+dSEbqPQxCsWJNdzyIeg1D4f\nwH6DSD/+x/ARlKVF+eLwUpVWqVFo+GbpCXkI6emnYwPDwvqkEMu2i8NX4HlzQ9ZD\nDsZzuYafZLBSeHQtOdqBzNEIVHI9tic5QjaKGFGSWjNegObh+vdRJJhDcT/lEZUe\nrOKPHzXVZfTGqWiNoUOZh1jOuJC2khJYsjGjtWutp0kbnB7hc9r0oCtnQ/ebu3sF\nUi61GxPJtrW9Ihw/jfnJN3DBV6NukLh40FAfN+0RbzAtsG665gWtxAzK8+FjL4rq\nG8tJg4cggC1rWS7hxSddc5XjANc6kfBvYwIDAQAB", + "contact_key": "MIIBCgKCAQEA06nUL+xYNW//CfAoLn5HzZvgd7qiGznHtCZz5yFDTTS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Q5ZjJqRGxUQW1YeTEyZnpkYXJWRUFRTHA3aFZPZENqcDBxVElPRHZ2OUJNV01IUXh4RGl3SHRpbzZPK21QQ2E1NHphcFdVQ204Y0dLN0RxVXhCZlFWbXIyUStpcDNHc1IxQ0ZmQ0F1SFU1QlJtM3pXeE1DV0xySG1OSWpwaHRoelNJUm1QL0VJWWRLcFpVTTJTZlptU2NFekJoTm5kNGE4QlJRZnI5VDlVNk5FWXJZM0c4UCtPUjRKbFdadjdkNXMxRjd2MFdKVmlPdHZvQjB6Tm5nUT0=", "pin": "111111" } ] From a28d55e7052f9a1546c07822a852d54a52c5a5ec Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 00:07:25 +0000 Subject: [PATCH 093/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From a3b3528a2cbe37b910fd72222dc6c2555df50014 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 00:07:55 +0000 Subject: [PATCH 094/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 205a0fa45527ccd26346c3436267cba73c34d2c1 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Tue, 19 Mar 2024 18:54:03 +0100 Subject: [PATCH 095/117] feat: added second_brain_url column to chats table --- dist/src/models/sql/chat.js | 4 ++++ dist/src/models/sql/chat.js.map | 2 +- dist/src/utils/migrate.js | 1 + dist/src/utils/migrate.js.map | 2 +- src/models/sql/chat.ts | 3 +++ src/utils/migrate.ts | 2 ++ 6 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dist/src/models/sql/chat.js b/dist/src/models/sql/chat.js index 3e1516f0..be209bb9 100644 --- a/dist/src/models/sql/chat.js +++ b/dist/src/models/sql/chat.js @@ -198,6 +198,10 @@ __decorate([ sequelize_typescript_1.Column, __metadata("design:type", String) ], Chat.prototype, "preview", void 0); +__decorate([ + sequelize_typescript_1.Column, + __metadata("design:type", String) +], Chat.prototype, "secondBrainUrl", void 0); Chat = __decorate([ (0, sequelize_typescript_1.Table)({ tableName: 'sphinx_chats', underscored: true }) ], Chat); diff --git a/dist/src/models/sql/chat.js.map b/dist/src/models/sql/chat.js.map index cf54d5f4..cfd36cd5 100644 --- a/dist/src/models/sql/chat.js.map +++ b/dist/src/models/sql/chat.js.map @@ -1 +1 @@ -{"version":3,"file":"chat.js","sourceRoot":"","sources":["../../../../src/models/sql/chat.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAqE;AAGtD,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,4BAAW;CAmJ5C,CAAA;AAlJC;IAAC,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI;QAChB,MAAM,EAAE,IAAI;QACZ,aAAa,EAAE,IAAI;KACpB,CAAC;;gCACQ;AAEV;IAAC,6BAAM;;kCACK;AAEZ;IAAC,6BAAM;;kCACK;AAEZ;IAAC,6BAAM;;sCACS;AAEhB;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,MAAM,CAAC;;kCACZ;AAEZ;IAAC,IA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;AAEZ;IAAC,6BAAM;;wCACW;AAElB;IAAC,6BAAM;;qCACQ;AAEf;IAAC,6BAAM;;oCACO;AAEd;IAAC,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,YAAY,EAAE,KAAK;QACnB,SAAS,EAAE,IAAI;KAChB,CAAC;;gDACyB;AAE3B;IAAC,6BAAM;;iCACI;AAEX;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,MAAM,CAAC;;oCACV;AAEd;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,IAAI,CAAC;;4CACA;AAGtB;IAAC,6BAAM;;2CACc;AAErB;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,IAAI,CAAC;;gDACI;AAE1B;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,IAAI,CAAC;;yCACH;AAEnB;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,IAAI,CAAC;;4CACA;AAEtB;IAAC,IAAA,6BAAM,EAAC,+BAAQ,CAAC,IAAI,CAAC;;6CACC;AAEvB;IAAC,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,OAAO;QACtB,YAAY,EAAE,KAAK;QACnB,SAAS,EAAE,KAAK;KACjB,CAAC;;yCACkB;AAEpB;IAAC,6BAAM;;qCACQ;AAEf;IAAC,6BAAM;;4CACe;AArJH,IAAI;IADxB,IAAA,4BAAK,EAAC,EAAE,SAAS,EAAE,cAAc,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;GACnC,IAAI,CAsJxB;kBAtJoB,IAAI"} \ No newline at end of file diff --git a/dist/src/utils/migrate.js b/dist/src/utils/migrate.js index 6bff784c..406f6f39 100644 --- a/dist/src/utils/migrate.js +++ b/dist/src/utils/migrate.js @@ -379,6 +379,7 @@ function migrate() { addTableColumn('sphinx_messages', 'error_message', 'TEXT'); addTableColumn('sphinx_messages', 'thread_uuid', 'TEXT'); addTableColumn('sphinx_timers', 'msg_uuid', 'TEXT'); + addTableColumn('sphinx_chats', 'second_brain_url', 'TEXT'); }); } exports.default = migrate; diff --git a/dist/src/utils/migrate.js.map b/dist/src/utils/migrate.js.map index c09e9eee..5f304d22 100644 --- a/dist/src/utils/migrate.js.map +++ b/dist/src/utils/migrate.js.map @@ -1 +1 @@ -{"version":3,"file":"migrate.js","sourceRoot":"","sources":["../../../src/utils/migrate.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,wCAAyC;AACzC,sCAAmD;AACnD,4CAAoC;AACpC,qCAAgD;AAEhD,SAAe,YAAY;;QACzB,IAAI;YACF,MAAM,KAAK,GAAG,CAAC,MAAM,eAAM,CAAC,IAAI,CAAC,OAAO,EAAE,CAAW,CAAA;YACrD,IAAI,GAAG,GAAG,KAAK,CAAA;YACf,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;gBAClB,IAAI,CAAC,CAAC,MAAM,KAAK,IAAI,EAAE;oBACrB,GAAG,GAAG,IAAI,CAAA;iBACX;YACH,CAAC,CAAC,CAAA;YACF,IAAI,CAAC,GAAG;gBAAE,OAAM;YAChB,OAAO,CAAC,GAAG,CAAC,0CAA0C,CAAC,CAAA;YACvD,MAAM,IAAA,sBAAY,EAAC,KAAK,EAAE,CAAO,CAAC,EAAE,EAAE;gBACpC,IAAI,CAAC,CAAC,MAAM,KAAK,IAAI,EAAE;oBACrB,MAAM,CAAC,CAAC,MAAM,CAAC;wBACb,MAAM,EAAE,CAAC,CAAC,OAAO;4BACf,CAAC,CAAC,mBAAS,CAAC,aAAa,CAAC,IAAI;4BAC9B,CAAC,CAAC,mBAAS,CAAC,aAAa,CAAC,GAAG;qBAChC,CAAC,CAAA;iBACH;YACH,CAAC,CAAA,CAAC,CAAA;YACF,OAAO,CAAC,GAAG,CAAC,qDAAqD,CAAC,CAAA;SACnE;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,CAAC,CAAC,CAAA;SACzC;I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c,EAAE,SAAS,EAAE,MAAM,CAAC,CAAA;QAEjD,cAAc,CAAC,iBAAiB,EAAE,OAAO,EAAE,SAAS,CAAC,CAAA;QAErD,cAAc,CAAC,iBAAiB,EAAE,eAAe,EAAE,MAAM,CAAC,CAAA;QAE1D,cAAc,CAAC,iBAAiB,EAAE,aAAa,EAAE,MAAM,CAAC,CAAA;QAExD,cAAc,CAAC,eAAe,EAAE,UAAU,EAAE,MAAM,CAAC,CAAA;IACrD,CAAC;CAAA;AA7XD,0BA6XC;AAED,SAAe,SAAS,CAAC,SAAS;;QAChC,MAAM,cAAc,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAA;QACnD,IAAI;YACF,MAAM,kBAAS,CAAC,KAAK,CACnB,UAAU,SAAS,oCAAoC,CACxD,CAAA;SACF;QAAC,OAAO,CAAC,EAAE;YACV,oCAAoC;SACrC;IACH,CAAC;CAAA;AAED,SAAe,cAAc,CAAC,KAAa,EAAE,MAAc,EAAE,IAAI,GAAG,MAAM;;QACxE,IAAI;YACF,MAAM,kBAAS,CAAC,KAAK,CAAC,eAAe,KAAK,QAAQ,MAAM,IAAI,IAAI,EAAE,CAAC,CAAA;SACpE;QAAC,OAAO,CAAC,EAAE;YACV,2DAA2D;SAC5D;IACH,CAAC;CAAA"} \ No newline at end of file +{"version":3,"file":"migrate.js","sourceRoot":"","sources":["../../../src/utils/migrate.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,wCAAyC;AACzC,sCAAmD;AACnD,4CAAoC;AACpC,qCAAgD;AAEhD,SAAe,YAAY;;QACzB,IAAI;YACF,MAAM,KAAK,GAAG,CAAC,MAAM,eAAM,CAAC,IAAI,CAAC,OAAO,EAAE,CAAW,CAAA;YACrD,IAAI,GAAG,GAAG,KAAK,CAAA;YACf,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;gBAClB,IAAI,CAAC,CAAC,MAAM,KAAK,IAAI,EAAE;oBACrB,GAAG,GAAG,IAAI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ACH,CAAC;CAAA;AAED,SAAe,cAAc,CAAC,KAAa,EAAE,MAAc,EAAE,IAAI,GAAG,MAAM;;QACxE,IAAI;YACF,MAAM,kBAAS,CAAC,KAAK,CAAC,eAAe,KAAK,QAAQ,MAAM,IAAI,IAAI,EAAE,CAAC,CAAA;SACpE;QAAC,OAAO,CAAC,EAAE;YACV,2DAA2D;SAC5D;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/src/models/sql/chat.ts b/src/models/sql/chat.ts index 40902ac8..4a54e782 100644 --- a/src/models/sql/chat.ts +++ b/src/models/sql/chat.ts @@ -148,6 +148,9 @@ export default class Chat extends Model { @Column preview: string + + @Column + secondBrainUrl: string } export interface ChatRecord extends Chat { diff --git a/src/utils/migrate.ts b/src/utils/migrate.ts index b452bc43..506c1081 100644 --- a/src/utils/migrate.ts +++ b/src/utils/migrate.ts @@ -416,6 +416,8 @@ export default async function migrate(): Promise { addTableColumn('sphinx_messages', 'thread_uuid', 'TEXT') addTableColumn('sphinx_timers', 'msg_uuid', 'TEXT') + + addTableColumn('sphinx_chats', 'second_brain_url', 'TEXT') } async function addTenant(tableName) { From 5a7b191db1708f33eeebe364423cf3ef413f0d91 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Tue, 19 Mar 2024 18:57:44 +0100 Subject: [PATCH 096/117] feat: add second_brain_url when creating a tribe --- dist/src/controllers/chatTribes.js | 3 ++- dist/src/controllers/chatTribes.js.map | 2 +- dist/src/controllers/chats.js | 4 ++-- dist/src/controllers/chats.js.map | 2 +- src/controllers/chatTribes.ts | 4 +++- src/controllers/chats.ts | 4 +++- 6 files changed, 12 insertions(+), 7 deletions(-) diff --git a/dist/src/controllers/chatTribes.js b/dist/src/controllers/chatTribes.js index 5dbe649f..c8d66894 100644 --- a/dist/src/controllers/chatTribes.js +++ b/dist/src/controllers/chatTribes.js @@ -843,7 +843,7 @@ exports.replayChatHistory = replayChatHistory; * @param {Object} [profile_filters] - The profile filters for the chat. * @returns {Promise} - An object containing the tribe chat parameters. */ -function createTribeChatParams(owner, contactIds, name, img, price_per_message, price_to_join, escrow_amount, escrow_millis, unlisted, is_private, app_url, feed_url, feed_type, tenant, pin, profile_filters, call_recording, meme_server_location, jitsi_server, stakwork_api_key, stakwork_webhook) { +function createTribeChatParams(owner, contactIds, name, img, price_per_message, price_to_join, escrow_amount, escrow_millis, unlisted, is_private, app_url, feed_url, feed_type, tenant, pin, profile_filters, call_recording, meme_server_location, jitsi_server, stakwork_api_key, stakwork_webhook, second_brain_url) { return __awaiter(this, void 0, void 0, function* () { const date = new Date(); date.setMilliseconds(0); @@ -885,6 +885,7 @@ function createTribeChatParams(owner, contactIds, name, img, price_per_message, jitsiServer: jitsi_server || '', stakworkApiKey: stakwork_api_key || '', stakworkWebhook: stakwork_webhook || '', + secondBrainUrl: second_brain_url || '', }; }); } diff --git a/dist/src/controllers/chatTribes.js.map b/dist/src/controllers/chatTribes.js.map index d8bb53d5..690ed5ed 100644 --- a/dist/src/controllers/chatTribes.js.map +++ b/dist/src/controllers/chatTribes.js.map @@ -1 +1 @@ -{"version":3,"file":"chatTribes.js","sourceRoot":"","sources":["../../../src/controllers/chatTribes.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA8B;AAE9B,sCAQkB;AAClB,2CAA0C;AAC1C,sCAA+C;AAC/C,sCAAqC;AACrC,qCAAoC;AACpC,sCAAqC;AACrC,0CAAyC;AACzC,0CAAyC;AACzC,gCAAyC;AACzC,sCAAiE;AACjE,4CAAoC;AACpC,4CAAuD;AAIvD;;;;;;GAMG;AACH,SAAsB,SAAS,CAAC,GAAQ,EAAE,GAAQ;;QAChD,IAAI,CAAC,GAAG,CAAC,KAAK;YAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QAC/C,qBAAY,CAAC,IAAI,CAAC,cAAc,EAAE,gBAAO,CAAC,OAAO,CAAC,CAAA;QAClD,IAAI;YACF,MAAM,IAAI,GAAG,MAAM,WAAW,CA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C,KAAK;QACxB,gBAAgB,EAAE,KAAK,CAAC,SAAS,IAAI,EAAE;QACvC,YAAY,EAAE,KAAK,CAAC,SAAS;QAC7B,WAAW,EAAE,EAAE,CAAC,WAAW;QAC3B,IAAI,EAAE,EAAE,CAAC,IAAI;QACb,GAAG,EAAE,EAAE,CAAC,GAAG;QACX,QAAQ,EAAE,EAAE,CAAC,QAAQ;QACrB,UAAU,EAAE,EAAE,CAAC,OAAO;KACvB,CAAA;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"chatTribes.js","sourceRoot":"","sources":["../../../src/controllers/chatTribes.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA8B;AAE9B,sCAQkB;AAClB,2CAA0C;AAC1C,sCAA+C;AAC/C,sCAAqC;AACrC,qCAAoC;AACpC,sCAAqC;AACrC,0CAAyC;AACzC,0CAAyC;AACzC,gCAAyC;AACzC,sCAAiE;AACjE,4CAAoC;AACpC,4CAAuD;AAIvD;;;;;;GAMG;AACH,SAAsB,SAAS,CAAC,GAAQ,EAAE,GAAQ;;QAChD,IAAI,CAAC,GAAG,CAAC,KAAK;YAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QAC/C,qBAAY,CAAC,IAAI,CAAC,cAAc,EAAE,gBAAO,CAAC,OAAO,CAAC,CAAA;QAClD,IAAI;YACF,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;YACnD,IAAA,aAAO,EAAC,GAAG,EAAE,IAAI,CAAC,CAAA;SACnB;QAAC,OAAO,CAAC,EAAE;YACV,IAAA,aAAO,EAAC,GAAG,EAAE,CAAC,CAAC,CAAA;SAChB;IACH,CAAC;CAAA;AATD,8BASC;AAED,SAAsB,WAAW,CAAC,IAA0B,EAAE,KAAc;;QAC1E,MAAM,EACJ,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,GAA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} \ No newline at end of file diff --git a/dist/src/controllers/chats.js b/dist/src/controllers/chats.js index 3d0c1396..585c7b80 100644 --- a/dist/src/controllers/chats.js +++ b/dist/src/controllers/chats.js @@ -261,7 +261,7 @@ function createGroupChat(req, res) { if (!req.owner) return (0, res_1.failure)(res, 'no owner'); const tenant = req.owner.id; - const { name, is_tribe, price_per_message, price_to_join, escrow_amount, escrow_millis, img, description, tags, unlisted, app_url, feed_url, feed_type, pin, call_recording, meme_server_location, jitsi_server, stakwork_api_key, stakwork_webhook, } = req.body; + const { name, is_tribe, price_per_message, price_to_join, escrow_amount, escrow_millis, img, description, tags, unlisted, app_url, feed_url, feed_type, pin, call_recording, meme_server_location, jitsi_server, stakwork_api_key, stakwork_webhook, second_brain_url, } = req.body; let { profile_filters } = req.body; if (profile_filters) { if (!Array.isArray(profile_filters)) { @@ -300,7 +300,7 @@ function createGroupChat(req, res) { let chatParams; let okToCreate = true; if (is_tribe) { - chatParams = (yield (0, chatTribes_1.createTribeChatParams)(owner, contact_ids, name, img, price_per_message, price_to_join, escrow_amount, escrow_millis, unlisted, req.body.private, app_url, feed_url, feed_type, tenant, pin, profile_filters || '', call_recording, meme_server_location, jitsi_server, stakwork_api_key, stakwork_webhook)); + chatParams = (yield (0, chatTribes_1.createTribeChatParams)(owner, contact_ids, name, img, price_per_message, price_to_join, escrow_amount, escrow_millis, unlisted, req.body.private, app_url, feed_url, feed_type, tenant, pin, profile_filters || '', call_recording, meme_server_location, jitsi_server, stakwork_api_key, stakwork_webhook, second_brain_url)); if (chatParams.uuid) { // publish to tribe server try { diff --git a/dist/src/controllers/chats.js.map b/dist/src/controllers/chats.js.map index 1bc45cfa..44d3110a 100644 --- a/dist/src/controllers/chats.js.map +++ b/dist/src/controllers/chats.js.map @@ -1 +1 @@ -{"version":3,"file":"chats.js","sourceRoot":"","sources":["../../../src/controllers/chats.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2BAA0B;AAC1B,sCAQkB;AAClB,2CAA0C;AAC1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AAC,WAAW;aAChC,CAAC,CAAA;YAEF,gBAAgB;YAChB,MAAM,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAA;YAC1C,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,qCAAqC,CAAC,CAAA;SAC3D;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,mCAAmC,KAAK,EAAE,CAAC,CAAA;YAC9D,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;SAC3B;IACH,CAAC;CAAA;AAjED,0CAiEC"} \ No newline at end of file +{"version":3,"file":"chats.js","sourceRoot":"","sources":["../../../src/controllers/chats.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2BAA0B;AAC1B,sCAQkB;AAClB,2CAA0C;AAC1C,sCAA+C;AAC/C,sCAAqC;AACrC,sCAAqC;AAErC,0CAAyC;AACzC,gCAAyC;AACzC,0CAAyC;AACzC,0CAAyC;AACzC,4CAAoC;AACpC,4CAAuD;AAEvD,wCAAyC;AACzC,4CAA4C;AAC5C,wDAAoD;AACpD,6CAIqB;AAErB,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B;;;;;;GAMG;AACH,SAAsB,UAAU,CAAC,GAAQ,EAAE,GAAQ;;QACjD,IAAI,CAAC,GAAG,CAAC,KAAK;YAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QAC/C,MAAM,MAAM,GAAW,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;QACnC,qBAAY,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;QAClC,MAAM,EAAE,GAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;QAClC,IAAI,CAAC,EAAE,EAAE;YACP,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,YAAY,CAAC,CAAA;SAClC;QACD,MAAM,IAAI,GAAS,CAAC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,IAAI,EAAE,CAAA;YACvB,MAAM,KAAK,GAAG,OAAO,CAAA;YACrB,MAAM,gBAAgB,CAAC;gBACrB,cAAc,EAAE,kBAAkB,CAAC,MAAM;gBACzC,MAAM;gBACN,IAAI,EAAE,KAAK;gBACX,IAAI;gBACJ,WAAW,EAAE,KAAK;gBAClB,gBAAgB,EAAE,EAAE;gBACpB,iBAAiB,EAAE,EAAE;gBACrB,MAAM,EAAE,EAAE,GAAG,EAAE,kBAAkB,CAAC,WAAW,EAAE,KAAK,EAAE;gBACtD,YAAY,EAAE,IAAI;aACnB,CAAC,CAAA;YAEF,+BAA+B;YAC/B,MAAM,MAAM,CAAC,uBAAuB,CAAC;gBACnC,MAAM,EAAE,KAAK,CAAC,IAAI;gBAClB,WAAW,EAAE,SAAS;gBACtB,SAAS,EAAE,KAAK,CAAC,IAAI;gBACrB,YAAY,EAAE,KAAK,CAAC,WAAW;aAChC,CAAC,CAAA;YAEF,gBAAgB;YAChB,MAAM,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAA;YAC1C,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,qCAAqC,CAAC,CAAA;SAC3D;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,mCAAmC,KAAK,EAAE,CAAC,CAAA;YAC9D,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;SAC3B;IACH,CAAC;CAAA;AAjED,0CAiEC"} \ No newline at end of file diff --git a/src/controllers/chatTribes.ts b/src/controllers/chatTribes.ts index f7df22e5..8629d934 100644 --- a/src/controllers/chatTribes.ts +++ b/src/controllers/chatTribes.ts @@ -945,7 +945,8 @@ export async function createTribeChatParams( meme_server_location: string, jitsi_server: string, stakwork_api_key: string, - stakwork_webhook: string + stakwork_webhook: string, + second_brain_url: string ): Promise<{ [k: string]: any }> { const date = new Date() date.setMilliseconds(0) @@ -988,6 +989,7 @@ export async function createTribeChatParams( jitsiServer: jitsi_server || '', stakworkApiKey: stakwork_api_key || '', stakworkWebhook: stakwork_webhook || '', + secondBrainUrl: second_brain_url || '', } } diff --git a/src/controllers/chats.ts b/src/controllers/chats.ts index 07d4f5d3..3a9aa836 100644 --- a/src/controllers/chats.ts +++ b/src/controllers/chats.ts @@ -289,6 +289,7 @@ export async function createGroupChat(req: Req, res: Res): Promise { jitsi_server, stakwork_api_key, stakwork_webhook, + second_brain_url, } = req.body let { profile_filters } = req.body @@ -353,7 +354,8 @@ export async function createGroupChat(req: Req, res: Res): Promise { meme_server_location, jitsi_server, stakwork_api_key, - stakwork_webhook + stakwork_webhook, + second_brain_url )) as Chat if (chatParams.uuid) { // publish to tribe server From 5b271982a0f33efc15ae70928dd3eb1d22cd1721 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Tue, 19 Mar 2024 19:09:31 +0100 Subject: [PATCH 097/117] update: added second brain url to update tribe --- dist/src/controllers/chatTribes.js | 4 +++- dist/src/controllers/chatTribes.js.map | 2 +- src/controllers/chatTribes.ts | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dist/src/controllers/chatTribes.js b/dist/src/controllers/chatTribes.js index c8d66894..6b7f10f6 100644 --- a/dist/src/controllers/chatTribes.js +++ b/dist/src/controllers/chatTribes.js @@ -371,7 +371,7 @@ function editTribe(req, res) { if (!req.owner) return (0, res_1.failure)(res, 'no owner'); const tenant = req.owner.id; - const { name, price_per_message, price_to_join, escrow_amount, escrow_millis, img, description, tags, unlisted, app_url, feed_url, feed_type, pin, call_recording, meme_server_location, jitsi_server, stakwork_api_key, stakwork_webhook, } = req.body; + const { name, price_per_message, price_to_join, escrow_amount, escrow_millis, img, description, tags, unlisted, app_url, feed_url, feed_type, pin, call_recording, meme_server_location, jitsi_server, stakwork_api_key, stakwork_webhook, second_brain_url, } = req.body; const { id } = req.params; if (!id) return (0, res_1.failure)(res, 'group id is required'); @@ -468,6 +468,8 @@ function editTribe(req, res) { obj.stakworkApiKey = stakwork_api_key; if (stakwork_webhook) obj.stakworkWebhook = stakwork_webhook; + if (second_brain_url) + obj.secondBrainUrl = second_brain_url; if (Object.keys(obj).length > 0) { yield chat.update(obj); } diff --git a/dist/src/controllers/chatTribes.js.map b/dist/src/controllers/chatTribes.js.map index 690ed5ed..4369b966 100644 --- a/dist/src/controllers/chatTribes.js.map +++ b/dist/src/controllers/chatTribes.js.map @@ -1 +1 @@ -{"version":3,"file":"chatTribes.js","sourceRoot":"","sources":["../../../src/controllers/chatTribes.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA8B;AAE9B,sCAQkB;AAClB,2CAA0C;AAC1C,sCAA+C;AAC/C,sCAAqC;AACrC,qCAAoC;AACpC,sCAAqC;AACrC,0CAAyC;AACzC,0CAAyC;AACzC,gCAAyC;AACzC,sCAAiE;AACjE,4CAAoC;AACpC,4CAAuD;AAIvD;;;;;;GAMG;AACH,SAAsB,SAAS,CAAC,GAAQ,EAAE,GAAQ;;QAChD,IAAI,CAAC,GAAG,CAAC,KAAK;YAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QAC/C,qBAAY,CAAC,IAAI,CAAC,cAAc,EAAE,gBAAO,CAAC,OAAO,CAAC,CAAA;QAClD,IAAI;YACF,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;YACnD,IAAA,aAAO,EAAC,GAAG,EAAE,IAAI,CAAC,CAAA;SACnB;QAAC,OAAO,CAAC,EAAE;YACV,IAAA,aAAO,EAAC,GAAG,EAAE,CAAC,CAAC,CAAA;SAChB;IACH,CAAC;CAAA;AATD,8BASC;AAED,SAAsB,WAAW,CAAC,IAA0B,EAAE,KAAc;;QAC1E,MAAM,EACJ,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,MAAM,EACN,GAAG,EACH,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,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MAAM,EAAE,KAAK,EAAE,EAAE;YACjD,MAAM,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAA;SAC3C;IACH,CAAC;CAAA;AAED,SAAS,qBAAqB,CAAC,IAAI,EAAE,EAAS,EAAE,KAAK;IACnD,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,YAAY;QAChC,aAAa,EAAE,IAAI,CAAC,YAAY;QAChC,OAAO,EAAE,IAAI,CAAC,MAAM;QACpB,QAAQ,EAAE,IAAI,CAAC,OAAO;QACtB,SAAS,EAAE,IAAI,CAAC,QAAQ;QACxB,GAAG,EAAE,IAAI,CAAC,GAAG,IAAI,EAAE;QACnB,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,KAAK,CAAC,KAAK;QACxB,gBAAgB,EAAE,KAAK,CAAC,SAAS,IAAI,EAAE;QACvC,YAAY,EAAE,KAAK,CAAC,SAAS;QAC7B,WAAW,EAAE,EAAE,CAAC,WAAW;QAC3B,IAAI,EAAE,EAAE,CAAC,IAAI;QACb,GAAG,EAAE,EAAE,CAAC,GAAG;QACX,QAAQ,EAAE,EAAE,CAAC,QAAQ;QACrB,UAAU,EAAE,EAAE,CAAC,OAAO;KACvB,CAAA;AACH,CAAC"} \ No newline at end of file diff --git a/src/controllers/chatTribes.ts b/src/controllers/chatTribes.ts index 8629d934..090187fa 100644 --- a/src/controllers/chatTribes.ts +++ b/src/controllers/chatTribes.ts @@ -417,6 +417,7 @@ export async function editTribe(req: Req, res: Res): Promise { jitsi_server, stakwork_api_key, stakwork_webhook, + second_brain_url, } = req.body const { id } = req.params @@ -501,6 +502,7 @@ export async function editTribe(req: Req, res: Res): Promise { if (jitsi_server) obj.jitsiServer = jitsi_server if (stakwork_api_key) obj.stakworkApiKey = stakwork_api_key if (stakwork_webhook) obj.stakworkWebhook = stakwork_webhook + if (second_brain_url) obj.secondBrainUrl = second_brain_url if (Object.keys(obj).length > 0) { await chat.update(obj) } From ee4299692eee09b41cf346c78e8a0061b3f1a9a4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 20:07:00 +0000 Subject: [PATCH 098/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From ca62559eca93ad6870762e463d6017b2c8829066 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 19 Mar 2024 20:07:29 +0000 Subject: [PATCH 099/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From d16c1de085629a8f2e08ce77c8cd70b24b06f6fe Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Thu, 21 Mar 2024 22:09:23 +0100 Subject: [PATCH 100/117] feat: added second_brain_url to create tribe on tribe server --- dist/src/controllers/chats.js | 1 + dist/src/controllers/chats.js.map | 2 +- dist/src/utils/tribes.js | 3 ++- dist/src/utils/tribes.js.map | 2 +- src/controllers/chats.ts | 1 + src/utils/tribes.ts | 3 +++ 6 files changed, 9 insertions(+), 3 deletions(-) diff --git a/dist/src/controllers/chats.js b/dist/src/controllers/chats.js index 585c7b80..2dfb52ad 100644 --- a/dist/src/controllers/chats.js +++ b/dist/src/controllers/chats.js @@ -326,6 +326,7 @@ function createGroupChat(req, res) { owner_route_hint: owner.routeHint || '', pin: pin || '', profile_filters: profile_filters || '', + second_brain_url: second_brain_url || '', }); } catch (e) { diff --git a/dist/src/controllers/chats.js.map b/dist/src/controllers/chats.js.map index 44d3110a..3123ce42 100644 --- a/dist/src/controllers/chats.js.map +++ b/dist/src/controllers/chats.js.map @@ -1 +1 @@ -{"version":3,"file":"chats.js","sourceRoot":"","sources":["../../../src/controllers/chats.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2BAA0B;AAC1B,sCAQkB;AAClB,2CAA0C;AAC1C,sCAA+C;AAC/C,sCAAqC;AACrC,sCAAqC;AAErC,0CAAyC;AACzC,gCAAyC;AACzC,0CAAyC;AACzC,0CAAyC;AACzC,4CAAoC;AACpC,4CAAuD;AAEvD,wCAAyC;AACzC,4CAA4C;AAC5C,wDAAoD;AACpD,6CAIqB;AAErB,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B;;;;;;GAMG;AACH,SAAsB,UAAU,CAAC,GAAQ,EAAE,GAAQ;;QACjD,IAAI,CAAC,GAAG,CAAC,KAAK;YAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QAC/C,MAAM,MAAM,GAAW,GAAG,CAAC,KAAK,CAAC,EAAE,CAAA;QACnC,qBAAY,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;QAClC,MAAM,EAAE,GAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;QAClC,IAAI,CAAC,EAAE,EAAE;YACP,OAAO,IAAA,aAAO,EAAC,GAAG,EAA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C,CAAA;YAE/C,2BAA2B;YAC3B,MAAM,IAAI,GAAG,IAAI,IAAI,EAAE,CAAA;YACvB,MAAM,KAAK,GAAG,OAAO,CAAA;YACrB,MAAM,gBAAgB,CAAC;gBACrB,cAAc,EAAE,kBAAkB,CAAC,MAAM;gBACzC,MAAM;gBACN,IAAI,EAAE,KAAK;gBACX,IAAI;gBACJ,WAAW,EAAE,KAAK;gBAClB,gBAAgB,EAAE,EAAE;gBACpB,iBAAiB,EAAE,EAAE;gBACrB,MAAM,EAAE,EAAE,GAAG,EAAE,kBAAkB,CAAC,WAAW,EAAE,KAAK,EAAE;gBACtD,YAAY,EAAE,IAAI;aACnB,CAAC,CAAA;YAEF,+BAA+B;YAC/B,MAAM,MAAM,CAAC,uBAAuB,CAAC;gBACnC,MAAM,EAAE,KAAK,CAAC,IAAI;gBAClB,WAAW,EAAE,SAAS;gBACtB,SAAS,EAAE,KAAK,CAAC,IAAI;gBACrB,YAAY,EAAE,KAAK,CAAC,WAAW;aAChC,CAAC,CAAA;YAEF,gBAAgB;YAChB,MAAM,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAA;YAC1C,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,qCAAqC,CAAC,CAAA;SAC3D;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,mCAAmC,KAAK,EAAE,CAAC,CAAA;YAC9D,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;SAC3B;IACH,CAAC;CAAA;AAjED,0CAiEC"} \ No newline at end of file +{"version":3,"file":"chats.js","sourceRoot":"","sources":["../../../src/controllers/chats.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2BAA0B;AAC1B,sCAQkB;AAClB,2CAA0C;AAC1C,sCAA+C;AAC/C,sCAAqC;AACrC,sCAAqC;AAErC,0CAAyC;AACzC,gCAAyC;AACzC,0CAAyC;AACzC,0CAAyC;AACzC,4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,gBAAgB;YAChB,MAAM,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAA;YAC1C,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,qCAAqC,CAAC,CAAA;SAC3D;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,mCAAmC,KAAK,EAAE,CAAC,CAAA;YAC9D,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,KAAK,CAAC,CAAA;SAC3B;IACH,CAAC;CAAA;AAjED,0CAiEC"} \ No newline at end of file diff --git a/dist/src/utils/tribes.js b/dist/src/utils/tribes.js index 4c4a7d70..e082ac0a 100644 --- a/dist/src/utils/tribes.js +++ b/dist/src/utils/tribes.js @@ -362,7 +362,7 @@ function getTribeOwnersChatByUUID(uuid) { }); } exports.getTribeOwnersChatByUUID = getTribeOwnersChatByUUID; -function declare({ uuid, name, description, tags, img, group_key, host, price_per_message, price_to_join, owner_alias, owner_pubkey, escrow_amount, escrow_millis, unlisted, is_private, app_url, feed_url, feed_type, owner_route_hint, pin, profile_filters, }) { +function declare({ uuid, name, description, tags, img, group_key, host, price_per_message, price_to_join, owner_alias, owner_pubkey, escrow_amount, escrow_millis, unlisted, is_private, app_url, feed_url, feed_type, owner_route_hint, pin, profile_filters, second_brain_url, }) { return __awaiter(this, void 0, void 0, function* () { try { let protocol = 'https'; @@ -391,6 +391,7 @@ function declare({ uuid, name, description, tags, img, group_key, host, price_pe owner_route_hint: owner_route_hint || '', pin: pin || '', profile_filters, + second_brain_url, }), headers: { 'Content-Type': 'application/json' }, }); diff --git a/dist/src/utils/tribes.js.map b/dist/src/utils/tribes.js.map index 734f7348..77c55a29 100644 --- a/dist/src/utils/tribes.js.map +++ b/dist/src/utils/tribes.js.map @@ -1 +1 @@ -{"version":3,"file":"tribes.js","sourceRoot":"","sources":["../../../src/utils/tribes.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iCAAgC;AAChC,6BAA4B;AAE5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AC,GAAG,CAAC,KAAK,CAAC,CAAA;YAClB,MAAM,+BAA+B,CAAA;SACtC;IACH,CAAC;CAAA;AAlBD,sDAkBC;AAED,SAAsB,uBAAuB,CAAC,EAC5C,MAAM,EACN,WAAW,EACX,SAAS,EACT,YAAY,GAMb;;QACC,IAAI;YACF,IAAI,QAAQ,GAAG,OAAO,CAAA;YACtB,MAAM,KAAK,GAAG,MAAM,kBAAkB,CAAC,YAAY,CAAC,CAAA;YACpD,IAAI,MAAM,CAAC,eAAe;gBAAE,QAAQ,GAAG,MAAM,CAAA;YAC7C,MAAM,CAAC,GAAG,MAAM,IAAA,oBAAK,EACnB,GAAG,QAAQ,MAAM,MAAM,iBAAiB,SAAS,YAAY,WAAW,UAAU,KAAK,EAAE,EACzF;gBACE,MAAM,EAAE,KAAK;gBACb,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;aAChD,CACF,CAAA;YACD,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;gBACT,MAAM,iDAAiD,GAAG,CAAC,CAAC,MAAM,CAAA;aACnE;YACD,MAAM,GAAG,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,CAAA;YAC1B,OAAO,GAAG,CAAA;SACX;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;YAClB,MAAM,gDAAgD,CAAA;SACvD;IACH,CAAC;CAAA;AA/BD,0DA+BC"} \ No newline at end of file +{"version":3,"file":"tribes.js","sourceRoot":"","sources":["../../../src/utils/tribes.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iCAAgC;AAChC,6BAA4B;AAE5B,2CAA8B;AAC9B,yCAAwC;AACxC,sCAQkB;AAElB,wCAAgD;AAEhD,mDAAyD;AACzD,qCAAoC;AACpC,qCAAgD;AAChD,mCAA+C;AAC/C,qCAAqC;AACrC,2CAAmE;AAN1D,4FAMc,uBAAW,OANd;AAAE,2FAMc,sBAAU,OANd;AAQhC,MAAM,MAAM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I;YACF,IAAI,QAAQ,GAAG,OAAO,CAAA;YACtB,MAAM,KAAK,GAAG,MAAM,kBAAkB,CAAC,YAAY,CAAC,CAAA;YACpD,IAAI,MAAM,CAAC,eAAe;gBAAE,QAAQ,GAAG,MAAM,CAAA;YAC7C,MAAM,CAAC,GAAG,MAAM,IAAA,oBAAK,EACnB,GAAG,QAAQ,MAAM,MAAM,iBAAiB,SAAS,YAAY,WAAW,UAAU,KAAK,EAAE,EACzF;gBACE,MAAM,EAAE,KAAK;gBACb,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;aAChD,CACF,CAAA;YACD,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;gBACT,MAAM,iDAAiD,GAAG,CAAC,CAAC,MAAM,CAAA;aACnE;YACD,MAAM,GAAG,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,CAAA;YAC1B,OAAO,GAAG,CAAA;SACX;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;YAClB,MAAM,gDAAgD,CAAA;SACvD;IACH,CAAC;CAAA;AA/BD,0DA+BC"} \ No newline at end of file diff --git a/src/controllers/chats.ts b/src/controllers/chats.ts index 3a9aa836..9a9c2098 100644 --- a/src/controllers/chats.ts +++ b/src/controllers/chats.ts @@ -382,6 +382,7 @@ export async function createGroupChat(req: Req, res: Res): Promise { owner_route_hint: owner.routeHint || '', pin: pin || '', profile_filters: profile_filters || '', + second_brain_url: second_brain_url || '', }) } catch (e) { sphinxLogger.error(`=> couldnt create tribe ${e}`) diff --git a/src/utils/tribes.ts b/src/utils/tribes.ts index a4c3b165..fb7a4c3b 100644 --- a/src/utils/tribes.ts +++ b/src/utils/tribes.ts @@ -433,6 +433,7 @@ export interface TribeInterface { owner_route_hint: string pin: string profile_filters?: string + second_brain_url?: string } export async function declare({ @@ -457,6 +458,7 @@ export async function declare({ owner_route_hint, pin, profile_filters, + second_brain_url, }: TribeInterface): Promise { try { let protocol = 'https' @@ -484,6 +486,7 @@ export async function declare({ owner_route_hint: owner_route_hint || '', pin: pin || '', profile_filters, + second_brain_url, }), headers: { 'Content-Type': 'application/json' }, }) From 36d4ebf0107068a1687cbbee98c05c44b6b11afb Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Thu, 21 Mar 2024 22:14:25 +0100 Subject: [PATCH 101/117] update: update second_brain_url on tribe server --- dist/src/controllers/chatTribes.js | 1 + dist/src/controllers/chatTribes.js.map | 2 +- dist/src/utils/tribes.js | 3 ++- dist/src/utils/tribes.js.map | 2 +- src/controllers/chatTribes.ts | 1 + src/utils/tribes.ts | 2 ++ 6 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dist/src/controllers/chatTribes.js b/dist/src/controllers/chatTribes.js index 6b7f10f6..fc7089aa 100644 --- a/dist/src/controllers/chatTribes.js +++ b/dist/src/controllers/chatTribes.js @@ -426,6 +426,7 @@ function editTribe(req, res) { owner_pubkey: owner.publicKey, pin: pin || '', profile_filters: profile_filters || '', + second_brain_url, }); } catch (e) { diff --git a/dist/src/controllers/chatTribes.js.map b/dist/src/controllers/chatTribes.js.map index 4369b966..909e83e4 100644 --- a/dist/src/controllers/chatTribes.js.map +++ b/dist/src/controllers/chatTribes.js.map @@ -1 +1 @@ -{"version":3,"file":"chatTribes.js","sourceRoot":"","sources":["../../../src/controllers/chatTribes.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA8B;AAE9B,sCAQkB;AAClB,2CAA0C;AAC1C,sCAA+C;AAC/C,sCAAqC;AACrC,qCAAoC;AACpC,sCAAqC;AACrC,0CAAyC;AACzC,0CAAyC;AACzC,gCAAyC;AACzC,sCAAiE;AACjE,4CAAoC;AACpC,4CAAuD;AAIvD;;;;;;GAMG;AACH,SAAsB,SAAS,CAAC,GAAQ,EAAE,GAAQ;;QAChD,IAAI,CAAC,GAAG,CAAC,KAAK;YAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QAC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AAC,YAAY;QAChC,aAAa,EAAE,IAAI,CAAC,YAAY;QAChC,OAAO,EAAE,IAAI,CAAC,MAAM;QACpB,QAAQ,EAAE,IAAI,CAAC,OAAO;QACtB,SAAS,EAAE,IAAI,CAAC,QAAQ;QACxB,GAAG,EAAE,IAAI,CAAC,GAAG,IAAI,EAAE;QACnB,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,KAAK,CAAC,KAAK;QACxB,gBAAgB,EAAE,KAAK,CAAC,SAAS,IAAI,EAAE;QACvC,YAAY,EAAE,KAAK,CAAC,SAAS;QAC7B,WAAW,EAAE,EAAE,CAAC,WAAW;QAC3B,IAAI,EAAE,EAAE,CAAC,IAAI;QACb,GAAG,EAAE,EAAE,CAAC,GAAG;QACX,QAAQ,EAAE,EAAE,CAAC,QAAQ;QACrB,UAAU,EAAE,EAAE,CAAC,OAAO;KACvB,CAAA;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"chatTribes.js","sourceRoot":"","sources":["../../../src/controllers/chatTribes.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA8B;AAE9B,sCAQkB;AAClB,2CAA0C;AAC1C,sCAA+C;AAC/C,sCAAqC;AACrC,qCAAoC;AACpC,sCAAqC;AACrC,0CAAyC;AACzC,0CAAyC;AACzC,gCAAyC;AACzC,sCAAiE;AACjE,4CAAoC;AACpC,4CAAuD;AAIvD;;;;;;GAMG;AACH,SAAsB,SAAS,CAAC,GAAQ,EAAE,GAAQ;;QAChD,IAAI,CAAC,GAAG,CAAC,KAAK;YAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QAC/C,qBAAY,CAAC,IAAI,CAAC,cAAc,EAAE,gBAAO,CAAC,OAAO,CAAC,CAAA;QAClD,IAAI;YACF,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;YACnD,IAAA,aAAO,EAAC,GAAG,EAAE,IAA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;QACnB,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,KAAK,CAAC,KAAK;QACxB,gBAAgB,EAAE,KAAK,CAAC,SAAS,IAAI,EAAE;QACvC,YAAY,EAAE,KAAK,CAAC,SAAS;QAC7B,WAAW,EAAE,EAAE,CAAC,WAAW;QAC3B,IAAI,EAAE,EAAE,CAAC,IAAI;QACb,GAAG,EAAE,EAAE,CAAC,GAAG;QACX,QAAQ,EAAE,EAAE,CAAC,QAAQ;QACrB,UAAU,EAAE,EAAE,CAAC,OAAO;KACvB,CAAA;AACH,CAAC"} \ No newline at end of file diff --git a/dist/src/utils/tribes.js b/dist/src/utils/tribes.js index e082ac0a..605ad1e5 100644 --- a/dist/src/utils/tribes.js +++ b/dist/src/utils/tribes.js @@ -407,7 +407,7 @@ function declare({ uuid, name, description, tags, img, group_key, host, price_pe }); } exports.declare = declare; -function edit({ uuid, host, name, description, tags, img, price_per_message, price_to_join, owner_alias, escrow_amount, escrow_millis, unlisted, is_private, app_url, feed_url, feed_type, deleted, owner_route_hint, owner_pubkey, pin, profile_filters, }) { +function edit({ uuid, host, name, description, tags, img, price_per_message, price_to_join, owner_alias, escrow_amount, escrow_millis, unlisted, is_private, app_url, feed_url, feed_type, deleted, owner_route_hint, owner_pubkey, pin, profile_filters, second_brain_url, }) { return __awaiter(this, void 0, void 0, function* () { try { const token = yield genSignedTimestamp(owner_pubkey); @@ -436,6 +436,7 @@ function edit({ uuid, host, name, description, tags, img, price_per_message, pri owner_route_hint: owner_route_hint || '', pin: pin || '', profile_filters, + second_brain_url, }), headers: { 'Content-Type': 'application/json' }, }); diff --git a/dist/src/utils/tribes.js.map b/dist/src/utils/tribes.js.map index 77c55a29..6b3d1efb 100644 --- a/dist/src/utils/tribes.js.map +++ b/dist/src/utils/tribes.js.map @@ -1 +1 @@ -{"version":3,"file":"tribes.js","sourceRoot":"","sources":["../../../src/utils/tribes.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iCAAgC;AAChC,6BAA4B;A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OAAO,KAAK,EAAE;YACd,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;YAClB,MAAM,+BAA+B,CAAA;SACtC;IACH,CAAC;CAAA;AAlBD,sDAkBC;AAED,SAAsB,uBAAuB,CAAC,EAC5C,MAAM,EACN,WAAW,EACX,SAAS,EACT,YAAY,GAMb;;QACC,IAAI;YACF,IAAI,QAAQ,GAAG,OAAO,CAAA;YACtB,MAAM,KAAK,GAAG,MAAM,kBAAkB,CAAC,YAAY,CAAC,CAAA;YACpD,IAAI,MAAM,CAAC,eAAe;gBAAE,QAAQ,GAAG,MAAM,CAAA;YAC7C,MAAM,CAAC,GAAG,MAAM,IAAA,oBAAK,EACnB,GAAG,QAAQ,MAAM,MAAM,iBAAiB,SAAS,YAAY,WAAW,UAAU,KAAK,EAAE,EACzF;gBACE,MAAM,EAAE,KAAK;gBACb,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;aAChD,CACF,CAAA;YACD,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;gBACT,MAAM,iDAAiD,GAAG,CAAC,CAAC,MAAM,CAAA;aACnE;YACD,MAAM,GAAG,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,CAAA;YAC1B,OAAO,GAAG,CAAA;SACX;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;YAClB,MAAM,gDAAgD,CAAA;SACvD;IACH,CAAC;CAAA;AA/BD,0DA+BC"} \ No newline at end of file +{"version":3,"file":"tribes.js","sourceRoot":"","sources":["../../../src/utils/tribes.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iCAAgC;AAChC,6BAA4B;AAE5B,2CAA8B;AAC9B,yCAAwC;AACxC,sCAQkB;AAElB,wCAAgD;AAEhD,mDAAyD;AACzD,qCAAoC;AACpC,qCAAgD;AAChD,mCAA+C;AAC/C,qCAAqC;AACrC,2CAAmE;AAN1D,4FAMc,uBAAW,OANd;AAAE,2FAMc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C5C,MAAM,EACN,WAAW,EACX,SAAS,EACT,YAAY,GAMb;;QACC,IAAI;YACF,IAAI,QAAQ,GAAG,OAAO,CAAA;YACtB,MAAM,KAAK,GAAG,MAAM,kBAAkB,CAAC,YAAY,CAAC,CAAA;YACpD,IAAI,MAAM,CAAC,eAAe;gBAAE,QAAQ,GAAG,MAAM,CAAA;YAC7C,MAAM,CAAC,GAAG,MAAM,IAAA,oBAAK,EACnB,GAAG,QAAQ,MAAM,MAAM,iBAAiB,SAAS,YAAY,WAAW,UAAU,KAAK,EAAE,EACzF;gBACE,MAAM,EAAE,KAAK;gBACb,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;aAChD,CACF,CAAA;YACD,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;gBACT,MAAM,iDAAiD,GAAG,CAAC,CAAC,MAAM,CAAA;aACnE;YACD,MAAM,GAAG,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,CAAA;YAC1B,OAAO,GAAG,CAAA;SACX;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;YAClB,MAAM,gDAAgD,CAAA;SACvD;IACH,CAAC;CAAA;AA/BD,0DA+BC"} \ No newline at end of file diff --git a/src/controllers/chatTribes.ts b/src/controllers/chatTribes.ts index 090187fa..754ad830 100644 --- a/src/controllers/chatTribes.ts +++ b/src/controllers/chatTribes.ts @@ -474,6 +474,7 @@ export async function editTribe(req: Req, res: Res): Promise { owner_pubkey: owner.publicKey, pin: pin || '', profile_filters: profile_filters || '', + second_brain_url, }) } catch (e) { okToUpdate = false diff --git a/src/utils/tribes.ts b/src/utils/tribes.ts index fb7a4c3b..cb82a5fa 100644 --- a/src/utils/tribes.ts +++ b/src/utils/tribes.ts @@ -522,6 +522,7 @@ export async function edit({ owner_pubkey, pin, profile_filters, + second_brain_url, }: TribeInterface): Promise { try { const token = await genSignedTimestamp(owner_pubkey) @@ -549,6 +550,7 @@ export async function edit({ owner_route_hint: owner_route_hint || '', pin: pin || '', profile_filters, + second_brain_url, }), headers: { 'Content-Type': 'application/json' }, }) From 9dfaff50fff59fd750b7ce8180e58d432a1f1631 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 22 Mar 2024 14:50:02 +0000 Subject: [PATCH 102/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 7bf43c4a49db744de92ac0140bba2bf3972a7ad3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 22 Mar 2024 14:50:31 +0000 Subject: [PATCH 103/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 50272a7d7e5fb3b5f469bb058c168644227b21d6 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Wed, 27 Mar 2024 19:05:45 +0100 Subject: [PATCH 104/117] update: ensured help command response are hidden --- dist/src/builtin/kick.js | 3 ++- dist/src/builtin/kick.js.map | 2 +- src/builtin/kick.ts | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/src/builtin/kick.js b/dist/src/builtin/kick.js index 1483ca25..5b5a0fb0 100644 --- a/dist/src/builtin/kick.js +++ b/dist/src/builtin/kick.js @@ -168,7 +168,8 @@ function init() { }, { name: 'Help', value: '/kick help' }, ]) - .setThumbnail(botSVG); + .setThumbnail(botSVG) + .setOnlyOwner(true); message.channel.send({ embed }); return; } diff --git a/dist/src/builtin/kick.js.map b/dist/src/builtin/kick.js.map index d2c957a9..8cd287ba 100644 --- a/dist/src/builtin/kick.js.map +++ b/dist/src/builtin/kick.js.map @@ -1 +1 @@ -{"version":3,"file":"kick.js","sourceRoot":"","sources":["../../../src/builtin/kick.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoC;AACpC,4CAAuD;AACvD,kDAAmD;AACnD,sCAMkB;AAClB,4CAAoC;AACpC,uCAIqB;AACrB,qFAA+E;AAC/E,wCAAkC;AAElC,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAA;AAEjC,IAAI,OAAO,GAAG,KAAK,CAAA;AACnB,MAAM,SAAS,GAAG,OAAO,CAAA;AACzB,MAAM,OAAO,GAAG,SAAS,CAAA;AAEzB,SAAgB,IAAI;IAClB,IAAI,OAAO;QAAE,OAAM;IACnB,OAAO,GAAG,IAAI,CAAA;IACd,+CAA+C;IAC/C,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,MAAM,EAAE,CAAA;IAClC,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,oBAAW,CAAC,CAAA;IAE9B,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,CAAO,OAAuB,EAAE,EAAE;;QAC7D,IAAI,CAAA,MAAA,OAAO,CAAC,MAAM,0CAAE,GAAG,MAAK,SAAS;YAAE,OAAM;QAC7C,MAAM,WAAW,GAAG,OAAO,CAAC,IAAI,KAAK,mBAAS,CAAC,aAAa,CAAC,UAAU,CAAA;QACvE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAA;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C,MAAM,IAAA,yCAAkB,EAAC,SAAS,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAAA;oBACnE,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,CAAA;oBAC5C,OAAM;gBACR;oBACE,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,YAAY,EAAE;yBACpC,SAAS,CAAC,OAAO,CAAC;yBAClB,QAAQ,CAAC,eAAe,CAAC;yBACzB,SAAS,CAAC;wBACT;4BACE,IAAI,EAAE,8BAA8B;4BACpC,KAAK,EAAE,yBAAyB;yBACjC;wBACD;4BACE,IAAI,EAAE,mCAAmC;4BACzC,KAAK,EAAE,4BAA4B;yBACpC;wBACD,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE;qBACtC,CAAC;yBACD,YAAY,CAAC,MAAM,CAAC,CAAA;oBACvB,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC,CAAA;oBAC/B,OAAM;aACT;SACF;IACH,CAAC,CAAA,CAAC,CAAA;AACJ,CAAC;AAhKD,oBAgKC;AAED,MAAM,MAAM,GAAG;;OAER,CAAA"} \ No newline at end of file +{"version":3,"file":"kick.js","sourceRoot":"","sources":["../../../src/builtin/kick.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoC;AACpC,4CAAuD;AACvD,kDAAmD;AACnD,sCAMkB;AAClB,4CAAoC;AACpC,uCAIqB;AACrB,qFAA+E;AAC/E,wCAAkC;AAElC,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAA;AAEjC,IAAI,OAAO,GAAG,KAAK,CAAA;AACnB,MAAM,SAAS,GAAG,OAAO,CAAA;AACzB,MAAM,OAAO,GAAG,SAAS,CAAA;AAEzB,SAAgB,IAAI;IAClB,IAAI,OAAO;QAAE,OAAM;IACnB,OAAO,GAAG,IAAI,CAAA;IACd,+CAA+C;IAC/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,CAAC;AAjKD,oBAiKC;AAED,MAAM,MAAM,GAAG;;OAER,CAAA"} \ No newline at end of file diff --git a/src/builtin/kick.ts b/src/builtin/kick.ts index 179ca563..834fe7e1 100644 --- a/src/builtin/kick.ts +++ b/src/builtin/kick.ts @@ -178,6 +178,7 @@ export function init() { { name: 'Help', value: '/kick help' }, ]) .setThumbnail(botSVG) + .setOnlyOwner(true) message.channel.send({ embed }) return } From 57f77c58841829b7ffd2863e607ce83466596d25 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Wed, 27 Mar 2024 19:24:47 +0100 Subject: [PATCH 105/117] update: hide all commands related to kick bot --- dist/src/network/send.js | 4 +++- dist/src/network/send.js.map | 2 +- src/network/send.ts | 5 ++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dist/src/network/send.js b/dist/src/network/send.js index 3252bbe2..eb9d0de8 100644 --- a/dist/src/network/send.js +++ b/dist/src/network/send.js @@ -425,6 +425,7 @@ function compareAliases(alias1, alias2) { } function interceptTribeMsgForHiddenCmds(msg, tenant) { return __awaiter(this, void 0, void 0, function* () { + const hideAllCommandsBot = ['/kick']; try { const newChat = (yield models_1.models.Chat.findOne({ where: { uuid: msg.chat.uuid }, @@ -439,7 +440,8 @@ function interceptTribeMsgForHiddenCmds(msg, tenant) { const isHidden = bot.botPrefix === splitedContent[0] && bot.hiddenCommands && JSON.parse(bot.hiddenCommands).includes(splitedContent[1]); - const isPersonal = bot.botPrefix === ml_1.ML_PREFIX; + const isPersonal = bot.botPrefix === ml_1.ML_PREFIX || + hideAllCommandsBot.includes(bot.botPrefix); if (isHidden || isPersonal) { yield models_1.models.Message.update({ onlyOwner: true, diff --git a/dist/src/network/send.js.map b/dist/src/network/send.js.map index 9136617f..110996d0 100644 --- a/dist/src/network/send.js.map +++ b/dist/src/network/send.js.map @@ -1 +1 @@ -{"version":3,"file":"send.js","sourceRoot":"","sources":["../../../src/network/send.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCASk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AE,mBAAS,CAAC,QAAQ,CAAC,MAAM;gBACjC,YAAY,EAAE,QAAQ;aACvB,CAAC,CAAA;YACF,qBAAY,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAA;SAClD;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,0BAA0B,KAAK,EAAE,EAAE,gBAAO,CAAC,OAAO,CAAC,CAAA;SACvE;IACH,CAAC;CAAA;AAED,SAAe,gBAAgB,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE;;QACpE,MAAM,eAAe,GAAG,CAAC,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;YACpD,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE;SAC1C,CAAC,CAAkB,CAAA;QACpB,IAAI,eAAe,CAAC,MAAM,KAAK,MAAM,EAAE;YACrC,MAAM,cAAc,CAAC;gBACnB,MAAM;gBACN,eAAe;gBACf,WAAW,EAAE,GAAG;gBAChB,KAAK;gBACL,MAAM;gBACN,MAAM;aACP,CAAC,CAAA;SACH;IACH,CAAC;CAAA"} \ No newline at end of file +{"version":3,"file":"send.js","sourceRoot":"","sources":["../../../src/network/send.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCASkB;AAClB,yCAAwC;AACxC,wCAAgD;AAChD,sCAIqB;AACrB,0CAAyC;AACzC,gEAAyE;AACzE,4CAAoC;AACpC,4CAAuD;AACvD,4CAA4C;AAC5C,wDAAoD;AACpD,0CAA4D;AAC5D,sCAAyC;AAEzC,yCAAwC;AACxC,uCAAkE;AAElE,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AA+B3B;;;;;;;;;;;;;;;;GAgBG;AACH,SAAsB,WAAW,CAAC,EAChC,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,MAAM,EACN,MAAM,EACN,OAAO,EACP,OAAO,EACP,UAA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Ae,gBAAgB,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE;;QACpE,MAAM,eAAe,GAAG,CAAC,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;YACpD,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE;SAC1C,CAAC,CAAkB,CAAA;QACpB,IAAI,eAAe,CAAC,MAAM,KAAK,MAAM,EAAE;YACrC,MAAM,cAAc,CAAC;gBACnB,MAAM;gBACN,eAAe;gBACf,WAAW,EAAE,GAAG;gBAChB,KAAK;gBACL,MAAM;gBACN,MAAM;aACP,CAAC,CAAA;SACH;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/src/network/send.ts b/src/network/send.ts index ab7a04f0..39776fa6 100644 --- a/src/network/send.ts +++ b/src/network/send.ts @@ -547,6 +547,7 @@ async function interceptTribeMsgForHiddenCmds( msg: Msg, tenant: number ): Promise { + const hideAllCommandsBot = ['/kick'] try { const newChat = (await models.Chat.findOne({ where: { uuid: msg.chat.uuid }, @@ -565,7 +566,9 @@ async function interceptTribeMsgForHiddenCmds( bot.botPrefix === splitedContent[0] && bot.hiddenCommands && JSON.parse(bot.hiddenCommands).includes(splitedContent[1]) - const isPersonal = bot.botPrefix === ML_PREFIX + const isPersonal = + bot.botPrefix === ML_PREFIX || + hideAllCommandsBot.includes(bot.botPrefix) if (isHidden || isPersonal) { await models.Message.update( { From f54d2f5bbbe00a2c30f17b356c04f282193b95c0 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Wed, 27 Mar 2024 20:03:03 +0100 Subject: [PATCH 106/117] update: hide install and uninstall response --- dist/src/builtin/mother.js | 21 ++++++++++++++------- dist/src/builtin/mother.js.map | 2 +- src/builtin/mother.ts | 8 ++++++++ 3 files changed, 23 insertions(+), 8 deletions(-) diff --git a/dist/src/builtin/mother.js b/dist/src/builtin/mother.js index 0cea32e2..546bd10f 100644 --- a/dist/src/builtin/mother.js +++ b/dist/src/builtin/mother.js @@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.init = void 0; +exports.init = exports.adminsOnlyBot = void 0; // import * as SphinxBot from '../../../sphinx-bot' const Sphinx = require("sphinx-bot"); const botapi_1 = require("../controllers/botapi"); @@ -79,6 +79,7 @@ const builtInBotNames = { spam_gone: 'SpamGoneBot', [`${ml_1.ML_PREFIX.substring(1)}`]: ml_1.ML_BOTNAME, }; +exports.adminsOnlyBot = ['kick']; function init() { const client = new Sphinx.Client(); client.login('_', botapi_1.finalAction); @@ -108,7 +109,8 @@ function init() { if (existing) { const embed = new Sphinx.MessageEmbed() .setAuthor('MotherBot') - .setDescription(botName + ' already installed'); + .setDescription(botName + ' already installed') + .setOnlyOwner(exports.adminsOnlyBot.includes(botName) || false); return message.channel.send({ embed }); } const msgTypes = builtInBotMsgTypes[botName] || [ @@ -132,7 +134,8 @@ function init() { const theName = builtInBotNames[botName] || 'Bot'; const embed = new Sphinx.MessageEmbed() .setAuthor('MotherBot') - .setDescription(theName + ' has been installed!'); + .setDescription(theName + ' has been installed!') + .setOnlyOwner(exports.adminsOnlyBot.includes(botName) || false); message.channel.send({ embed }); } else { @@ -144,7 +147,8 @@ function init() { if (existing) { const embed = new Sphinx.MessageEmbed() .setAuthor('MotherBot') - .setDescription(botName + ' already installed'); + .setDescription(botName + ' already installed') + .setOnlyOwner(exports.adminsOnlyBot.includes(botName) || false); return message.channel.send({ embed }); } // bot from tribes registry @@ -159,7 +163,8 @@ function init() { else { const embed = new Sphinx.MessageEmbed() .setAuthor('MotherBot') - .setDescription('No bot with that name'); + .setDescription('No bot with that name') + .setOnlyOwner(exports.adminsOnlyBot.includes(botName) || false); message.channel.send({ embed }); } } @@ -182,13 +187,15 @@ function init() { yield existing2.destroy(); const embed = new Sphinx.MessageEmbed() .setAuthor('MotherBot') - .setDescription(botName2 + ' has been removed'); + .setDescription(botName2 + ' has been removed') + .setOnlyOwner(exports.adminsOnlyBot.includes(botName2) || false); return message.channel.send({ embed }); } else { const embed = new Sphinx.MessageEmbed() .setAuthor('MotherBot') - .setDescription('Cant find a bot by that name'); + .setDescription('Cant find a bot by that name') + .setOnlyOwner(exports.adminsOnlyBot.includes(botName2) || false); return message.channel.send({ embed }); } case 'search': diff --git a/dist/src/builtin/mother.js.map b/dist/src/builtin/mother.js.map index 5200ebf4..e6d9618c 100644 --- a/dist/src/builtin/mother.js.map +++ b/dist/src/builtin/mother.js.map @@ -1 +1 @@ -{"version":3,"file":"mother.js","sourceRoot":"","sources":["../../../src/builtin/mother.ts"],"names":[],"mappings":";AAAA,cAAc;;;;;;;;;;;;AAEd,mDAAmD;AACnD,qCAAoC;AACpC,kDAAmD;AACnD,8CAA4D;AAC5D,sCAA8C;AAC9C,2CAA8B;AAC9B,4CAAoC;AACpC,4CAA4C;AAC5C,4CAA0D;AAC1D,4CAA8C;AAC9C,+BAAsD;AACtD,6BAA4C;AAE5C,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAA;AAEjC,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B,MAAM,WAAW,GAAG;IAClB,SAAS;IACT,SAAS;IACT,KAAK;IACL,OAAO;IACP,eAAe;IACf,MAAM;IACN,WAAW;IACX,QAAQ;IACR,WAAW;IACX,cAAS,CAAC,SAAS,CAAC,CAAC,CAAC;CACvB,CAAA;AAED,yBAAyB;AACzB,MAAM,kBAAkB,GAAG;IACzB,OAAO,EAAE;QACP,mBAAS,CAAC,aAAa,CAAC,OAAO;QAC/B,mBAAS,CAAC,aAAa,CAAC,UAAU;KACnC;IACD,KAAK,EAAE;QACL,mBAAS,CAAC,aAAa,CAAC,OAAO;QAC/B,mBAAS,CAAC,aAAa,CAAC,KAAK;QAC7B,mBAAS,CAAC,aAAa,CAAC,cAAc;KACvC;IACD,IAAI,EAAE,CAAC,mBA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,oBAAK,EAAC,GAAG,QAAQ,MAAM,MAAM,CAAC,WAAW,QAAQ,IAAI,EAAE,CAAC,CAAA;YACxE,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,CAAA;YACxB,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,YAAY,EAAE;gBACjC,OAAO,CAAC,CAAA;aACT;YACD,OAAO,IAAI,CAAA;SACZ;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,IAAI,CAAA;SACZ;IACH,CAAC;CAAA;AAED,SAAe,aAAa,CAAC,IAAgB,EAAE,OAAe;;QAC5D,IAAI;YACF,MAAM,GAAG,GAAG,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;gBACvC,KAAK,EAAE;oBACL,MAAM,EAAE,IAAI,CAAC,EAAE;oBACf,SAAS,EAAE,GAAG,GAAG,OAAO;oBACxB,MAAM,EAAE,IAAI,CAAC,MAAM;iBACpB;aACF,CAAC,CAAA;YACF,OAAO,GAAG,CAAA;SACX;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,gCAAgC,KAAK,EAAE,CAAC,CAAA;YAC3D,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CAAA"} \ No newline at end of file +{"version":3,"file":"mother.js","sourceRoot":"","sources":["../../../src/builtin/mother.ts"],"names":[],"mappings":";AAAA,cAAc;;;;;;;;;;;;AAEd,mDAAmD;AACnD,qCAAoC;AACpC,kDAAmD;AACnD,8CAA4D;AAC5D,sCAA8C;AAC9C,2CAA8B;AAC9B,4CAAoC;AACpC,4CAA4C;AAC5C,4CAA0D;AAC1D,4CAA8C;AAC9C,+BAAsD;AACtD,6BAA4C;AAE5C,MAAM,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAA;AAEjC,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B,MAAM,WAAW,GAAG;IAClB,SAAS;IACT,SAAS;IACT,KAAK;IACL,O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AO,IAAI,CAAA;SACZ;IACH,CAAC;CAAA;AAED,SAAe,aAAa,CAAC,IAAgB,EAAE,OAAe;;QAC5D,IAAI;YACF,MAAM,GAAG,GAAG,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;gBACvC,KAAK,EAAE;oBACL,MAAM,EAAE,IAAI,CAAC,EAAE;oBACf,SAAS,EAAE,GAAG,GAAG,OAAO;oBACxB,MAAM,EAAE,IAAI,CAAC,MAAM;iBACpB;aACF,CAAC,CAAA;YACF,OAAO,GAAG,CAAA;SACX;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,gCAAgC,KAAK,EAAE,CAAC,CAAA;YAC3D,MAAM,KAAK,CAAA;SACZ;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/src/builtin/mother.ts b/src/builtin/mother.ts index 58252e38..cd53fb43 100644 --- a/src/builtin/mother.ts +++ b/src/builtin/mother.ts @@ -75,6 +75,8 @@ const builtInBotNames = { [`${ML_PREFIX.substring(1)}`]: ML_BOTNAME, } +export const adminsOnlyBot = ['kick'] + export function init() { const client = new Sphinx.Client() client.login('_', finalAction) @@ -105,6 +107,7 @@ export function init() { const embed = new Sphinx.MessageEmbed() .setAuthor('MotherBot') .setDescription(botName + ' already installed') + .setOnlyOwner(adminsOnlyBot.includes(botName) || false) return message.channel.send({ embed }) } const msgTypes = builtInBotMsgTypes[botName] || [ @@ -129,6 +132,7 @@ export function init() { const embed = new Sphinx.MessageEmbed() .setAuthor('MotherBot') .setDescription(theName + ' has been installed!') + .setOnlyOwner(adminsOnlyBot.includes(botName) || false) message.channel.send({ embed }) } else { const chat = await getTribeOwnersChatByUUID(message.channel.id) @@ -141,6 +145,7 @@ export function init() { const embed = new Sphinx.MessageEmbed() .setAuthor('MotherBot') .setDescription(botName + ' already installed') + .setOnlyOwner(adminsOnlyBot.includes(botName) || false) return message.channel.send({ embed }) } // bot from tribes registry @@ -155,6 +160,7 @@ export function init() { const embed = new Sphinx.MessageEmbed() .setAuthor('MotherBot') .setDescription('No bot with that name') + .setOnlyOwner(adminsOnlyBot.includes(botName) || false) message.channel.send({ embed }) } } @@ -178,11 +184,13 @@ export function init() { const embed = new Sphinx.MessageEmbed() .setAuthor('MotherBot') .setDescription(botName2 + ' has been removed') + .setOnlyOwner(adminsOnlyBot.includes(botName2) || false) return message.channel.send({ embed }) } else { const embed = new Sphinx.MessageEmbed() .setAuthor('MotherBot') .setDescription('Cant find a bot by that name') + .setOnlyOwner(adminsOnlyBot.includes(botName2) || false) return message.channel.send({ embed }) } From 48d023e96ba81ba7cb67689fb6cb82a92a1ebad9 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Wed, 27 Mar 2024 21:01:24 +0100 Subject: [PATCH 107/117] update: ensured install and uninstall commands entered by the admin is not visible to users --- dist/src/network/send.js | 23 ++++++++++++++++++----- dist/src/network/send.js.map | 2 +- src/network/send.ts | 31 ++++++++++++++++++++++--------- 3 files changed, 41 insertions(+), 15 deletions(-) diff --git a/dist/src/network/send.js b/dist/src/network/send.js index eb9d0de8..adefdee8 100644 --- a/dist/src/network/send.js +++ b/dist/src/network/send.js @@ -24,6 +24,7 @@ const proxy_1 = require("../utils/proxy"); const ml_1 = require("../builtin/ml"); const intercept = require("./intercept"); const receive_1 = require("./receive"); +const mother_1 = require("../builtin/mother"); const config = (0, config_1.loadConfig)(); /** * Sends a message to a chat. @@ -423,18 +424,32 @@ function compareAliases(alias1, alias2) { }); return match; } +function updateMessageToIsOnlyOwner(uuid, tenant) { + return __awaiter(this, void 0, void 0, function* () { + yield models_1.models.Message.update({ + onlyOwner: true, + }, { where: { uuid, tenant } }); + }); +} function interceptTribeMsgForHiddenCmds(msg, tenant) { return __awaiter(this, void 0, void 0, function* () { const hideAllCommandsBot = ['/kick']; try { + const content = msg.message.content; + const splitedContent = (content && content.split(' ')) || []; + if (splitedContent[0] === '/bot') { + if (mother_1.adminsOnlyBot.includes(splitedContent[2])) { + yield updateMessageToIsOnlyOwner(msg.message.uuid, tenant); + return true; + } + return false; + } const newChat = (yield models_1.models.Chat.findOne({ where: { uuid: msg.chat.uuid }, })); const bots = (yield models_1.models.ChatBot.findAll({ where: { tenant, chatId: newChat.id }, })); - const content = msg.message.content; - const splitedContent = (content && content.split(' ')) || []; for (let i = 0; i < bots.length; i++) { const bot = bots[i]; const isHidden = bot.botPrefix === splitedContent[0] && @@ -443,9 +458,7 @@ function interceptTribeMsgForHiddenCmds(msg, tenant) { const isPersonal = bot.botPrefix === ml_1.ML_PREFIX || hideAllCommandsBot.includes(bot.botPrefix); if (isHidden || isPersonal) { - yield models_1.models.Message.update({ - onlyOwner: true, - }, { where: { uuid: msg.message.uuid, tenant } }); + yield updateMessageToIsOnlyOwner(msg.message.uuid, tenant); return true; } } diff --git a/dist/src/network/send.js.map b/dist/src/network/send.js.map index 110996d0..05a871a1 100644 --- a/dist/src/network/send.js.map +++ b/dist/src/network/send.js.map @@ -1 +1 @@ -{"version":3,"file":"send.js","sourceRoot":"","sources":["../../../src/network/send.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCASkB;AAClB,yCAAwC;AACxC,wCAAgD;AAChD,sCAIqB;AACrB,0CAAyC;AACzC,gEAAyE;AACzE,4CAAoC;AACpC,4CAAuD;AACvD,4CAA4C;AAC5C,wDAAoD;AACpD,0CAA4D;AAC5D,sCAAyC;AAEzC,yCAAwC;AACxC,uCAAkE;AAElE,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AA+B3B;;;;;;;;;;;;;;;;GAgBG;AACH,SAAsB,WAAW,CAAC,EAChC,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,MAAM,EACN,MAAM,EACN,OAAO,EACP,OAAO,EACP,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,iBAAiB,GACC;;QAClB,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM;YAAE,OAAM;QAC5B,MAAM,MAAM,GAAW,MAAM,CAAC,EAAY,CAAA;QAC1C,IAAI,CAA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K,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE;SAC1C,CAAC,CAAkB,CAAA;QACpB,IAAI,eAAe,CAAC,MAAM,KAAK,MAAM,EAAE;YACrC,MAAM,cAAc,CAAC;gBACnB,MAAM;gBACN,eAAe;gBACf,WAAW,EAAE,GAAG;gBAChB,KAAK;gBACL,MAAM;gBACN,MAAM;aACP,CAAC,CAAA;SACH;IACH,CAAC;CAAA"} \ No newline at end of file +{"version":3,"file":"send.js","sourceRoot":"","sources":["../../../src/network/send.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCASkB;AAClB,yCAAwC;AACxC,wCAAgD;AAChD,sCAIqB;AACrB,0CAAyC;AACzC,gEAAyE;AACzE,4CAAoC;AACpC,4CAAuD;AACvD,4CAA4C;AAC5C,wDAAoD;AACpD,0CAA4D;AAC5D,sCAAyC;AAEzC,yCAAwC;AACxC,uCAAkE;AAClE,8CAAiD;AAEjD,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AA+B3B;;;;;;;;;;;;;;;;GAgBG;AACH,SAAsB,WAAW,CAAC,EAChC,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,MAAM,EACN,MAAM,EACN,OAAO,EACP,OAAO,EACP,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,iBAAiB,GACC;;QAClB,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM;YAAE,OAAM;QAC5B,MAAM,MAAM,GAAW,MAAM,CAAC,EAAY,CAAA;QAC1C,IAAI,CAAC,MAAM;YAAE,OAAM;QAEnB,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,KAAK,mBAAS,CAAC,UAAU,CAAC,KAAK,CAAA;QACxD,MAAM,YAAY,GAAG,OAAO,IAAI,MAAM,CAAC,SAAS,KAAK,IAAI,CAAC,WAAW,CAAA;QAErE,IAAI,OAAO,GAAG,MAAM,CAAA;QACpB,IAAK,MAAwB,CAAC,UAAU,EAAE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AK,EAAE,MAAM,EAAE,MAAM,EAAE;;QACpE,MAAM,eAAe,GAAG,CAAC,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;YACpD,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE;SAC1C,CAAC,CAAkB,CAAA;QACpB,IAAI,eAAe,CAAC,MAAM,KAAK,MAAM,EAAE;YACrC,MAAM,cAAc,CAAC;gBACnB,MAAM;gBACN,eAAe;gBACf,WAAW,EAAE,GAAG;gBAChB,KAAK;gBACL,MAAM;gBACN,MAAM;aACP,CAAC,CAAA;SACH;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/src/network/send.ts b/src/network/send.ts index 39776fa6..97dc7320 100644 --- a/src/network/send.ts +++ b/src/network/send.ts @@ -26,6 +26,7 @@ import { ML_PREFIX } from '../builtin/ml' import { Msg, MessageContent, ChatMember } from './interfaces' import * as intercept from './intercept' import { typesToForward, receiveCoTenantMessage } from './receive' +import { adminsOnlyBot } from '../builtin/mother' const config = loadConfig() @@ -543,12 +544,32 @@ function compareAliases(alias1: string, alias2: string): boolean { return match } +async function updateMessageToIsOnlyOwner(uuid: string, tenant: number) { + await models.Message.update( + { + onlyOwner: true, + }, + { where: { uuid, tenant } } + ) +} + async function interceptTribeMsgForHiddenCmds( msg: Msg, tenant: number ): Promise { const hideAllCommandsBot = ['/kick'] try { + const content = msg.message.content as string + + const splitedContent = (content && content.split(' ')) || [] + + if (splitedContent[0] === '/bot') { + if (adminsOnlyBot.includes(splitedContent[2])) { + await updateMessageToIsOnlyOwner(msg.message.uuid, tenant) + return true + } + return false + } const newChat = (await models.Chat.findOne({ where: { uuid: msg.chat.uuid }, })) as ChatRecord @@ -557,8 +578,6 @@ async function interceptTribeMsgForHiddenCmds( where: { tenant, chatId: newChat.id }, })) as ChatBotRecord[] - const content = msg.message.content as string - const splitedContent = (content && content.split(' ')) || [] for (let i = 0; i < bots.length; i++) { const bot = bots[i] @@ -570,13 +589,7 @@ async function interceptTribeMsgForHiddenCmds( bot.botPrefix === ML_PREFIX || hideAllCommandsBot.includes(bot.botPrefix) if (isHidden || isPersonal) { - await models.Message.update( - { - onlyOwner: true, - }, - { where: { uuid: msg.message.uuid, tenant } } - ) - + await updateMessageToIsOnlyOwner(msg.message.uuid, tenant) return true } } From 3dc5029c3785e0adc65c56ab0cee95957a6fd907 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 28 Mar 2024 16:50:15 +0000 Subject: [PATCH 108/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- src/network/send.ts | 2 +- 84 files changed, 84 insertions(+), 84 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string diff --git a/src/network/send.ts b/src/network/send.ts index 97dc7320..9d3740ad 100644 --- a/src/network/send.ts +++ b/src/network/send.ts @@ -23,10 +23,10 @@ import { loadConfig } from '../utils/config' import { errMsgString } from '../utils/errMsgString' import { getProxyRootPubkey, isProxy } from '../utils/proxy' import { ML_PREFIX } from '../builtin/ml' +import { adminsOnlyBot } from '../builtin/mother' import { Msg, MessageContent, ChatMember } from './interfaces' import * as intercept from './intercept' import { typesToForward, receiveCoTenantMessage } from './receive' -import { adminsOnlyBot } from '../builtin/mother' const config = loadConfig() From 6970098eb90ef89a5feaa9962c6ad1a5551bda5e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 28 Mar 2024 16:50:26 +0000 Subject: [PATCH 109/117] [ci commit] Automatic build --- dist/src/network/send.js | 2 +- dist/src/network/send.js.map | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/src/network/send.js b/dist/src/network/send.js index adefdee8..1ee9b89a 100644 --- a/dist/src/network/send.js +++ b/dist/src/network/send.js @@ -22,9 +22,9 @@ const config_1 = require("../utils/config"); const errMsgString_1 = require("../utils/errMsgString"); const proxy_1 = require("../utils/proxy"); const ml_1 = require("../builtin/ml"); +const mother_1 = require("../builtin/mother"); const intercept = require("./intercept"); const receive_1 = require("./receive"); -const mother_1 = require("../builtin/mother"); const config = (0, config_1.loadConfig)(); /** * Sends a message to a chat. diff --git a/dist/src/network/send.js.map b/dist/src/network/send.js.map index 05a871a1..d09fc0fa 100644 --- a/dist/src/network/send.js.map +++ b/dist/src/network/send.js.map @@ -1 +1 @@ -{"version":3,"file":"send.js","sourceRoot":"","sources":["../../../src/network/send.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCASkB;AAClB,yCAAwC;AACxC,wCAAgD;AAChD,sCAIqB;AACrB,0CAAyC;AACzC,gEAAyE;AACzE,4CAAoC;AACpC,4CAAuD;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AC,CAAA;YACtE,CAAC,CAAC,aAAa,GAAG,QAAQ,CAAA;YAC1B,MAAM,IAAI,GAAG;gBACX,IAAI,EAAE,eAAe,CAAC,SAAS;gBAC/B,IAAI,EAAE,CAAC;gBACP,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,EAAE,mBAAS,CAAC,cAAc,CAAC;gBACpD,UAAU,EAAE,eAAe,CAAC,SAAS,IAAI,EAAE;aAC5C,CAAA;YACD,MAAM,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,CAAA;YAC/B,MAAM,eAAe,CAAC,MAAM,CAAC;gBAC3B,MAAM,EAAE,mBAAS,CAAC,QAAQ,CAAC,MAAM;gBACjC,YAAY,EAAE,QAAQ;aACvB,CAAC,CAAA;YACF,qBAAY,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAA;SAClD;QAAC,OAAO,KAAK,EAAE;YACd,qBAAY,CAAC,KAAK,CAAC,0BAA0B,KAAK,EAAE,EAAE,gBAAO,CAAC,OAAO,CAAC,CAAA;SACvE;IACH,CAAC;CAAA;AAED,SAAe,gBAAgB,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE;;QACpE,MAAM,eAAe,GAAG,CAAC,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;YACpD,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE;SAC1C,CAAC,CAAkB,CAAA;QACpB,IAAI,eAAe,CAAC,MAAM,KAAK,MAAM,EAAE;YACrC,MAAM,cAAc,CAAC;gBACnB,MAAM;gBACN,eAAe;gBACf,WAAW,EAAE,GAAG;gBAChB,KAAK;gBACL,MAAM;gBACN,MAAM;aACP,CAAC,CAAA;SACH;IACH,CAAC;CAAA"} \ No newline at end of file +{"version":3,"file":"send.js","sourceRoot":"","sources":["../../../src/network/send.ts"],"names":[],"mappings":";;;;;;;;;;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C,CAAA;SACH;IACH,CAAC;CAAA"} \ No newline at end of file From 3330338f4aa4347ddaf3373a03d6641d675c61df Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 28 Mar 2024 16:50:45 +0000 Subject: [PATCH 110/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 78cd8a0548929fb6044fd3cae1b83951fa3408c7 Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Mon, 1 Apr 2024 13:28:28 -0700 Subject: [PATCH 111/117] fix interceptTribeMsgForHiddenCmds --- dist/src/network/send.js | 13 +++++++++---- dist/src/network/send.js.map | 2 +- src/network/send.ts | 14 +++++++++----- 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/dist/src/network/send.js b/dist/src/network/send.js index 1ee9b89a..6d89a62f 100644 --- a/dist/src/network/send.js +++ b/dist/src/network/send.js @@ -21,7 +21,6 @@ const logger_1 = require("../utils/logger"); const config_1 = require("../utils/config"); const errMsgString_1 = require("../utils/errMsgString"); const proxy_1 = require("../utils/proxy"); -const ml_1 = require("../builtin/ml"); const mother_1 = require("../builtin/mother"); const intercept = require("./intercept"); const receive_1 = require("./receive"); @@ -433,10 +432,16 @@ function updateMessageToIsOnlyOwner(uuid, tenant) { } function interceptTribeMsgForHiddenCmds(msg, tenant) { return __awaiter(this, void 0, void 0, function* () { - const hideAllCommandsBot = ['/kick']; + const hideAllCommandsBot = ['/kick', '/ml']; try { const content = msg.message.content; const splitedContent = (content && content.split(' ')) || []; + if (splitedContent.length < 1) + return false; + // must be a "/" bot command + if (!splitedContent[0].startsWith('/')) { + return false; + } if (splitedContent[0] === '/bot') { if (mother_1.adminsOnlyBot.includes(splitedContent[2])) { yield updateMessageToIsOnlyOwner(msg.message.uuid, tenant); @@ -455,9 +460,9 @@ function interceptTribeMsgForHiddenCmds(msg, tenant) { const isHidden = bot.botPrefix === splitedContent[0] && bot.hiddenCommands && JSON.parse(bot.hiddenCommands).includes(splitedContent[1]); - const isPersonal = bot.botPrefix === ml_1.ML_PREFIX || + const isDefaultHide = bot.botPrefix === splitedContent[0] && hideAllCommandsBot.includes(bot.botPrefix); - if (isHidden || isPersonal) { + if (isHidden || isDefaultHide) { yield updateMessageToIsOnlyOwner(msg.message.uuid, tenant); return true; } diff --git a/dist/src/network/send.js.map b/dist/src/network/send.js.map index d09fc0fa..04f57160 100644 --- a/dist/src/network/send.js.map +++ b/dist/src/network/send.js.map @@ -1 +1 @@ -{"version":3,"file":"send.js","sourceRoot":"","sources":["../../../src/network/send.ts"],"names":[],"mappings":";;;;;;;;;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AC,CAAA;SACH;IACH,CAAC;CAAA"} \ No newline at end of file +{"version":3,"file":"send.js","sourceRoot":"","sources":["../../../src/network/send.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sCASkB;AAClB,yCAAwC;AACxC,wCAAgD;AAChD,sCAIqB;AACrB,0CAAyC;AACzC,gEAAyE;AACzE,4CAAoC;AACpC,4CAAuD;AACvD,4CAA4C;AAC5C,wDAAoD;AACpD,0CAA4D;AAC5D,8CAAiD;AAEjD,yCAAwC;AACxC,uCAAkE;AAElE,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AA+B3B;;;;;;;;;;;;;;;;GAgBG;AACH,SAAsB,WAAW,CAAC,EAChC,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,MAAM,EACN,MAAM,EACN,OAAO,EACP,OAAO,EACP,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,iBAAiB,GACC;;QAClB,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM;YAAE,OAAM;QAC5B,MAAM,MAAM,GAAW,MAAM,CAAC,EAAY,CAAA;QAC1C,IAAI,CAAC,MAAM;YAAE,OAAM;QAEnB,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,KAAK,mBAAS,CAAC,UAAU,CAAC,KAAK,CAAA;QACxD,MAAM,YAAY,GAAG,OAAO,IAAI,MAAM,CAAC,SAAS,KAAK,IAAI,CAAC,WAAW,CAAA;QAErE,IAAI,OAAO,GAAG,MAAM,CAAA;QACpB,IAAK,MAAwB,CAAC,UAAU,EAAE;YACxC,OAAO,GAAI,MAAwB,CAAC,UAAU,CAAA;SAC/C;QACD,MAAM,SAAS,GAAkB,OAAwB,CAAA;QACzD,gFAAgF;QAChF,IAAI,YAAY,IAAI,CAAC,WAAW,EAAE;YAChC,SAAS,CAAC,IAAI,GAAG,mBAAS,CAAC,UAAU,CAAC,KAAK,CAAA;SAC5C;QACD,IAAI,GAAG,GAAG,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,SAA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AAC,MAAM,eAAM,CAAC,OAAO,CAAC,OAAO,CAAC;YACpD,KAAK,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE;SAC1C,CAAC,CAAkB,CAAA;QACpB,IAAI,eAAe,CAAC,MAAM,KAAK,MAAM,EAAE;YACrC,MAAM,cAAc,CAAC;gBACnB,MAAM;gBACN,eAAe;gBACf,WAAW,EAAE,GAAG;gBAChB,KAAK;gBACL,MAAM;gBACN,MAAM;aACP,CAAC,CAAA;SACH;IACH,CAAC;CAAA"} \ No newline at end of file diff --git a/src/network/send.ts b/src/network/send.ts index 9d3740ad..6035a265 100644 --- a/src/network/send.ts +++ b/src/network/send.ts @@ -22,7 +22,6 @@ import { logging, sphinxLogger } from '../utils/logger' import { loadConfig } from '../utils/config' import { errMsgString } from '../utils/errMsgString' import { getProxyRootPubkey, isProxy } from '../utils/proxy' -import { ML_PREFIX } from '../builtin/ml' import { adminsOnlyBot } from '../builtin/mother' import { Msg, MessageContent, ChatMember } from './interfaces' import * as intercept from './intercept' @@ -557,11 +556,16 @@ async function interceptTribeMsgForHiddenCmds( msg: Msg, tenant: number ): Promise { - const hideAllCommandsBot = ['/kick'] + const hideAllCommandsBot = ['/kick', '/ml'] try { const content = msg.message.content as string const splitedContent = (content && content.split(' ')) || [] + if (splitedContent.length < 1) return false + // must be a "/" bot command + if (!splitedContent[0].startsWith('/')) { + return false + } if (splitedContent[0] === '/bot') { if (adminsOnlyBot.includes(splitedContent[2])) { @@ -585,10 +589,10 @@ async function interceptTribeMsgForHiddenCmds( bot.botPrefix === splitedContent[0] && bot.hiddenCommands && JSON.parse(bot.hiddenCommands).includes(splitedContent[1]) - const isPersonal = - bot.botPrefix === ML_PREFIX || + const isDefaultHide = + bot.botPrefix === splitedContent[0] && hideAllCommandsBot.includes(bot.botPrefix) - if (isHidden || isPersonal) { + if (isHidden || isDefaultHide) { await updateMessageToIsOnlyOwner(msg.message.uuid, tenant) return true } From d190bd85f23db51bae63c3b3590b7247bd0cf15b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 20:29:53 +0000 Subject: [PATCH 112/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 3843f44199d7475bd81866db0dca6aaf14955aa9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 20:30:22 +0000 Subject: [PATCH 113/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From 63d82c88c3c7967c5dc4c4e7beceb708e29c0c00 Mon Sep 17 00:00:00 2001 From: Oluwatobi Bamidele Date: Wed, 10 Apr 2024 15:46:35 +0100 Subject: [PATCH 114/117] update: ensured empty string app_url are saved --- dist/src/controllers/chatTribes.js | 6 +++--- dist/src/controllers/chatTribes.js.map | 2 +- dist/src/utils/tribes.js | 2 +- dist/src/utils/tribes.js.map | 2 +- src/controllers/chatTribes.ts | 7 ++++--- src/utils/tribes.ts | 2 +- 6 files changed, 11 insertions(+), 10 deletions(-) diff --git a/dist/src/controllers/chatTribes.js b/dist/src/controllers/chatTribes.js index fc7089aa..c22bffcd 100644 --- a/dist/src/controllers/chatTribes.js +++ b/dist/src/controllers/chatTribes.js @@ -449,9 +449,9 @@ function editTribe(req, res) { obj.escrowMillis = escrow_millis; if (unlisted || unlisted === false) obj.unlisted = unlisted; - if (app_url) + if (app_url || app_url === '') obj.appUrl = app_url; - if (feed_url) + if (feed_url || feed_url === '') obj.feedUrl = feed_url; if (feed_type) obj.feedType = feed_type; @@ -469,7 +469,7 @@ function editTribe(req, res) { obj.stakworkApiKey = stakwork_api_key; if (stakwork_webhook) obj.stakworkWebhook = stakwork_webhook; - if (second_brain_url) + if (second_brain_url || second_brain_url === '') obj.secondBrainUrl = second_brain_url; if (Object.keys(obj).length > 0) { yield chat.update(obj); diff --git a/dist/src/controllers/chatTribes.js.map b/dist/src/controllers/chatTribes.js.map index 909e83e4..0a90e7e5 100644 --- a/dist/src/controllers/chatTribes.js.map +++ b/dist/src/controllers/chatTribes.js.map @@ -1 +1 @@ -{"version":3,"file":"chatTribes.js","sourceRoot":"","sources":["../../../src/controllers/chatTribes.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA8B;AAE9B,sCAQkB;AAClB,2CAA0C;AAC1C,sCAA+C;AAC/C,sCAAqC;AACrC,qCAAoC;AACpC,sCAAqC;AACrC,0CAAyC;AACzC,0CAAyC;AACzC,gCAAyC;AACzC,sCAAiE;AACjE,4CAAoC;AACpC,4CAAuD;AAIvD;;;;;;GAMG;AACH,SAAsB,SAAS,CAAC,GAAQ,EAAE,GAAQ;;QAChD,IAAI,CAAC,GAAG,CAAC,KAAK;YAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QAC/C,qBAAY,CAAC,IAAI,CAAC,cAAc,EAAE,gBAAO,CAAC,OAAO,CAAC,CAAA;QAClD,IAAI;YACF,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;YACnD,IAAA,aAAO,EAAC,GAAG,EA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I,EAAE;QACnB,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,KAAK,CAAC,KAAK;QACxB,gBAAgB,EAAE,KAAK,CAAC,SAAS,IAAI,EAAE;QACvC,YAAY,EAAE,KAAK,CAAC,SAAS;QAC7B,WAAW,EAAE,EAAE,CAAC,WAAW;QAC3B,IAAI,EAAE,EAAE,CAAC,IAAI;QACb,GAAG,EAAE,EAAE,CAAC,GAAG;QACX,QAAQ,EAAE,EAAE,CAAC,QAAQ;QACrB,UAAU,EAAE,EAAE,CAAC,OAAO;KACvB,CAAA;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"chatTribes.js","sourceRoot":"","sources":["../../../src/controllers/chatTribes.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA8B;AAE9B,sCAQkB;AAClB,2CAA0C;AAC1C,sCAA+C;AAC/C,sCAAqC;AACrC,qCAAoC;AACpC,sCAAqC;AACrC,0CAAyC;AACzC,0CAAyC;AACzC,gCAAyC;AACzC,sCAAiE;AACjE,4CAAoC;AACpC,4CAAuD;AAIvD;;;;;;GAMG;AACH,SAAsB,SAAS,CAAC,GAAQ,EAAE,GAAQ;;QAChD,IAAI,CAAC,GAAG,CAAC,KAAK;YAAE,OAAO,IAAA,aAAO,EAAC,GAAG,EAAE,UAAU,CAAC,CAAA;QAC/C,qBAAY,CAAC,IAAI,CAAC,cAAc,EAAE,gBAAO,CAAC,OAAO,CAAC,CAAA;QAClD,IAAI;YACF,MAAM,IAAI,GAAG,MAAM,WAAW,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;YACnD,IAAA,aAAO,EAAC,GAAG,EAAE,IAAI,CAAC,CAAA;SACnB;QAAC,OAAO,CAAC,EAAE;YACV,IAAA,aAAO,EAAC,GAAG,EAAE,CAAC,CAAC,CAAA;SAChB;IACH,CAAC;CAAA;AATD,8BASC;AAED,SAAsB,WAAW,CAAC,IAA0B,EAAE,KAAc;;QAC1E,MAAM,EACJ,IA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,EAAE,KAAK,CAAC,SAAS;QAC7B,WAAW,EAAE,EAAE,CAAC,WAAW;QAC3B,IAAI,EAAE,EAAE,CAAC,IAAI;QACb,GAAG,EAAE,EAAE,CAAC,GAAG;QACX,QAAQ,EAAE,EAAE,CAAC,QAAQ;QACrB,UAAU,EAAE,EAAE,CAAC,OAAO;KACvB,CAAA;AACH,CAAC"} \ No newline at end of file diff --git a/dist/src/utils/tribes.js b/dist/src/utils/tribes.js index 605ad1e5..90090006 100644 --- a/dist/src/utils/tribes.js +++ b/dist/src/utils/tribes.js @@ -436,7 +436,7 @@ function edit({ uuid, host, name, description, tags, img, price_per_message, pri owner_route_hint: owner_route_hint || '', pin: pin || '', profile_filters, - second_brain_url, + second_brain_url: second_brain_url || '', }), headers: { 'Content-Type': 'application/json' }, }); diff --git a/dist/src/utils/tribes.js.map b/dist/src/utils/tribes.js.map index 6b3d1efb..2b154bdf 100644 --- a/dist/src/utils/tribes.js.map +++ b/dist/src/utils/tribes.js.map @@ -1 +1 @@ -{"version":3,"file":"tribes.js","sourceRoot":"","sources":["../../../src/utils/tribes.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iCAAgC;AAChC,6BAA4B;AAE5B,2CAA8B;AAC9B,yCAAwC;AACxC,sCAQkB;AAElB,wCAAgD;AAEhD,mDAAyD;AACzD,qCAAoC;AACpC,qCAAgD;AAChD,mCAA+C;AAC/C,qCAAqC;AACrC,2CAAmE;AAN1D,4FAMc,uBAAW,OANd;AAAE,2FAMc,sBAAU,OANd;AAQhC,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B,yDAAyD;AACzD,4BAA4B;AAC5B,MAAM,OAAO,GAAkD,EAAE,CAAA;AAYjE,MAAM,IAAI,GAA4B,EAAE,GAAG,EAAE,CAAC,EAAE,CAAA;AAIhD,IAAI,QAA6B,CAAA;AAEjC,6BAA6B;AAC7B,SAAsB,OAAO,CAC3B,SAAmD;;QAEnD,sBAAsB,CAAC,SAAS,CAAC,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SAAS,YAAY,WAAW,UAAU,KAAK,EAAE,EACzF;gBACE,MAAM,EAAE,KAAK;gBACb,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;aAChD,CACF,CAAA;YACD,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;gBACT,MAAM,iDAAiD,GAAG,CAAC,CAAC,MAAM,CAAA;aACnE;YACD,MAAM,GAAG,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,CAAA;YAC1B,OAAO,GAAG,CAAA;SACX;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;YAClB,MAAM,gDAAgD,CAAA;SACvD;IACH,CAAC;CAAA;AA/BD,0DA+BC"} \ No newline at end of file +{"version":3,"file":"tribes.js","sourceRoot":"","sources":["../../../src/utils/tribes.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iCAAgC;AAChC,6BAA4B;AAE5B,2CAA8B;AAC9B,yCAAwC;AACxC,sCAQkB;AAElB,wCAAgD;AAEhD,mDAAyD;AACzD,qCAAoC;AACpC,qCAAgD;AAChD,mCAA+C;AAC/C,qCAAqC;AACrC,2CAAmE;AAN1D,4FAMc,uBAAW,OANd;AAAE,2FAMc,sBAAU,OANd;AAQhC,MAAM,MAAM,GAAG,IAAA,mBAAU,GAAE,CAAA;AAE3B,yDAAyD;AACzD,4BAA4B;AAC5B,MAAM,OAAO,GAAkD,EAAE,CAAA;AAYjE,MAAM,IAAI,GAA4B,EAAE,GAAG,EAAE,CAAC,EAAE,CAAA;AAIhD,IAAI,QAA6B,CAAA;AAEjC,6BAA6B;AAC7B,SAAsB,OAAO,CAC3B,SAAmD;;QAEnD,sBAAsB,CAAC,SAAS,CAAC,CAAA;IACnC,CAAC;CAAA;AAJD,0BAIC;AAED,SAAe,sBAAsB,CACnC,SAAmD;;QAEnD,qBAAY,CAAC,KAAK,CAAC,wBAAwB,EAAE,gBAAO,CAAC,MAAM,CAAC,CAAA;QAE5D,MA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;YACD,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;gBACT,MAAM,iDAAiD,GAAG,CAAC,CAAC,MAAM,CAAA;aACnE;YACD,MAAM,GAAG,GAAG,MAAM,CAAC,CAAC,IAAI,EAAE,CAAA;YAC1B,OAAO,GAAG,CAAA;SACX;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;YAClB,MAAM,gDAAgD,CAAA;SACvD;IACH,CAAC;CAAA;AA/BD,0DA+BC"} \ No newline at end of file diff --git a/src/controllers/chatTribes.ts b/src/controllers/chatTribes.ts index 754ad830..6c242483 100644 --- a/src/controllers/chatTribes.ts +++ b/src/controllers/chatTribes.ts @@ -491,8 +491,8 @@ export async function editTribe(req: Req, res: Res): Promise { if (escrow_amount || escrow_amount === 0) obj.escrowAmount = escrow_amount if (escrow_millis || escrow_millis === 0) obj.escrowMillis = escrow_millis if (unlisted || unlisted === false) obj.unlisted = unlisted - if (app_url) obj.appUrl = app_url - if (feed_url) obj.feedUrl = feed_url + if (app_url || app_url === '') obj.appUrl = app_url + if (feed_url || feed_url === '') obj.feedUrl = feed_url if (feed_type) obj.feedType = feed_type if (req.body.private || req.body.private === false) obj.private = req.body.private @@ -503,7 +503,8 @@ export async function editTribe(req: Req, res: Res): Promise { if (jitsi_server) obj.jitsiServer = jitsi_server if (stakwork_api_key) obj.stakworkApiKey = stakwork_api_key if (stakwork_webhook) obj.stakworkWebhook = stakwork_webhook - if (second_brain_url) obj.secondBrainUrl = second_brain_url + if (second_brain_url || second_brain_url === '') + obj.secondBrainUrl = second_brain_url if (Object.keys(obj).length > 0) { await chat.update(obj) } diff --git a/src/utils/tribes.ts b/src/utils/tribes.ts index cb82a5fa..69785f50 100644 --- a/src/utils/tribes.ts +++ b/src/utils/tribes.ts @@ -550,7 +550,7 @@ export async function edit({ owner_route_hint: owner_route_hint || '', pin: pin || '', profile_filters, - second_brain_url, + second_brain_url: second_brain_url || '', }), headers: { 'Content-Type': 'application/json' }, }) From 92a66aa3d49f1e622c4032d4579cd20310b1bb6c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 10 Apr 2024 16:04:11 +0000 Subject: [PATCH 115/117] [ci commit] Lint and format code --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index d73e8560..57130be6 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0621f229..0365947a 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 00979ea1..20b76657 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index 5e884c10..c852f603 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' -import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index d6c81479..084ba51d 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index ccb0a534..3cd95e64 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index ced5ca3d..442c5c1a 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -28,7 +29,6 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index 79ed64b6..eb6220f5 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index ab83ab63..5daf6d57 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index 04a0a068..e9b5d79c 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 0548e40e..14cb87cb 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index 1eb903d0..af782167 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -8,7 +9,6 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 50235f69..5014692d 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index c8a852a2..8c4bc7a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index c397650b..65c6714a 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index d34b53f3..2e991681 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' -import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index d8d0adcd..7b201bf6 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto +import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' -import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 5b0e7492..645d3caf 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 1e2e873e..241570f7 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' -import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index f8c6d9b4..5f52f618 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 0f9e9da0..43a8ed51 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' -import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index dd085b3a..e588220a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' -import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index e05aee4b..fa394623 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index f70c677f..d02a3d1a 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index a35eec22..5e3c440d 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 5b0bd8a8..211047f2 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -8,7 +9,6 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d9a96a08..d2384edf 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index c4407c23..bd259c31 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -8,7 +9,6 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4acb7061..4f20325b 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index ba54545b..bee5c573 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index 7e6cba0f..c3465b57 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' -import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index de244f02..12d7c149 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index e02f69e4..0ccce99e 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' -import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index ffdfab42..0b150627 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index b3a13201..63c7b68f 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 0e70752e..4cc00e8f 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -8,7 +9,6 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index 09379e76..e3906c48 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -8,7 +9,6 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' -import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index 351c40b7..c8977ec2 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -16,7 +17,6 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index 5bd9c77f..d0ec17a7 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -8,7 +9,6 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index d5ce5f61..02b5f52a 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' -import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 2317081d..271e215d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' -import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 1251f6aa..31129e62 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -8,7 +9,6 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' -import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 12a2a072..421d622d 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -8,7 +9,6 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' -import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index f9777323..8bfbaadc 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' -import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 864bedf0..4334047f 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index d98361e0..fedcedd5 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index b0d9691f..010252ce 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -8,7 +9,6 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index 1cfaeee5..c2dd5d0c 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -12,7 +13,6 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' -import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index 3c8da411..b2991d2a 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' -import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index 3a92f24a..d729e8fa 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index 2b184038..fa75975c 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -8,7 +9,6 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 6ef263be..5e2c44d4 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -8,7 +9,6 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' -import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index c5d6f1ae..cf8d4b11 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -12,7 +13,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index 4a1aab0d..ab20e38c 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index efd6a516..011fd0ca 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index b91d9efd..01e27208 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -8,7 +9,6 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' -import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index a1b40c40..003062f8 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,5 +1,6 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -8,7 +9,6 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 9f0f4eaf..54d79672 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto +import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' -import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 9d396c65..220316cf 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto +import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' -import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index efe7877d..9bd3baf0 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -12,7 +13,6 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' -import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 84182c95..22d16ff3 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' -import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 76f72dfe..0f2a0940 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' -import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index 5a39b26a..caa4aeb0 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 97aed748..8264cf62 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index ddb30300..efd3e649 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -8,7 +9,6 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index af9ebc8f..c6293156 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' -import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index db995c40..070654b7 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -12,7 +13,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index c2d38578..f6a79e7d 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' -import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 6b35f606..1819d1ad 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -8,7 +9,6 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' -import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index f2ecccb5..dfe51afe 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -8,7 +9,6 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' -import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index cb1ae5c4..baf1e390 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -20,7 +21,6 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index b807d3e3..f6471177 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' -import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 692207dc..949251e6 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/rpc_proxy.proto +import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -12,7 +13,6 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' -import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index 32904ab2..e59c5185 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' -import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 26988818..1c3f41e9 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -24,7 +25,6 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' -import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index d9f825b8..a859a341 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,5 +1,6 @@ // Original file: proto/router.proto +import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -8,7 +9,6 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' -import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 318766f4..13cc94a4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ac975359..ae03d9a0 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' -import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 170a7c38..746828d8 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index fa88a5e7..3f4180da 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,5 +1,6 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -8,7 +9,6 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' -import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index 661c5259..ae7c8e82 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' -import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index f7c09fd5..47279dc7 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index 4365f43e..ffc4b397 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto +import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' -import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From f879688d62e9d920a2a593e9b585aedb0b04275d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 10 Apr 2024 16:04:41 +0000 Subject: [PATCH 116/117] [ci commit] Update proto files and types --- src/grpc/types/cln/cln/CreateinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/DelinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/GetrouteRequest.d.ts | 2 +- src/grpc/types/cln/cln/InvoiceRequest.d.ts | 2 +- src/grpc/types/cln/cln/ListforwardsForwards.ts | 2 +- src/grpc/types/cln/cln/ListinvoicesInvoices.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannels.ts | 2 +- src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts | 2 +- src/grpc/types/cln/cln/ListsendpaysPayments.ts | 2 +- src/grpc/types/cln/cln/SendonionRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendonionResponse.ts | 2 +- src/grpc/types/cln/cln/SendpayRequest.d.ts | 2 +- src/grpc/types/cln/cln/SendpayResponse.ts | 2 +- src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitinvoiceResponse.ts | 2 +- src/grpc/types/cln/cln/WaitsendpayResponse.ts | 2 +- src/grpc/types/greenlight/Feerate.d.ts | 2 +- src/grpc/types/lnrpc/AMPInvoiceState.d.ts | 2 +- src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannel.d.ts | 2 +- src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChanPointShim.d.ts | 2 +- src/grpc/types/lnrpc/Channel.ts | 2 +- src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts | 2 +- src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ChannelCloseSummary.ts | 2 +- src/grpc/types/lnrpc/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts | 2 +- src/grpc/types/lnrpc/CloseChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts | 2 +- src/grpc/types/lnrpc/ConnectPeerRequest.d.ts | 2 +- src/grpc/types/lnrpc/Failure.ts | 2 +- src/grpc/types/lnrpc/FeeReportResponse.d.ts | 2 +- src/grpc/types/lnrpc/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc/Hop.d.ts | 2 +- src/grpc/types/lnrpc/InitWalletRequest.d.ts | 2 +- src/grpc/types/lnrpc/Invoice.ts | 2 +- src/grpc/types/lnrpc/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc/ListInvoiceResponse.d.ts | 2 +- src/grpc/types/lnrpc/ListPaymentsResponse.d.ts | 2 +- src/grpc/types/lnrpc/NodeInfo.d.ts | 2 +- src/grpc/types/lnrpc/OpenChannelRequest.d.ts | 2 +- src/grpc/types/lnrpc/OutputDetail.d.ts | 2 +- src/grpc/types/lnrpc/PayReq.d.ts | 2 +- src/grpc/types/lnrpc/Payment.ts | 2 +- src/grpc/types/lnrpc/Peer.ts | 2 +- src/grpc/types/lnrpc/PendingChannelsResponse.ts | 2 +- src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts | 2 +- src/grpc/types/lnrpc/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts | 2 +- src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts | 2 +- src/grpc/types/lnrpc/Resolution.d.ts | 2 +- src/grpc/types/lnrpc/Route.d.ts | 2 +- src/grpc/types/lnrpc/SendRequest.d.ts | 2 +- src/grpc/types/lnrpc/Transaction.d.ts | 2 +- src/grpc/types/lnrpc/Utxo.d.ts | 2 +- src/grpc/types/lnrpc/WalletBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc/WatchOnly.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Channel.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Failure.ts | 2 +- src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts | 2 +- src/grpc/types/lnrpc_proxy/HTLCAttempt.ts | 2 +- src/grpc/types/lnrpc_proxy/Hop.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Invoice.ts | 2 +- src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts | 2 +- src/grpc/types/lnrpc_proxy/PayReq.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Payment.ts | 2 +- src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts | 2 +- src/grpc/types/lnrpc_proxy/Route.d.ts | 2 +- src/grpc/types/lnrpc_proxy/SendRequest.d.ts | 2 +- src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts | 2 +- src/grpc/types/routerrpc/HtlcEvent.ts | 2 +- src/grpc/types/routerrpc/SendPaymentRequest.d.ts | 2 +- src/grpc/types/walletrpc/BumpFeeRequest.d.ts | 2 +- src/grpc/types/walletrpc/FundPsbtRequest.d.ts | 2 +- src/grpc/types/walletrpc/LeaseOutputRequest.d.ts | 2 +- src/grpc/types/walletrpc/PendingSweep.d.ts | 2 +- src/grpc/types/walletrpc/SendOutputsRequest.d.ts | 2 +- src/grpc/types/walletrpc/TxTemplate.d.ts | 2 +- src/grpc/types/walletrpc/UtxoLease.d.ts | 2 +- 83 files changed, 83 insertions(+), 83 deletions(-) diff --git a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts index 57130be6..d73e8560 100644 --- a/src/grpc/types/cln/cln/CreateinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/CreateinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/DelinvoiceResponse.ts b/src/grpc/types/cln/cln/DelinvoiceResponse.ts index 0365947a..0621f229 100644 --- a/src/grpc/types/cln/cln/DelinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/DelinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/GetrouteRequest.d.ts b/src/grpc/types/cln/cln/GetrouteRequest.d.ts index 20b76657..00979ea1 100644 --- a/src/grpc/types/cln/cln/GetrouteRequest.d.ts +++ b/src/grpc/types/cln/cln/GetrouteRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface GetrouteRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/InvoiceRequest.d.ts b/src/grpc/types/cln/cln/InvoiceRequest.d.ts index c852f603..5e884c10 100644 --- a/src/grpc/types/cln/cln/InvoiceRequest.d.ts +++ b/src/grpc/types/cln/cln/InvoiceRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { AmountOrAny as _cln_AmountOrAny, AmountOrAny__Output as _cln_AmountOrAny__Output, } from '../cln/AmountOrAny' +import type { Long } from '@grpc/proto-loader' export interface InvoiceRequest { description?: string diff --git a/src/grpc/types/cln/cln/ListforwardsForwards.ts b/src/grpc/types/cln/cln/ListforwardsForwards.ts index 084ba51d..d6c81479 100644 --- a/src/grpc/types/cln/cln/ListforwardsForwards.ts +++ b/src/grpc/types/cln/cln/ListforwardsForwards.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts index 3cd95e64..ccb0a534 100644 --- a/src/grpc/types/cln/cln/ListinvoicesInvoices.ts +++ b/src/grpc/types/cln/cln/ListinvoicesInvoices.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts index 442c5c1a..ced5ca3d 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannels.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannels.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { ListpeersPeersChannelsFeerate as _cln_ListpeersPeersChannelsFeerate, ListpeersPeersChannelsFeerate__Output as _cln_ListpeersPeersChannelsFeerate__Output, @@ -29,6 +28,7 @@ import type { ListpeersPeersChannelsAlias as _cln_ListpeersPeersChannelsAlias, ListpeersPeersChannelsAlias__Output as _cln_ListpeersPeersChannelsAlias__Output, } from '../cln/ListpeersPeersChannelsAlias' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts index eb6220f5..79ed64b6 100644 --- a/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts +++ b/src/grpc/types/cln/cln/ListpeersPeersChannelsHtlcs.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/ListsendpaysPayments.ts b/src/grpc/types/cln/cln/ListsendpaysPayments.ts index 5daf6d57..ab83ab63 100644 --- a/src/grpc/types/cln/cln/ListsendpaysPayments.ts +++ b/src/grpc/types/cln/cln/ListsendpaysPayments.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendonionRequest.d.ts b/src/grpc/types/cln/cln/SendonionRequest.d.ts index e9b5d79c..04a0a068 100644 --- a/src/grpc/types/cln/cln/SendonionRequest.d.ts +++ b/src/grpc/types/cln/cln/SendonionRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendonionFirst_hop as _cln_SendonionFirst_hop, SendonionFirst_hop__Output as _cln_SendonionFirst_hop__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendonionRequest { onion?: Buffer | Uint8Array | string diff --git a/src/grpc/types/cln/cln/SendonionResponse.ts b/src/grpc/types/cln/cln/SendonionResponse.ts index 14cb87cb..0548e40e 100644 --- a/src/grpc/types/cln/cln/SendonionResponse.ts +++ b/src/grpc/types/cln/cln/SendonionResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/SendpayRequest.d.ts b/src/grpc/types/cln/cln/SendpayRequest.d.ts index af782167..1eb903d0 100644 --- a/src/grpc/types/cln/cln/SendpayRequest.d.ts +++ b/src/grpc/types/cln/cln/SendpayRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { SendpayRoute as _cln_SendpayRoute, SendpayRoute__Output as _cln_SendpayRoute__Output, @@ -9,6 +8,7 @@ import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' export interface SendpayRequest { route?: _cln_SendpayRoute[] diff --git a/src/grpc/types/cln/cln/SendpayResponse.ts b/src/grpc/types/cln/cln/SendpayResponse.ts index 5014692d..50235f69 100644 --- a/src/grpc/types/cln/cln/SendpayResponse.ts +++ b/src/grpc/types/cln/cln/SendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts index 8c4bc7a2..c8a852a2 100644 --- a/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitanyinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts index 65c6714a..c397650b 100644 --- a/src/grpc/types/cln/cln/WaitinvoiceResponse.ts +++ b/src/grpc/types/cln/cln/WaitinvoiceResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/cln/cln/WaitsendpayResponse.ts b/src/grpc/types/cln/cln/WaitsendpayResponse.ts index 2e991681..d34b53f3 100644 --- a/src/grpc/types/cln/cln/WaitsendpayResponse.ts +++ b/src/grpc/types/cln/cln/WaitsendpayResponse.ts @@ -1,10 +1,10 @@ // Original file: proto/cln/node.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _cln_Amount, Amount__Output as _cln_Amount__Output, } from '../cln/Amount' +import type { Long } from '@grpc/proto-loader' // Original file: proto/cln/node.proto diff --git a/src/grpc/types/greenlight/Feerate.d.ts b/src/grpc/types/greenlight/Feerate.d.ts index 7b201bf6..d8d0adcd 100644 --- a/src/grpc/types/greenlight/Feerate.d.ts +++ b/src/grpc/types/greenlight/Feerate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/greenlight.proto -import type { Long } from '@grpc/proto-loader' import type { FeeratePreset as _greenlight_FeeratePreset, FeeratePreset__Output as _greenlight_FeeratePreset__Output, } from '../greenlight/FeeratePreset' +import type { Long } from '@grpc/proto-loader' export interface Feerate { preset?: _greenlight_FeeratePreset diff --git a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts index 645d3caf..5b0e7492 100644 --- a/src/grpc/types/lnrpc/AMPInvoiceState.d.ts +++ b/src/grpc/types/lnrpc/AMPInvoiceState.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, } from '../lnrpc/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface AMPInvoiceState { state?: _lnrpc_InvoiceHTLCState diff --git a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts index 241570f7..1e2e873e 100644 --- a/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts +++ b/src/grpc/types/lnrpc/BakeMacaroonRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MacaroonPermission as _lnrpc_MacaroonPermission, MacaroonPermission__Output as _lnrpc_MacaroonPermission__Output, } from '../lnrpc/MacaroonPermission' +import type { Long } from '@grpc/proto-loader' export interface BakeMacaroonRequest { permissions?: _lnrpc_MacaroonPermission[] diff --git a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts index 5f52f618..f8c6d9b4 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannel.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannel.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannel { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts index 43a8ed51..0f9e9da0 100644 --- a/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/BatchOpenChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { BatchOpenChannel as _lnrpc_BatchOpenChannel, BatchOpenChannel__Output as _lnrpc_BatchOpenChannel__Output, } from '../lnrpc/BatchOpenChannel' +import type { Long } from '@grpc/proto-loader' export interface BatchOpenChannelRequest { channels?: _lnrpc_BatchOpenChannel[] diff --git a/src/grpc/types/lnrpc/ChanPointShim.d.ts b/src/grpc/types/lnrpc/ChanPointShim.d.ts index e588220a..dd085b3a 100644 --- a/src/grpc/types/lnrpc/ChanPointShim.d.ts +++ b/src/grpc/types/lnrpc/ChanPointShim.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { KeyDescriptor as _lnrpc_KeyDescriptor, KeyDescriptor__Output as _lnrpc_KeyDescriptor__Output, } from '../lnrpc/KeyDescriptor' +import type { Long } from '@grpc/proto-loader' export interface ChanPointShim { amt?: number | string | Long diff --git a/src/grpc/types/lnrpc/Channel.ts b/src/grpc/types/lnrpc/Channel.ts index fa394623..e05aee4b 100644 --- a/src/grpc/types/lnrpc/Channel.ts +++ b/src/grpc/types/lnrpc/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_HTLC, HTLC__Output as _lnrpc_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_ChannelConstraints, ChannelConstraints__Output as _lnrpc_ChannelConstraints__Output, } from '../lnrpc/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts index d02a3d1a..f70c677f 100644 --- a/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts +++ b/src/grpc/types/lnrpc/ChannelAcceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface ChannelAcceptRequest { node_pubkey?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts index 5e3c440d..a35eec22 100644 --- a/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_Amount, Amount__Output as _lnrpc_Amount__Output, } from '../lnrpc/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelCloseSummary.ts b/src/grpc/types/lnrpc/ChannelCloseSummary.ts index 211047f2..5b0bd8a8 100644 --- a/src/grpc/types/lnrpc/ChannelCloseSummary.ts +++ b/src/grpc/types/lnrpc/ChannelCloseSummary.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -9,6 +8,7 @@ import type { Resolution as _lnrpc_Resolution, Resolution__Output as _lnrpc_Resolution__Output, } from '../lnrpc/Resolution' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/ChannelEdge.d.ts b/src/grpc/types/lnrpc/ChannelEdge.d.ts index d2384edf..d9a96a08 100644 --- a/src/grpc/types/lnrpc/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts index bd259c31..c4407c23 100644 --- a/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts +++ b/src/grpc/types/lnrpc/ChannelEdgeUpdate.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, @@ -9,6 +8,7 @@ import type { RoutingPolicy as _lnrpc_RoutingPolicy, RoutingPolicy__Output as _lnrpc_RoutingPolicy__Output, } from '../lnrpc/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdgeUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts index 4f20325b..4acb7061 100644 --- a/src/grpc/types/lnrpc/CloseChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/CloseChannelRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface CloseChannelRequest { channel_point?: _lnrpc_ChannelPoint | null diff --git a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts index bee5c573..ba54545b 100644 --- a/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts +++ b/src/grpc/types/lnrpc/ClosedChannelUpdate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface ClosedChannelUpdate { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts index c3465b57..7e6cba0f 100644 --- a/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts +++ b/src/grpc/types/lnrpc/ConnectPeerRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningAddress as _lnrpc_LightningAddress, LightningAddress__Output as _lnrpc_LightningAddress__Output, } from '../lnrpc/LightningAddress' +import type { Long } from '@grpc/proto-loader' export interface ConnectPeerRequest { addr?: _lnrpc_LightningAddress | null diff --git a/src/grpc/types/lnrpc/Failure.ts b/src/grpc/types/lnrpc/Failure.ts index 12d7c149..de244f02 100644 --- a/src/grpc/types/lnrpc/Failure.ts +++ b/src/grpc/types/lnrpc/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_ChannelUpdate, ChannelUpdate__Output as _lnrpc_ChannelUpdate__Output, } from '../lnrpc/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/FeeReportResponse.d.ts b/src/grpc/types/lnrpc/FeeReportResponse.d.ts index 0ccce99e..e02f69e4 100644 --- a/src/grpc/types/lnrpc/FeeReportResponse.d.ts +++ b/src/grpc/types/lnrpc/FeeReportResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelFeeReport as _lnrpc_ChannelFeeReport, ChannelFeeReport__Output as _lnrpc_ChannelFeeReport__Output, } from '../lnrpc/ChannelFeeReport' +import type { Long } from '@grpc/proto-loader' export interface FeeReportResponse { channel_fees?: _lnrpc_ChannelFeeReport[] diff --git a/src/grpc/types/lnrpc/GetInfoResponse.d.ts b/src/grpc/types/lnrpc/GetInfoResponse.d.ts index 0b150627..ffdfab42 100644 --- a/src/grpc/types/lnrpc/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_Chain, Chain__Output as _lnrpc_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc/HTLCAttempt.ts b/src/grpc/types/lnrpc/HTLCAttempt.ts index 63c7b68f..b3a13201 100644 --- a/src/grpc/types/lnrpc/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_Route, Route__Output as _lnrpc_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_Failure, Failure__Output as _lnrpc_Failure__Output, } from '../lnrpc/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Hop.d.ts b/src/grpc/types/lnrpc/Hop.d.ts index 4cc00e8f..0e70752e 100644 --- a/src/grpc/types/lnrpc/Hop.d.ts +++ b/src/grpc/types/lnrpc/Hop.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_MPPRecord, MPPRecord__Output as _lnrpc_MPPRecord__Output, @@ -9,6 +8,7 @@ import type { AMPRecord as _lnrpc_AMPRecord, AMPRecord__Output as _lnrpc_AMPRecord__Output, } from '../lnrpc/AMPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/InitWalletRequest.d.ts b/src/grpc/types/lnrpc/InitWalletRequest.d.ts index e3906c48..09379e76 100644 --- a/src/grpc/types/lnrpc/InitWalletRequest.d.ts +++ b/src/grpc/types/lnrpc/InitWalletRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { ChanBackupSnapshot as _lnrpc_ChanBackupSnapshot, ChanBackupSnapshot__Output as _lnrpc_ChanBackupSnapshot__Output, @@ -9,6 +8,7 @@ import type { WatchOnly as _lnrpc_WatchOnly, WatchOnly__Output as _lnrpc_WatchOnly__Output, } from '../lnrpc/WatchOnly' +import type { Long } from '@grpc/proto-loader' export interface InitWalletRequest { wallet_password?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Invoice.ts b/src/grpc/types/lnrpc/Invoice.ts index c8977ec2..351c40b7 100644 --- a/src/grpc/types/lnrpc/Invoice.ts +++ b/src/grpc/types/lnrpc/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -17,6 +16,7 @@ import type { AMPInvoiceState as _lnrpc_AMPInvoiceState, AMPInvoiceState__Output as _lnrpc_AMPInvoiceState__Output, } from '../lnrpc/AMPInvoiceState' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts index d0ec17a7..5bd9c77f 100644 --- a/src/grpc/types/lnrpc/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc/InvoiceHTLC.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_InvoiceHTLCState__Output, @@ -9,6 +8,7 @@ import type { AMP as _lnrpc_AMP, AMP__Output as _lnrpc_AMP__Output, } from '../lnrpc/AMP' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts index 02b5f52a..d5ce5f61 100644 --- a/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts +++ b/src/grpc/types/lnrpc/ListInvoiceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Invoice as _lnrpc_Invoice, Invoice__Output as _lnrpc_Invoice__Output, } from '../lnrpc/Invoice' +import type { Long } from '@grpc/proto-loader' export interface ListInvoiceResponse { invoices?: _lnrpc_Invoice[] diff --git a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts index 271e215d..2317081d 100644 --- a/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts +++ b/src/grpc/types/lnrpc/ListPaymentsResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Payment as _lnrpc_Payment, Payment__Output as _lnrpc_Payment__Output, } from '../lnrpc/Payment' +import type { Long } from '@grpc/proto-loader' export interface ListPaymentsResponse { payments?: _lnrpc_Payment[] diff --git a/src/grpc/types/lnrpc/NodeInfo.d.ts b/src/grpc/types/lnrpc/NodeInfo.d.ts index 31129e62..1251f6aa 100644 --- a/src/grpc/types/lnrpc/NodeInfo.d.ts +++ b/src/grpc/types/lnrpc/NodeInfo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { LightningNode as _lnrpc_LightningNode, LightningNode__Output as _lnrpc_LightningNode__Output, @@ -9,6 +8,7 @@ import type { ChannelEdge as _lnrpc_ChannelEdge, ChannelEdge__Output as _lnrpc_ChannelEdge__Output, } from '../lnrpc/ChannelEdge' +import type { Long } from '@grpc/proto-loader' export interface NodeInfo { node?: _lnrpc_LightningNode | null diff --git a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts index 421d622d..12a2a072 100644 --- a/src/grpc/types/lnrpc/OpenChannelRequest.d.ts +++ b/src/grpc/types/lnrpc/OpenChannelRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FundingShim as _lnrpc_FundingShim, FundingShim__Output as _lnrpc_FundingShim__Output, @@ -9,6 +8,7 @@ import type { CommitmentType as _lnrpc_CommitmentType, CommitmentType__Output as _lnrpc_CommitmentType__Output, } from '../lnrpc/CommitmentType' +import type { Long } from '@grpc/proto-loader' export interface OpenChannelRequest { sat_per_vbyte?: number | string | Long diff --git a/src/grpc/types/lnrpc/OutputDetail.d.ts b/src/grpc/types/lnrpc/OutputDetail.d.ts index 8bfbaadc..f9777323 100644 --- a/src/grpc/types/lnrpc/OutputDetail.d.ts +++ b/src/grpc/types/lnrpc/OutputDetail.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputScriptType as _lnrpc_OutputScriptType, OutputScriptType__Output as _lnrpc_OutputScriptType__Output, } from '../lnrpc/OutputScriptType' +import type { Long } from '@grpc/proto-loader' export interface OutputDetail { output_type?: _lnrpc_OutputScriptType diff --git a/src/grpc/types/lnrpc/PayReq.d.ts b/src/grpc/types/lnrpc/PayReq.d.ts index 4334047f..864bedf0 100644 --- a/src/grpc/types/lnrpc/PayReq.d.ts +++ b/src/grpc/types/lnrpc/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, } from '../lnrpc/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc/Payment.ts b/src/grpc/types/lnrpc/Payment.ts index fedcedd5..d98361e0 100644 --- a/src/grpc/types/lnrpc/Payment.ts +++ b/src/grpc/types/lnrpc/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_HTLCAttempt, HTLCAttempt__Output as _lnrpc_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_PaymentFailureReason__Output, } from '../lnrpc/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/Peer.ts b/src/grpc/types/lnrpc/Peer.ts index 010252ce..b0d9691f 100644 --- a/src/grpc/types/lnrpc/Peer.ts +++ b/src/grpc/types/lnrpc/Peer.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Feature as _lnrpc_Feature, Feature__Output as _lnrpc_Feature__Output, @@ -9,6 +8,7 @@ import type { TimestampedError as _lnrpc_TimestampedError, TimestampedError__Output as _lnrpc_TimestampedError__Output, } from '../lnrpc/TimestampedError' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PendingChannelsResponse.ts b/src/grpc/types/lnrpc/PendingChannelsResponse.ts index c2dd5d0c..1cfaeee5 100644 --- a/src/grpc/types/lnrpc/PendingChannelsResponse.ts +++ b/src/grpc/types/lnrpc/PendingChannelsResponse.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Initiator as _lnrpc_Initiator, Initiator__Output as _lnrpc_Initiator__Output, @@ -13,6 +12,7 @@ import type { PendingHTLC as _lnrpc_PendingHTLC, PendingHTLC__Output as _lnrpc_PendingHTLC__Output, } from '../lnrpc/PendingHTLC' +import type { Long } from '@grpc/proto-loader' // Original file: proto/lightning.proto diff --git a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts index b2991d2a..3c8da411 100644 --- a/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts +++ b/src/grpc/types/lnrpc/PolicyUpdateRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelPoint as _lnrpc_ChannelPoint, ChannelPoint__Output as _lnrpc_ChannelPoint__Output, } from '../lnrpc/ChannelPoint' +import type { Long } from '@grpc/proto-loader' export interface PolicyUpdateRequest { global?: boolean diff --git a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts index d729e8fa..3a92f24a 100644 --- a/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts index fa75975c..2b184038 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { StreamAuth as _lnrpc_StreamAuth, StreamAuth__Output as _lnrpc_StreamAuth__Output, @@ -9,6 +8,7 @@ import type { RPCMessage as _lnrpc_RPCMessage, RPCMessage__Output as _lnrpc_RPCMessage__Output, } from '../lnrpc/RPCMessage' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareRequest { request_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts index 5e2c44d4..6ef263be 100644 --- a/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts +++ b/src/grpc/types/lnrpc/RPCMiddlewareResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { MiddlewareRegistration as _lnrpc_MiddlewareRegistration, MiddlewareRegistration__Output as _lnrpc_MiddlewareRegistration__Output, @@ -9,6 +8,7 @@ import type { InterceptFeedback as _lnrpc_InterceptFeedback, InterceptFeedback__Output as _lnrpc_InterceptFeedback__Output, } from '../lnrpc/InterceptFeedback' +import type { Long } from '@grpc/proto-loader' export interface RPCMiddlewareResponse { ref_msg_id?: number | string | Long diff --git a/src/grpc/types/lnrpc/Resolution.d.ts b/src/grpc/types/lnrpc/Resolution.d.ts index cf8d4b11..c5d6f1ae 100644 --- a/src/grpc/types/lnrpc/Resolution.d.ts +++ b/src/grpc/types/lnrpc/Resolution.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { ResolutionType as _lnrpc_ResolutionType, ResolutionType__Output as _lnrpc_ResolutionType__Output, @@ -13,6 +12,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Resolution { resolution_type?: _lnrpc_ResolutionType diff --git a/src/grpc/types/lnrpc/Route.d.ts b/src/grpc/types/lnrpc/Route.d.ts index ab20e38c..4a1aab0d 100644 --- a/src/grpc/types/lnrpc/Route.d.ts +++ b/src/grpc/types/lnrpc/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_Hop, Hop__Output as _lnrpc_Hop__Output, } from '../lnrpc/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc/SendRequest.d.ts b/src/grpc/types/lnrpc/SendRequest.d.ts index 011fd0ca..efd6a516 100644 --- a/src/grpc/types/lnrpc/SendRequest.d.ts +++ b/src/grpc/types/lnrpc/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_FeeLimit, FeeLimit__Output as _lnrpc_FeeLimit__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/lnrpc/Transaction.d.ts b/src/grpc/types/lnrpc/Transaction.d.ts index 01e27208..b91d9efd 100644 --- a/src/grpc/types/lnrpc/Transaction.d.ts +++ b/src/grpc/types/lnrpc/Transaction.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { OutputDetail as _lnrpc_OutputDetail, OutputDetail__Output as _lnrpc_OutputDetail__Output, @@ -9,6 +8,7 @@ import type { PreviousOutPoint as _lnrpc_PreviousOutPoint, PreviousOutPoint__Output as _lnrpc_PreviousOutPoint__Output, } from '../lnrpc/PreviousOutPoint' +import type { Long } from '@grpc/proto-loader' export interface Transaction { tx_hash?: string diff --git a/src/grpc/types/lnrpc/Utxo.d.ts b/src/grpc/types/lnrpc/Utxo.d.ts index 003062f8..a1b40c40 100644 --- a/src/grpc/types/lnrpc/Utxo.d.ts +++ b/src/grpc/types/lnrpc/Utxo.d.ts @@ -1,6 +1,5 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { AddressType as _lnrpc_AddressType, AddressType__Output as _lnrpc_AddressType__Output, @@ -9,6 +8,7 @@ import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface Utxo { address_type?: _lnrpc_AddressType diff --git a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts index 54d79672..9f0f4eaf 100644 --- a/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc/WalletBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/lightning.proto -import type { Long } from '@grpc/proto-loader' import type { WalletAccountBalance as _lnrpc_WalletAccountBalance, WalletAccountBalance__Output as _lnrpc_WalletAccountBalance__Output, } from '../lnrpc/WalletAccountBalance' +import type { Long } from '@grpc/proto-loader' export interface WalletBalanceResponse { total_balance?: number | string | Long diff --git a/src/grpc/types/lnrpc/WatchOnly.d.ts b/src/grpc/types/lnrpc/WatchOnly.d.ts index 220316cf..9d396c65 100644 --- a/src/grpc/types/lnrpc/WatchOnly.d.ts +++ b/src/grpc/types/lnrpc/WatchOnly.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletunlocker.proto -import type { Long } from '@grpc/proto-loader' import type { WatchOnlyAccount as _lnrpc_WatchOnlyAccount, WatchOnlyAccount__Output as _lnrpc_WatchOnlyAccount__Output, } from '../lnrpc/WatchOnlyAccount' +import type { Long } from '@grpc/proto-loader' export interface WatchOnly { master_key_birthday_timestamp?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Channel.ts b/src/grpc/types/lnrpc_proxy/Channel.ts index 9bd3baf0..efe7877d 100644 --- a/src/grpc/types/lnrpc_proxy/Channel.ts +++ b/src/grpc/types/lnrpc_proxy/Channel.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLC as _lnrpc_proxy_HTLC, HTLC__Output as _lnrpc_proxy_HTLC__Output, @@ -13,6 +12,7 @@ import type { ChannelConstraints as _lnrpc_proxy_ChannelConstraints, ChannelConstraints__Output as _lnrpc_proxy_ChannelConstraints__Output, } from '../lnrpc_proxy/ChannelConstraints' +import type { Long } from '@grpc/proto-loader' export interface Channel { active?: boolean diff --git a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts index 22d16ff3..84182c95 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelBalanceResponse.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Amount as _lnrpc_proxy_Amount, Amount__Output as _lnrpc_proxy_Amount__Output, } from '../lnrpc_proxy/Amount' +import type { Long } from '@grpc/proto-loader' export interface ChannelBalanceResponse { balance?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts index 0f2a0940..76f72dfe 100644 --- a/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts +++ b/src/grpc/types/lnrpc_proxy/ChannelEdge.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RoutingPolicy as _lnrpc_proxy_RoutingPolicy, RoutingPolicy__Output as _lnrpc_proxy_RoutingPolicy__Output, } from '../lnrpc_proxy/RoutingPolicy' +import type { Long } from '@grpc/proto-loader' export interface ChannelEdge { channel_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Failure.ts b/src/grpc/types/lnrpc_proxy/Failure.ts index caa4aeb0..5a39b26a 100644 --- a/src/grpc/types/lnrpc_proxy/Failure.ts +++ b/src/grpc/types/lnrpc_proxy/Failure.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { ChannelUpdate as _lnrpc_proxy_ChannelUpdate, ChannelUpdate__Output as _lnrpc_proxy_ChannelUpdate__Output, } from '../lnrpc_proxy/ChannelUpdate' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts index 8264cf62..97aed748 100644 --- a/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts +++ b/src/grpc/types/lnrpc_proxy/GetInfoResponse.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Chain as _lnrpc_proxy_Chain, Chain__Output as _lnrpc_proxy_Chain__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface GetInfoResponse { identity_pubkey?: string diff --git a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts index efd3e649..ddb30300 100644 --- a/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts +++ b/src/grpc/types/lnrpc_proxy/HTLCAttempt.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Route as _lnrpc_proxy_Route, Route__Output as _lnrpc_proxy_Route__Output, @@ -9,6 +8,7 @@ import type { Failure as _lnrpc_proxy_Failure, Failure__Output as _lnrpc_proxy_Failure__Output, } from '../lnrpc_proxy/Failure' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/Hop.d.ts b/src/grpc/types/lnrpc_proxy/Hop.d.ts index c6293156..af9ebc8f 100644 --- a/src/grpc/types/lnrpc_proxy/Hop.d.ts +++ b/src/grpc/types/lnrpc_proxy/Hop.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { MPPRecord as _lnrpc_proxy_MPPRecord, MPPRecord__Output as _lnrpc_proxy_MPPRecord__Output, } from '../lnrpc_proxy/MPPRecord' +import type { Long } from '@grpc/proto-loader' export interface Hop { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/Invoice.ts b/src/grpc/types/lnrpc_proxy/Invoice.ts index 070654b7..db995c40 100644 --- a/src/grpc/types/lnrpc_proxy/Invoice.ts +++ b/src/grpc/types/lnrpc_proxy/Invoice.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -13,6 +12,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts index f6a79e7d..c2d38578 100644 --- a/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts +++ b/src/grpc/types/lnrpc_proxy/InvoiceHTLC.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { InvoiceHTLCState as _lnrpc_proxy_InvoiceHTLCState, InvoiceHTLCState__Output as _lnrpc_proxy_InvoiceHTLCState__Output, } from '../lnrpc_proxy/InvoiceHTLCState' +import type { Long } from '@grpc/proto-loader' export interface InvoiceHTLC { chan_id?: number | string | Long diff --git a/src/grpc/types/lnrpc_proxy/PayReq.d.ts b/src/grpc/types/lnrpc_proxy/PayReq.d.ts index 1819d1ad..6b35f606 100644 --- a/src/grpc/types/lnrpc_proxy/PayReq.d.ts +++ b/src/grpc/types/lnrpc_proxy/PayReq.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, @@ -9,6 +8,7 @@ import type { Feature as _lnrpc_proxy_Feature, Feature__Output as _lnrpc_proxy_Feature__Output, } from '../lnrpc_proxy/Feature' +import type { Long } from '@grpc/proto-loader' export interface PayReq { destination?: string diff --git a/src/grpc/types/lnrpc_proxy/Payment.ts b/src/grpc/types/lnrpc_proxy/Payment.ts index dfe51afe..f2ecccb5 100644 --- a/src/grpc/types/lnrpc_proxy/Payment.ts +++ b/src/grpc/types/lnrpc_proxy/Payment.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { HTLCAttempt as _lnrpc_proxy_HTLCAttempt, HTLCAttempt__Output as _lnrpc_proxy_HTLCAttempt__Output, @@ -9,6 +8,7 @@ import type { PaymentFailureReason as _lnrpc_proxy_PaymentFailureReason, PaymentFailureReason__Output as _lnrpc_proxy_PaymentFailureReason__Output, } from '../lnrpc_proxy/PaymentFailureReason' +import type { Long } from '@grpc/proto-loader' // Original file: proto/rpc_proxy.proto diff --git a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts index baf1e390..cb1ae5c4 100644 --- a/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/QueryRoutesRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -21,6 +20,7 @@ import type { FeatureBit as _lnrpc_proxy_FeatureBit, FeatureBit__Output as _lnrpc_proxy_FeatureBit__Output, } from '../lnrpc_proxy/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface QueryRoutesRequest { pub_key?: string diff --git a/src/grpc/types/lnrpc_proxy/Route.d.ts b/src/grpc/types/lnrpc_proxy/Route.d.ts index f6471177..b807d3e3 100644 --- a/src/grpc/types/lnrpc_proxy/Route.d.ts +++ b/src/grpc/types/lnrpc_proxy/Route.d.ts @@ -1,10 +1,10 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { Hop as _lnrpc_proxy_Hop, Hop__Output as _lnrpc_proxy_Hop__Output, } from '../lnrpc_proxy/Hop' +import type { Long } from '@grpc/proto-loader' export interface Route { total_time_lock?: number diff --git a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts index 949251e6..692207dc 100644 --- a/src/grpc/types/lnrpc_proxy/SendRequest.d.ts +++ b/src/grpc/types/lnrpc_proxy/SendRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/rpc_proxy.proto -import type { Long } from '@grpc/proto-loader' import type { FeeLimit as _lnrpc_proxy_FeeLimit, FeeLimit__Output as _lnrpc_proxy_FeeLimit__Output, @@ -13,6 +12,7 @@ import type { RouteHint as _lnrpc_proxy_RouteHint, RouteHint__Output as _lnrpc_proxy_RouteHint__Output, } from '../lnrpc_proxy/RouteHint' +import type { Long } from '@grpc/proto-loader' export interface SendRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts index e59c5185..32904ab2 100644 --- a/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts +++ b/src/grpc/types/routerrpc/ForwardHtlcInterceptRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { CircuitKey as _routerrpc_CircuitKey, CircuitKey__Output as _routerrpc_CircuitKey__Output, } from '../routerrpc/CircuitKey' +import type { Long } from '@grpc/proto-loader' export interface ForwardHtlcInterceptRequest { incoming_circuit_key?: _routerrpc_CircuitKey | null diff --git a/src/grpc/types/routerrpc/HtlcEvent.ts b/src/grpc/types/routerrpc/HtlcEvent.ts index 1c3f41e9..26988818 100644 --- a/src/grpc/types/routerrpc/HtlcEvent.ts +++ b/src/grpc/types/routerrpc/HtlcEvent.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { ForwardEvent as _routerrpc_ForwardEvent, ForwardEvent__Output as _routerrpc_ForwardEvent__Output, @@ -25,6 +24,7 @@ import type { FinalHtlcEvent as _routerrpc_FinalHtlcEvent, FinalHtlcEvent__Output as _routerrpc_FinalHtlcEvent__Output, } from '../routerrpc/FinalHtlcEvent' +import type { Long } from '@grpc/proto-loader' // Original file: proto/router.proto diff --git a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts index a859a341..d9f825b8 100644 --- a/src/grpc/types/routerrpc/SendPaymentRequest.d.ts +++ b/src/grpc/types/routerrpc/SendPaymentRequest.d.ts @@ -1,6 +1,5 @@ // Original file: proto/router.proto -import type { Long } from '@grpc/proto-loader' import type { RouteHint as _lnrpc_RouteHint, RouteHint__Output as _lnrpc_RouteHint__Output, @@ -9,6 +8,7 @@ import type { FeatureBit as _lnrpc_FeatureBit, FeatureBit__Output as _lnrpc_FeatureBit__Output, } from '../lnrpc/FeatureBit' +import type { Long } from '@grpc/proto-loader' export interface SendPaymentRequest { dest?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts index 13cc94a4..318766f4 100644 --- a/src/grpc/types/walletrpc/BumpFeeRequest.d.ts +++ b/src/grpc/types/walletrpc/BumpFeeRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface BumpFeeRequest { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts index ae03d9a0..ac975359 100644 --- a/src/grpc/types/walletrpc/FundPsbtRequest.d.ts +++ b/src/grpc/types/walletrpc/FundPsbtRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxTemplate as _walletrpc_TxTemplate, TxTemplate__Output as _walletrpc_TxTemplate__Output, } from '../walletrpc/TxTemplate' +import type { Long } from '@grpc/proto-loader' export interface FundPsbtRequest { psbt?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts index 746828d8..170a7c38 100644 --- a/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts +++ b/src/grpc/types/walletrpc/LeaseOutputRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface LeaseOutputRequest { id?: Buffer | Uint8Array | string diff --git a/src/grpc/types/walletrpc/PendingSweep.d.ts b/src/grpc/types/walletrpc/PendingSweep.d.ts index 3f4180da..fa88a5e7 100644 --- a/src/grpc/types/walletrpc/PendingSweep.d.ts +++ b/src/grpc/types/walletrpc/PendingSweep.d.ts @@ -1,6 +1,5 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, @@ -9,6 +8,7 @@ import type { WitnessType as _walletrpc_WitnessType, WitnessType__Output as _walletrpc_WitnessType__Output, } from '../walletrpc/WitnessType' +import type { Long } from '@grpc/proto-loader' export interface PendingSweep { outpoint?: _lnrpc_OutPoint | null diff --git a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts index ae7c8e82..661c5259 100644 --- a/src/grpc/types/walletrpc/SendOutputsRequest.d.ts +++ b/src/grpc/types/walletrpc/SendOutputsRequest.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { TxOut as _signrpc_TxOut, TxOut__Output as _signrpc_TxOut__Output, } from '../signrpc/TxOut' +import type { Long } from '@grpc/proto-loader' export interface SendOutputsRequest { sat_per_kw?: number | string | Long diff --git a/src/grpc/types/walletrpc/TxTemplate.d.ts b/src/grpc/types/walletrpc/TxTemplate.d.ts index 47279dc7..f7c09fd5 100644 --- a/src/grpc/types/walletrpc/TxTemplate.d.ts +++ b/src/grpc/types/walletrpc/TxTemplate.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface TxTemplate { inputs?: _lnrpc_OutPoint[] diff --git a/src/grpc/types/walletrpc/UtxoLease.d.ts b/src/grpc/types/walletrpc/UtxoLease.d.ts index ffc4b397..4365f43e 100644 --- a/src/grpc/types/walletrpc/UtxoLease.d.ts +++ b/src/grpc/types/walletrpc/UtxoLease.d.ts @@ -1,10 +1,10 @@ // Original file: proto/walletkit.proto -import type { Long } from '@grpc/proto-loader' import type { OutPoint as _lnrpc_OutPoint, OutPoint__Output as _lnrpc_OutPoint__Output, } from '../lnrpc/OutPoint' +import type { Long } from '@grpc/proto-loader' export interface UtxoLease { id?: Buffer | Uint8Array | string From ebcc2e07037ec3c5546639811a44a4cd34a3cd34 Mon Sep 17 00:00:00 2001 From: kevkevin Date: Tue, 16 Jul 2024 08:59:30 -0500 Subject: [PATCH 117/117] fix: disabling pingHubInterval since it is causing large queries (#813) --- app.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app.ts b/app.ts index eea79599..70aba2df 100644 --- a/app.ts +++ b/app.ts @@ -5,7 +5,7 @@ import * as cors from 'cors' import * as https from 'https' import * as http from 'http' import logger, { logging, sphinxLogger } from './src/utils/logger' -import { pingHubInterval, checkInvitesHubInterval } from './src/hub' +import { checkInvitesHubInterval } from './src/hub' import { genUsersInterval } from './src/utils/proxy' import { setupDatabase, @@ -47,7 +47,7 @@ async function start() { mainSetup() // // IF NOT UNLOCK, go ahead and start this now if (config.hub_api_url && !config.unlock) { - pingHubInterval(30000) + //pingHubInterval(30000) genUsersInterval(60000) } } @@ -73,7 +73,7 @@ async function finishSetup() { } if (config.unlock) { // IF UNLOCK, start this only after unlocked! - pingHubInterval(15000) + //pingHubInterval(15000) } leadershipBoardInterval(1800000) setupDone()