locize 4.0.13 → 4.0.14

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 4.0.14
2
+
3
+ - fix typescript types for startStandalone
4
+
1
5
  ### 4.0.13
2
6
 
3
7
  - update i18next-subliminal
@@ -20,6 +20,8 @@ export const locizePlugin: LocizePlugin
20
20
  export function locizeEditorPlugin(opt?: {
21
21
  qsProp?: string
22
22
  show?: boolean
23
+ projectId?: string
24
+ version?: string
23
25
  }): LocizePlugin
24
26
 
25
27
  /**
@@ -35,4 +37,9 @@ export function addLocizeSavedHandler(fn: (data: any) => void): void
35
37
  /**
36
38
  * If used without i18next.
37
39
  */
38
- export function startStandalone(): void
40
+ export function startStandalone(opt?: {
41
+ qsProp?: string
42
+ show?: boolean
43
+ projectId?: string
44
+ version?: string
45
+ }): void
@@ -20,6 +20,8 @@ export const locizePlugin: LocizePlugin
20
20
  export function locizeEditorPlugin(opt?: {
21
21
  qsProp?: string
22
22
  show?: boolean
23
+ projectId?: string
24
+ version?: string
23
25
  }): LocizePlugin
24
26
 
25
27
  /**
@@ -35,4 +37,9 @@ export function addLocizeSavedHandler(fn: (data: any) => void): void
35
37
  /**
36
38
  * If used without i18next.
37
39
  */
38
- export function startStandalone(): void
40
+ export function startStandalone(opt?: {
41
+ qsProp?: string
42
+ show?: boolean
43
+ projectId?: string
44
+ version?: string
45
+ }): void
package/index.d.ts CHANGED
@@ -20,6 +20,8 @@ export const locizePlugin: LocizePlugin
20
20
  export function locizeEditorPlugin(opt?: {
21
21
  qsProp?: string
22
22
  show?: boolean
23
+ projectId?: string
24
+ version?: string
23
25
  }): LocizePlugin
24
26
 
25
27
  /**
@@ -35,4 +37,9 @@ export function addLocizeSavedHandler(fn: (data: any) => void): void
35
37
  /**
36
38
  * If used without i18next.
37
39
  */
38
- export function startStandalone(): void
40
+ export function startStandalone(opt?: {
41
+ qsProp?: string
42
+ show?: boolean
43
+ projectId?: string
44
+ version?: string
45
+ }): void
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "locize",
3
- "version": "4.0.13",
3
+ "version": "4.0.14",
4
4
  "description": "This package adds the incontext editor to your i18next setup.",
5
5
  "keywords": [
6
6
  "i18next",