Skip to content

Commit

Permalink
paima-utils: export BaseConfigWithoutDefaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed May 6, 2024
1 parent 263e791 commit 82b6ad6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/engine/paima-standalone/src/utils/input.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { FunnelFactory } from '@paima/funnel';
import paimaRuntime, { registerDocs, registerValidationErrorHandler } from '@paima/runtime';
import { ENV, GlobalConfig, doLog } from '@paima/utils';
import { ENV, GlobalConfig, doLog, BaseConfigWithoutDefaults } from '@paima/utils';
import { exec } from 'child_process';
import { createInterface } from 'readline';
import { gameSM } from '../sm.js';
Expand All @@ -17,7 +17,6 @@ import {
import { importOpenApiJson, importTsoaFunction } from './import.js';
import type { Template } from './types.js';
import RegisterRoutes, { EngineService } from '@paima/rest';
import { BaseConfigWithoutDefaults } from '@paima/utils/src/config/loading.js';

// Prompt user for input in the CLI
export const userPrompt = (query: string): Promise<string> => {
Expand Down
2 changes: 2 additions & 0 deletions packages/paima-sdk/paima-utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
defaultEvmMainNetworkName,
defaultCardanoNetworkName,
defaultMinaNetworkName,
BaseConfigWithoutDefaults,
} from './config/loading.js';

export * from './config.js';
Expand All @@ -41,6 +42,7 @@ export {
defaultEvmMainNetworkName,
defaultCardanoNetworkName,
defaultMinaNetworkName,
BaseConfigWithoutDefaults,
};

export const DEFAULT_GAS_PRICE = '61000000000' as const;
Expand Down

0 comments on commit 82b6ad6

Please sign in to comment.