@raytio/core 10.1.0 → 11.1.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/CHANGELOG.md +10 -0
- package/README.md +198 -59
- package/dist/{util/hash.d.ts → __tests__/docs.test.d.ts} +1 -1
- package/dist/__tests__/docs.test.js +24 -0
- package/dist/accessApplication/createAA.d.ts +17 -17
- package/dist/accessApplication/createAA.js +71 -71
- package/dist/accessApplication/index.d.ts +1 -1
- package/dist/accessApplication/index.js +17 -17
- package/dist/crypto/cognitoAttributes.d.ts +15 -15
- package/dist/crypto/cognitoAttributes.js +33 -33
- package/dist/crypto/decryptKeys.d.ts +1 -1
- package/dist/crypto/decryptKeys.js +33 -33
- package/dist/crypto/decryptSharedData.d.ts +26 -26
- package/dist/crypto/decryptSharedData.js +38 -38
- package/dist/crypto/getAADecryptor.d.ts +16 -16
- package/dist/crypto/getAADecryptor.js +20 -20
- package/dist/crypto/helpers.d.ts +18 -18
- package/dist/crypto/helpers.js +26 -26
- package/dist/crypto/index.d.ts +4 -4
- package/dist/crypto/index.js +21 -21
- package/dist/general/conditional.d.ts +17 -17
- package/dist/general/conditional.js +32 -32
- package/dist/general/date.d.ts +2 -2
- package/dist/general/date.js +18 -18
- package/dist/general/index.d.ts +4 -4
- package/dist/general/index.js +20 -20
- package/dist/general/password.d.ts +10 -10
- package/dist/general/password.js +31 -31
- package/dist/general/types.d.ts +6 -6
- package/dist/general/types.js +13 -13
- package/dist/index.d.ts +6 -6
- package/dist/index.js +22 -22
- package/dist/rules/calculateScore.d.ts +28 -23
- package/dist/rules/calculateScore.js +82 -76
- package/dist/rules/convertInstanceToRuleInput.d.ts +3 -3
- package/dist/rules/convertInstanceToRuleInput.js +138 -139
- package/dist/rules/evaluateScoreCondition.d.ts +2 -2
- package/dist/rules/evaluateScoreCondition.js +44 -45
- package/dist/{verifications/checkVerifications.d.ts → rules/helpers/__tests__/addInfiniteThresholdBoundaries.test.d.ts} +1 -1
- package/dist/rules/helpers/__tests__/addInfiniteThresholdBoundaries.test.js +27 -0
- package/dist/{verifications/checkVerificationsNew.d.ts → rules/helpers/__tests__/checkTypeofValue.test.d.ts} +1 -1
- package/dist/rules/helpers/__tests__/checkTypeofValue.test.js +49 -0
- package/dist/{verifications/verifyCheck/util/canonicalJsonify.d.ts → rules/helpers/__tests__/getValuesFromPath.test.d.ts} +1 -1
- package/dist/rules/helpers/__tests__/getValuesFromPath.test.js +67 -0
- package/dist/rules/helpers/__tests__/thresholds.test.d.ts +1 -0
- package/dist/rules/helpers/__tests__/thresholds.test.js +32 -0
- package/dist/rules/helpers/addInfiniteThresholdBoundaries.d.ts +8 -8
- package/dist/rules/helpers/addInfiniteThresholdBoundaries.js +11 -11
- package/dist/rules/helpers/checkTypeofValue.d.ts +9 -9
- package/dist/rules/helpers/checkTypeofValue.js +60 -55
- package/dist/rules/helpers/getValuesFromPath.d.ts +3 -3
- package/dist/rules/helpers/getValuesFromPath.js +50 -50
- package/dist/rules/helpers/index.d.ts +5 -5
- package/dist/rules/helpers/index.js +21 -21
- package/dist/rules/helpers/symbols.d.ts +2 -2
- package/dist/rules/helpers/symbols.js +5 -5
- package/dist/rules/helpers/thresholds.d.ts +5 -5
- package/dist/rules/helpers/thresholds.js +46 -47
- package/dist/rules/index.d.ts +7 -7
- package/dist/rules/index.js +25 -25
- package/dist/rules/operators/__tests__/bool.test.d.ts +1 -0
- package/dist/rules/operators/__tests__/bool.test.js +21 -0
- package/dist/rules/operators/__tests__/date.test.d.ts +1 -0
- package/dist/rules/operators/__tests__/date.test.js +81 -0
- package/dist/rules/operators/__tests__/hfield.test.d.ts +1 -0
- package/dist/rules/operators/__tests__/hfield.test.js +38 -0
- package/dist/rules/operators/__tests__/hschema.test.d.ts +1 -0
- package/dist/rules/operators/__tests__/hschema.test.js +24 -0
- package/dist/rules/operators/__tests__/number.test.d.ts +1 -0
- package/dist/rules/operators/__tests__/number.test.js +53 -0
- package/dist/rules/operators/__tests__/string.test.d.ts +1 -0
- package/dist/rules/operators/__tests__/string.test.js +74 -0
- package/dist/rules/operators/bool.d.ts +2 -2
- package/dist/rules/operators/bool.js +17 -17
- package/dist/rules/operators/date.d.ts +2 -2
- package/dist/rules/operators/date.js +91 -91
- package/dist/rules/operators/hfield.d.ts +2 -2
- package/dist/rules/operators/hfield.js +33 -33
- package/dist/rules/operators/hschema.d.ts +2 -2
- package/dist/rules/operators/hschema.js +21 -21
- package/dist/rules/operators/index.d.ts +3 -3
- package/dist/rules/operators/index.js +11 -11
- package/dist/rules/operators/number.d.ts +2 -2
- package/dist/rules/operators/number.js +41 -41
- package/dist/rules/operators/string.d.ts +2 -2
- package/dist/rules/operators/string.js +58 -58
- package/dist/rules/types/config.d.ts +95 -91
- package/dist/rules/types/config.js +2 -2
- package/dist/rules/types/dataValueTypes.d.ts +19 -19
- package/dist/rules/types/dataValueTypes.js +4 -4
- package/dist/rules/types/index.d.ts +3 -3
- package/dist/rules/types/index.js +19 -19
- package/dist/rules/types/internal.d.ts +20 -20
- package/dist/rules/types/internal.js +2 -2
- package/dist/rules/validate.d.ts +6 -6
- package/dist/rules/validate.js +14 -14
- package/dist/rules/version.d.ts +1 -1
- package/dist/rules/version.js +5 -5
- package/dist/schema/expandSchema/__tests__/addLoadingTimes.test.d.ts +1 -0
- package/dist/schema/expandSchema/__tests__/addLoadingTimes.test.js +24 -0
- package/dist/schema/expandSchema/__tests__/expandSchema.test.d.ts +1 -0
- package/dist/schema/expandSchema/__tests__/expandSchema.test.js +95 -0
- package/dist/schema/expandSchema/__tests__/i18n.test.d.ts +1 -0
- package/dist/schema/expandSchema/__tests__/i18n.test.js +32 -0
- package/dist/schema/expandSchema/__tests__/maybeUseI18n.test.d.ts +1 -0
- package/dist/schema/expandSchema/__tests__/maybeUseI18n.test.js +98 -0
- package/dist/schema/expandSchema/__tests__/processSchema.test.d.ts +1 -0
- package/dist/schema/expandSchema/__tests__/processSchema.test.js +326 -0
- package/dist/schema/expandSchema/__tests__/sortSchemaProperties.test.d.ts +1 -0
- package/dist/schema/expandSchema/__tests__/sortSchemaProperties.test.js +182 -0
- package/dist/schema/expandSchema/__tests__/util.test.d.ts +1 -0
- package/dist/schema/expandSchema/__tests__/util.test.js +19 -0
- package/dist/schema/expandSchema/addLoadingTimes.d.ts +2 -0
- package/dist/schema/expandSchema/addLoadingTimes.js +12 -0
- package/dist/schema/expandSchema/constants.d.ts +2 -0
- package/dist/schema/expandSchema/constants.js +11 -0
- package/dist/schema/expandSchema/expandSchema.d.ts +7 -0
- package/dist/schema/expandSchema/expandSchema.js +19 -0
- package/dist/schema/expandSchema/i18n.d.ts +5 -0
- package/dist/schema/expandSchema/i18n.js +20 -0
- package/dist/schema/expandSchema/index.d.ts +3 -0
- package/dist/schema/expandSchema/index.js +21 -0
- package/dist/schema/expandSchema/maybeUseI18n.d.ts +2 -0
- package/dist/schema/expandSchema/maybeUseI18n.js +40 -0
- package/dist/schema/expandSchema/processSchema.d.ts +4 -0
- package/dist/schema/expandSchema/processSchema.js +94 -0
- package/dist/schema/expandSchema/removePrivateFields.d.ts +119 -0
- package/dist/schema/expandSchema/removePrivateFields.js +15 -0
- package/dist/schema/expandSchema/sortSchemaProperties.d.ts +21 -0
- package/dist/schema/expandSchema/sortSchemaProperties.js +40 -0
- package/dist/schema/expandSchema/unwrapSchema.d.ts +6 -0
- package/dist/schema/expandSchema/unwrapSchema.js +7 -0
- package/dist/schema/expandSchema/util.d.ts +6 -0
- package/dist/schema/expandSchema/util.js +15 -0
- package/dist/schema/index.d.ts +2 -1
- package/dist/schema/index.js +18 -17
- package/dist/schema/labels.d.ts +2 -2
- package/dist/schema/labels.js +20 -20
- package/dist/util/canonicalJsonify.d.ts +1 -1
- package/dist/util/canonicalJsonify.js +50 -50
- package/dist/util/handleResponse.d.ts +1 -1
- package/dist/util/handleResponse.js +21 -21
- package/dist/util/index.d.ts +2 -2
- package/dist/util/index.js +18 -18
- package/dist/verifications/cleanInstance.d.ts +9 -9
- package/dist/verifications/cleanInstance.js +15 -15
- package/dist/verifications/getPOVerification.d.ts +19 -16
- package/dist/verifications/getPOVerification.js +105 -94
- package/dist/verifications/getVerifiedBy.d.ts +1 -1
- package/dist/verifications/getVerifiedBy.js +19 -19
- package/dist/verifications/index.d.ts +5 -5
- package/dist/verifications/index.js +21 -21
- package/dist/verifications/maybeRereference.d.ts +1 -1
- package/dist/verifications/maybeRereference.js +10 -10
- package/dist/verifications/safeHarbour.d.ts +20 -20
- package/dist/verifications/safeHarbour.js +67 -74
- package/dist/verifications/verifyCheck/__tests__/getOwnRealVerifications.test.d.ts +1 -0
- package/dist/verifications/verifyCheck/__tests__/getOwnRealVerifications.test.js +152 -0
- package/dist/verifications/verifyCheck/__tests__/getSomeoneElsesRealVerifications.test.d.ts +1 -0
- package/dist/verifications/verifyCheck/__tests__/getSomeoneElsesRealVerifications.test.js +205 -0
- package/dist/verifications/verifyCheck/getOwnRealVerifications.d.ts +13 -13
- package/dist/verifications/verifyCheck/getOwnRealVerifications.js +66 -64
- package/dist/verifications/verifyCheck/getSomeoneElsesRealVerifications.d.ts +19 -19
- package/dist/verifications/verifyCheck/getSomeoneElsesRealVerifications.js +72 -72
- package/dist/verifications/verifyCheck/index.d.ts +3 -3
- package/dist/verifications/verifyCheck/index.js +21 -21
- package/dist/verifications/verifyCheck/operations/__tests__/checkOwnVerification.test.d.ts +1 -0
- package/dist/verifications/verifyCheck/operations/__tests__/checkOwnVerification.test.js +91 -0
- package/dist/verifications/verifyCheck/operations/__tests__/checkSomeoneElsesVerifications.test.d.ts +1 -0
- package/dist/verifications/verifyCheck/operations/__tests__/checkSomeoneElsesVerifications.test.js +49 -0
- package/dist/verifications/verifyCheck/operations/__tests__/sampleBundle.json +43 -0
- package/dist/verifications/verifyCheck/operations/checkOwnVerification.d.ts +15 -15
- package/dist/verifications/verifyCheck/operations/checkOwnVerification.js +39 -39
- package/dist/verifications/verifyCheck/operations/checkSomeoneElsesVerifications.d.ts +1 -1
- package/dist/verifications/verifyCheck/operations/checkSomeoneElsesVerifications.js +16 -16
- package/dist/verifications/verifyCheck/operations/index.d.ts +2 -2
- package/dist/verifications/verifyCheck/operations/index.js +18 -18
- package/package.json +13 -10
- package/dist/rules/helpers/getLhsTypeofValue.d.ts +0 -0
- package/dist/rules/helpers/getLhsTypeofValue.js +0 -1
- package/dist/rules/helpers/getValueFromPath.d.ts +0 -2
- package/dist/rules/helpers/getValueFromPath.js +0 -35
- package/dist/rules/helpers/rebuildInfiniteValues.d.ts +0 -3
- package/dist/rules/helpers/rebuildInfiniteValues.js +0 -6
- package/dist/rules/isScoreResultValid.d.ts +0 -2
- package/dist/rules/isScoreResultValid.js +0 -9
- package/dist/rules/operators/array.d.ts +0 -2
- package/dist/rules/operators/array.js +0 -74
- package/dist/rules/types/operators.d.ts +0 -19
- package/dist/rules/types/operators.js +0 -2
- package/dist/rules/types/score.d.ts +0 -50
- package/dist/rules/types/score.js +0 -2
- package/dist/util/conditional.d.ts +0 -7
- package/dist/util/conditional.js +0 -15
- package/dist/util/hash.js +0 -11
- package/dist/verifications/checkSingleVerification.d.ts +0 -9
- package/dist/verifications/checkSingleVerification.js +0 -29
- package/dist/verifications/checkVerifications.js +0 -16
- package/dist/verifications/checkVerificationsNew.js +0 -16
- package/dist/verifications/getOwnRealVerifications.d.ts +0 -14
- package/dist/verifications/getOwnRealVerifications.js +0 -64
- package/dist/verifications/getRealVerifications.d.ts +0 -22
- package/dist/verifications/getRealVerifications.js +0 -71
- package/dist/verifications/verifyCheck/util/canonicalJsonify.js +0 -48
- package/dist/verifications/verifyCheck/util/getValuesForAField.d.ts +0 -2
- package/dist/verifications/verifyCheck/util/getValuesForAField.js +0 -9
- package/dist/verifications/verifyCheck/util/index.d.ts +0 -2
- package/dist/verifications/verifyCheck/util/index.js +0 -14
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ProfileObject, Verification, RealVer } from "@raytio/types";
|
|
2
|
-
declare type Props = {
|
|
3
|
-
apiUrl: string;
|
|
4
|
-
verifications: Verification[];
|
|
5
|
-
profileObjects: ProfileObject[];
|
|
6
|
-
controller?: AbortController;
|
|
7
|
-
/**
|
|
8
|
-
* do NOT use this option. If the value of a field
|
|
9
|
-
* equals the value of this prop, that field will be treated
|
|
10
|
-
* as verified, even if the API says it's not verified. See
|
|
11
|
-
* #614 for context. @deprecated
|
|
12
|
-
*/
|
|
13
|
-
UNSAFE_treatNoValueAsVerified?: string;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Given a list of verifications and decrypted profile objects, this function calls
|
|
17
|
-
* the Raytio API to verify the credibility of these verifications, returning only valid
|
|
18
|
-
* verifications.
|
|
19
|
-
* @returns a list of fileNames/values that are verified.
|
|
20
|
-
*/
|
|
21
|
-
export declare const getRealVerifications: ({ apiUrl, verifications, profileObjects, controller, UNSAFE_treatNoValueAsVerified, }: Props) => Promise<RealVer[]>;
|
|
22
|
-
export {};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getRealVerifications = void 0;
|
|
4
|
-
const ramda_1 = require("ramda");
|
|
5
|
-
const crypto_1 = require("../crypto");
|
|
6
|
-
const checkVerifications_1 = require("./checkVerifications");
|
|
7
|
-
const maybeRereference_1 = require("./maybeRereference");
|
|
8
|
-
const getValuesForAField = (fieldName, POs) => (0, ramda_1.uniq)(
|
|
9
|
-
// truthy only, and ignore encrypted properties. this function will be called again once they're decrypted
|
|
10
|
-
POs.map(x => { var _a; return (_a = x.properties) === null || _a === void 0 ? void 0 : _a[fieldName]; }).filter(x => !!x && !(0, crypto_1.isEncrypted)(x)));
|
|
11
|
-
/**
|
|
12
|
-
* Given a list of verifications and decrypted profile objects, this function calls
|
|
13
|
-
* the Raytio API to verify the credibility of these verifications, returning only valid
|
|
14
|
-
* verifications.
|
|
15
|
-
* @returns a list of fileNames/values that are verified.
|
|
16
|
-
*/
|
|
17
|
-
const getRealVerifications = async ({ apiUrl, verifications, profileObjects, controller, UNSAFE_treatNoValueAsVerified, }) => {
|
|
18
|
-
// for each verification (including passed: false), create a list of every possible that
|
|
19
|
-
// value that that verification might have been for. Flatten the list
|
|
20
|
-
// and send the whole thing to the API.
|
|
21
|
-
const toVerify = verifications.flatMap(ver => {
|
|
22
|
-
const values = getValuesForAField(ver.properties.field, profileObjects);
|
|
23
|
-
return values.flatMap(value => ver.properties.verifications.map(({ signature }) => ({
|
|
24
|
-
verifications: [
|
|
25
|
-
Object.assign({ signature }, (ver.n_id.startsWith("HASHED::")
|
|
26
|
-
? {
|
|
27
|
-
hashed_n_id: ver.n_id.split("::")[1],
|
|
28
|
-
a_id: ver.n_id.split("::")[2],
|
|
29
|
-
}
|
|
30
|
-
: { n_id: ver.n_id })),
|
|
31
|
-
],
|
|
32
|
-
data_to_verify: [{ value: (0, maybeRereference_1.maybeRereference)(value) }],
|
|
33
|
-
})));
|
|
34
|
-
});
|
|
35
|
-
// the API can't cope with an empty array
|
|
36
|
-
if (!toVerify.length)
|
|
37
|
-
return [];
|
|
38
|
-
const apiResponse = await (0, checkVerifications_1.checkVerifications)({
|
|
39
|
-
apiUrl,
|
|
40
|
-
toVerify,
|
|
41
|
-
controller,
|
|
42
|
-
});
|
|
43
|
-
// do NOT expose the `verified` prop from the /verify_check API to avoid semantic confusion,
|
|
44
|
-
// since verified: true does not mean that the verification is verified!
|
|
45
|
-
const realVers = apiResponse
|
|
46
|
-
.filter(x => x.verified ||
|
|
47
|
-
// if UNSAFE_treatNoValueAsVerified is enabled, and we don't know the value of this field,
|
|
48
|
-
// treat is as verified if the `passed` property is true (this is NOT a safe check).
|
|
49
|
-
(!!UNSAFE_treatNoValueAsVerified &&
|
|
50
|
-
x.data.value === UNSAFE_treatNoValueAsVerified &&
|
|
51
|
-
x.data.passed))
|
|
52
|
-
.map(({ signature, data, n_id: nID, valid_until }) => ({
|
|
53
|
-
fieldName: data.field,
|
|
54
|
-
value: data.value,
|
|
55
|
-
provider: {
|
|
56
|
-
dataSourceNId: data.verifier_source_id,
|
|
57
|
-
serviceProviderNId: data.verifier_service_id,
|
|
58
|
-
verifierNId: data.verifier_id,
|
|
59
|
-
date: new Date(`${data.verification_date}Z`), // the api returns invalid dates (missing the `Z`)
|
|
60
|
-
},
|
|
61
|
-
expired: valid_until ? new Date(valid_until) : false,
|
|
62
|
-
metadata: data.metadata,
|
|
63
|
-
xId: data.request_div,
|
|
64
|
-
signature,
|
|
65
|
-
verified: data.passed,
|
|
66
|
-
nID,
|
|
67
|
-
belongsToNId: data.source_n_id,
|
|
68
|
-
}));
|
|
69
|
-
return realVers;
|
|
70
|
-
};
|
|
71
|
-
exports.getRealVerifications = getRealVerifications;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable fp/no-mutating-methods, fp/no-mutation, fp/no-let, prefer-reflect */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.canonicalJsonify = void 0;
|
|
5
|
-
const isObject = (a) => Object.prototype.toString.call(a) === "[object Object]";
|
|
6
|
-
const REGEX =
|
|
7
|
-
// eslint-disable-next-line no-control-regex
|
|
8
|
-
/[\u0000-\u001F]|"|\\|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g;
|
|
9
|
-
const SLASH_ESC = {
|
|
10
|
-
"\b": "\\b",
|
|
11
|
-
"\t": "\\t",
|
|
12
|
-
"\n": "\\n",
|
|
13
|
-
"\f": "\\f",
|
|
14
|
-
"\r": "\\r",
|
|
15
|
-
'"': '\\"',
|
|
16
|
-
"\\": "\\\\",
|
|
17
|
-
};
|
|
18
|
-
const replacer = (char) => SLASH_ESC[char] ||
|
|
19
|
-
`\\u${char.charCodeAt(0).toString(16).toUpperCase().padStart(4, "0")}`;
|
|
20
|
-
function copyObjectWithSortedKeys(object) {
|
|
21
|
-
if (isObject(object)) {
|
|
22
|
-
return `{${Object.keys(object)
|
|
23
|
-
.sort()
|
|
24
|
-
.map(key => `"${key}":${copyObjectWithSortedKeys(object[key])}`)
|
|
25
|
-
.join(",")}}`;
|
|
26
|
-
}
|
|
27
|
-
if (Array.isArray(object)) {
|
|
28
|
-
return `[${object.map(copyObjectWithSortedKeys).join(",")}]`;
|
|
29
|
-
}
|
|
30
|
-
if (typeof object === "number" && object % 1 !== 0) {
|
|
31
|
-
// float ->
|
|
32
|
-
const exponent = Math.round(Math.log10(Math.abs(object)));
|
|
33
|
-
let mantissa = `${object / 10 ** exponent}`;
|
|
34
|
-
if (!mantissa.includes("."))
|
|
35
|
-
mantissa += ".0";
|
|
36
|
-
return `${mantissa}E${exponent}`;
|
|
37
|
-
}
|
|
38
|
-
if (typeof object === "string")
|
|
39
|
-
return `"${object.replace(REGEX, replacer)}"`;
|
|
40
|
-
return object; // bool or int
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
* spec compliant, and matches
|
|
45
|
-
* https://gitlab.com/raytio/mono/-/blob/devo/common/signing/signing/canonical_json.py
|
|
46
|
-
*/
|
|
47
|
-
const canonicalJsonify = (object) => `${copyObjectWithSortedKeys(object)}`;
|
|
48
|
-
exports.canonicalJsonify = canonicalJsonify;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getValuesForAField = void 0;
|
|
4
|
-
const ramda_1 = require("ramda");
|
|
5
|
-
const crypto_1 = require("../../../crypto");
|
|
6
|
-
const getValuesForAField = (fieldName, POs) => (0, ramda_1.uniq)(
|
|
7
|
-
// truthy only, and ignore encrypted properties. this function will be called again once they're decrypted
|
|
8
|
-
POs.map(x => { var _a; return (_a = x.properties) === null || _a === void 0 ? void 0 : _a[fieldName]; }).filter(x => !!x && !(0, crypto_1.isEncrypted)(x)));
|
|
9
|
-
exports.getValuesForAField = getValuesForAField;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
__exportStar(require("./canonicalJsonify"), exports);
|
|
14
|
-
__exportStar(require("./getValuesForAField"), exports);
|