glitch-javascript-sdk 3.15.0 → 4.0.0

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.
@@ -5894,7 +5894,7 @@
5894
5894
  // Prepare FormData
5895
5895
  const formData = new FormData();
5896
5896
  formData.append(filename, file);
5897
- if (Requests.community_id) {
5897
+ if (Requests.community_id && !(options === null || options === void 0 ? void 0 : options.excludeCommunityContext)) {
5898
5898
  data = Object.assign(Object.assign({}, data), { communities: [Requests.community_id] });
5899
5899
  }
5900
5900
  for (let key in data) {