File tree Expand file tree Collapse file tree 7 files changed +17
-13
lines changed
Expand file tree Collapse file tree 7 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 3636 - name : Set up Node.js
3737 uses : actions/setup-node@v3
3838 with :
39- node-version : ' 18 '
39+ node-version : ' 22 '
4040
4141 - name : Install dependencies
4242 run : pnpm install
Original file line number Diff line number Diff line change 1- import { AsyncResponseManager } from "../shared/async.ts " ;
2- import type { AsyncResponseManagerOpts } from "../shared/async.ts " ;
1+ import { AsyncResponseManager } from "../shared/async.js " ;
2+ import type { AsyncResponseManagerOpts } from "../shared/async.js " ;
33
44export type BrowserAsyncResponseManagerOpts = {
55 apiHost : string ;
Original file line number Diff line number Diff line change 44// operations, like connecting accounts via Pipedream Connect. See the server/
55// directory for the server client.
66
7- import { BrowserAsyncResponseManager } from "./async.ts " ;
7+ import { BrowserAsyncResponseManager } from "./async.js " ;
88import {
99 AccountsRequestResponse ,
1010 BaseClient ,
1111 GetAccountOpts ,
1212 type ConnectTokenResponse ,
13- } from "../shared/index.ts " ;
14- export type * from "../shared/index.ts " ;
13+ } from "../shared/index.js " ;
14+ export type * from "../shared/index.js " ;
1515
1616/**
1717 * Options for creating a browser-side client. This is used to configure the
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export class ServerAsyncResponseManager extends AsyncResponseManager {
2626 // eslint-disable-next-line @typescript-eslint/no-empty-function
2727 global . removeEventListener = ( ) => { } ;
2828 if ( typeof adapters . WebSocket === "undefined" )
29- adapters . WebSocket = WebSocket ;
29+ adapters . WebSocket = WebSocket as unknown as typeof adapters . WebSocket ;
3030 }
3131
3232 protected override async getOpts ( ) : Promise < AsyncResponseManagerOpts > {
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ import type {
33 AsyncResponse ,
44 AsyncErrorResponse ,
55 AsyncResponseManager ,
6- } from "./async.ts " ;
6+ } from "./async.js " ;
77import type {
88 V1Component ,
99 V1DeployedComponent ,
10- } from "./component.ts " ;
11- export * from "./component.ts " ;
12- import { version as sdkVersion } from "../version.ts " ;
10+ } from "./component.js " ;
11+ export * from "./component.js " ;
12+ import { version as sdkVersion } from "../version.js " ;
1313
1414type RequestInit = globalThis . RequestInit ;
1515
Original file line number Diff line number Diff line change 1111 "moduleResolution" : " node" ,
1212 "skipLibCheck" : true ,
1313 "types" : [],
14- "allowImportingTsExtensions" : true
14+ "paths" : {
15+ "*.js" : [" *.ts" ]
16+ }
1517 },
1618 "include" : [
1719 " src/browser/**/*"
Original file line number Diff line number Diff line change 2020 " jest" ,
2121 " jest-fetch-mock"
2222 ],
23- "allowImportingTsExtensions" : true
23+ "paths" : {
24+ "*.js" : [" *.ts" ]
25+ }
2426 },
2527 "include" : [
2628 " src/server/**/*"
You can’t perform that action at this time.
0 commit comments