build: prepare repo for beta release (#1665)

* fix github links

* fix webpacking

* more cleanup

* add 2.x to SECURITY.md

* update beta version
This commit is contained in:
Mayukha Vadari
2021-09-24 13:44:42 -04:00
parent 297dee9b8f
commit 5200682915
4 changed files with 7 additions and 24 deletions

View File

@@ -6,6 +6,7 @@ This table shows which versions of xrpl.js are currently supported with security
| Version | Supported |
| ------- | ---------------------- |
| 2.x | :white_check_mark: Yes |
| 1.x | :white_check_mark: Yes |
| 0.x | :x: No |

View File

@@ -1,18 +0,0 @@
machine:
node:
version: 6.11.3
hosts:
testripple.circleci.com: 127.0.0.1
dependencies:
pre:
- wget https://s3-us-west-2.amazonaws.com/ripple-debs/rippled_0.30.1-b11-1.deb
- sudo dpkg -i rippled_0.30.1-b11-1.deb
test:
pre:
- rippled -a --start --conf "$HOME/$CIRCLE_PROJECT_REPONAME/test/integration/rippled.cfg":
background: true
override:
- scripts/ci.sh "$CIRCLE_NODE_INDEX" "$CIRCLE_NODE_TOTAL":
parallel: true
post:
- killall /usr/bin/rippled

View File

@@ -1,16 +1,16 @@
{
"name": "xrpl",
"version": "2.0.0-beta.0",
"version": "2.0.0-beta.1",
"license": "ISC",
"description": "A TypeScript/JavaScript API for interacting with the XRP Ledger in Node.js and the browser",
"files": [
"dist/npm/*",
"build/ripple-latest-min.js",
"build/ripple-latest.js"
"build/xrpl-latest-min.js",
"build/xrpl-latest.js"
],
"main": "dist/npm/",
"unpkg": "build/ripple-latest-min.js",
"jsdelivr": "build/ripple-latest-min.js",
"unpkg": "build/xrpl-latest-min.js",
"jsdelivr": "build/xrpl-latest-min.js",
"types": "dist/npm/index.d.ts",
"directories": {
"test": "test"

View File

@@ -304,7 +304,7 @@ export class Connection extends EventEmitter {
public async reconnect(): Promise<void> {
// NOTE: We currently have a "reconnecting" event, but that only triggers
// through an unexpected connection retry logic.
// See: https://github.com/ripple/ripple-lib/pull/1101#issuecomment-565360423
// See: https://github.com/XRPLF/xrpl.js/pull/1101#issuecomment-565360423
this.emit('reconnect')
await this.disconnect()
await this.connect()