@shakerquiz/utilities 0.5.203 → 0.5.204

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@shakerquiz/utilities",
4
- "version": "0.5.203",
4
+ "version": "0.5.204",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -29,7 +29,7 @@ const ChatappVersionShape = Object.freeze({
29
29
  })
30
30
 
31
31
  /** @returns {keyof typeof Version | 'Unknown'} */
32
- export const inferChatappVersion = Object.freeze(value =>
32
+ export const inferVersion = Object.freeze(value =>
33
33
  ValueChatappVersion[value?.chatapp_legacy]
34
34
  ?? ValueChatappVersion[value]
35
35
  ?? Version[value]
@@ -37,7 +37,7 @@ export const inferChatappVersion = Object.freeze(value =>
37
37
  )
38
38
 
39
39
  /** @returns {typeof ChatappVersionShape[keyof typeof ChatappVersionShape] | { chatapp_legacy: null }} */
40
- export const inferChatappVersionShape = Object.freeze(value =>
40
+ export const inferVersionShape = Object.freeze(value =>
41
41
  ChatappVersionShape[value]
42
42
  ?? { chatapp_legacy: null }
43
43
  )