Skip to content

Commit 2beb002

Browse files
authored
fix(sdk): Fix imports (#490)
1 parent 3ff973f commit 2beb002

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sdk/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
export { IotaNamesClient } from './iota-names-client.js';
66
export { IotaNamesTransaction } from './iota-names-transaction.js';
7-
export type { IotaNamesClientConfig, NameRecord } from './types';
7+
export type { IotaNamesClientConfig, NameRecord } from './types.js';
88
export { ALLOWED_METADATA, MIN_LABEL_SIZE, GRACE_PERIOD_MS, packages } from './constants.js';
99
export {
1010
isSubname,
@@ -16,5 +16,5 @@ export {
1616
getRenewalPricelistConfigType,
1717
getNameRegistrationType,
1818
getSubnameRegistrationType,
19-
} from './helpers';
20-
export { isValidIotaName, validateIotaName, normalizeIotaName } from './utils';
19+
} from './helpers.js';
20+
export { isValidIotaName, validateIotaName, normalizeIotaName } from './utils.js';

sdk/src/iota-names-transaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { IOTA_CLOCK_OBJECT_ID } from '@iota/iota-sdk/utils';
1313
import { ALLOWED_METADATA } from './constants.js';
1414
import { isNestedSubname, isSubname } from './helpers.js';
1515
import type { IotaNamesClient } from './iota-names-client.js';
16-
import type { ReceiptParams, RegistrationParams, RenewalParams } from './types';
16+
import type { ReceiptParams, RegistrationParams, RenewalParams } from './types.js';
1717
import { isValidIotaName, normalizeIotaName } from './utils.js';
1818

1919
export class IotaNamesTransaction {

0 commit comments

Comments
 (0)