@babylonlabs-io/ts-sdk 0.40.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PayoutManager-B5bovfkD.cjs.map +1 -1
- package/dist/PayoutManager-DChODEOJ.js.map +1 -1
- package/dist/assertPsbtUnsignedTxMatches-CzVv57QF.js.map +1 -1
- package/dist/assertPsbtUnsignedTxMatches-r1svclbd.cjs.map +1 -1
- package/dist/bitcoin-B5aNKtsk.js.map +1 -1
- package/dist/bitcoin-CHfKAhcI.cjs.map +1 -1
- package/dist/tbv/core/clients/vault-provider/auth/serverIdentity.d.ts +0 -7
- package/dist/tbv/core/clients/vault-provider/auth/serverIdentity.d.ts.map +1 -1
- package/dist/tbv/core/managers/pegin/assertAuthAnchorOpReturn.d.ts +0 -17
- package/dist/tbv/core/managers/pegin/assertAuthAnchorOpReturn.d.ts.map +1 -1
- package/dist/tbv/core/managers/pegin/index.d.ts +1 -1
- package/dist/tbv/core/managers/pegin/index.d.ts.map +1 -1
- package/dist/tbv/core/primitives/psbt/constants.d.ts +0 -4
- package/dist/tbv/core/primitives/psbt/constants.d.ts.map +1 -1
- package/dist/tbv/core/primitives/utils/bitcoin.d.ts +0 -5
- package/dist/tbv/core/primitives/utils/bitcoin.d.ts.map +1 -1
- package/dist/tbv/integrations/aave/index.cjs +1 -1
- package/dist/tbv/integrations/aave/index.cjs.map +1 -1
- package/dist/tbv/integrations/aave/index.js +265 -270
- package/dist/tbv/integrations/aave/index.js.map +1 -1
- package/dist/tbv/integrations/aave/utils/cascadeSimulation.d.ts +9 -0
- package/dist/tbv/integrations/aave/utils/cascadeSimulation.d.ts.map +1 -1
- package/dist/tbv/integrations/aave/utils/optimalOrder.d.ts +20 -3
- package/dist/tbv/integrations/aave/utils/optimalOrder.d.ts.map +1 -1
- package/dist/types-0bvDGR4x.js.map +1 -1
- package/dist/types-Be3sAYzr.cjs.map +1 -1
- package/package.json +1 -1
- package/dist/tbv/core/primitives/psbt/index.d.ts +0 -34
- package/dist/tbv/core/primitives/psbt/index.d.ts.map +0 -1
- package/dist/tbv/core/primitives/scripts/index.d.ts +0 -10
- package/dist/tbv/core/primitives/scripts/index.d.ts.map +0 -1
- package/dist/tbv/core/primitives/utils/index.d.ts +0 -9
- package/dist/tbv/core/primitives/utils/index.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PSBT Builder Primitives
|
|
3
|
-
*
|
|
4
|
-
* Pure functions for building unsigned PSBTs for vault operations.
|
|
5
|
-
* These functions wrap the WASM implementation with a clean TypeScript API.
|
|
6
|
-
*
|
|
7
|
-
* Exports:
|
|
8
|
-
* - {@link buildPrePeginPsbt} - Create unfunded Pre-PegIn transaction (HTLC output)
|
|
9
|
-
* - {@link buildPeginTxFromFundedPrePegin} - Derive PegIn tx from funded Pre-PegIn tx
|
|
10
|
-
* - {@link buildPeginInputPsbt} - Create PSBT for depositor to sign PegIn HTLC leaf 0 input
|
|
11
|
-
* - {@link extractPeginInputSignature} - Extract depositor signature from signed PegIn input PSBT
|
|
12
|
-
* - {@link buildPayoutPsbt} - Create payout PSBT for signing
|
|
13
|
-
* - {@link extractPayoutSignature} - Extract Schnorr signature from signed PSBT
|
|
14
|
-
* - {@link buildDepositorPayoutPsbt} - Create depositor's own Payout PSBT (depositor-as-claimer path)
|
|
15
|
-
* - {@link buildNoPayoutPsbt} - Create NoPayout PSBT per challenger (depositor-as-claimer path)
|
|
16
|
-
* - {@link buildChallengeAssertPsbt} - Create ChallengeAssert PSBT per challenger (depositor-as-claimer path)
|
|
17
|
-
*
|
|
18
|
-
* @module primitives/psbt
|
|
19
|
-
*/
|
|
20
|
-
export { buildPrePeginPsbt, buildPeginTxFromFundedPrePegin } from './pegin';
|
|
21
|
-
export type { PrePeginParams, PrePeginPsbtResult, BuildPeginTxParams, PeginTxResult, } from './pegin';
|
|
22
|
-
export { buildPeginInputPsbt, extractPeginInputSignature } from './peginInput';
|
|
23
|
-
export type { BuildPeginInputPsbtParams, BuildPeginInputPsbtResult, } from './peginInput';
|
|
24
|
-
export { buildPayoutPsbt, extractPayoutSignature } from './payout';
|
|
25
|
-
export type { PayoutParams, PayoutPsbtResult } from './payout';
|
|
26
|
-
export { buildDepositorPayoutPsbt } from './depositorPayout';
|
|
27
|
-
export type { DepositorPayoutParams } from './depositorPayout';
|
|
28
|
-
export { buildNoPayoutPsbt } from './noPayout';
|
|
29
|
-
export type { NoPayoutParams } from './noPayout';
|
|
30
|
-
export { buildChallengeAssertPsbt } from './challengeAssert';
|
|
31
|
-
export type { ChallengeAssertParams } from './challengeAssert';
|
|
32
|
-
export { assertPsbtUnsignedTxMatches, PsbtSubstitutionError, } from './assertPsbtUnsignedTxMatches';
|
|
33
|
-
export type { AssertPsbtUnsignedTxMatchesParams } from './assertPsbtUnsignedTxMatches';
|
|
34
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/primitives/psbt/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,iBAAiB,EAAE,8BAA8B,EAAE,MAAM,SAAS,CAAC;AAC5E,YAAY,EACV,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,GACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAC/E,YAAY,EACV,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AACnE,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,YAAY,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,YAAY,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,GACtB,MAAM,+BAA+B,CAAC;AACvC,YAAY,EAAE,iCAAiC,EAAE,MAAM,+BAA+B,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Script Primitives
|
|
3
|
-
*
|
|
4
|
-
* Pure functions for generating Bitcoin scripts for vault operations.
|
|
5
|
-
*
|
|
6
|
-
* @module primitives/scripts
|
|
7
|
-
*/
|
|
8
|
-
export { createPayoutScript } from './payout';
|
|
9
|
-
export type { PayoutScriptParams, PayoutScriptResult } from './payout';
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/primitives/scripts/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,YAAY,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Utility Functions
|
|
3
|
-
*
|
|
4
|
-
* Pure utility functions for Bitcoin operations
|
|
5
|
-
*
|
|
6
|
-
* @module primitives/utils
|
|
7
|
-
*/
|
|
8
|
-
export { deriveBip86ScriptPubKeyHex, ensureHexPrefix, formatSatoshisToBtc, getSortedXOnlyPubkeys, hexToUint8Array, isValidHex, processPublicKeyToXOnly, stripHexPrefix, toXOnly, uint8ArrayToHex, validateWalletPubkey, type WalletPubkeyValidationResult, } from './bitcoin';
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/tbv/core/primitives/utils/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,0BAA0B,EAC1B,eAAe,EACf,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EACf,UAAU,EACV,uBAAuB,EACvB,cAAc,EACd,OAAO,EACP,eAAe,EACf,oBAAoB,EACpB,KAAK,4BAA4B,GAClC,MAAM,WAAW,CAAC"}
|