Skip to content

Commit

Permalink
rename gooey client and export
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-bot committed Aug 13, 2024
1 parent 06aedee commit 1426c3b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .fernignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Specify files that shouldn't be modified by Fern
src/PollingClient.ts
src/PollingClient.ts
src/index.ts
6 changes: 3 additions & 3 deletions src/PollingClient.ts → src/GooeyClient.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { GooeyClient } from ".";
import { GooeyClient as GooeyInternalClient } from "./Client";
import { AsyncApiResponseModelV3 } from "./api";
import { Fetcher, fetcher } from "./core";
import { FailedResponse, SuccessfulResponse } from "./core/fetcher/APIResponse";

export class PollingClient extends GooeyClient {
constructor(options: GooeyClient.Options) {
export class GooeyClient extends GooeyInternalClient {
constructor(options: GooeyInternalClient.Options) {
super({
...options,
fetcher: async (args: Fetcher.Args) => {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * as Gooey from "./api";
export { GooeyClient } from "./Client";
export { GooeyClient } from './GooeyClient';
export { GooeyEnvironment } from "./environments";
export { GooeyError, GooeyTimeoutError } from "./errors";

0 comments on commit 1426c3b

Please sign in to comment.