@etsoo/smarterp-core 1.0.87 → 1.0.89
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/cjs/CoreUtils.js +2 -1
- package/lib/cjs/dto/org/OrgQueryApiData.d.ts +1 -1
- package/lib/cjs/dto/org/OrgUpdateApiReadDto.d.ts +1 -1
- package/lib/cjs/rq/org/OrgCreateApiRQ.d.ts +1 -1
- package/lib/mjs/CoreUtils.js +2 -1
- package/lib/mjs/dto/org/OrgQueryApiData.d.ts +1 -1
- package/lib/mjs/dto/org/OrgUpdateApiReadDto.d.ts +1 -1
- package/lib/mjs/rq/org/OrgCreateApiRQ.d.ts +1 -1
- package/package.json +2 -2
- package/src/CoreUtils.ts +2 -1
- package/src/dto/org/OrgQueryApiData.ts +1 -1
- package/src/dto/org/OrgUpdateApiReadDto.ts +1 -1
- package/src/rq/org/OrgCreateApiRQ.ts +1 -1
package/lib/cjs/CoreUtils.js
CHANGED
|
@@ -34,7 +34,8 @@ var CoreUtils;
|
|
|
34
34
|
*/
|
|
35
35
|
async function validateJson(schema, input) {
|
|
36
36
|
if (ajv == null) {
|
|
37
|
-
const
|
|
37
|
+
const AjvImport = await import("ajv");
|
|
38
|
+
const AjvClass = AjvImport.Ajv ?? AjvImport.default;
|
|
38
39
|
ajv = new AjvClass({
|
|
39
40
|
allErrors: true,
|
|
40
41
|
strictTypes: false
|
package/lib/mjs/CoreUtils.js
CHANGED
|
@@ -28,7 +28,8 @@ export var CoreUtils;
|
|
|
28
28
|
*/
|
|
29
29
|
async function validateJson(schema, input) {
|
|
30
30
|
if (ajv == null) {
|
|
31
|
-
const
|
|
31
|
+
const AjvImport = await import("ajv");
|
|
32
|
+
const AjvClass = AjvImport.Ajv ?? AjvImport.default;
|
|
32
33
|
ajv = new AjvClass({
|
|
33
34
|
allErrors: true,
|
|
34
35
|
strictTypes: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/smarterp-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.89",
|
|
4
4
|
"description": "TypeScript APIs for SmartERP Core",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@etsoo/appscript": "^1.6.41",
|
|
57
|
-
"@etsoo/materialui": "^1.5.
|
|
57
|
+
"@etsoo/materialui": "^1.5.65",
|
|
58
58
|
"@etsoo/react": "^1.8.49",
|
|
59
59
|
"@etsoo/shared": "^1.2.75",
|
|
60
60
|
"@etsoo/toolpad": "^1.0.40",
|
package/src/CoreUtils.ts
CHANGED