@bscotch/bravo
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -20,3 +20,6 @@ "use strict"; | ||
for (const param of Object.keys(params)) { | ||
fullUrl.searchParams.set(param, params[param]); | ||
const value = params[param]; | ||
if (!(0, utility_js_1.isNullish)(value)) { | ||
fullUrl.searchParams.set(param, params[param]); | ||
} | ||
} | ||
@@ -173,2 +176,2 @@ } | ||
exports.FavroClient = FavroClient; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRmF2cm9DbGllbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL2NsaWVudExpYi9GYXZyb0NsaWVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSw4Q0FBNEM7QUFDNUMsNERBQStCO0FBQy9CLDZCQUEwQjtBQUMxQixnRUFBNkQ7QUFDN0QsZ0RBQTJDO0FBbUIzQyxNQUFNLGVBQWUsR0FBRywwQkFBMEIsQ0FBQztBQUVuRCxTQUFTLGlCQUFpQixDQUFDLEdBQVcsRUFBRSxNQUErQjtJQUNyRSx1QkFBdUI7SUFDdkIsR0FBRyxHQUFHLEdBQUcsQ0FBQyxVQUFVLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsSUFBSSxHQUFHLEVBQUUsQ0FBQztJQUM1QyxHQUFHLEdBQUcsR0FBRyxlQUFlLEdBQUcsR0FBRyxFQUFFLENBQUM7SUFDakMsTUFBTSxPQUFPLEdBQUcsSUFBSSxTQUFHLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDN0IsSUFBSSxNQUFNLEVBQUU7UUFDVixLQUFLLE1BQU0sS0FBSyxJQUFJLE1BQU0sQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLEVBQUU7WUFDdkMsT0FBTyxDQUFDLFlBQVksQ0FBQyxHQUFHLENBQUMsS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TUFBTSxXQUFXLENBQUMsSUFBSSxFQUFFO2FBQy9CLENBQUMsQ0FBQztTQUNKO1FBQ0QsSUFBSSxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsTUFBTSxHQUFHLEdBQUcsRUFBRSxzQkFBc0IsR0FBRyxDQUFDLE1BQU0sRUFBRSxDQUFDLENBQUM7UUFDbEUsTUFBTSxVQUFVLEdBQUcsTUFBTSxHQUFHLENBQUMsYUFBYSxFQUFFLENBQUM7UUFDN0MsSUFDRSxVQUFVO1lBQ1YsT0FBTyxVQUFVLElBQUksUUFBUTtZQUM3QixTQUFTLElBQUksVUFBVSxFQUN2QjtZQUNBLG1CQUFtQjtZQUNuQixNQUFNLE9BQU8sR0FBRyxVQUFVLENBQUMsT0FBTyxDQUFDO1lBQ25DLE1BQU0sSUFBSSxzQkFBVSxDQUNsQixvQ0FBb0MsR0FBRyxDQUFDLE1BQU0seUJBQXlCLE9BQU8sSUFBSSxDQUNuRixDQUFDO1NBQ0g7UUFDRCxPQUFPLEdBQUcsQ0FBQztJQUNiLENBQUM7Q0FDRjtBQXJKRCxrQ0FxSkMifQ== |
@@ -61,3 +61,4 @@ /// <reference types="node" /> | ||
export declare function generateRandomString(totalBytes: number | undefined, encoding: 'base64' | 'ascii'): Promise<string>; | ||
export declare function isNullish(value: any): value is null | undefined; | ||
export {}; | ||
//# sourceMappingURL=utility.d.ts.map |
@@ -13,3 +13,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.generateRandomString = exports.generateRandomBytes = exports.stringsOrObjectsToStrings = exports.stringOrObjectToString = exports.createIsMatchFilter = exports.isMatch = exports.wrapIfNotArray = exports.removeFromArray = exports.ensureArrayExistsAndAddUniqueBy = exports.ensureArrayExistsAndAddUnique = exports.addToUniqueArrayBy = exports.addToUniqueArray = exports.selectRandom = exports.toBase64 = exports.findRequiredByField = exports.findByField = exports.find = exports.stringsMatch = exports.stringsMatchIgnoringCase = void 0; | ||
exports.isNullish = exports.generateRandomString = exports.generateRandomBytes = exports.stringsOrObjectsToStrings = exports.stringOrObjectToString = exports.createIsMatchFilter = exports.isMatch = exports.wrapIfNotArray = exports.removeFromArray = exports.ensureArrayExistsAndAddUniqueBy = exports.ensureArrayExistsAndAddUnique = exports.addToUniqueArrayBy = exports.addToUniqueArray = exports.selectRandom = exports.toBase64 = exports.findRequiredByField = exports.findByField = exports.find = exports.stringsMatch = exports.stringsMatchIgnoringCase = void 0; | ||
const errors_js_1 = require("./errors.js"); | ||
@@ -211,2 +211,6 @@ const crypto_1 = __importDefault(require("crypto")); | ||
exports.generateRandomString = generateRandomString; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWIvdXRpbGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQ0EsMkNBQTJEO0FBQzNELG9EQUE0QjtBQUU1QixTQUFnQix3QkFBd0IsQ0FBQyxPQUFlLEVBQUUsT0FBZTtJQUN2RSxLQUFLLE1BQU0sR0FBRyxJQUFJLENBQUMsT0FBTyxFQUFFLE9BQU8sQ0FBQyxFQUFFO1FBQ3BDLElBQUEsNEJBQWdCLEVBQUMsT0FBTyxHQUFHLElBQUksUUFBUSxFQUFFLDRCQUE0QixDQUFDLENBQUM7S0FDeEU7SUFDRCxPQUFPLENBQ0wsT0FBTyxDQUFDLGlCQUFpQixFQUFFLENBQUMsSUFBSSxFQUFFLElBQUksT0FBTyxDQUFDLGlCQUFpQixFQUFFLENBQUMsSUFBSSxFQUFFLENBQ3pFLENBQUM7QUFDSixDQUFDO0FBUEQsNERBT0M7QUFFRCxTQUFnQixZQUFZLENBQzFCLE9BQWUsRUFDZixPQUFlLEVBQ2YsT0FBa0M7SUFFbEMsSUFBSSxPQUFPLGFBQVAsT0FBTyx1QkFBUCx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CLENBQUMsQ0FBQyxHQUFHLGdCQUFnQixDQUFDO1lBQ3BFLGNBQWMsQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLENBQUM7U0FDcEM7UUFDRCxPQUFPLE1BQU0sQ0FBQyxJQUFJLENBQUMsY0FBYyxDQUFDLENBQUMsUUFBUSxDQUFDLE9BQU8sQ0FBQyxDQUFDO0tBQ3REO1NBQU07UUFDTCxNQUFNLElBQUksc0JBQVUsQ0FBQyxzQkFBc0IsQ0FBQyxDQUFDO0tBQzlDO0FBQ0gsQ0FBQztBQXRCRCxvREFzQkMifQ== | ||
function isNullish(value) { | ||
return value === null || value === undefined; | ||
} | ||
exports.isNullish = isNullish; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWIvdXRpbGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQ0EsMkNBQTJEO0FBQzNELG9EQUE0QjtBQUU1QixTQUFnQix3QkFBd0IsQ0FBQyxPQUFlLEVBQUUsT0FBZTtJQUN2RSxLQUFLLE1BQU0sR0FBRyxJQUFJLENBQUMsT0FBTyxFQUFFLE9BQU8sQ0FBQyxFQUFFO1FBQ3BDLElBQUEsNEJBQWdCLEVBQUMsT0FBTyxHQUFHLElBQUksUUFBUSxFQUFFLDRCQUE0QixDQUFDLENBQUM7S0FDeEU7SUFDRCxPQUFPLENBQ0wsT0FBTyxDQUFDLGlCQUFpQixFQUFFLENBQUMsSUFBSSxFQUFFLElBQUksT0FBTyxDQUFDLGlCQUFpQixFQUFFLENBQUMsSUFBSSxFQUFFLENBQ3pFLENBQUM7QUFDSixDQUFDO0FBUEQsNERBT0M7QUFFRCxTQUFnQixZQUFZLENBQzFCLE9BQWUsRUFDZixPQUFlLEVBQ2YsT0FBa0M7SUFFbEMsS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FHLENBQUMsZ0JBQWdCLEdBQUcsZ0JBQWdCLENBQUMsQ0FBQyxHQUFHLGdCQUFnQixDQUFDO1lBQ3BFLGNBQWMsQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLENBQUM7U0FDcEM7UUFDRCxPQUFPLE1BQU0sQ0FBQyxJQUFJLENBQUMsY0FBYyxDQUFDLENBQUMsUUFBUSxDQUFDLE9BQU8sQ0FBQyxDQUFDO0tBQ3REO1NBQU07UUFDTCxNQUFNLElBQUksc0JBQVUsQ0FBQyxzQkFBc0IsQ0FBQyxDQUFDO0tBQzlDO0FBQ0gsQ0FBQztBQXRCRCxvREFzQkM7QUFFRCxTQUFnQixTQUFTLENBQUMsS0FBVTtJQUNsQyxPQUFPLEtBQUssS0FBSyxJQUFJLElBQUksS0FBSyxLQUFLLFNBQVMsQ0FBQztBQUMvQyxDQUFDO0FBRkQsOEJBRUMifQ== |
@@ -0,1 +1,10 @@ | ||
## [1.8.1](https://github.com/bscotch/favro-sdk/compare/v1.8.0...v1.8.1) (2021-09-27) | ||
### Bug Fixes | ||
* Requests with 'undefined' values in query params send 'undefined' as a string, breaking some requests. ([7e69623](https://github.com/bscotch/favro-sdk/commit/7e696236a55bdb5b196c1338bc6435f0e47348b4)) | ||
# [1.8.0](https://github.com/bscotch/favro-sdk/compare/v1.7.0...v1.8.0) (2021-09-27) | ||
@@ -2,0 +11,0 @@ |
@@ -15,3 +15,3 @@ { | ||
], | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"engines": { | ||
@@ -18,0 +18,0 @@ "node": ">=14" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
402720
4982