You need to sign in or sign up before continuing.
feat: add initial idv types and config
Change description
- Added transactionId as optional to both withdrawal and deposit counterparty types
- Added the config type as discussed and additionally added the ability to pass an array or just the oAuth method to oAuth since we only have one right now
type IdentityVerificationConfig = {
requiredMethod: IDV.SMS | IDV.EMAIL | IDV.VERIFF, // only one can be required
oAuth: [ oAuth.COINBASE, oAuth.BINANCE ] | oAuth.COINBASE,
}
txOptions = {
...
counterpartyAssist: {
...
identityVerification: IdentityVerificationConfig;
}
}
Type of change
-
Bug fix (fixes an issue) -
New feature (adds functionality) -
Chore (task that not add a new functionality or fix an issue)
Related issues
Edited by Eileen Guo