(strAccountIndex, strApiKeyIndex)
| 404 | return signer; |
| 405 | } |
| 406 | initAuthObject(strAccountIndex, strApiKeyIndex) { |
| 407 | if (!('auths' in this.options)) { |
| 408 | this.options['auths'] = {}; |
| 409 | } |
| 410 | if (!(strAccountIndex in this.options['auths'])) { |
| 411 | this.options['auths'][strAccountIndex] = {}; |
| 412 | } |
| 413 | if (!(strApiKeyIndex in this.options['auths'][strAccountIndex])) { |
| 414 | this.options['auths'][strAccountIndex][strApiKeyIndex] = { |
| 415 | 'signer': undefined, |
| 416 | 'lighterPrivateKey': undefined, |
| 417 | 'deadline': undefined, |
| 418 | 'token': undefined, |
| 419 | }; |
| 420 | } |
| 421 | } |
| 422 | getLighterPrivateKey(strAccountIndex, strApiKeyIndex) { |
| 423 | if (!('auths' in this.options)) { |
| 424 | return undefined; |
no outgoing calls
no test coverage detected