Skip to content

Commit

Permalink
bump to node20
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-willis committed Jan 20, 2025
1 parent 322eb91 commit 77143fd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- name: Install packages
run: npm install
- name: Run test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- run: npm install
- run: npm run build
- uses: JS-DevTools/npm-publish@v1
Expand Down
13 changes: 8 additions & 5 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,17 @@ export class Client {
) {
this.fileDescriptorCache = new Map();
this.metadata = metadata || new Metadata();
const rsi = services.ServerReflectionService.serverReflectionInfo;

const CustomServerReflectionClient = makeGenericClientConstructor(
{
serverReflectionInfo: {
...rsi,
path: path + rsi.path,
},
serverReflectionInfo: Object.assign(
{},
services.ServerReflectionService.serverReflectionInfo,
{
path:
path + services.ServerReflectionService.serverReflectionInfo.path,
}
),
},
''
);
Expand Down

0 comments on commit 77143fd

Please sign in to comment.