diff --git a/package.json b/package.json index de3cf11..5342384 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-fsrs", - "version": "4.1.2", + "version": "4.1.3", "description": "ts-fsrs is a versatile package based on TypeScript that supports ES modules, CommonJS, and UMD. It implements the Free Spaced Repetition Scheduler (FSRS) algorithm, enabling developers to integrate FSRS into their flashcard applications to enhance the user learning experience.", "main": "dist/index.cjs", "umd": "dist/index.umd.js", diff --git a/src/fsrs/default.ts b/src/fsrs/default.ts index 7b8ec90..3b6a06f 100644 --- a/src/fsrs/default.ts +++ b/src/fsrs/default.ts @@ -9,9 +9,9 @@ export const default_w = [ 0.6567, ] export const default_enable_fuzz = false -export const defualt_enable_short_term = true +export const default_enable_short_term = true -export const FSRSVersion: string = 'v4.1.2 using FSRS V5.0' +export const FSRSVersion: string = 'v4.1.3 using FSRS V5.0' export const generatorParameters = ( props?: Partial @@ -30,7 +30,7 @@ export const generatorParameters = ( maximum_interval: props?.maximum_interval || default_maximum_interval, w: w, enable_fuzz: props?.enable_fuzz ?? default_enable_fuzz, - enable_short_term: props?.enable_short_term ?? defualt_enable_short_term, + enable_short_term: props?.enable_short_term ?? default_enable_short_term, } satisfies FSRSParameters }