@ancon/wildcat-utils 1.43.4 → 1.43.6
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/card/index.d.ts +2 -0
- package/card/index.js +1 -1
- package/card/index.mjs +5 -3
- package/card/isWalletDebitTransaction.d.ts +2 -0
- package/card/isWalletDebitTransaction.js +1 -0
- package/card/isWalletDebitTransaction.mjs +13 -0
- package/courses/constants.js +1 -1
- package/courses/constants.mjs +1 -1
- package/package.json +6 -1
package/card/index.d.ts
CHANGED
|
@@ -2,10 +2,12 @@ import isCardExpired from './isCardExpired';
|
|
|
2
2
|
import getGiftCardStatus from './getGiftCardStatus';
|
|
3
3
|
import getWalletCardStatus from './getWalletCardStatus';
|
|
4
4
|
import getScannedWalletReadingInfo from './getScannedWalletReadingInfo';
|
|
5
|
+
import isWalletDebitTransaction from './isWalletDebitTransaction';
|
|
5
6
|
declare const _default: {
|
|
6
7
|
isCardExpired: typeof isCardExpired;
|
|
7
8
|
getGiftCardStatus: typeof getGiftCardStatus;
|
|
8
9
|
getWalletCardStatus: typeof getWalletCardStatus;
|
|
9
10
|
getScannedWalletReadingInfo: typeof getScannedWalletReadingInfo;
|
|
11
|
+
isWalletDebitTransaction: typeof isWalletDebitTransaction;
|
|
10
12
|
};
|
|
11
13
|
export default _default;
|
package/card/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./isCardExpired.js"),r=require("./getGiftCardStatus.js"),t=require("./getWalletCardStatus.js"),a=require("./getScannedWalletReadingInfo.js");require("moment");require("./types.js");require("lodash-es");require("@ancon/wildcat-types");require("../string/getParsedJSONFromString.js");const
|
|
1
|
+
"use strict";const e=require("./isCardExpired.js"),r=require("./getGiftCardStatus.js"),t=require("./getWalletCardStatus.js"),a=require("./getScannedWalletReadingInfo.js"),i=require("./isWalletDebitTransaction.js");require("moment");require("./types.js");require("lodash-es");require("@ancon/wildcat-types");require("../string/getParsedJSONFromString.js");const n={isCardExpired:e,getGiftCardStatus:r,getWalletCardStatus:t,getScannedWalletReadingInfo:a,isWalletDebitTransaction:i};module.exports=n;
|
package/card/index.mjs
CHANGED
|
@@ -2,17 +2,19 @@ import t from "./isCardExpired.mjs";
|
|
|
2
2
|
import r from "./getGiftCardStatus.mjs";
|
|
3
3
|
import o from "./getWalletCardStatus.mjs";
|
|
4
4
|
import i from "./getScannedWalletReadingInfo.mjs";
|
|
5
|
+
import m from "./isWalletDebitTransaction.mjs";
|
|
5
6
|
import "moment";
|
|
6
7
|
import "./types.mjs";
|
|
7
8
|
import "lodash-es";
|
|
8
9
|
import "@ancon/wildcat-types";
|
|
9
10
|
import "../string/getParsedJSONFromString.mjs";
|
|
10
|
-
const
|
|
11
|
+
const u = {
|
|
11
12
|
isCardExpired: t,
|
|
12
13
|
getGiftCardStatus: r,
|
|
13
14
|
getWalletCardStatus: o,
|
|
14
|
-
getScannedWalletReadingInfo: i
|
|
15
|
+
getScannedWalletReadingInfo: i,
|
|
16
|
+
isWalletDebitTransaction: m
|
|
15
17
|
};
|
|
16
18
|
export {
|
|
17
|
-
|
|
19
|
+
u as default
|
|
18
20
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("@ancon/wildcat-types");function a(t){switch(t){case e.PrepaidWalletTransactionType.Used:case e.PrepaidWalletTransactionType.Failed:return!0;default:return!1}}module.exports=a;
|
package/courses/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={1:"#a8537b",2:"#5874cb",3:"#7e6bab",4:"#
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={1:"#a8537b",2:"#5874cb",3:"#7e6bab",4:"#cbe34f",5:"#2ab5f4",6:"#23d6c4",7:"#30b479",8:"#ecb82a",9:"#f25c4e",10:"#816257",11:"#803459",12:"#183fa0",13:"#4f4082",14:"#5d6576",15:"#1588cf",16:"#128a7f",17:"#227246",18:"#e98e23",19:"#d63b2C",20:"#5c3f36"};exports.CourseColorsMapByOrder=e;
|
package/courses/constants.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ancon/wildcat-utils",
|
|
3
|
-
"version": "1.43.
|
|
3
|
+
"version": "1.43.6",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.mjs",
|
|
@@ -96,6 +96,11 @@
|
|
|
96
96
|
"require": "./card/isCardExpired.js",
|
|
97
97
|
"types": "./card/isCardExpired.d.ts"
|
|
98
98
|
},
|
|
99
|
+
"./card/isWalletDebitTransaction": {
|
|
100
|
+
"import": "./card/isWalletDebitTransaction.mjs",
|
|
101
|
+
"require": "./card/isWalletDebitTransaction.js",
|
|
102
|
+
"types": "./card/isWalletDebitTransaction.d.ts"
|
|
103
|
+
},
|
|
99
104
|
"./card/types": {
|
|
100
105
|
"import": "./card/types.mjs",
|
|
101
106
|
"require": "./card/types.js",
|