@knowark/loggarkjs 0.3.9 → 0.3.11

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/lib/index.d.ts CHANGED
@@ -32,4 +32,6 @@ export declare class Translator {
32
32
  t(key: string, options?: object): string
33
33
  }
34
34
 
35
- export declare function t(key: string, options?: object): string
35
+ export declare function t(key: string, options?: object): string
36
+
37
+ export declare function lt(key: string, options?: object): () => string
package/lib/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  export { Logger } from './logger.js'
2
- export { Translator, t } from './translator.js'
2
+ export { Translator, t, lt } from './translator.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowark/loggarkjs",
3
- "version": "0.3.9",
3
+ "version": "0.3.11",
4
4
  "description": "Utilitarian Logging Library",
5
5
  "main": "./lib/index.js",
6
6
  "type": "module",