@akashicpay/sdk
Version:
SDK to interact with the Akashic ecosystem
9 lines • 431 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.encodeURIObject = encodeURIObject;
function encodeURIObject(queryParameters) {
return Object.entries(queryParameters)
.map(([k, v]) => { var _a; return `${k}=${encodeURIComponent((_a = v === null || v === void 0 ? void 0 : v.toString()) !== null && _a !== void 0 ? _a : '')}`; })
.join('&');
}
//# sourceMappingURL=http.js.map