Skip to content

Commit

Permalink
Fix issue with versions
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Feb 15, 2024
1 parent 3bb0432 commit 0d13cb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ async function compile(): Promise<void> {
const latestHooksVersion = await getLatestMetadataDocVersion('hooks')
const latestSignerVersion = await getLatestMetadataDocVersion('signer')
const latestWidgetVersion = await getLatestMetadataDocVersion('widget')
const latestPartnerFeeVersion = await getLatestMetadataDocVersion('partnerFee')

const additionalTypesExport = `
export * as latest from './${latest}'
Expand All @@ -76,7 +77,7 @@ export const LATEST_UTM_METADATA_VERSION = '${extractSemver(latestUtmVersion)}'
export const LATEST_HOOKS_METADATA_VERSION = '${extractSemver(latestHooksVersion)}'
export const LATEST_SIGNER_METADATA_VERSION = '${extractSemver(latestSignerVersion)}'
export const LATEST_WIDGET_METADATA_VERSION = '${extractSemver(latestWidgetVersion)}'
export const LATEST_PARTNER_FEE_METADATA_VERSION = '${extractSemver(latestWidgetVersion)}'
export const LATEST_PARTNER_FEE_METADATA_VERSION = '${extractSemver(latestPartnerFeeVersion)}'
export type LatestAppDataDocVersion = ${latestExport}.AppDataRootSchema
export type AnyAppDataDocVersion = ${allVersions}
Expand Down

0 comments on commit 0d13cb8

Please sign in to comment.