next-tinacms-azure 0.0.0-f0adfbf-20250521015212 → 0.0.0-f608f48-20250617065117

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/index.js CHANGED
@@ -118,9 +118,9 @@
118
118
  };
119
119
  }
120
120
  buildQuery(options) {
121
- const params = Object.keys(options).filter(
122
- (key) => options[key] !== "" && options[key] !== void 0
123
- ).map((key) => `${key}=${options[key]}`).join("&");
121
+ const params = Object.entries(options).filter(([_, value]) => value !== "" && value !== void 0).map(([key, value]) => {
122
+ return typeof value === "object" ? `${key}=${encodeURIComponent(JSON.stringify(value))}` : `${key}=${encodeURIComponent(String(value))}`;
123
+ }).join("&");
124
124
  return `?${params}`;
125
125
  }
126
126
  }
package/dist/index.mjs CHANGED
@@ -115,9 +115,9 @@ class AzureMediaStore {
115
115
  };
116
116
  }
117
117
  buildQuery(options) {
118
- const params = Object.keys(options).filter(
119
- (key) => options[key] !== "" && options[key] !== void 0
120
- ).map((key) => `${key}=${options[key]}`).join("&");
118
+ const params = Object.entries(options).filter(([_, value]) => value !== "" && value !== void 0).map(([key, value]) => {
119
+ return typeof value === "object" ? `${key}=${encodeURIComponent(JSON.stringify(value))}` : `${key}=${encodeURIComponent(String(value))}`;
120
+ }).join("&");
121
121
  return `?${params}`;
122
122
  }
123
123
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-tinacms-azure",
3
- "version": "0.0.0-f0adfbf-20250521015212",
3
+ "version": "0.0.0-f608f48-20250617065117",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -38,12 +38,12 @@
38
38
  "react": "^18.3.1",
39
39
  "react-dom": "^18.3.1",
40
40
  "typescript": "^5.7.3",
41
- "@tinacms/scripts": "0.0.0-f0adfbf-20250521015212",
42
- "tinacms": "0.0.0-f0adfbf-20250521015212"
41
+ "@tinacms/scripts": "0.0.0-f608f48-20250617065117",
42
+ "tinacms": "0.0.0-f608f48-20250617065117"
43
43
  },
44
44
  "peerDependencies": {
45
- "tinacms": "0.0.0-f0adfbf-20250521015212",
46
- "@tinacms/auth": "1.0.12"
45
+ "tinacms": "0.0.0-f608f48-20250617065117",
46
+ "@tinacms/auth": "0.0.0-f608f48-20250617065117"
47
47
  },
48
48
  "publishConfig": {
49
49
  "registry": "https://registry.npmjs.org"