nextemos 3.3.5 → 3.3.7

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.
@@ -7,6 +7,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  * @returns {string} - The query string representation of the object.
8
8
  */
9
9
  const toQueryString = (obj) => {
10
+ if (Object.keys(obj).length === 0)
11
+ return '';
10
12
  const queryString = [];
11
13
  for (const key in obj) {
12
14
  if (obj.hasOwnProperty(key)) {
@@ -19,5 +19,7 @@ interface Route {
19
19
  commonPageName?: string;
20
20
  queryString?: string;
21
21
  routeParts?: RouteParts;
22
+ title?: string;
23
+ description?: string;
22
24
  }
23
25
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nextemos",
3
- "version": "3.3.5",
3
+ "version": "3.3.7",
4
4
  "description": "For helpers and hooks used in NextJS projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",