fix missing export

This commit is contained in:
nitowa
2022-03-28 04:42:14 +02:00
parent d2bd9dca0c
commit 0291f7b85b
3 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xrpio",
"version": "0.1.2",
"version": "0.1.3",
"repository": {
"type": "git",
"url": "https://gitea.nitowa.xyz/npm-packages/xrpio.git"
+4 -3
View File
@@ -1,5 +1,6 @@
export * from './xrpIO/ripple-binding'
//export * from './xrpIO/ripple-binding'
export * from './util/types'
export * from './util/protocol.constants'
export * from 'ripple-lib'
export { RippleAPI } from 'ripple-lib'
//export * from 'ripple-lib'
//export { RippleAPI } from 'ripple-lib'
export * from './xrpIO/xrpl-binding'
+4 -3
View File
@@ -89,12 +89,13 @@ describe('XRPIO', () => {
it('treeRead XL', async function(){
// this.skip()
this.timeout(450000)
txHash = await api.treeRead([txHash])
expect(txHash).to.exist
expect(txHash).to.be.equal(htmlTxt)
const data = await api.treeRead([txHash])
expect(data).to.exist
expect(data).to.be.equal(htmlTxt)
})
it('print open handles', function(){
wtf.dump()
console.log(txHash)
})
})