mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Fix Windows contributors being unable to build and test the xrpl mono repo (#1822)
* Let ripple-binary-codec to build on windows & nix Co-authored-by: Justintime <justinthenicholasoftime@protonmail.com>
This commit is contained in:
@@ -29,6 +29,9 @@
|
||||
"ripple-keypairs": "^1.1.0",
|
||||
"ws": "^8.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"xrpl-local": "file:./src"
|
||||
},
|
||||
"resolutions": {
|
||||
"elliptic": "^6.5.4"
|
||||
},
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { Client } from 'xrpl-local'
|
||||
|
||||
// how long before each test case times out
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import {
|
||||
XrplError,
|
||||
AccountDelete,
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { Client } from 'xrpl-local'
|
||||
|
||||
describe('client constructor', function () {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { XrplError, NotFoundError } from 'xrpl-local'
|
||||
|
||||
import { setupClient, teardownClient } from '../setupClient'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import BigNumber from 'bignumber.js'
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { BookOffersRequest } from 'xrpl-local'
|
||||
import { ValidationError, XrplError } from 'xrpl-local/errors'
|
||||
import { OfferFlags } from 'xrpl-local/models/ledger'
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any -- required for formatting transactions */
|
||||
import { expect } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import type { TransactionStream } from 'xrpl-local'
|
||||
|
||||
import rippled from '../fixtures/rippled'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { hasNextPage } from 'xrpl-local'
|
||||
|
||||
import rippled from '../fixtures/rippled'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { ValidationError } from 'xrpl-local'
|
||||
import { Transaction } from 'xrpl-local/models/transactions'
|
||||
import Wallet from 'xrpl-local/Wallet'
|
||||
|
||||
@@ -3,7 +3,6 @@ import net from 'net'
|
||||
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import {
|
||||
Client,
|
||||
ConnectionError,
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import assert from 'assert'
|
||||
|
||||
import _ from 'lodash'
|
||||
|
||||
import {
|
||||
Client,
|
||||
isValidClassicAddress,
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import assert from 'assert'
|
||||
|
||||
import _ from 'lodash'
|
||||
|
||||
import { Client } from 'xrpl-local'
|
||||
import { AccountSet, SignerListSet } from 'xrpl-local/models/transactions'
|
||||
import { convertStringToHex } from 'xrpl-local/utils'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { Client } from 'xrpl-local'
|
||||
|
||||
import serverUrl from './serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import {
|
||||
AccountSet,
|
||||
Client,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { AccountChannelsRequest } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { AccountCurrenciesRequest } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { AccountInfoRequest } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { AccountLinesRequest } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { AccountObjectsRequest } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { AccountOffersRequest } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { AccountTxRequest } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { BookOffersRequest, BookOffersResponse } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { ChannelVerifyRequest, ChannelVerifyResponse } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { DepositAuthorizedRequest, DepositAuthorizedResponse } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { FeeRequest } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { GatewayBalancesRequest } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { LedgerRequest, LedgerResponse } from 'xrpl-local'
|
||||
import { Ledger } from 'xrpl-local/models/ledger'
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { LedgerClosedRequest, LedgerClosedResponse } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { LedgerCurrentResponse, LedgerCurrentRequest } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { LedgerDataRequest } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { LedgerEntryRequest, LedgerEntryResponse } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { NoRippleCheckRequest } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import {
|
||||
PathFindRequest,
|
||||
PathFindResponse,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { RipplePathFindRequest, RipplePathFindResponse } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { ServerInfoRequest } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { ServerStateRequest } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
import { decode } from 'ripple-binary-codec/dist'
|
||||
|
||||
import {
|
||||
AccountSet,
|
||||
SubmitRequest,
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
import { decode } from 'ripple-binary-codec/dist'
|
||||
|
||||
import {
|
||||
AccountSet,
|
||||
Client,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import {
|
||||
Client,
|
||||
OfferCreate,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { AccountSet, hashes, SubmitResponse, TxResponse } from 'xrpl-local'
|
||||
import { convertStringToHex } from 'xrpl-local/utils'
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { Client } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
/* eslint-disable no-restricted-syntax -- not sure why this rule is here, definitely not needed here */
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { AccountSet, convertStringToHex, ValidationError } from 'xrpl-local'
|
||||
|
||||
import { assertRejects } from '../testUtils'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _ from 'lodash'
|
||||
|
||||
import { AccountDelete } from 'xrpl-local/models/transactions'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _ from 'lodash'
|
||||
|
||||
import { AccountSet } from 'xrpl-local/models/transactions'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { CheckCreate, CheckCancel } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { CheckCreate, CheckCash } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { CheckCreate } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _ from 'lodash'
|
||||
|
||||
import { DepositPreauth, Wallet } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { EscrowCancel, EscrowCreate } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { EscrowCreate } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { EscrowFinish, EscrowCreate } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { OfferCreate, OfferCancel } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
|
||||
import { OfferCreate } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _ from 'lodash'
|
||||
|
||||
import { Payment } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _ from 'lodash'
|
||||
|
||||
import { PaymentChannelCreate, hashes, PaymentChannelClaim } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _ from 'lodash'
|
||||
|
||||
import { PaymentChannelCreate } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _ from 'lodash'
|
||||
|
||||
import { PaymentChannelCreate, hashes, PaymentChannelFund } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _ from 'lodash'
|
||||
|
||||
import { SignerListSet } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import _ from 'lodash'
|
||||
|
||||
import { TrustSet, percentToQuality } from 'xrpl-local'
|
||||
|
||||
import serverUrl from '../serverUrl'
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { assert } from 'chai'
|
||||
import _ from 'lodash'
|
||||
import { decode } from 'ripple-binary-codec'
|
||||
|
||||
import { Client, Wallet, AccountInfoRequest } from 'xrpl-local'
|
||||
import { Payment, Transaction } from 'xrpl-local/models/transactions'
|
||||
import { hashSignedTx } from 'xrpl-local/utils/hashes'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { RippledError } from 'xrpl-local'
|
||||
|
||||
import { setupClient, teardownClient } from './setupClient'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateAccountDelete } from 'xrpl-local/models/transactions/accountDelete'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateAccountSet } from 'xrpl-local/models/transactions/accountSet'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { ValidationError } from 'xrpl-local'
|
||||
import { validateBaseTransaction } from 'xrpl-local/models/transactions/common'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateCheckCancel } from 'xrpl-local/models/transactions/checkCancel'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateCheckCash } from 'xrpl-local/models/transactions/checkCash'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateCheckCreate } from 'xrpl-local/models/transactions/checkCreate'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateDepositPreauth } from 'xrpl-local/models/transactions/depositPreauth'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateEscrowCancel } from 'xrpl-local/models/transactions/escrowCancel'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateEscrowCreate } from 'xrpl-local/models/transactions/escrowCreate'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateEscrowFinish } from 'xrpl-local/models/transactions/escrowFinish'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateOfferCancel } from 'xrpl-local/models/transactions/offerCancel'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateOfferCreate } from 'xrpl-local/models/transactions/offerCreate'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, PaymentFlags, ValidationError } from 'xrpl-local'
|
||||
import { validatePayment } from 'xrpl-local/models/transactions/payment'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validatePaymentChannelClaim } from 'xrpl-local/models/transactions/paymentChannelClaim'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validatePaymentChannelCreate } from 'xrpl-local/models/transactions/paymentChannelCreate'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validatePaymentChannelFund } from 'xrpl-local/models/transactions/paymentChannelFund'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateSetRegularKey } from 'xrpl-local/models/transactions/setRegularKey'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateSignerListSet } from 'xrpl-local/models/transactions/signerListSet'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateTicketCreate } from 'xrpl-local/models/transactions/ticketCreate'
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { validate, ValidationError } from 'xrpl-local'
|
||||
import { validateTrustSet } from 'xrpl-local/models/transactions/trustSet'
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
/* eslint-disable no-bitwise -- flags require bitwise operations */
|
||||
import { assert } from 'chai'
|
||||
|
||||
import {
|
||||
DepositPreauth,
|
||||
OfferCreate,
|
||||
|
||||
1
packages/xrpl/test/node_modules/xrpl-local
generated
vendored
1
packages/xrpl/test/node_modules/xrpl-local
generated
vendored
@@ -1 +0,0 @@
|
||||
../../src
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { deriveXAddress } from 'xrpl-local'
|
||||
|
||||
describe('deriveXAddress', function () {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import BigNumber from 'bignumber.js'
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { dropsToXrp } from 'xrpl-local/utils'
|
||||
|
||||
describe('dropsToXrp', function () {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { getBalanceChanges } from 'xrpl-local/utils'
|
||||
|
||||
import paymentToken from '../fixtures/utils/paymentToken.json'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { hasNextPage } from 'xrpl-local'
|
||||
|
||||
import fixtures from '../fixtures/rippled'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { ValidationError, XrplError } from 'xrpl-local'
|
||||
import { hashes } from 'xrpl-local/utils'
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ import path from 'path'
|
||||
|
||||
import { assert } from 'chai'
|
||||
import { encode } from 'ripple-binary-codec'
|
||||
|
||||
import { OfferCreate, Transaction, ValidationError } from 'xrpl-local'
|
||||
import {
|
||||
hashStateTree,
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { convertHexToString, convertStringToHex } from 'xrpl-local/utils'
|
||||
|
||||
describe('convertHexToString and convertStringToHex', function () {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { isValidAddress } from 'xrpl-local'
|
||||
|
||||
describe('isValidAddress', function () {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { ValidationError } from 'xrpl-local'
|
||||
|
||||
import { decimalToQuality, percentToQuality, qualityToDecimal } from '../../src'
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { ValidationError } from 'xrpl-local'
|
||||
|
||||
import {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import BigNumber from 'bignumber.js'
|
||||
import { assert } from 'chai'
|
||||
|
||||
import { xrpToDrops } from 'xrpl-local/utils'
|
||||
|
||||
describe('xrpToDrops', function () {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import { decode } from 'ripple-binary-codec/dist'
|
||||
|
||||
import { Transaction } from 'xrpl-local'
|
||||
import ECDSA from 'xrpl-local/ECDSA'
|
||||
import Wallet from 'xrpl-local/Wallet'
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { assert } from 'chai'
|
||||
import { decode, encode } from 'ripple-binary-codec/dist'
|
||||
|
||||
import { Transaction, ValidationError } from 'xrpl-local'
|
||||
import Wallet from 'xrpl-local/Wallet'
|
||||
import {
|
||||
|
||||
Reference in New Issue
Block a user