@infrab4a/connect 5.2.0 → 5.2.1-alpha.0

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/index.cjs.js CHANGED
@@ -8780,7 +8780,7 @@ class PagarMeV5ResponseHelper {
8780
8780
  static getBoletoReponse(transaction) {
8781
8781
  return {
8782
8782
  boleto_url: transaction.url?.toString(),
8783
- boleto_barcode: transaction.barcode?.toString(),
8783
+ boleto_barcode: transaction.line?.toString(),
8784
8784
  boleto_qr_code: transaction.qr_code?.toString(),
8785
8785
  boleto_expiration_date: transaction.due_at?.toString(),
8786
8786
  boleto_instructions: transaction.instructions?.toString(),
package/index.esm.js CHANGED
@@ -8755,7 +8755,7 @@ class PagarMeV5ResponseHelper {
8755
8755
  static getBoletoReponse(transaction) {
8756
8756
  return {
8757
8757
  boleto_url: transaction.url?.toString(),
8758
- boleto_barcode: transaction.barcode?.toString(),
8758
+ boleto_barcode: transaction.line?.toString(),
8759
8759
  boleto_qr_code: transaction.qr_code?.toString(),
8760
8760
  boleto_expiration_date: transaction.due_at?.toString(),
8761
8761
  boleto_instructions: transaction.instructions?.toString(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "5.2.0",
3
+ "version": "5.2.1-alpha.0",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -5,7 +5,7 @@ import { FirestoreRepository, FirestoreSubRepository } from '../types';
5
5
  export declare const withHelpers: <TMixinBase extends MixinCtor<any, any[]> = MixinCtor<any, any[]>>(MixinBase: MixinCtor<any, any[]> & TMixinBase) => {
6
6
  new (...args: any[]): {
7
7
  [x: string]: any;
8
- toArray<T extends ModelBaseStructure<T, T["identifiersFields"][number]>>(snapShot: QuerySnapshot<T, import("firebase/firestore").DocumentData> | QueryDocumentSnapshot<T, import("firebase/firestore").DocumentData>[]): T[];
8
+ toArray<T extends ModelBaseStructure<T, T["identifiersFields"][number]>>(snapShot: QuerySnapshot<T> | QueryDocumentSnapshot<T>[]): T[];
9
9
  isSubCollection<T_1 extends ModelBaseStructure<T_1, T_1["identifiersFields"][number]>, E extends ModelBaseStructure<E, E["identifiersFields"][number]>>(repository: FirestoreRepository<T_1> | FirestoreSubRepository<T_1, E>): repository is FirestoreSubRepository<T_1, E>;
10
10
  };
11
11
  } & TMixinBase;