Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
pre-alpha: fix build and RELEASE (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
asafshen authored Mar 25, 2024
1 parent e813666 commit 82783f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/server/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Replaced in build time
declare const BUILD_VERSION: string;

export const DESCOPE_SESSION_HEADER = 'x-descope-session';

export const baseHeaders = {
Expand Down
2 changes: 1 addition & 1 deletion src/server/sdk.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import descopeSdk from '@descope/node-sdk';
import { baseHeaders } from '../shared/constants';
import { baseHeaders } from './constants';

type Sdk = ReturnType<typeof descopeSdk>;
type CreateSdkParams = Omit<Parameters<typeof descopeSdk>[0], 'projectId'> & {
Expand Down

0 comments on commit 82783f2

Please sign in to comment.