Skip to content

Commit c86c5e7

Browse files
committed
fix build wip
1 parent 88c4b72 commit c86c5e7

File tree

17 files changed

+21
-32
lines changed

17 files changed

+21
-32
lines changed

packages/shared/src/internal/clerk-js/__tests__/completeSignUpFlow.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import type { SignUpField, SignUpResource } from '@clerk/shared/types';
21
import { beforeEach, describe, expect, it, vi } from 'vitest';
32

3+
import type { SignUpField, SignUpResource } from '../../../types';
44
import { completeSignUpFlow } from '../completeSignUpFlow';
55

66
const mockHandleComplete = vi.fn();

packages/shared/src/internal/clerk-js/__tests__/passkeys.test.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1+
import { describe, expect, it } from 'vitest';
2+
13
import type {
2-
PublicKeyCredentialCreationOptionsJSON,
3-
PublicKeyCredentialRequestOptionsJSON,
44
PublicKeyCredentialWithAuthenticatorAssertionResponse,
55
PublicKeyCredentialWithAuthenticatorAttestationResponse,
6-
} from '@clerk/shared/types';
7-
import { describe, expect, it } from 'vitest';
8-
6+
} from '../../../types';
97
import {
108
bufferToBase64Url,
119
convertJSONToPublicKeyCreateOptions,

packages/shared/src/internal/clerk-js/__tests__/querystring.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { camelToSnake } from '@clerk/shared/underscore';
21
import { describe, expect, it } from 'vitest';
32

3+
import { camelToSnake } from '../../../underscore';
44
import { getQueryParams, stringifyQueryParams } from '../querystring';
55

66
describe('getQueryParams(string)', () => {

packages/shared/src/internal/clerk-js/__tests__/redirectUrls.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import type { RedirectOptions } from '@clerk/shared/types';
2-
import { snakeToCamel } from '@clerk/shared/underscore';
31
import { afterAll, beforeEach, describe, expect, it } from 'vitest';
42

3+
import type { RedirectOptions } from '../../../types';
54
import { RedirectUrls } from '../redirectUrls';
65

76
const oldWindowLocation = window.location;

packages/shared/src/internal/clerk-js/__tests__/url.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { logger } from '@clerk/shared/logger';
2-
import type { SignUpResource } from '@clerk/shared/types';
31
import { afterAll, beforeEach, describe, expect, it, test, vi } from 'vitest';
42

3+
import { logger } from '../../../logger';
4+
import type { SignUpResource } from '../../../types';
55
import {
66
buildURL,
77
createAllowedRedirectOrigins,

packages/shared/src/internal/clerk-js/completeSignUpFlow.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import type { SignUpResource } from '@clerk/shared/types';
2-
1+
import type { SignUpResource } from '../../../types';
32
import { forwardClerkQueryParams } from './queryParams';
43

54
type CompleteSignUpFlowProps = {

packages/shared/src/internal/clerk-js/componentGuards.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Clerk, ClerkOptions, EnvironmentResource } from '@clerk/shared/types';
1+
import type { Clerk, ClerkOptions, EnvironmentResource } from '../../../types';
22

33
export type ComponentGuard = (
44
clerk: Clerk,

packages/shared/src/internal/clerk-js/injectedWeb3Providers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { MetamaskWeb3Provider, OKXWalletWeb3Provider } from '@clerk/shared/types';
1+
import type { MetamaskWeb3Provider, OKXWalletWeb3Provider } from '../../../types';
22

33
//https://eips.ethereum.org/EIPS/eip-6963
44

packages/shared/src/internal/clerk-js/passkeys.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type {
66
PublicKeyCredentialRequestOptionsWithoutExtensions,
77
PublicKeyCredentialWithAuthenticatorAssertionResponse,
88
PublicKeyCredentialWithAuthenticatorAttestationResponse,
9-
} from '@clerk/shared/types';
9+
} from '../../../types';
1010

1111
import type { ClerkRuntimeError } from '../../error';
1212
import { ClerkWebAuthnError } from '../../error';

packages/shared/src/internal/clerk-js/passwords/complexity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { PasswordSettingsData } from '@clerk/shared/types';
1+
import type { PasswordSettingsData } from '../../../types';
22

33
export type ComplexityErrors = {
44
[key in keyof Partial<Omit<PasswordSettingsData, 'disable_hibp' | 'min_zxcvbn_strength' | 'show_zxcvbn'>>]?: boolean;

0 commit comments

Comments
 (0)