New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@onflow/transport-http

Package Overview
Dependencies
Maintainers
13
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onflow/transport-http - npm Package Compare versions

Comparing version 1.10.0-alpha.2 to 1.10.0-alpha.3

8

CHANGELOG.md
# @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 @@

2

dist/sdk-send-http.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc