firefly-compiler 0.4.76 → 0.4.77

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.
@@ -65,7 +65,7 @@ extend self: HttpClient {
65
65
  const options = {headers: {}, signal: $task.controller.signal};
66
66
  options.method = method_;
67
67
  headers_.forEach(pair => {options.headers[pair.first_] = pair.second_});
68
- if(body_.value_) options.body = body_.value_;
68
+ if(payload_.value_) options.body = payload_.value_;
69
69
  if(options_.redirect_.RedirectError) options.redirect = "error";
70
70
  else if(options_.redirect_.RedirectManual) options.redirect = "manual";
71
71
  if(options_.referrer_.value_) options.referrer = options_.referrer_.value_;
@@ -178,7 +178,7 @@ export async function HttpClient_fetch$(self_, method_, url_, headers_ = [], pay
178
178
  const options = {headers: {}, signal: $task.controller.signal};
179
179
  options.method = method_;
180
180
  headers_.forEach(pair => {options.headers[pair.first_] = pair.second_});
181
- if(body_.value_) options.body = body_.value_;
181
+ if(payload_.value_) options.body = payload_.value_;
182
182
  if(options_.redirect_.RedirectError) options.redirect = "error";
183
183
  else if(options_.redirect_.RedirectManual) options.redirect = "manual";
184
184
  if(options_.referrer_.value_) options.referrer = options_.referrer_.value_;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly compiler",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.4.76",
7
+ "version": "0.4.77",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"
@@ -4,7 +4,7 @@
4
4
  "description": "Firefly language support",
5
5
  "author": "Firefly team",
6
6
  "license": "MIT",
7
- "version": "0.4.76",
7
+ "version": "0.4.77",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/Ahnfelt/firefly-boot"