Fix query parameters for connect
This commit is contained in:
parent
c10f15ae61
commit
96d6195f8d
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@codex-storage/sdk-js",
|
||||
"version": "0.0.12",
|
||||
"version": "0.0.13",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@codex-storage/sdk-js",
|
||||
"version": "0.0.12",
|
||||
"version": "0.0.13",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"valibot": "^0.32.0"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@codex-storage/sdk-js",
|
||||
"version": "0.0.12",
|
||||
"version": "0.0.13",
|
||||
"description": "Codex SDK to interact with the Codex decentralized storage network.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -22,7 +22,7 @@ export class CodexNode {
|
|||
}
|
||||
|
||||
const url =
|
||||
this.url + Api.config.prefix + `/connect/${peerId}?` + addrs.toString();
|
||||
this.url + Api.config.prefix + `/connect/${peerId}?` + params.toString();
|
||||
|
||||
return Fetch.safe(url, {
|
||||
method: "GET",
|
||||
|
|
Loading…
Reference in New Issue