Skip to content

Commit d8867fb

Browse files
committed
.
1 parent 09e18cf commit d8867fb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ export declare function oracleDelegatedPuzzle(oraclePuzzleHash: Buffer, oracleFe
359359
* @returns {Promise<Buffer>} The signature.
360360
*/
361361
export declare function signCoinSpends(coinSpends: Array<CoinSpend>, privateKeys: Array<Buffer>, forTestnet: boolean): Buffer
362+
export declare function hexSpendBundleToCoinSpends(hex: string): Array<CoinSpend>
362363
/**
363364
* Computes the ID (name) of a coin.
364365
*

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ if (!nativeBinding) {
310310
throw new Error(`Failed to load native binding`)
311311
}
312312

313-
const { newLineageProof, newEveProof, Tls, Peer, PeerType, selectCoins, sendXch, morphLauncherId, createServerCoin, mintStore, oracleSpend, addFee, masterPublicKeyToWalletSyntheticKey, masterPublicKeyToFirstPuzzleHash, masterSecretKeyToWalletSyntheticSecretKey, secretKeyToPublicKey, puzzleHashToAddress, addressToPuzzleHash, adminDelegatedPuzzleFromKey, writerDelegatedPuzzleFromKey, oracleDelegatedPuzzle, signCoinSpends, getCoinId, updateStoreMetadata, updateStoreOwnership, meltStore, signMessage, verifySignedMessage, syntheticKeyToPuzzleHash, getCost, getMainnetGenesisChallenge, getTestnet11GenesisChallenge, simulatorNewPuzzle, simulatorNewBlspair, simulatorNewProgram } = nativeBinding
313+
const { newLineageProof, newEveProof, Tls, Peer, PeerType, selectCoins, sendXch, morphLauncherId, createServerCoin, mintStore, oracleSpend, addFee, masterPublicKeyToWalletSyntheticKey, masterPublicKeyToFirstPuzzleHash, masterSecretKeyToWalletSyntheticSecretKey, secretKeyToPublicKey, puzzleHashToAddress, addressToPuzzleHash, adminDelegatedPuzzleFromKey, writerDelegatedPuzzleFromKey, oracleDelegatedPuzzle, signCoinSpends, hexSpendBundleToCoinSpends, getCoinId, updateStoreMetadata, updateStoreOwnership, meltStore, signMessage, verifySignedMessage, syntheticKeyToPuzzleHash, getCost, getMainnetGenesisChallenge, getTestnet11GenesisChallenge, simulatorNewPuzzle, simulatorNewBlspair, simulatorNewProgram } = nativeBinding
314314

315315
module.exports.newLineageProof = newLineageProof
316316
module.exports.newEveProof = newEveProof
@@ -334,6 +334,7 @@ module.exports.adminDelegatedPuzzleFromKey = adminDelegatedPuzzleFromKey
334334
module.exports.writerDelegatedPuzzleFromKey = writerDelegatedPuzzleFromKey
335335
module.exports.oracleDelegatedPuzzle = oracleDelegatedPuzzle
336336
module.exports.signCoinSpends = signCoinSpends
337+
module.exports.hexSpendBundleToCoinSpends = hexSpendBundleToCoinSpends
337338
module.exports.getCoinId = getCoinId
338339
module.exports.updateStoreMetadata = updateStoreMetadata
339340
module.exports.updateStoreOwnership = updateStoreOwnership

0 commit comments

Comments
 (0)