Skip to content

Commit a12383b

Browse files
author
AxT-Team Bot
committed
fix: ensure ESM imports resolve
1 parent db393ae commit a12383b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "uapi-sdk-typescript",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"type": "module",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import axios, { AxiosInstance } from 'axios'
2-
import { UapiError, mapError } from './errors'
2+
import { UapiError, mapError } from './errors.js'
33

44
type Config = { baseURL: string; token?: string; timeout?: number }
55

0 commit comments

Comments
 (0)