Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions npm/packages/rudag/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export {
type DagEdge,
type CriticalPath,
type RuDagOptions,
} from './dag';
} from './dag.js';

export {
DagStorage,
Expand All @@ -22,7 +22,7 @@ export {
isIndexedDBAvailable,
type StoredDag,
type DagStorageOptions,
} from './storage';
} from './storage.js';

// Version info
export const VERSION = '0.1.0';
Expand Down
4 changes: 2 additions & 2 deletions npm/packages/rudag/src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* @security Path traversal prevention via ID validation
*/

export * from './index';
export * from './index.js';

import { RuDag, MemoryStorage } from './index';
import { RuDag, MemoryStorage } from './index.js';
import { promises as fs } from 'fs';
import { join, normalize, resolve } from 'path';

Expand Down