Answer a `pin_required` frame with the entered connection PIN.
(challengeId: string, pin: string)
| 130 | |
| 131 | /** Answer a `pin_required` frame with the entered connection PIN. */ |
| 132 | async pin(challengeId: string, pin: string): Promise<void> { |
| 133 | await this.source.answer( |
| 134 | create(EnvelopeSchema, { |
| 135 | id: this.source.id, |
| 136 | kind: Envelope_Kind.ANSWER, |
| 137 | payload: { case: "pinAnswer", value: { challengeId, pin } }, |
| 138 | }), |
| 139 | ); |
| 140 | } |
| 141 | |
| 142 | /** |
| 143 | * Answer a `confirm_required` frame. `accept=true` resumes the stream onto the |