From 0291f7b85b5b91f6b704717aaa6626f44a52a63f Mon Sep 17 00:00:00 2001 From: nitowa Date: Mon, 28 Mar 2022 04:42:14 +0200 Subject: [PATCH] fix missing export --- package.json | 2 +- src/index.ts | 7 ++++--- test/primitives.ts | 7 ++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 8443f42..fbcb801 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/src/index.ts b/src/index.ts index a071457..8e42059 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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' \ No newline at end of file +//export * from 'ripple-lib' +//export { RippleAPI } from 'ripple-lib' +export * from './xrpIO/xrpl-binding' \ No newline at end of file diff --git a/test/primitives.ts b/test/primitives.ts index 7ca7d32..07c45cd 100644 --- a/test/primitives.ts +++ b/test/primitives.ts @@ -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) }) }) \ No newline at end of file