@scm-js/plugin-api 1.59.0 → 1.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +9 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -52,9 +52,9 @@ export type CombineMode =
52
52
  *
53
53
  * StarEdit wrote the string table in whatever code page Windows was running — EUC-KR
54
54
  * (CP949) on a Korean machine, Shift_JIS on a Japanese one, Windows-1252 nearly everywhere
55
- * else — and 1.16.1 still reads it that way. Remastered writes UTF-8 and, reading, tries
56
- * UTF-8 first and falls back to the client's legacy code page when the bytes are not
57
- * valid UTF-8. The file itself carries no note of which was used, so a table is *guessed*
55
+ * else — and 1.16.1 still reads it that way. Remastered writes UTF-8 and, reading, decides
56
+ * per string: UTF-8 when the bytes are valid UTF-8, else Korean when they pass its CP949
57
+ * test, else Windows-1252 (`remasteredReadsAsKorean`). The file itself carries no note of which was used, so a table is *guessed*
58
58
  * on open (`detectTextEncoding`) and the guess is a setting the user can correct
59
59
  * (Scenario ▸ Map Revision).
60
60
  *
@@ -2326,6 +2326,12 @@ export interface Preferences {
2326
2326
  * command not here has the keys it ships with.
2327
2327
  */
2328
2328
  hotkeys: HotkeyOverrides;
2329
+ /**
2330
+ * The hosted editor's count of which features are used (`services/usage.ts`), and with it
2331
+ * the site's visit count for this browser. On by default; only shown, and only does
2332
+ * anything, on scmjs.dev.
2333
+ */
2334
+ counting: boolean;
2329
2335
  /**
2330
2336
  * Which cells the status bar shows (Preferences ▸ View). The message, the symmetry badge
2331
2337
  * while a mode is on, and the plugins' items always show.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scm-js/plugin-api",
3
- "version": "1.59.0",
3
+ "version": "1.61.0",
4
4
  "description": "Type declarations for the scmJS plugin API",
5
5
  "license": "MIT",
6
6
  "types": "index.d.ts",