import { UNVersioningStrategyType, UNWebVersioningStrategy } from '../types/shared';
import { UNSecuritySettings, UNSnapshotProtectionStrategy } from '../types/shared/securitySettings';

const WEB_SDK_RECOMMENDED_STRATEGY: UNWebVersioningStrategy = {
  type: UNVersioningStrategyType.upToNextMinor,
  major: 1,
  minor: 10,
};

const DEFAULT_SECURITY_SETTINGS: UNSecuritySettings = {
  snapshotProtectionStrategy: UNSnapshotProtectionStrategy.FullProtection
};

export const UNSDKConstants = {
  webSDKRecommendedStrategy: WEB_SDK_RECOMMENDED_STRATEGY,
  securitySettings: DEFAULT_SECURITY_SETTINGS
};
