@excofy/utils 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -659,8 +659,8 @@ function createValidator() {
659
659
 
660
660
  // src/helpers/generateCode.ts
661
661
  var generateCode = (length = 6, type = "alphanumeric") => {
662
- const digits = "0123456789";
663
- const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
662
+ const digits = "123456789";
663
+ const letters = "ABCDEFGHIJKLMNPQRSTUVWXYZ";
664
664
  let charset;
665
665
  switch (type) {
666
666
  case "numeric":
package/dist/index.js CHANGED
@@ -621,8 +621,8 @@ function createValidator() {
621
621
 
622
622
  // src/helpers/generateCode.ts
623
623
  var generateCode = (length = 6, type = "alphanumeric") => {
624
- const digits = "0123456789";
625
- const letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
624
+ const digits = "123456789";
625
+ const letters = "ABCDEFGHIJKLMNPQRSTUVWXYZ";
626
626
  let charset;
627
627
  switch (type) {
628
628
  case "numeric":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@excofy/utils",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Biblioteca de utilitários para o Excofy",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -18,8 +18,8 @@ export const generateCode = (
18
18
  length = 6,
19
19
  type: 'alphanumeric' | 'numeric' | 'letters' = 'alphanumeric'
20
20
  ): string => {
21
- const digits = '0123456789';
22
- const letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
21
+ const digits = '123456789';
22
+ const letters = 'ABCDEFGHIJKLMNPQRSTUVWXYZ';
23
23
  let charset: string;
24
24
 
25
25
  switch (type) {