@firestone-hs/reference-data 2.0.30 → 2.0.31
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.
|
@@ -3,9 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AllCardsLocalService = void 0;
|
|
4
4
|
const public_api_1 = require("../public-api");
|
|
5
5
|
class AllCardsLocalService extends public_api_1.AllCardsService {
|
|
6
|
+
constructor(cardsStr) {
|
|
7
|
+
super();
|
|
8
|
+
this.cardsStr = cardsStr;
|
|
9
|
+
}
|
|
6
10
|
getCardsStr(url) {
|
|
7
|
-
|
|
8
|
-
|
|
11
|
+
return new Promise((resolve, reject) => {
|
|
12
|
+
resolve(this.cardsStr);
|
|
13
|
+
});
|
|
9
14
|
}
|
|
10
15
|
}
|
|
11
16
|
exports.AllCardsLocalService = AllCardsLocalService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"all-cards-local.service.js","sourceRoot":"","sources":["../../src/services/all-cards-local.service.ts"],"names":[],"mappings":";;;AAAA,8CAAgD;AAEhD,MAAa,oBAAqB,SAAQ,4BAAe;
|
|
1
|
+
{"version":3,"file":"all-cards-local.service.js","sourceRoot":"","sources":["../../src/services/all-cards-local.service.ts"],"names":[],"mappings":";;;AAAA,8CAAgD;AAEhD,MAAa,oBAAqB,SAAQ,4BAAe;IACxD,YAA6B,QAAgB;QAC5C,KAAK,EAAE,CAAC;QADoB,aAAQ,GAAR,QAAQ,CAAQ;IAE7C,CAAC;IAES,WAAW,CAAC,GAAW;QAChC,OAAO,IAAI,OAAO,CAAS,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAC9C,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACxB,CAAC,CAAC,CAAC;IACJ,CAAC;CACD;AAVD,oDAUC","sourcesContent":["import { AllCardsService } from '../public-api';\r\n\r\nexport class AllCardsLocalService extends AllCardsService {\r\n\tconstructor(private readonly cardsStr: string) {\r\n\t\tsuper();\r\n\t}\r\n\r\n\tprotected getCardsStr(url: string): Promise<string> {\r\n\t\treturn new Promise<string>((resolve, reject) => {\r\n\t\t\tresolve(this.cardsStr);\r\n\t\t});\r\n\t}\r\n}\r\n"]}
|