generaltranslation 1.1.27 → 1.1.28

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.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -24,14 +24,14 @@ export default class GT {
24
24
  }
25
25
 
26
26
  // Prompt I18N
27
- translatePrompt = async (prompt, language) => {
27
+ async translatePrompt(prompt, language) {
28
28
  return await _translatePrompt({
29
29
  content: prompt, language: language, config: this
30
30
  });
31
31
  }
32
32
 
33
33
  // Site I18N
34
- createI18N = async ({ projectID, html, strings, defaultLanguage, userLanguage }) => {
34
+ async createI18N({ projectID, html, strings, defaultLanguage, userLanguage }) {
35
35
  return await _createI18N({
36
36
  projectID: projectID,
37
37
  html: html,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generaltranslation",
3
- "version": "1.1.27",
3
+ "version": "1.1.28",
4
4
  "description": "A language toolkit for AI developers",
5
5
  "main": "index.js",
6
6
  "type": "module",