@onflow/transport-http
Advanced tools
Comparing version 1.10.0-alpha.2 to 1.10.0-alpha.3
# @onflow/transport-http | ||
## 1.10.0-alpha.3 | ||
### Patch Changes | ||
- [#1830](https://github.com/onflow/fcl-js/pull/1830) [`72e8f796`](https://github.com/onflow/fcl-js/commit/72e8f796caf8f62a829cba3641e395c20466547a) Thanks [@jribbink](https://github.com/jribbink)! - Use URL to join httpRequest hostname to path instead of string manipulation (allows for trailing slashes/less error prone) | ||
- [#1832](https://github.com/onflow/fcl-js/pull/1832) [`037dc2f9`](https://github.com/onflow/fcl-js/commit/037dc2f9db9c22185e3c048c65e23e0efa70085f) Thanks [@jribbink](https://github.com/jribbink)! - Update access modifiers to support Cadence 1.0 | ||
## 1.10.0-alpha.2 | ||
@@ -4,0 +12,0 @@ |
@@ -110,3 +110,3 @@ 'use strict'; | ||
}, timeoutLimit); | ||
return fetchTransport__default["default"](`${hostname}${path}`, { | ||
return fetchTransport__default["default"](new URL(path, hostname).toString(), { | ||
method: method, | ||
@@ -113,0 +113,0 @@ body: bodyJSON, |
@@ -82,3 +82,3 @@ import { invariant } from '@onflow/util-invariant'; | ||
}, timeoutLimit); | ||
return fetchTransport(`${hostname}${path}`, { | ||
return fetchTransport(new URL(path, hostname).toString(), { | ||
method: method, | ||
@@ -85,0 +85,0 @@ body: bodyJSON, |
@@ -104,3 +104,3 @@ (function (global, factory) { | ||
}, timeoutLimit); | ||
return fetchTransport__default["default"](`${hostname}${path}`, { | ||
return fetchTransport__default["default"](new URL(path, hostname).toString(), { | ||
method: method, | ||
@@ -107,0 +107,0 @@ body: bodyJSON, |
{ | ||
"name": "@onflow/transport-http", | ||
"version": "1.10.0-alpha.2", | ||
"version": "1.10.0-alpha.3", | ||
"description": "Flow SDK HTTP Transport Module", | ||
@@ -18,3 +18,3 @@ "license": "Apache-2.0", | ||
"@onflow/rlp": "1.2.2-alpha.2", | ||
"@onflow/sdk": "1.4.0-alpha.3", | ||
"@onflow/sdk": "1.4.0-alpha.4", | ||
"@onflow/types": "1.3.0-alpha.2", | ||
@@ -21,0 +21,0 @@ "jest": "^29.5.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
416781