Skip to content

Commit 1cd1cc0

Browse files
committed
add .js
1 parent af6de3a commit 1cd1cc0

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

.changeset/hot-tools-heal.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@phantom/wallet-sdk-early-access": patch
3+
---
4+
5+
remove type:module

.changeset/orange-bears-tan.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@phantom/wallet-sdk-early-access": patch
3+
---
4+
5+
add .js

packages/sdk/package.json

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
"import": "./dist/index.js"
88
}
99
},
10-
"main": "dist/index.js",
11-
"types": "dist/index.d.ts",
1210
"packageManager": "[email protected]",
1311
"scripts": {
1412
"build": "tsc --build"

packages/sdk/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SDK_URL } from "./constants";
1+
import { SDK_URL } from "./constants.js";
22

33
export function createPhantom() {
44
const container = document.head || document.documentElement;

0 commit comments

Comments
 (0)