Skip to content

Commit

Permalink
Merge branch '3.0' into feature/https-proxy-agent-7
Browse files Browse the repository at this point in the history
  • Loading branch information
ckniffen authored Jul 18, 2023
2 parents d5d2cae + cf8b48b commit 0901f1d
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 24 deletions.
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"ts-jest": "^29.0.3",
"ts-loader": "^9.2.5",
"ts-node": "^10.2.1",
"typescript": "^4.4.2",
"typescript": "^5.1.6",
"url": "^0.11.0",
"webpack": "^5.81.0",
"webpack-bundle-analyzer": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ripple-address-codec/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function encodeXAddress(
// RIPEMD160 is 160 bits = 20 bytes
throw new Error('Account ID must be 20 bytes')
}
if (tag > MAX_32_BIT_UNSIGNED_INT) {
if (tag !== false && tag > MAX_32_BIT_UNSIGNED_INT) {
throw new Error('Invalid tag')
}
const theTag = tag || 0
Expand Down
1 change: 0 additions & 1 deletion packages/ripple-address-codec/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"noUnusedParameters": true,
"removeComments": false,
"preserveConstEnums": false,
"suppressImplicitAnyIndexErrors": false,
"skipLibCheck": true,
"declaration": true,
"strictNullChecks": true
Expand Down
1 change: 0 additions & 1 deletion packages/ripple-binary-codec/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"noImplicitAny": false,
"removeComments": false,
"preserveConstEnums": false,
"suppressImplicitAnyIndexErrors": true,
"skipLibCheck": true,
"declaration": true
},
Expand Down
2 changes: 1 addition & 1 deletion packages/xrpl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"karma-webpack": "^5.0.0",
"node-polyfill-webpack-plugin": "^2.0.1",
"react": "^18.2.0",
"typedoc": "^0.24.6"
"typedoc": "^0.24.8"
},
"resolutions": {
"elliptic": "^6.5.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/xrpl/test/createMockRippled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export type MockedWebSocketServer = WebSocketServer &
addResponse: (
command: string,
response:
| Response
| BaseResponse
| ErrorResponse
| ((r: Request) => Response | ErrorResponse | Record<string, unknown>)
| Record<string, unknown>,
Expand Down
1 change: 0 additions & 1 deletion packages/xrpl/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"removeComments": true,
"preserveConstEnums": false,
"esModuleInterop": true,
"suppressImplicitAnyIndexErrors": false,
"resolveJsonModule": true,
"preserveSymlinks": true
},
Expand Down

0 comments on commit 0901f1d

Please sign in to comment.