nuxt-glorious 0.9.0 → 1.0.0-1

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/README.md CHANGED
@@ -4,11 +4,14 @@ glorious is module for nuxt 3 for fast make project
4
4
 
5
5
  ## Features
6
6
 
7
+ - Free and [open source](https://github.com/sajadhzj/nuxt-glorious).
8
+ - Ready components.
9
+ - Advanced data fetching
10
+ - handle seo
7
11
  - authenticates
8
- - amazing fetch
9
- - components
10
- - seo
11
-
12
+ - error handling
13
+ - handel loading
14
+ [📖  Read more](https://nuxt-glorious.unibas.ir/)
12
15
  ## Quick Setup
13
16
 
14
17
  Install the module to your Nuxt application with one command:
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "glorious",
3
3
  "configKey": "glorious",
4
- "version": "0.9.0"
4
+ "version": "1.0.0-1"
5
5
  }
@@ -88,12 +88,12 @@ function computeAuth() {
88
88
  return header;
89
89
  }
90
90
  function computeFormData(options) {
91
- console.log(options.body);
92
91
  const form = new FormData();
93
92
  Object.entries(options.body).forEach((item) => {
93
+ console.log(item[1]);
94
94
  if (item[1] === null)
95
95
  return;
96
- if (typeof item[1] === "object" && typeof item[1].lastModifiedDate === "undefined")
96
+ if (typeof item[1] === "object" && typeof item[1].lastModifiedDate === "undefined" && (typeof item[1].type === "undefined" && typeof item[1].size === "undefined"))
97
97
  Object.entries(item[1]).forEach((nestedItem, index) => {
98
98
  form.append(`${item[0]}[${index}]`, nestedItem[1]);
99
99
  });
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.9.0",
2
+ "version": "1.0.0-1",
3
3
  "name": "nuxt-glorious",
4
4
  "description": "This package provides many things needed by a project, including server requests and authentication, SEO and other requirements of a project.",
5
5
  "repository": "sajadhzj/nuxt-glorious",