nextemos 3.3.4 → 3.3.5
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/helpers/index.d.ts
CHANGED
package/dist/helpers/index.js
CHANGED
|
@@ -3,9 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.toIntArray = exports.fetchRequest = void 0;
|
|
6
|
+
exports.toQueryString = exports.toIntArray = exports.fetchRequest = void 0;
|
|
7
7
|
/// helpers
|
|
8
8
|
var fetchRequest_1 = require("./fetchRequest");
|
|
9
9
|
Object.defineProperty(exports, "fetchRequest", { enumerable: true, get: function () { return __importDefault(fetchRequest_1).default; } });
|
|
10
10
|
var toIntArray_1 = require("./toIntArray");
|
|
11
11
|
Object.defineProperty(exports, "toIntArray", { enumerable: true, get: function () { return __importDefault(toIntArray_1).default; } });
|
|
12
|
+
var toQueryString_1 = require("./toQueryString");
|
|
13
|
+
Object.defineProperty(exports, "toQueryString", { enumerable: true, get: function () { return __importDefault(toQueryString_1).default; } });
|
|
@@ -4,4 +4,5 @@
|
|
|
4
4
|
* @param obj - The object to be converted into a query string.
|
|
5
5
|
* @returns {string} - The query string representation of the object.
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
declare const toQueryString: (obj: Record<string, any>) => string;
|
|
8
|
+
export default toQueryString;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toQueryString = void 0;
|
|
4
3
|
/**
|
|
5
4
|
* Converts a given object into a query string format.
|
|
6
5
|
*
|
|
@@ -17,4 +16,4 @@ const toQueryString = (obj) => {
|
|
|
17
16
|
}
|
|
18
17
|
return queryString.join('&');
|
|
19
18
|
};
|
|
20
|
-
exports.
|
|
19
|
+
exports.default = toQueryString;
|