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 f4964e7
Show file tree
Hide file tree
Showing 3 changed files with 6 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
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 f4964e7

Please sign in to comment.