Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/moo-391-fix-morpho-graphql-schema.md

This file was deleted.

6 changes: 6 additions & 0 deletions src/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @moonwell-fi/moonwell-sdk

## 0.20.1

### Patch Changes

- [#303](https://github.com/moonwell-fi/moonwell-sdk/pull/303) [`59d540a511cd7eb14486f8aafdf7f898d994be90`](https://github.com/moonwell-fi/moonwell-sdk/commit/59d540a511cd7eb14486f8aafdf7f898d994be90) Thanks [@lyoungblood](https://github.com/lyoungblood)! - Fix Morpho GraphQL queries broken by upstream API schema changes. The Morpho API renamed `Market.uniqueKey` to `marketId` and replaced `PublicAllocatorSharedLiquidity.allocationMarket` with `withdrawMarket`, causing the rewards and shared-liquidity queries to fail with 400 errors that were silently swallowed — every Morpho vault reported empty rewards (MOO-391). Also migrates vault rewards to `state.allRewards` and drops the deprecated `amountPerSuppliedToken`/`amountPerBorrowedToken` fields ahead of their removal (reward token amounts are now reported as 0 since the API no longer exposes them), and logs Morpho GraphQL errors in non-browser environments so failures surface in server logs.

## 0.20.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion src/errors/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = "0.20.0";
export const version = "0.20.1";
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@moonwell-fi/moonwell-sdk",
"description": "TypeScript Interface for Moonwell",
"version": "0.20.0",
"version": "0.20.1",
"type": "module",
"main": "./_cjs/index.js",
"module": "./_esm/index.js",
Expand Down