@generaltranslation/react-core 1.5.2 → 1.5.4
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 +17 -0
- package/dist/errors-dir/createErrors.d.ts +1 -1
- package/dist/errors-dir/createErrors.d.ts.map +1 -1
- package/dist/errors.cjs.min.cjs +1 -1
- package/dist/errors.esm.min.mjs +1 -1
- package/dist/index.cjs.min.cjs +3 -3
- package/dist/index.cjs.min.cjs.map +1 -1
- package/dist/index.esm.min.mjs +1 -1
- package/dist/index.esm.min.mjs.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @generaltranslation/react-core
|
|
2
2
|
|
|
3
|
+
## 1.5.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1076](https://github.com/generaltranslation/gt/pull/1076) [`19ae4eb`](https://github.com/generaltranslation/gt/commit/19ae4eb0baf7e6f15d19f9fad384621d38d73d57) Thanks [@moss-bryophyta](https://github.com/moss-bryophyta)! - Apply style guide to error messages and warnings: remove "Please", simplify verbose phrasing, fix `in-line` → `inline`.
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`dad7824`](https://github.com/generaltranslation/gt/commit/dad78246d164b201d4fc14c89213cc04f21c8b76)]:
|
|
10
|
+
- generaltranslation@8.1.14
|
|
11
|
+
- gt-i18n@0.4.2
|
|
12
|
+
- @generaltranslation/supported-locales@2.0.47
|
|
13
|
+
|
|
14
|
+
## 1.5.3
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [#1069](https://github.com/generaltranslation/gt/pull/1069) [`ff38c7c`](https://github.com/generaltranslation/gt/commit/ff38c7c72886882ddb8851fc8173e1ba863d0078) Thanks [@ErnestM1234](https://github.com/ErnestM1234)! - feat: add new gt package
|
|
19
|
+
|
|
3
20
|
## 1.5.2
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const projectIdMissingError = "@generaltranslation/react-core Error: General Translation cloud services require a project ID! Find yours at generaltranslation.com/dashboard.";
|
|
2
2
|
export declare const devApiKeyProductionError = "@generaltranslation/react-core Error: Production environments cannot include a development api key.";
|
|
3
3
|
export declare const apiKeyInProductionError = "@generaltranslation/react-core Error: Production environments cannot include an api key.";
|
|
4
|
-
export declare const createNoAuthError = "@generaltranslation/react-core Error: Configuration is missing a projectId and/or devApiKey.
|
|
4
|
+
export declare const createNoAuthError = "@generaltranslation/react-core Error: Configuration is missing a projectId and/or devApiKey. Add these values to your environment or pass them to <GTProvider> directly.";
|
|
5
5
|
export declare const createPluralMissingError: (children: any) => string;
|
|
6
6
|
export declare const createClientSideTDictionaryCollisionError: (id: string) => string;
|
|
7
7
|
export declare const createClientSideTHydrationError: (id: string) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createErrors.d.ts","sourceRoot":"","sources":["../../src/errors-dir/createErrors.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB,mJAAoI,CAAC;AAEvK,eAAO,MAAM,wBAAwB,wGAAyF,CAAC;AAE/H,eAAO,MAAM,uBAAuB,6FAA8E,CAAC;AAEnH,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"createErrors.d.ts","sourceRoot":"","sources":["../../src/errors-dir/createErrors.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB,mJAAoI,CAAC;AAEvK,eAAO,MAAM,wBAAwB,wGAAyF,CAAC;AAE/H,eAAO,MAAM,uBAAuB,6FAA8E,CAAC;AAEnH,eAAO,MAAM,iBAAiB,6KAA8J,CAAC;AAE7L,eAAO,MAAM,wBAAwB,GAAI,UAAU,GAAG,WACwC,CAAC;AAE/F,eAAO,MAAM,yCAAyC,GAAI,IAAI,MAAM,WACoF,CAAC;AAEzJ,eAAO,MAAM,+BAA+B,GAAI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,CAAC;AAEnG,eAAO,MAAM,4BAA4B,GACvC,cAAc,MAAM,EACpB,cAAc,MAAM,WAE2M,CAAC;AAElO,eAAO,MAAM,iBAAiB,QAGqF,CAAC;AAEpH,eAAO,MAAM,+BAA+B,GAAI,SAAS,MAAM,EAAE,WAMhD,CAAC;AAElB,eAAO,MAAM,gCAAgC,2EAA4D,CAAC;AAE1G,eAAO,MAAM,8BAA8B,GACzC,iBAAiB,MAAM,EACvB,WAAW,MAAM,EACjB,cAAa,MAAqB,WAOnC,CAAC;AAEF,eAAO,MAAM,wBAAwB,wIAAyH,CAAC;AAE/J,eAAO,MAAM,yBAAyB,GACpC,SAAS,MAAM,EACf,IAAI,MAAM,GAAG,SAAS,WAE0F,CAAC"}
|
package/dist/errors.cjs.min.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";require("generaltranslation");exports.createUnsupportedLocaleWarning=(
|
|
1
|
+
"use strict";require("generaltranslation");exports.createUnsupportedLocaleWarning=(a,e,r="@generaltranslation/react-core")=>`${r} Warning: "${e}" is not a supported locale. Update supported locales in your dashboard or gt.config.json. Falling back to "${a}".`;
|
|
2
2
|
//# sourceMappingURL=errors.cjs.min.cjs.map
|
package/dist/errors.esm.min.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"generaltranslation";const o=(o,
|
|
1
|
+
import"generaltranslation";const o=(o,a,n="@generaltranslation/react-core")=>`${n} Warning: "${a}" is not a supported locale. Update supported locales in your dashboard or gt.config.json. Falling back to "${o}".`;export{o as createUnsupportedLocaleWarning};
|
|
2
2
|
//# sourceMappingURL=errors.esm.min.mjs.map
|