Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/token-kiosk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@map-colonies/js-logger": "^2.0.0",
"@map-colonies/openapi-express-viewer": "^4.0.0",
"@map-colonies/read-pkg": "^1.0.0",
"@map-colonies/schemas": "^1.16.0",
"@map-colonies/schemas": "^1.16.1",
"@map-colonies/telemetry": "^10.0.1",
"@opentelemetry/api": "^1.9.0",
"async-cache-dedupe": "^2.2.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/token-kiosk/src/common/config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { type ConfigInstance, config } from '@map-colonies/config';
import { infraOpalaTokenKioskV1, type infraOpalaTokenKioskV1Type } from '@map-colonies/schemas';
import { infraOpalaTokenKioskV2, type infraOpalaTokenKioskV2Type } from '@map-colonies/schemas';

// Choose here the type of the config instance and import this type from the entire application
type ConfigType = ConfigInstance<infraOpalaTokenKioskV1Type>;
type ConfigType = ConfigInstance<infraOpalaTokenKioskV2Type>;

let configInstance: ConfigType | undefined;

Expand All @@ -13,7 +13,7 @@ let configInstance: ConfigType | undefined;
*/
async function initConfig(offlineMode?: boolean): Promise<void> {
configInstance = await config({
schema: infraOpalaTokenKioskV1,
schema: infraOpalaTokenKioskV2,
offlineMode,
});
}
Expand Down
Loading