opf-validator 0.0.2 → 0.0.4
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/utils/index.d.ts +9 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +25 -0
- package/dist/utils/index.js.map +1 -0
- package/package.json +27 -13
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utils Module - Exports all utilities
|
|
3
|
+
*/
|
|
4
|
+
export * from "./openFinanceErrors";
|
|
5
|
+
export * from "./paymentErrors";
|
|
6
|
+
export * from "./successResponses";
|
|
7
|
+
export * from "./validateHeaderParameters";
|
|
8
|
+
export * from "./validationHelpers";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Utils Module - Exports all utilities
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
17
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
__exportStar(require("./openFinanceErrors"), exports);
|
|
21
|
+
__exportStar(require("./paymentErrors"), exports);
|
|
22
|
+
__exportStar(require("./successResponses"), exports);
|
|
23
|
+
__exportStar(require("./validateHeaderParameters"), exports);
|
|
24
|
+
__exportStar(require("./validationHelpers"), exports);
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,sDAAoC;AACpC,kDAAgC;AAChC,qDAAmC;AACnC,6DAA2C;AAC3C,sDAAoC"}
|
package/package.json
CHANGED
|
@@ -1,35 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opf-validator",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
|
|
3
|
+
"version": "0.0.4",
|
|
5
4
|
"main": "dist/index.js",
|
|
6
5
|
"types": "dist/index.d.ts",
|
|
7
|
-
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
8
9
|
"exports": {
|
|
9
10
|
".": {
|
|
11
|
+
"import": "./dist/index.js",
|
|
10
12
|
"require": "./dist/index.js",
|
|
11
13
|
"types": "./dist/index.d.ts"
|
|
12
14
|
},
|
|
13
|
-
"./
|
|
14
|
-
"
|
|
15
|
-
"
|
|
15
|
+
"./utils": {
|
|
16
|
+
"import": "./dist/utils/index.js",
|
|
17
|
+
"require": "./dist/utils/index.js",
|
|
18
|
+
"types": "./dist/utils/index.d.ts"
|
|
16
19
|
},
|
|
17
20
|
"./consent": {
|
|
21
|
+
"import": "./dist/consent/index.js",
|
|
18
22
|
"require": "./dist/consent/index.js",
|
|
19
23
|
"types": "./dist/consent/index.d.ts"
|
|
20
24
|
},
|
|
21
|
-
"./
|
|
25
|
+
"./payments": {
|
|
26
|
+
"import": "./dist/payments/index.js",
|
|
27
|
+
"require": "./dist/payments/index.js",
|
|
28
|
+
"types": "./dist/payments/index.d.ts"
|
|
29
|
+
},
|
|
30
|
+
"./recurring-payments": {
|
|
31
|
+
"import": "./dist/recurring-payments/index.js",
|
|
22
32
|
"require": "./dist/recurring-payments/index.js",
|
|
23
33
|
"types": "./dist/recurring-payments/index.d.ts"
|
|
24
34
|
}
|
|
25
35
|
},
|
|
26
|
-
|
|
27
|
-
"files": ["dist"],
|
|
28
|
-
|
|
29
36
|
"scripts": {
|
|
30
37
|
"build": "tsc",
|
|
31
|
-
"test": "jest"
|
|
38
|
+
"test": "jest",
|
|
39
|
+
"test:watch": "jest --watch",
|
|
40
|
+
"test:coverage": "jest --coverage"
|
|
32
41
|
},
|
|
33
|
-
|
|
34
|
-
"
|
|
42
|
+
"license": "ISC",
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/jest": "^30.0.0",
|
|
45
|
+
"jest": "^29.7.0",
|
|
46
|
+
"ts-jest": "^29.4.6",
|
|
47
|
+
"typescript": "^5.9.3"
|
|
48
|
+
}
|
|
35
49
|
}
|