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", "name": "xrpio",
"version": "0.1.2", "version": "0.1.3",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://gitea.nitowa.xyz/npm-packages/xrpio.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/types'
export * from './util/protocol.constants' export * from './util/protocol.constants'
export * from 'ripple-lib' //export * from 'ripple-lib'
export { RippleAPI } 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(){ it('treeRead XL', async function(){
// this.skip() // this.skip()
this.timeout(450000) this.timeout(450000)
txHash = await api.treeRead([txHash]) const data = await api.treeRead([txHash])
expect(txHash).to.exist expect(data).to.exist
expect(txHash).to.be.equal(htmlTxt) expect(data).to.be.equal(htmlTxt)
}) })
it('print open handles', function(){ it('print open handles', function(){
wtf.dump() wtf.dump()
console.log(txHash)
}) })
}) })