We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b16d0c commit 1271c37Copy full SHA for 1271c37
packages/xrpl/src/client/index.ts
@@ -343,7 +343,7 @@ class Client extends EventEmitter<EventTypes> {
343
const request = {
344
...req,
345
account:
346
- typeof req.account === 'string'
+ "account" in req && typeof req.account === 'string'
347
? ensureClassicAddress(req.account)
348
: undefined,
349
api_version: req.api_version ?? this.apiVersion,
packages/xrpl/src/models/methods/baseMethod.ts
@@ -3,7 +3,6 @@ import { LedgerIndex } from '../common'
3
import type { Request } from '.'
4
5
export interface BaseRequest {
6
- [x: string]: unknown
7
/**
8
* A unique value to identify this request. The response to this request uses
9
* the same id field. This way, even if responses arrive out of order, you
0 commit comments