From 918c2f638b51f4aaa25764b68ead2a3fded1072d Mon Sep 17 00:00:00 2001 From: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com> Date: Thu, 9 Feb 2023 14:20:01 -0800 Subject: [PATCH] chore: fix key.gen with patch needed until kubo-rpc-client fix is merged see https://github.com/ipfs/js-kubo-rpc-client/issues/143 see https://github.com/ipfs/js-kubo-rpc-client/pull/145 --- patches/kubo-rpc-client+3.0.0.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/kubo-rpc-client+3.0.0.patch diff --git a/patches/kubo-rpc-client+3.0.0.patch b/patches/kubo-rpc-client+3.0.0.patch new file mode 100644 index 000000000..f94cd6b93 --- /dev/null +++ b/patches/kubo-rpc-client+3.0.0.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/kubo-rpc-client/src/key/gen.js b/node_modules/kubo-rpc-client/src/key/gen.js +index 18eaf08..1859a95 100644 +--- a/node_modules/kubo-rpc-client/src/key/gen.js ++++ b/node_modules/kubo-rpc-client/src/key/gen.js +@@ -4,7 +4,7 @@ import { toUrlSearchParams } from '../lib/to-url-search-params.js' + + /** @type {import('ipfs-core-types/src/key').GenOptions} */ + const defaultOptions = { +- type: 'Ed25519' ++ type: 'ed25519' + } + + export const createGen = configure(api => {