diff --git a/.changeset/pretty-cooks-laugh.md b/.changeset/pretty-cooks-laugh.md new file mode 100644 index 00000000..ff3fff97 --- /dev/null +++ b/.changeset/pretty-cooks-laugh.md @@ -0,0 +1,7 @@ +--- +"@ledgerhq/wallet-api-server": patch +--- + +fix: remove react exports from main index file + +A React hooks was exported, making it impossible to import the server code from the main index file in other frameworks diff --git a/packages/server/src/index.ts b/packages/server/src/index.ts index 43f7ec3e..023dca6c 100644 --- a/packages/server/src/index.ts +++ b/packages/server/src/index.ts @@ -1,3 +1,2 @@ -export * from "./types"; export * from "./WalletAPIServer"; -export * from "./react"; +export * from "./types";