Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
chore: wip
  • Loading branch information
chrisbbreuer committed Jan 7, 2025
1 parent 3c54bd3 commit 64f944c
Show file tree
Hide file tree
Showing 53 changed files with 7 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { codabar } from './Codabar'
import { Codabar } from './Codabar'
import { CODE39 } from './CODE39'
import { CODE128, CODE128A, CODE128B, CODE128C } from './CODE128'
import { EAN2, EAN5, EAN8, EAN13, UPC, UPCE } from './EAN_UPC'
Expand All @@ -9,7 +9,7 @@ import { Pharmacode } from './Pharmacode'

type Barcode = typeof GenericBarcode

const barcodes: Barcode[] = {
export const barcodes: Barcode[] = {
CODE39,
CODE128,
CODE128A,
Expand All @@ -29,7 +29,7 @@ const barcodes: Barcode[] = {
MSI1010,
MSI1110,
Pharmacode,
codabar,
Codabar,
GenericBarcode,
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defaults } from '../config'
import barcodes from './drivers/index'
import { barcodes } from './drivers/index'
import ErrorHandler from './exceptions/ErrorHandler'
import { InvalidInputException, NoElementException } from './exceptions/exceptions'
import { fixOptions } from './utils/fixOptions'
Expand Down Expand Up @@ -94,7 +94,7 @@ function encode(text, Encoder, options) {
}

function autoSelectBarcode() {
// If CODE128 exists. Use it
// default to type CODE128 if exists
if (barcodes.CODE128) {
return 'CODE128'
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/qrx/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from './barcode'
export * from './bar'
export * from './config'
export * from './qrcode'
export * from './qr'
export * from './types'
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 64f944c

Please sign in to comment.