Skip to content

Commit

Permalink
Add deviceType of reader for TTPOI. (stripe#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzesam authored Apr 4, 2023
1 parent c5019f5 commit bc8ae24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions ios/Mappers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class Mappers {
case DeviceType.wisePosE: return "wisePosE"
case DeviceType.wisePosEDevKit: return "wisePosEDevkit"
case DeviceType.stripeS700DevKit: return "stripeS700Devkit"
case DeviceType.appleBuiltIn: return "appleBuiltIn"
default: return "unknown"
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/types/Reader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ export namespace Reader {
| 'wisePad3s'
| 'wisePadEDevkit'
| 'stripeS700Devkit'
| 'cotsDevice';
| 'cotsDevice'
| 'appleBuiltIn';

export type InputOptions = 'insertCard' | 'swipeCard' | 'tapCard';

Expand Down

0 comments on commit bc8ae24

Please sign in to comment.