Skip to content

Commit

Permalink
add .js
Browse files Browse the repository at this point in the history
  • Loading branch information
tian000 committed Nov 7, 2024
1 parent af6de3a commit 1cd1cc0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/hot-tools-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@phantom/wallet-sdk-early-access": patch
---

remove type:module
5 changes: 5 additions & 0 deletions .changeset/orange-bears-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@phantom/wallet-sdk-early-access": patch
---

add .js
2 changes: 0 additions & 2 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
"import": "./dist/index.js"
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"packageManager": "[email protected]",
"scripts": {
"build": "tsc --build"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SDK_URL } from "./constants";
import { SDK_URL } from "./constants.js";

export function createPhantom() {
const container = document.head || document.documentElement;
Expand Down

0 comments on commit 1cd1cc0

Please sign in to comment.