@stackone/utils 0.21.1 → 0.23.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 +4 -1
- package/dist/edge/index.mjs +2 -2
- package/dist/node/index.cjs +2 -2
- package/dist/node/index.d.cts +4 -1
- package/dist/node/index.d.mts +4 -1
- package/dist/node/index.mjs +2 -2
- package/package.json +1 -1
package/dist/edge/index.d.mts
CHANGED
|
@@ -87,6 +87,9 @@ declare const getDocumentFileFormatFromExtension: (fileExtension: unknown) => st
|
|
|
87
87
|
//#region src/shared/exponentialBackoff.d.ts
|
|
88
88
|
declare const exponentialBackoffInMS: (retryCount: number, baseRetryDelayInMS?: number, jitterFactor?: number) => number;
|
|
89
89
|
//#endregion
|
|
90
|
+
//#region src/shared/getByDotPath.d.ts
|
|
91
|
+
declare function getByDotPath(obj: unknown, path: string): unknown;
|
|
92
|
+
//#endregion
|
|
90
93
|
//#region src/shared/ipAddr.d.ts
|
|
91
94
|
declare const isValidIp: (ip: string) => boolean;
|
|
92
95
|
declare const isValidIpRange: (pattern: string) => boolean;
|
|
@@ -209,4 +212,4 @@ declare const getContentHash: (content: unknown) => string;
|
|
|
209
212
|
declare const isValidUUID: (uuid: string) => boolean;
|
|
210
213
|
declare const generateRequestId: (randomUUIDGenerator?: () => string) => string;
|
|
211
214
|
//#endregion
|
|
212
|
-
export { NON_BACKGROUND_LOGS_SOURCE_TYPES, NormalizedKeyMap, RequestSourceType, type ZodType, calculateNextAnniversary, calculateSize, calculateYearsElapsed, camelToSnake, convertKeysToCamelCase, convertKeysToSnakeCase, dateHasPassed, decodeFromBase64, deepCopy, delay, encodeToBase64, exceedsSize, exponentialBackoffInMS, generateRequestId, generateSamlAssertion, 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, snakeToCamel, z, zStrictObject };
|
|
215
|
+
export { NON_BACKGROUND_LOGS_SOURCE_TYPES, NormalizedKeyMap, RequestSourceType, type ZodType, calculateNextAnniversary, calculateSize, calculateYearsElapsed, camelToSnake, convertKeysToCamelCase, convertKeysToSnakeCase, dateHasPassed, decodeFromBase64, deepCopy, delay, encodeToBase64, exceedsSize, exponentialBackoffInMS, generateRequestId, generateSamlAssertion, getByDotPath, 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, snakeToCamel, z, zStrictObject };
|