• Migrate data in tokens that is no longer used.

    Parameters

    • tokenData: object

      Token data

    • Optionaloptions: {
          marker: undefined | boolean;
          token: undefined | TokenDocument;
      }

      Additional options

      • marker: undefined | boolean

        Add migration marker

      • token: undefined | TokenDocument

        Token document

    Returns Promise<{
        detectionModes: any[];
        flags.pf1.-=customVisionRules: any;
        flags.pf1.-=disableLowLight: any;
        flags.pf1.-=lowLightVision: any;
        flags.pf1.-=lowLightVisionMultiplier: any;
        flags.pf1.-=lowLightVisionMultiplierBright: any;
        flags.pf1.-=staticSize: any;
        flags.pf1.migration: any;
        sight.-=attenuation: any;
        sight.-=brightness: any;
        sight.-=contrast: any;
        sight.-=saturation: any;
        sight.range: number;
        sight.visionMode: string;
    }>