@stackone/utils 0.11.0 → 0.13.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/dist/edge/index.d.mts +5 -1
- package/dist/edge/index.mjs +5 -5
- package/dist/node/index.d.mts +6 -1
- package/dist/node/index.d.ts +6 -1
- package/dist/node/index.js +5 -5
- package/dist/node/index.mjs +5 -5
- package/package.json +1 -1
package/dist/edge/index.d.mts
CHANGED
|
@@ -73,6 +73,10 @@ declare const dateHasPassed: ({
|
|
|
73
73
|
//#region src/shared/deepCopy.d.ts
|
|
74
74
|
declare const deepCopy: <T>(obj: T, visited?: WeakMap<object, any>) => T;
|
|
75
75
|
//#endregion
|
|
76
|
+
//#region src/shared/documents/fileFormats.d.ts
|
|
77
|
+
|
|
78
|
+
declare const getDocumentFileFormatFromExtension: (fileExtension: unknown) => string | undefined;
|
|
79
|
+
//#endregion
|
|
76
80
|
//#region src/shared/exponentialBackoff.d.ts
|
|
77
81
|
declare const exponentialBackoffInMS: (retryCount: number, baseRetryDelayInMS?: number, jitterFactor?: number) => number;
|
|
78
82
|
//#endregion
|
|
@@ -138,4 +142,4 @@ declare const getContentHash: (content: unknown) => string;
|
|
|
138
142
|
declare const isValidUUID: (uuid: string) => boolean;
|
|
139
143
|
declare const generateRequestId: (randomUUIDGenerator?: () => string) => string;
|
|
140
144
|
//#endregion
|
|
141
|
-
export { NormalizedKeyMap, ZodType, calculateNextAnniversary, calculateYearsElapsed, dateHasPassed, decodeFromBase64, deepCopy, delay, encodeToBase64, exponentialBackoffInMS, generateRequestId, getContentHash, getCountryAlpha2CodeByAlpha2Code, getCountryAlpha2CodeByAlpha3Code, getCountryAlpha2CodeByCitizenship, getCountryAlpha2CodeByCountryCode, getCountryAlpha2CodeByCountryName, getCountryAlpha3CodeByAlpha2Code, getCountryAlpha3CodeByAlpha3Code, getCountryAlpha3CodeByCountryCode, getCountryAlpha3CodeByCountryName, getCountryCodeByAlpha2Code, getCountryCodeByAlpha3Code, getCountryCodeByCountryCode, getCountryCodeByCountryName, getCountryNameByAlpha2Code, getCountryNameByAlpha3Code, getCountryNameByCountryCode, getCountryNameByCountryName, getCountrySubDivisionByAlpha2CodeAndName, getCountrySubDivisionCodeBySubDivisionName, getCountrySubDivisionNameBySubDivisionCode, getCountrySubDivisionsByAlpha2Code, isBoolean, isDate, isFunction, isFutureUnixTimestamp, isIpInRange, isIpInRanges, isMissing, isNumber, isObject, isString, isValidIp, isValidIpRange, isValidIpRanges, isValidUUID, notMissing, safeParseToBoolean, safeParseToDateTime, safeParseToDateTimeString, safeParseToNumber, safeParseToString, z, zStrictObject };
|
|
145
|
+
export { NormalizedKeyMap, ZodType, calculateNextAnniversary, calculateYearsElapsed, dateHasPassed, decodeFromBase64, deepCopy, delay, encodeToBase64, exponentialBackoffInMS, generateRequestId, getContentHash, getCountryAlpha2CodeByAlpha2Code, getCountryAlpha2CodeByAlpha3Code, getCountryAlpha2CodeByCitizenship, getCountryAlpha2CodeByCountryCode, getCountryAlpha2CodeByCountryName, getCountryAlpha3CodeByAlpha2Code, getCountryAlpha3CodeByAlpha3Code, getCountryAlpha3CodeByCountryCode, getCountryAlpha3CodeByCountryName, getCountryCodeByAlpha2Code, getCountryCodeByAlpha3Code, getCountryCodeByCountryCode, getCountryCodeByCountryName, getCountryNameByAlpha2Code, getCountryNameByAlpha3Code, getCountryNameByCountryCode, getCountryNameByCountryName, getCountrySubDivisionByAlpha2CodeAndName, getCountrySubDivisionCodeBySubDivisionName, getCountrySubDivisionNameBySubDivisionCode, getCountrySubDivisionsByAlpha2Code, getDocumentFileFormatFromExtension, isBoolean, isDate, isFunction, isFutureUnixTimestamp, isIpInRange, isIpInRanges, isMissing, isNumber, isObject, isString, isValidIp, isValidIpRange, isValidIpRanges, isValidUUID, notMissing, safeParseToBoolean, safeParseToDateTime, safeParseToDateTimeString, safeParseToNumber, safeParseToString, z, zStrictObject };
|