Commit Graph

4456 Commits

Author SHA1 Message Date
Denis Angell
bb336a3913 add xrpl-models package 2023-07-19 03:58:29 +02:00
pdp2121
5ec6729c61 release 2.9.1 (#2391) ripple-binary-codec@1.7.1 xrpl@2.9.1 2023-07-18 15:29:32 -05:00
Shawn Xie
d158770c24 Update docker to xrpllabsofficial/xrpld:1.12.0-b1 (#2381) 2023-07-18 14:09:32 -05:00
justinr1234
e760a4898d fix: escrow finish and cancel integration (#2382)
* fix: escrow finish and cancel integration

* add docs
2023-07-17 16:56:06 -05:00
Wietse Wind
d47a277e25 Fix #2361 - Custom definitions in STArray»STObject (#2362)
Custom binary codec fixes xrpl.js#2361 - missed param def
2023-07-14 09:45:31 -05:00
Caleb Kniffen
c523a7c80b release: xrpl@2.9.0 and ripple-binary-codec@1.7.0 (#2380) ripple-binary-codec@1.7.0 xrpl@2.9.0 2023-07-12 16:52:06 -05:00
Wo Jake
6a31d4d254 fix: enable the removal of a signer list (#2377)
`SignerQuorum` field has to be 0 and the `SignerEntrys` field has to be `undefined`

Co-authored-by: Caleb Kniffen <ckniffen@ripple.com>
2023-07-12 16:05:07 -05:00
Caleb Kniffen
19792d4fbb feat: remove more puppeteer code (#2373)
Forgot to remove the types in #2331

Closes #2364
2023-07-11 08:37:00 -05:00
Caleb Kniffen
f07e2c7108 feat: export Balance type (#2374)
Closes #1823
2023-07-10 16:54:22 -05:00
dependabot[bot]
82436918b7 build(deps-dev): bump webpack-bundle-analyzer from 4.8.0 to 4.9.0 (#2367) 2023-07-07 14:34:26 +00:00
dependabot[bot]
74de24cf75 build(deps-dev): bump @types/chai from 4.3.4 to 4.3.5 (#2363)
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai)

---
updated-dependencies:
- dependency-name: "@types/chai"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 18:16:19 -05:00
dependabot[bot]
eccba409c0 build(deps-dev): bump webpack from 5.83.0 to 5.88.1 (#2365) 2023-07-05 16:46:15 +00:00
dependabot[bot]
c02b33be08 build(deps-dev): bump karma-chrome-launcher from 3.1.1 to 3.2.0 (#2366) 2023-07-05 16:03:10 +00:00
Caleb Kniffen
dbd5852ba6 feat(types): Export most of the types (#2360)
Expose most of the types in the `xrpl` package. Some renames will only
affect you if you were deep importing these types previously.

Renames of deep importable types:
- `methods/bookOffers`: `TakerAmount` -> `BookOfferCurrency`
- `methods/accountLines`: `Trustline` -> `AccountLinesTrustline`
2023-07-03 17:03:51 -05:00
Caleb Kniffen
5925ad2f00 feat: expose LedgerEntry singletons (#2358)
Adds the new fields for `XRPFees` amendment and id for the `FeeSettings`
singleton ledger entry.

Closes #2219
2023-07-03 16:34:42 -05:00
Caleb Kniffen
9b0c1e53e3 fix(types): SignerList was missing WalletLocator (#2359)
`SignerEntry` on `SignerList` (LedgerEntry) was missing `WalletLocator`.

This was found while trying to use types on the xrpl.org explorer.
2023-07-03 11:08:07 -05:00
Caleb Kniffen
23256aed5d feat(types): Update FeeSettings and add id (#2357)
Adds the new fields for `XRPFees` amendment and id for the `FeeSettings`
singleton ledger entry.

Closes #2219
2023-06-29 16:27:00 -05:00
Caleb Kniffen
70500dcc15 feat(types): Add pseudo transactions (#2351)
Add types for `EnableAmendment`, `SetFee`, and `UNLModify` transactions.
2023-06-29 14:20:36 -05:00
Caleb Kniffen
fd0b2275c1 feat: enable 1.10.0 amendments for tests (#2356)
- `NFTokenMint` needs `NonFungibleTokensV1_1` enabled instead of `NonFungibleTokensV1` .  
- `fee_ref` is no longer returned after `XRPFees` amendment is enabled.
2023-06-29 13:10:52 -05:00
Caleb Kniffen
97552cc1a5 feat(types): define new account_flags field (#2352)
The `account_flags` field was added to the `account_info` response for `rippled@1.11.0`
2023-06-27 15:14:48 -05:00
Caleb Kniffen
b152ebc4ce feat: add ledger entry types for NFTokens (#2349)
Add `NFToken`, `NFTokenPage`, and `NFTokenOffer`
2023-06-26 12:57:47 -05:00
Caleb Kniffen
b6d6fafebc feat: cleanup types and add missing request fields (#2346)
- Add `ledger_hash` and `ledger_index` to `account_nfts`,
`nft_buy_offers`, and `nft_sell_offers` requests.
- Add `nft_page` to `ledger_entry` request.
- Create `LookupByLedgerRequest` to clean up `ledger_hash` and
`ledger_index` which are optional on most request objects.

Closes #2135
2023-06-26 12:47:15 -05:00
Jackson Mills
dc51e3a704 Update getNFTokenID to properly handle binary blob (#2247)
* Update NFTokenMint test

* Ensure the binary version works as well

* Remove meta being undefined in txResponse

* Remove error test

* Re-add test, error, and lint

* Add meta to test, and add string to allowed type

* Re-add meta being undefined with proper docs
2023-06-23 16:17:29 -07:00
Mayukha Vadari
6228f91c00 test: run snippets in CI (#2345)
* run snippets in CI

* add name, try to avoid building

* better printing

* refactors

* fix getTransaction test
2023-06-22 13:26:16 -04:00
Caleb Kniffen
fa98bd8d26 feat: add missing AccountRoot fields (#2347)
Add `BurnedNFTokens`, `FirstNFTSequence`, `MintedNFTokens`,
`NFTokenMinter`, and `WalletLocator` to `AccountRoot`.
2023-06-21 12:49:34 -05:00
justinr1234
6fa3eacd19 fix: CJS default exports (#2340) 2023-06-20 20:55:47 -05:00
Denis Angell
5b0989df51 feature NetworkID (#2216)
Added network id to the base transaction
Added network id to the server_info response
Added network id to the binary codec
Added network id to client and modify on client.connect()
Added network id to autofill when rippled_version is 1.11.0 or later or network is hooks testnet

Co-authored-by: Phu Pham <ppham@ripple.com>
Co-authored-by: pdp2121 <71317875+pdp2121@users.noreply.github.com>
Co-authored-by: Jackson Mills <aim4math@gmail.com>
Co-authored-by: Mayukha Vadari <mvadari@gmail.com>
2023-06-14 15:15:18 -04:00
Jackson Mills
b410bde412 Retry releasing ripple-keypairs (#2344)
* Fix package pointing to b

* Point to new version of ripple-keypairs

* Update package.lock
ripple-keypairs@1.3.0 xrpl@2.8.1
2023-06-13 15:06:22 -07:00
Jackson Mills
3791c6292c 2.8.0 release (#2343) xrpl@2.8.0 ripple-binary-codec@1.6.0 ripple-address-codec@4.3.0 2023-06-13 14:15:08 -07:00
jonathanlei
5726a6251d add userAgent and usageContext to faucet transactions (#2309) 2023-06-13 10:56:40 -07:00
Rome Reginelli
695c89eda4 Update tx common field descritpions (#2334)
Slight improvements to transaction common fields descriptions based on "Send a payment" workshop
2023-06-12 16:31:41 -07:00
Mayukha Vadari
848e5bbe78 fix: downgrade lerna (#2341)
* downgrade lerna

* remove npx
2023-06-12 18:04:29 -04:00
Mayukha Vadari
44995a7e49 feat: add support for sidechain devnet faucet (#2336)
* add sidechain faucet info

* add test

* update changelog

* fix changelog
2023-06-09 17:07:18 -04:00
tequ
456eac0628 feat: Add generics of TransactionType for TxResponse (#2332)
* add generics of TransactionType for TxResponse

* add generics to submitAndWait

* add xrpl.js history
2023-06-08 08:21:37 -05:00
Caleb Kniffen
6fbfab4fa4 chore(dev-deps): remove puppeteer (#2331)
`puppeteer` was removed in #2170 and dependabot won't stop being
annoying about it.

Closes #2234
2023-06-02 20:39:46 -05:00
Jackson Mills
b3e520b0e6 docs: Improve instructions for updating integration test docker container config (#2330)
Update instructions
2023-06-01 17:34:04 -05:00
dependabot[bot]
29c26ea227 build(deps-dev): bump @types/lodash from 4.14.194 to 4.14.195 (#2326)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.194 to 4.14.195.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 16:24:11 -05:00
dependabot[bot]
d3ac518d8e build(deps-dev): bump webpack-cli from 5.0.1 to 5.1.1 (#2329)
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 5.0.1 to 5.1.1.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@5.0.1...webpack-cli@5.1.1)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 15:30:46 -05:00
dependabot[bot]
127cba571d build(deps-dev): bump typedoc from 0.24.6 to 0.24.7 (#2328)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.24.6 to 0.24.7.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.24.6...v0.24.7)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 14:07:35 -05:00
dependabot[bot]
24f1fd7295 build(deps-dev): bump eslint from 8.39.0 to 8.41.0 (#2325)
Bumps [eslint](https://github.com/eslint/eslint) from 8.39.0 to 8.41.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.39.0...v8.41.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 12:40:45 -05:00
Mayukha Vadari
c647be701e test: fix Escrow integration tests (#2305)
* improve runtime of TrustSet integ test

* fix EscrowFinish test

* finish EscrowCancel test

* add comment

* fix linter issues

* fix browser tests

---------

Co-authored-by: Caleb Kniffen <ckniffen@ripple.com>
Co-authored-by: justinr1234 <justinr1234@gmail.com>
2023-05-31 11:46:00 -05:00
Omar Khan
70a9ab0510 refactor jest setup to improve unit/integration test executions (#2322)
* fix test:integration command to run tests directly under ./test/integration

* refactor jest setup to have separate config files for integration and unit tests
2023-05-26 15:16:44 -04:00
Mayukha Vadari
82c5b3598a feat: support npm v9 (#2318)
* add support for npm v9

* Update package-lock.json

* Update nodejs.yml

* update changelogs

* update PR template
2023-05-25 16:01:42 -04:00
dependabot[bot]
317e2054de build(deps): bump socket.io-parser from 4.2.2 to 4.2.3 in /packages/xrpl (#2321)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.2...4.2.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 12:49:46 -05:00
dependabot[bot]
0853662a82 build(deps): bump socket.io-parser from 4.2.2 to 4.2.3 (#2320)
Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io-parser/compare/4.2.2...4.2.3)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 12:26:52 -05:00
Omar Khan
9035dd3f11 fix README for integ tests (#2317) 2023-05-23 19:32:17 -04:00
justinr1234
5ee974cfa1 fix: move to hooks v3 testnet (#2319) 2023-05-23 14:45:21 -05:00
Shawn Xie
ee6c8350a4 Add nft_info and nft_history clio model (#2310) 2023-05-18 18:03:15 -05:00
Omar Khan
97b2e668ab update isSigned null check to handle multi-signed transactions (#2308)
* update isSigned null check to use &&

* update isSigned to handle multi-signed transactions

* add unit test for multi-signed transaction

---------

Co-authored-by: Elliot Lee <github.public@intelliot.com>
2023-05-18 18:51:00 -04:00
dependabot[bot]
add72a175d build(deps): bump parse-url and lerna (#2114) 2023-05-17 21:43:15 +00:00