From 18a19bbc43d1c71edd7ace6ea195e28c24338c81 Mon Sep 17 00:00:00 2001 From: ishiko Date: Mon, 2 Sep 2024 00:57:06 +1000 Subject: [PATCH] Fix/spelling error default (#120) * Fix/spelling error: `default_enable_short_term` * bump version to 4.1.3 --- package.json | 2 +- src/fsrs/default.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 }