Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge committed Jan 3, 2025
1 parent a739c6f commit 60bce34
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/uploadthing/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
import * as pkgJson from "../package.json";
import type { Deferred } from "./_internal/deferred";
import { createDeferred } from "./_internal/deferred";
import { uploadFile, uploadFilesInternal } from "./_internal/upload.browser";
import { uploadFile, uploadFilesInternal } from "./_internal/upload-browser";
import { createUTReporter } from "./_internal/ut-reporter";
import type {
ClientUploadedFileData,
Expand Down
2 changes: 1 addition & 1 deletion packages/uploadthing/src/sdk/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import type {
} from "@uploadthing/shared";

import { IngestUrl, UTToken } from "../_internal/config";
import { uploadWithoutProgress } from "../_internal/upload.server";
import { uploadWithoutProgress } from "../_internal/upload-server";
import type { UploadedFileData } from "../types";
import type { FileEsque, UrlWithOverrides } from "./types";
import { UTFile } from "./ut-file";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ import { afterEach, beforeEach, describe, expect } from "vitest";

import { UploadThingError } from "@uploadthing/shared";

import { configProvider, IngestUrl, IsDevelopment, UTToken } from "./config";
import { ParsedToken, UploadThingToken } from "./shared-schemas";
import {
configProvider,
IngestUrl,
IsDevelopment,
UTToken,
} from "../src/_internal/config";
import { ParsedToken, UploadThingToken } from "../src/_internal/shared-schemas";

const app1TokenData = {
apiKey: Redacted.make("sk_foo"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { beforeEach, describe, expect, vi } from "vitest";

import { signPayload } from "@uploadthing/shared";

import { handleJsonLineStream } from "./jsonl";
import { MetadataFetchStreamPart } from "./shared-schemas";
import { handleJsonLineStream } from "../src/_internal/jsonl";
import { MetadataFetchStreamPart } from "../src/_internal/shared-schemas";

const te = new TextEncoder();

Expand Down

0 comments on commit 60bce34

Please sign in to comment.