Skip to content

Commit e7746ef

Browse files
committed
fix: add .js extensions to builder.ts ESM imports
Missed builder.ts in the previous fix (d0dbb08). Same issue as the other files: extensionless relative imports break webpack 5 strict ESM resolution. BTC-3110
1 parent 0dd2e40 commit e7746ef

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/wasm-dot/js/builder.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* Follows wallet-platform pattern: buildTransaction(intent, context)
66
*/
77

8-
import { BuilderNamespace } from "./wasm/wasm_dot";
9-
import { DotTransaction } from "./transaction";
10-
import type { TransactionIntent, BuildContext } from "./types";
8+
import { BuilderNamespace } from "./wasm/wasm_dot.js";
9+
import { DotTransaction } from "./transaction.js";
10+
import type { TransactionIntent, BuildContext } from "./types.js";
1111

1212
/**
1313
* Build a DOT transaction from an intent and context.
@@ -78,4 +78,4 @@ export function buildTransaction(intent: TransactionIntent, context: BuildContex
7878
}
7979

8080
// Re-export types for convenience
81-
export type { TransactionIntent, BuildContext } from "./types";
81+
export type { TransactionIntent, BuildContext } from "./types.js";

0 commit comments

Comments
 (0)