From 216d65b37d47135d3f993f7240ef96a84b2852ef Mon Sep 17 00:00:00 2001 From: Maxime <52084503+Max-3-7@users.noreply.github.com> Date: Wed, 19 Jun 2024 18:11:54 +0200 Subject: [PATCH] fix sdk-v2 with Vite (#50) * fix sdk-v2 with Vite * changeset --- .changeset/shy-chefs-nail.md | 5 +++++ packages/v2/package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/shy-chefs-nail.md diff --git a/.changeset/shy-chefs-nail.md b/.changeset/shy-chefs-nail.md new file mode 100644 index 0000000..51efba7 --- /dev/null +++ b/.changeset/shy-chefs-nail.md @@ -0,0 +1,5 @@ +--- +'@traderjoe-xyz/sdk-v2': patch +--- + +fix sdk-v2 with Vite diff --git a/packages/v2/package.json b/packages/v2/package.json index 3712fa2..f7a8788 100644 --- a/packages/v2/package.json +++ b/packages/v2/package.json @@ -12,7 +12,7 @@ "traderjoe-xyz", "avalanche" ], - "module": "dist/sdk.esm.js", + "module": "dist/index.js", "scripts": { "lint": "eslint \"src/**/*.ts*\"", "lint:fix": "prettier --write \"**/*.{ts,tsx,md}\"",