Skip to content

Commit

Permalink
chore: Merge pull request #116 from eventOneHQ/master
Browse files Browse the repository at this point in the history
v3.0.0-beta.4
  • Loading branch information
nprail authored Mar 7, 2023
2 parents 1ffe336 + e9717a5 commit c4e9c98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export enum DeviceType {
/**
* Apple Built-In reader.
*/
AppleBuiltIn = 10
AppleBuiltIn = 11
}

/**
Expand Down Expand Up @@ -843,7 +843,8 @@ export enum SimulateReaderUpdate {

export enum DeviceStyle {
Internet,
Bluetooth
Bluetooth,
Local
}

export interface TippingConfig {
Expand Down
2 changes: 2 additions & 0 deletions src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,8 @@ export class StripeTerminalPlugin {
type === DeviceType.WisePad3
) {
return DeviceStyle.Bluetooth
} else if (type === DeviceType.AppleBuiltIn) {
return DeviceStyle.Local
} else if (
type === DeviceType.WisePosE ||
type === DeviceType.WisePosEDevKit ||
Expand Down

0 comments on commit c4e9c98

Please sign in to comment.