Skip to content
Merged
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
1 change: 1 addition & 0 deletions sdk/ts-compat/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
module: 'Node16',
moduleResolution: 'Node16',
types: ['node', 'jest'],
rootDir: '.',
},
},
],
Expand Down
1 change: 1 addition & 0 deletions sdk/ts-compat/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"declarationMap": true,
"sourceMap": true,
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
Expand Down
1 change: 1 addition & 0 deletions sdk/ts/jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
module: 'Node16',
moduleResolution: 'Node16',
types: ['node', 'jest'],
rootDir: '.',
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion sdk/ts/test/unit/rpc-drift.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe('TS RPC drift guards', () => {

it('keeps the TS raw RPC method surface aligned with live router registrations', () => {
const routerMethods = extractRouterHandlers(
fs.readFileSync(path.join(repoRoot, 'clearnode/api/rpc_router.go'), 'utf8')
fs.readFileSync(path.join(repoRoot, 'nitronode/api/rpc_router.go'), 'utf8')
);
const tsMethods = extractTsMethodLiterals(
fs.readFileSync(path.join(repoRoot, 'sdk/ts/src/rpc/methods.ts'), 'utf8')
Expand Down
1 change: 1 addition & 0 deletions sdk/ts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"declarationMap": true,
"sourceMap": true,
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
Expand Down
Loading