Commit Graph

4476 Commits

Author SHA1 Message Date
Caleb Kniffen
352abae003 chore: remove extra files for git, nyc, and mocha (#2422)
- Remove `.gitignore` from individual packages.
- Remove `nyc.config.js` and `.nycrc` since `nyc` is no longer in use
- Remove `.mocharc` and `localIntegrationRunner.html` since `mocha` is
no longer in use.
2023-08-15 10:19:15 -05:00
Daniel
aa75806f2f [Feature] Generate Wallet from secret numbers (#1799)
* add the possibility to create a wallet from Secret Numbers

* Move it off the Wallet class
2023-08-14 17:39:35 -07:00
dependabot[bot]
3d94a24739 build(deps-dev): bump eslint from 8.41.0 to 8.46.0 (#2413)
Bumps [eslint](https://github.com/eslint/eslint) from 8.41.0 to 8.46.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.41.0...v8.46.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-08-11 18:37:47 -05:00
dependabot[bot]
bedb1f0f31 build(deps-dev): bump jest from 29.6.1 to 29.6.2 (#2416) 2023-08-11 10:23:34 +00:00
Mo Morsi
6856dec466 docs: Fix typo in documentation: on('transactions') -> on('transaction') (#2430) 2023-08-09 13:42:54 -07:00
Jackson Mills
bd46f19604 docs: Update CONTRIBUTING.md (#2427) 2023-08-08 15:14:12 -07:00
Jackson Mills
002ec77218 release: Update package.json files (#2425)
Update package.json files
xrpl@2.10.0 ripple-binary-codec@1.8.0
2023-08-07 14:50:14 -07:00
Jackson Mills
c4097935a9 release: Update HISTORY.md (#2424)
* Update HISTORY.md

* Run docgen
2023-08-07 14:31:24 -07:00
dependabot[bot]
da6fa296c6 build(deps-dev): bump jest-mock from 29.6.1 to 29.6.2 (#2419) 2023-08-03 19:31:47 +00:00
dependabot[bot]
12be15af40 build(deps-dev): bump @types/lodash from 4.14.195 to 4.14.196 (#2414)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.195 to 4.14.196.
- [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-08-03 14:19:50 -05:00
dependabot[bot]
a05f68a352 build(deps-dev): bump webpack-cli from 5.1.1 to 5.1.4 (#2417)
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 5.1.1 to 5.1.4.
- [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.1.1...webpack-cli@5.1.4)

---
updated-dependencies:
- dependency-name: webpack-cli
  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-08-03 10:50:00 -07:00
dependabot[bot]
e3eabb5bac build(deps-dev): bump eslint-plugin-import from 2.27.5 to 2.28.0 (#2415)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.27.5 to 2.28.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.27.5...v2.28.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  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-08-02 17:49:38 -05:00
dependabot[bot]
fa28b47111 build(deps-dev): bump typedoc from 0.24.7 to 0.24.8 (#2402) 2023-07-24 15:15:01 +00:00
Caleb Kniffen
f760b2e56f chore: remove extra lock files and nyc (#2403)
nyc is not a direct dependency any more and nested lock files are unused
2023-07-20 15:03:17 -05:00
dependabot[bot]
03ba07dda1 build(deps-dev): bump jest and @types/jest (#2397)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) and [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest). These dependencies needed to be updated together.

Updates `jest` from 29.5.0 to 29.6.1
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.6.1/packages/jest)

Updates `@types/jest` from 29.5.1 to 29.5.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: "@types/jest"
  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>
Co-authored-by: Caleb Kniffen <ckniffen@ripple.com>
2023-07-20 13:42:43 -05:00
dependabot[bot]
8972e5e463 build(deps-dev): bump url from 0.11.0 to 0.11.1 (#2400)
Bumps [url](https://github.com/defunctzombie/node-url) from 0.11.0 to 0.11.1.
- [Commits](https://github.com/defunctzombie/node-url/compare/v0.11.0...v0.11.1)

---
updated-dependencies:
- dependency-name: url
  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-20 13:26:55 -05:00
dependabot[bot]
104afa4b71 build(deps-dev): bump source-map-loader from 3.0.2 to 4.0.1 (#2399) 2023-07-20 18:02:20 +00:00
dependabot[bot]
c6f6c78d48 build(deps-dev): bump ts-loader from 9.4.2 to 9.4.4 (#2395)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.4.2 to 9.4.4.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.4.2...v9.4.4)

---
updated-dependencies:
- dependency-name: ts-loader
  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-20 12:39:27 -05:00
dependabot[bot]
0972fc29e8 build(deps-dev): bump ts-jest from 29.1.0 to 29.1.1 (#2396) 2023-07-20 17:22:34 +00:00
Shawn Xie
63ea6e8c9b feat: add Clawback amendment support (#2353)
* Add Clawback transaction
* Account flag lsfAllowTrustLineClawback
* Support bitwise flag checking of 64 bit flags
2023-07-19 14:39:48 -05:00
dependabot[bot]
c564161871 build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 (#2392)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 11:58:23 -05: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