Commit Graph

861 Commits

Author SHA1 Message Date
Jackson Mills
f17d0ef810 Export deriveAddress (#1939)
* Export deriveAddress
2022-04-26 15:10:51 -07:00
ledhed2222
7d2a776cc2 fix changed nftoken sell offer flag name (#1974) 2022-04-25 18:02:15 -04:00
Caleb Kniffen
3ed93aa19e Prepare release of xrpl@2.2.1 and ripple-address-codec@4.2.4 2022-04-21 17:10:44 -05:00
Jackson Mills
417978e131 Fix deriveXAddress null behavior (#1964)
* Fix deriveXAddress null behavior

* Also check for undefined

* Simplify theTag

* Add test case for undefined
2022-04-21 14:36:10 -07:00
ledhed2222
de0ce1b60f fix return field of nft offer (#1972) 2022-04-20 14:01:20 -04:00
Jackson Mills
8ab4240f02 Lerna changes (#1968) 2022-04-19 10:16:39 -07:00
Omar Khan
9d94f4a8ab rename XLS-20 fields (#1966)
* rename TokenTaxon -> NFTokenTaxon

* rename MintedTokens -> MintedNFTokens

* rename BurnedTokens -> BurnedNFTokens

* update binary for NFTokenID rename

* rename TokenID -> NFTokenID

* rename TokenOffers -> NFTokenOffers

* rename BrokerFee -> NFTokenBrokerFee

* rename Minter -> NFTokenMinter

* rename NonFungibleToken -> NFToken

* rename NonFungibleTokens -> NFTokens

* rename BuyOffer -> NFTokenBuyOffer

* rename SellOffer -> NFTokenSellOffer

* rename OfferNode -> NFTokenOfferNode

* fix binary for serialize tests

* Add missing MintedNFTokens def + fix tests

* nftokenid -> nft_id

* asfAuthorizedMinter -> asfAuthorizedNFTokenMinter

* Update tec/tem error codes

* Add new definitions

* Update HISTORY.md

* Change to 1.4.0 for binary-codec

* Docgen

* Update HISTORY.md

Co-authored-by: Jackson Mills <jmills@ripple.com>
2022-04-19 10:02:18 -07:00
Jackson Mills
2f252ace14 Add tx info which is only available in requests (#1962)
* Add Response Only info
2022-04-18 15:50:37 -07:00
Jackson Mills
587a3bbfa2 Add parseNFTokenID and tests (#1961)
* Add parseNFTokenID and tests

* Lint

* Move parseNFTokenID to utils

* Lint

* Move the NFTokenID into models

* Move NFTokenID type out of models

* Lint

* Remove extra type and lint
2022-04-12 15:48:50 -07:00
Mayukha Vadari
d25905987a feat: add sidechain-specific RPCs/sugar (#1940)
* federator_info responses/requests

* edit docstring

* make strings narrower

* export federator_info

* implement createXchainPayment

* add tests

* fix dependency cycle

* fix linter errors

* rename xchain -> crosschain

* rename more

* edit HISTORY

* fix docstrings

* add another test
2022-04-04 17:11:08 -04:00
František Kočí
53d01d8a6a [Small Type error Fix]TrustSet LimitAmount Type changed (#1937)
* TrustSet interface amount type changed

Before this edit, if you worked with TrustSet transaction response and you wanted to get LimitAmount.currency, LimitAmount.issuer, and LimitAmount.value, you would get a type error that those properties do not exist on the type string of LimitAmount. This very little edit changes that and now it should work properly.

* Update HISTORY.md
2022-03-14 15:21:17 -07:00
Elliot Lee
1e30b4cb43 [ripple-binary-codec] Update HISTORY - 1.3.2 (#1924)
Co-authored-by: Mayukha Vadari <mvadari@ripple.com>
2022-02-08 11:00:48 -08:00
Omar Khan
9d1fdb412e Release ripple-binary-codec version 1.3.2 (#1922)
* update package.json & package-lock.json

* update package

Co-authored-by: Elliot Lee <github.public@intelliot.com>
2022-02-03 12:04:38 -05:00
Elliot Lee
cbdbfe5b8e Merge branch 'main' into ripple-binary-codec-1.3.1 2022-02-02 17:50:39 -08:00
Jackson Mills
b0e0f9f329 Remove exception from decoding issued currencies which evaluate to 'XRP' (#1920)
* Remove throw and revise tests

* Update chai dependency

* Disabling linter error about extraneous import

* Fix typo in test description

* Revert unnecessary test changes

* Remove unnecessary comments

* Revert chai change

* Add HISTORY.md

* Revert chai change in package-lock as well

* Fix typo

* Check the result of the decoding

* Update tests with correct expected behavior.

* Fix tests and update currency.js

* Update currency.ts
2022-02-02 18:05:42 -05:00
Omar Khan
8f79c51c7c [ripple-binary-codec] fix ISO when parsing currency code (#1921) 2022-02-02 17:52:08 -05:00
Elliot Lee
e4c7923bf3 Release ripple-binary-codec@1.3.1 2022-01-28 14:36:23 -08:00
Elliot Lee
fa3ae25c71 package.json - fix homepage link (#1905) 2022-01-27 12:39:27 -08:00
ledhed2222
4f035fd0d6 custom faucet hosts and various typing fixes for NFT support that were originally missed (#1882)
* various typing fixes for NFT support that were originally missed

* add optional faucet URL to fundWallet

* run docgen and commit changes

* fixes integration tests
2022-01-24 13:08:35 -05:00
Elliot Lee
b12ec88365 Remove console.warn for partial payment (#1896) 2022-01-18 22:24:14 -08:00
Jackson Mills
803ea6d2cb Add missing fields to TxSubscription and Tx requests (#1893)
* Update: Add hash and date type to TxSubscription and Tx responses.

The base transaction interface has been updated to include a hash type.

   * Every signed transaction has a unique "hash" that identifies it. 
   * The transaction hash can be used as a "proof of payment" to verify the final status.

Co-authored-by: interc0der <86900618+interc0der@users.noreply.github.com>
Co-authored-by: Elliot Lee <github.public@intelliot.com>
2022-01-07 10:50:26 -08:00
ledhed2222
7041a0bbd3 address codec linting (#1881) 2022-01-04 09:25:04 -05:00
Mukul Jangid
07f36e127f fix: txnNotFound error (#1883)
* add validation for `txnNotFound` error

* update version to `2.1.1`
2021-12-23 20:34:35 -05:00
Jackson Mills
388c4a6124 Update versions (#1879) 2021-12-17 16:48:04 -08:00
ledhed2222
7d6d119e4c correctly document stuff (#1878) 2021-12-17 19:03:54 -05:00
ledhed2222
46a8adcac9 feat: NFT support (#1829)
* add NFTokenBurn and NFTokenMint

* add NFTokenCreateOffer

* add NFTokenCancelOffer

* add NFTokenAcceptOffer

* add requests and responses

* make a beta 2.1.0

* rename TokenIDs to TokenOffers

* add validations and fixup docs

* add tests

* add missing error codes to binary codec

* adds history changes
2021-12-17 18:26:47 -05:00
Jackson Mills
c0a19a8417 Move UNLModify fix to proper package history (#1862) 2021-12-07 14:32:46 -08:00
Mayukha Vadari
78d9b11794 release: release new versions (#1859) 2021-12-02 14:59:58 -05:00
Mayukha Vadari
4e0a093677 chore: update HISTORY for rbc release (#1858) 2021-12-02 14:52:08 -05:00
Mayukha Vadari
fe845de884 fix: encoding issue with encoding non-traditional currency codes (#1857)
* add test

* fix decoding issue
2021-12-02 14:43:26 -05:00
Jackson Mills
7c6230b18e Lerna patch (#1852) 2021-12-01 15:48:07 -08:00
Jackson Mills
0eb64b1447 Update history for all codecs and xrpl.js (#1849)
* Update xrpl.js history.md

* Update ripple-address-codec history

* Add comment about npm < 7 for all codecs
2021-12-01 15:20:59 -08:00
Omar Khan
8bb248ca9e remove engines requirement for npm from individual packages (#1848)
* remove engines package.json entry from individual packages

* only remove npm from engines entry
2021-12-01 16:33:05 -05:00
Mayukha Vadari
fc101c6733 fix: add workaround for rippled UNLModify encoding bug (#1830)
* initial patch

* clean up

* make ts happy

* fix typing

* respond to comments

* Revert "respond to comments"

This reverts commit 689768bbf1.

* Publish

 - ripple-address-codec@4.2.1-beta.0
 - ripple-binary-codec@1.2.1-beta.0
 - ripple-keypairs@1.1.1-beta.0
 - xrpl@2.0.3-beta.0

* add helper comments

Co-authored-by: Nathan Nichols <natenichols@cox.net>
2021-11-30 17:16:03 -05:00
Elliot Lee
3e55066b70 rename: branch develop -> main; master -> old-master (#1826)
* rename: branch develop -> main; master -> old-master

* Update all references to `master` and `develop`

* Update the GitHub pages docs

Co-authored-by: Jackson Mills <jmills@ripple.com>, Elliot Lee <intelliot@ripple.com>
2021-11-30 10:54:56 -08:00
ledhed2222
ff9bdbdc4c initial pass at linting ripple-address-codec (#1798)
* initial pass at linting ripple-address-codec

* refix doc changes autofixed by eslint
2021-11-30 04:18:35 -05:00
Jackson Mills
89b8833610 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>
2021-11-23 12:29:06 -08:00
ledhed2222
1c90c962e9 Merge branch 'develop' into gw/update-history-and-contribution 2021-11-15 23:26:24 -05:00
ledhed2222
5da0db89f4 fix GitHub pages (#1802)
* Publish

 - ripple-address-codec@4.2.0
 - ripple-binary-codec@1.2.0
 - ripple-keypairs@1.1.0
 - xrpl@2.0.2

* moves back git hub pages docs to the top
2021-11-15 20:06:47 -08:00
Greg Weisbrod
f522d3f418 add HISTORY for monorepo updates and update CONTRIBUTING.md for publication 2021-11-15 21:03:42 -05:00
Greg Weisbrod
f96f38d0d9 Publish
- ripple-address-codec@4.2.0
 - ripple-binary-codec@1.2.0
 - ripple-keypairs@1.1.0
 - xrpl@2.0.2
2021-11-15 20:23:58 -05:00
ledhed2222
7cb38591ac add support for nfts in binary codec (#1797) 2021-11-15 17:08:37 -05:00
Greg Weisbrod
afd6aadaf1 run prettier on all packages 2021-11-12 02:41:28 -05:00
Greg Weisbrod
f1c5f1d10d fix docgen setup 2021-11-08 18:19:45 -05:00
Greg Weisbrod
b90710ffa5 clean up docs 2021-11-08 18:19:45 -05:00
Greg Weisbrod
0d6e723a7e fix inter-repo dependencies and remove now-redundant package-locks within packages
fix linter again
2021-11-08 18:19:45 -05:00
Greg Weisbrod
b5beeb6668 migrate ripple-address-codec tests back to javascript for now - jest and mocha cannot be used in the same typescript project due to type name conflicts 2021-11-08 18:19:45 -05:00
Greg Weisbrod
9f19d771d2 fix linting and devdeps issues by using eslint for ripple-address-codec and removing the misc plugins used by ripple-keypairs
run 'npx lerna link convert' to hoist common devDependencies to top
2021-11-08 18:19:45 -05:00
Greg Weisbrod
43b55ab598 run 'npx lerna link convert' to hoist common devDependencies to top 2021-11-08 18:19:45 -05:00
Greg Weisbrod
99c817ca8a fix all errors resulting from running 'npx lerna bootstrap', hoist github actions to top, hoist vscode config to top 2021-11-08 18:19:44 -05:00