Skip to content

Commit f655224

Browse files
committed
Merge branch 'main' into br_dyn_nft
2 parents 6ca1b16 + 92eb809 commit f655224

File tree

36 files changed

+2929
-15159
lines changed

36 files changed

+2929
-15159
lines changed

.coderabbit.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2+
language: "en-US"
3+
reviews:
4+
# Set the profile for reviews. Assertive profile yields more feedback, that may be considered nitpicky.
5+
profile: "chill"
6+
# Approve the review once CodeRabbit's comments are resolved. Note: In GitLab, all discussions must be resolved.
7+
request_changes_workflow: false
8+
# Generate a high level summary of the changes in the PR/MR description.
9+
high_level_summary: false
10+
# Generate a poem in the walkthrough comment.
11+
poem: true
12+
# Post review details on each review. Additionally, post a review status when a review is skipped in certain cases.
13+
review_status: true
14+
# Generate walkthrough in a markdown collapsible section.
15+
collapse_walkthrough: false
16+
# Abort the in-progress review if the pull request is closed or merged.
17+
abort_on_close: true
18+
auto_review:
19+
# Automatic Review | Automatic code review
20+
enabled: true
21+
# Review draft PRs/MRs.
22+
drafts: false
23+
# Ignore reviewing if the title of the pull request contains any of these keywords (case-insensitive).
24+
ignore_title_keywords:
25+
- build(
26+
chat:
27+
# Enable the bot to reply automatically without requiring the user to tag it.
28+
auto_reply: true

.github/workflows/codeql-analysis.yml

Lines changed: 28 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,11 @@
1212
name: "CodeQL"
1313

1414
on:
15-
push:
16-
branches: [ main, 1.x ]
1715
pull_request:
1816
# The branches below must be a subset of the branches above
19-
branches: [ main ]
17+
branches: [main]
2018
schedule:
21-
- cron: '44 5 * * 6'
19+
- cron: "44 5 * * 6"
2220

2321
jobs:
2422
analyze:
@@ -28,40 +26,40 @@ jobs:
2826
strategy:
2927
fail-fast: false
3028
matrix:
31-
language: [ 'javascript' ]
29+
language: ["javascript"]
3230
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
3331
# Learn more:
3432
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
3533

3634
steps:
37-
- name: Checkout repository
38-
uses: actions/checkout@v3
35+
- name: Checkout repository
36+
uses: actions/checkout@v3
3937

40-
# Initializes the CodeQL tools for scanning.
41-
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v2
43-
with:
44-
languages: ${{ matrix.language }}
45-
# If you wish to specify custom queries, you can do so here or in a config file.
46-
# By default, queries listed here will override any specified in a config file.
47-
# Prefix the list here with "+" to use these queries and those in the config file.
48-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
38+
# Initializes the CodeQL tools for scanning.
39+
- name: Initialize CodeQL
40+
uses: github/codeql-action/init@v2
41+
with:
42+
languages: ${{ matrix.language }}
43+
# If you wish to specify custom queries, you can do so here or in a config file.
44+
# By default, queries listed here will override any specified in a config file.
45+
# Prefix the list here with "+" to use these queries and those in the config file.
46+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
4947

50-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
51-
# If this step fails, then you should remove it and run the build manually (see below)
52-
- name: Autobuild
53-
uses: github/codeql-action/autobuild@v2
48+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
49+
# If this step fails, then you should remove it and run the build manually (see below)
50+
- name: Autobuild
51+
uses: github/codeql-action/autobuild@v2
5452

55-
# ℹ️ Command-line programs to run using the OS shell.
56-
# 📚 https://git.io/JvXDl
53+
# ℹ️ Command-line programs to run using the OS shell.
54+
# 📚 https://git.io/JvXDl
5755

58-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
59-
# and modify them (or add more) to build your code if your project
60-
# uses a compiled language
56+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
57+
# and modify them (or add more) to build your code if your project
58+
# uses a compiled language
6159

62-
#- run: |
63-
# make bootstrap
64-
# make release
60+
#- run: |
61+
# make bootstrap
62+
# make release
6563

66-
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@v2
64+
- name: Perform CodeQL Analysis
65+
uses: github/codeql-action/analyze@v2

.github/workflows/nodejs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
node-version: [16.x]
22+
node-version: [18.x]
2323

2424
steps:
2525
- uses: actions/checkout@v3
@@ -60,7 +60,7 @@ jobs:
6060

6161
strategy:
6262
matrix:
63-
node-version: [16.x, 18.x, 20.x]
63+
node-version: [18.x, 20.x]
6464

6565
steps:
6666
- uses: actions/checkout@v3
@@ -101,7 +101,7 @@ jobs:
101101

102102
strategy:
103103
matrix:
104-
node-version: [16.x, 18.x, 20.x]
104+
node-version: [18.x, 20.x]
105105

106106
steps:
107107
- uses: actions/checkout@v3
@@ -153,7 +153,7 @@ jobs:
153153

154154
strategy:
155155
matrix:
156-
node-version: [16.x]
156+
node-version: [18.x]
157157

158158
steps:
159159
- uses: actions/checkout@v3
@@ -205,7 +205,7 @@ jobs:
205205

206206
strategy:
207207
matrix:
208-
node-version: [16.x, 18.x, 20.x]
208+
node-version: [18.x, 20.x]
209209

210210
steps:
211211
- uses: actions/checkout@v3

CONTRIBUTING.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
### Requirements
1414

15-
We use Node v16 for development - that is the version that our linters require.
15+
We use Node v18 for development - that is the version that our linters require.
1616
You must also use `npm` v7. You can check your `npm` version with:
1717

1818
```bash
@@ -104,6 +104,8 @@ The 4 packages currently here are:
104104
2. ripple-binary-codec - A library for serializing and deserializing transactions for the ledger.
105105
3. ripple-keypairs - A library for generating and using cryptographic keypairs.
106106
4. ripple-address-codec - A library for encoding and decoding XRP Ledger addresses and seeds.
107+
5. isomorphic - A collection of isomorphic implementations of crypto and utility functions.
108+
6. secret-numbers - Generate XRPL Accounts with a number-based secret: 8 chunks of 6 digits.
107109

108110
Each package has it's own README which dives deeper into what it's main purpose is, and the core functionality it offers.
109111
They also run tests independently as they were originally in separate repositories.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ See the full reference documentation for all classes, methods, and utilities.
1919
4. Subscribing to changes in the ledger ([Ex. ledger, transactions, & more...](https://xrpl.org/subscribe.html))
2020
5. Parsing ledger data into more convenient formats ([`xrpToDrops`](https://js.xrpl.org/functions/xrpToDrops.html) and [`rippleTimeToISOTime`](https://js.xrpl.org/functions/rippleTimeToISOTime.html))
2121

22-
All of which works in Node.js (tested for v16+) & web browsers (tested for Chrome).
22+
All of which works in Node.js (tested for v18+) & web browsers (tested for Chrome).
2323

2424
# Quickstart
2525

2626
### Requirements
2727

28-
+ **[Node.js v16](https://nodejs.org/)** is recommended. We also support v18 and v20. Other versions may work but are not frequently tested.
28+
+ **[Node.js v18](https://nodejs.org/)** is recommended. We also support v20. Other versions may work but are not frequently tested.
2929

3030
### Installing xrpl.js
3131

@@ -56,7 +56,7 @@ async function main() {
5656
});
5757
console.log(response);
5858

59-
client.disconnect();
59+
await client.disconnect();
6060
}
6161
main();
6262
```

0 commit comments

Comments
 (0)