Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
antonilol committed Nov 7, 2024
1 parent a6c12cc commit 0502f2b
Show file tree
Hide file tree
Showing 14 changed files with 1,787 additions and 2,576 deletions.
22 changes: 0 additions & 22 deletions .eslintrc.json

This file was deleted.

94 changes: 47 additions & 47 deletions btc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion btc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as curve from 'tiny-secp256k1';
export { descsumCreate } from './descriptors';

type ObjectKey = string | number | symbol;
type ObjectKeyString<K extends ObjectKey> = K extends number ? `${number}` : K extends Symbol ? never : K;
type ObjectKeyString<K extends ObjectKey> = K extends number ? `${number}` : K extends symbol ? never : K;

declare global {
interface ObjectConstructor {
Expand Down Expand Up @@ -216,6 +216,7 @@ if (chainEnvVarValue) {
}
}

// eslint-disable-next-line @typescript-eslint/no-empty-object-type
export async function btc(...args: (string | Buffer | number | {} | TransactionType | PsbtType)[]): Promise<string> {
return new Promise((r, e) => {
const cmdargs = [`-chain=${chain}`, '-stdin'];
Expand Down
Loading

0 comments on commit 0502f2b

Please sign in to comment.