|
| 1 | +diff --git a/node_modules/ipfs-http-client/src/config/profiles/list.js b/node_modules/ipfs-http-client/src/config/profiles/list.js |
| 2 | +index dbfa579..6f501f7 100644 |
| 3 | +--- a/node_modules/ipfs-http-client/src/config/profiles/list.js |
| 4 | ++++ b/node_modules/ipfs-http-client/src/config/profiles/list.js |
| 5 | +@@ -8,7 +8,7 @@ module.exports = configure(({ ky }) => { |
| 6 | + return callbackify.variadic(async (options) => { |
| 7 | + options = options || {} |
| 8 | + |
| 9 | +- const res = await ky.get('config/profile/list', { |
| 10 | ++ const res = await ky.post('config/profile/list', { |
| 11 | + timeout: options.timeout, |
| 12 | + signal: options.signal, |
| 13 | + headers: options.headers |
| 14 | +diff --git a/node_modules/ipfs-http-client/src/files-regular/get.js b/node_modules/ipfs-http-client/src/files-regular/get.js |
| 15 | +index 6c94264..68e15fe 100644 |
| 16 | +--- a/node_modules/ipfs-http-client/src/files-regular/get.js |
| 17 | ++++ b/node_modules/ipfs-http-client/src/files-regular/get.js |
| 18 | +@@ -36,7 +36,7 @@ module.exports = configure(({ ky }) => { |
| 19 | + searchParams.set('length', options.length) |
| 20 | + } |
| 21 | + |
| 22 | +- const res = await ky.get('get', { |
| 23 | ++ const res = await ky.post('get', { |
| 24 | + timeout: options.timeout, |
| 25 | + signal: options.signal, |
| 26 | + headers: options.headers, |
| 27 | +diff --git a/node_modules/ipfs-http-client/src/files-regular/ls.js b/node_modules/ipfs-http-client/src/files-regular/ls.js |
| 28 | +index 0f13f55..d81a963 100644 |
| 29 | +--- a/node_modules/ipfs-http-client/src/files-regular/ls.js |
| 30 | ++++ b/node_modules/ipfs-http-client/src/files-regular/ls.js |
| 31 | +@@ -31,7 +31,7 @@ module.exports = configure(({ ky }) => { |
| 32 | + searchParams.set('recursive', options.recursive) |
| 33 | + } |
| 34 | + |
| 35 | +- const res = await ky.get('ls', { |
| 36 | ++ const res = await ky.post('ls', { |
| 37 | + timeout: options.timeout, |
| 38 | + signal: options.signal, |
| 39 | + headers: options.headers, |
| 40 | +diff --git a/node_modules/ipfs-http-client/src/files-regular/refs-local.js b/node_modules/ipfs-http-client/src/files-regular/refs-local.js |
| 41 | +index efb8d32..afa1630 100644 |
| 42 | +--- a/node_modules/ipfs-http-client/src/files-regular/refs-local.js |
| 43 | ++++ b/node_modules/ipfs-http-client/src/files-regular/refs-local.js |
| 44 | +@@ -9,7 +9,7 @@ module.exports = configure(({ ky }) => { |
| 45 | + return async function * refsLocal (options) { |
| 46 | + options = options || {} |
| 47 | + |
| 48 | +- const res = await ky.get('refs/local', { |
| 49 | ++ const res = await ky.post('refs/local', { |
| 50 | + timeout: options.timeout, |
| 51 | + signal: options.signal, |
| 52 | + headers: options.headers |
| 53 | +diff --git a/node_modules/ipfs-http-client/src/files-regular/refs.js b/node_modules/ipfs-http-client/src/files-regular/refs.js |
| 54 | +index c6136ed..dbeb9a1 100644 |
| 55 | +--- a/node_modules/ipfs-http-client/src/files-regular/refs.js |
| 56 | ++++ b/node_modules/ipfs-http-client/src/files-regular/refs.js |
| 57 | +@@ -49,7 +49,7 @@ module.exports = configure(({ ky }) => { |
| 58 | + searchParams.append('arg', arg.toString()) |
| 59 | + } |
| 60 | + |
| 61 | +- const res = await ky.get('refs', { |
| 62 | ++ const res = await ky.post('refs', { |
| 63 | + timeout: options.timeout, |
| 64 | + signal: options.signal, |
| 65 | + headers: options.headers, |
| 66 | +diff --git a/node_modules/ipfs-http-client/src/pubsub/ls.js b/node_modules/ipfs-http-client/src/pubsub/ls.js |
| 67 | +index 177dcd4..d2bc8f6 100644 |
| 68 | +--- a/node_modules/ipfs-http-client/src/pubsub/ls.js |
| 69 | ++++ b/node_modules/ipfs-http-client/src/pubsub/ls.js |
| 70 | +@@ -6,7 +6,7 @@ module.exports = configure(({ ky }) => { |
| 71 | + return async (options) => { |
| 72 | + options = options || {} |
| 73 | + |
| 74 | +- const { Strings } = await ky.get('pubsub/ls', { |
| 75 | ++ const { Strings } = await ky.post('pubsub/ls', { |
| 76 | + timeout: options.timeout, |
| 77 | + signal: options.signal, |
| 78 | + headers: options.headers, |
| 79 | +diff --git a/node_modules/ipfs-http-client/src/pubsub/peers.js b/node_modules/ipfs-http-client/src/pubsub/peers.js |
| 80 | +index bdeca60..5fa5b24 100644 |
| 81 | +--- a/node_modules/ipfs-http-client/src/pubsub/peers.js |
| 82 | ++++ b/node_modules/ipfs-http-client/src/pubsub/peers.js |
| 83 | +@@ -14,7 +14,7 @@ module.exports = configure(({ ky }) => { |
| 84 | + const searchParams = new URLSearchParams(options.searchParams) |
| 85 | + searchParams.set('arg', topic) |
| 86 | + |
| 87 | +- const { Strings } = await ky.get('pubsub/peers', { |
| 88 | ++ const { Strings } = await ky.post('pubsub/peers', { |
| 89 | + timeout: options.timeout, |
| 90 | + signal: options.signal, |
| 91 | + headers: options.headers, |
0 commit comments