@infrab4a/connect 5.6.1 → 5.6.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/index.cjs.js +2 -2
- package/package.json +2 -12
- package/src/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +1 -1
- package/index.cjs.default.js +0 -1
- package/index.cjs.mjs +0 -2
- package/index.esm.js +0 -11227
package/index.cjs.js
CHANGED
|
@@ -9660,7 +9660,7 @@ class MercadoPagoRequestHelper {
|
|
|
9660
9660
|
checkoutId: checkout.id,
|
|
9661
9661
|
},
|
|
9662
9662
|
payer: this.buildPayer(checkout, card),
|
|
9663
|
-
statement_descriptor: checkout.shop === exports.Shops.GLAMSHOP ? '
|
|
9663
|
+
statement_descriptor: checkout.shop === exports.Shops.GLAMSHOP ? 'loja glam' : 'mens market',
|
|
9664
9664
|
additional_info: {
|
|
9665
9665
|
items: this.buildItems(checkout),
|
|
9666
9666
|
},
|
|
@@ -10489,7 +10489,7 @@ class PagarMeV5RequestHelper {
|
|
|
10489
10489
|
static getCardOrder(checkout, card) {
|
|
10490
10490
|
return {
|
|
10491
10491
|
installments: card.installments,
|
|
10492
|
-
statement_descriptor: checkout.shop === exports.Shops.GLAMSHOP ? '
|
|
10492
|
+
statement_descriptor: checkout.shop === exports.Shops.GLAMSHOP ? 'loja glam' : 'mens market',
|
|
10493
10493
|
card_id: card.cardId,
|
|
10494
10494
|
card: {
|
|
10495
10495
|
cvv: card.cardCvv,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infrab4a/connect",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org"
|
|
6
6
|
},
|
|
@@ -27,15 +27,5 @@
|
|
|
27
27
|
"@types/debug": "^4.1.8",
|
|
28
28
|
"@types/lodash": "^4.14.191",
|
|
29
29
|
"@types/node-fetch": "^2.6.2"
|
|
30
|
-
}
|
|
31
|
-
"exports": {
|
|
32
|
-
"./package.json": "./package.json",
|
|
33
|
-
".": {
|
|
34
|
-
"module": "./index.esm.js",
|
|
35
|
-
"import": "./index.cjs.mjs",
|
|
36
|
-
"default": "./index.cjs.js"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"module": "./index.esm.js",
|
|
40
|
-
"main": "./index.cjs.js"
|
|
30
|
+
}
|
|
41
31
|
}
|
|
@@ -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
|
|
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;
|
package/index.cjs.default.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports._default = require('./index.cjs.js').default;
|
package/index.cjs.mjs
DELETED