From a624827ca104ad95a22bd24f1a5ff227ab58fa03 Mon Sep 17 00:00:00 2001 From: Maxime <52084503+Max-3-7@users.noreply.github.com> Date: Wed, 19 Jun 2024 18:07:16 +0200 Subject: [PATCH 1/2] fix sdk-v2 with Vite --- packages/v2/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}\"", From d061fba43522c72ed92a5c34e069ec8303ed957a Mon Sep 17 00:00:00 2001 From: Maxime <52084503+Max-3-7@users.noreply.github.com> Date: Wed, 19 Jun 2024 18:08:00 +0200 Subject: [PATCH 2/2] changeset --- .changeset/shy-chefs-nail.md | 5 +++++ 1 file changed, 5 insertions(+) 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