@commercetools-frontend/application-config 24.6.0 → 24.7.1
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/custom-application.schema.json +3 -0
- package/custom-view.schema.json +3 -0
- package/dist/commercetools-frontend-application-config.cjs.dev.js +6 -0
- package/dist/commercetools-frontend-application-config.cjs.prod.js +6 -0
- package/dist/commercetools-frontend-application-config.esm.js +6 -0
- package/dist/declarations/src/schemas/generated/custom-application.schema.d.ts +1 -0
- package/dist/declarations/src/schemas/generated/custom-view.schema.d.ts +1 -0
- package/package.json +3 -3
package/custom-view.schema.json
CHANGED
|
@@ -483,6 +483,9 @@ var customApplicationSchemaJson = {
|
|
|
483
483
|
},
|
|
484
484
|
"frame-src": {
|
|
485
485
|
$ref: "#/definitions/cspDirective"
|
|
486
|
+
},
|
|
487
|
+
"media-src": {
|
|
488
|
+
$ref: "#/definitions/cspDirective"
|
|
486
489
|
}
|
|
487
490
|
},
|
|
488
491
|
additionalProperties: false,
|
|
@@ -834,6 +837,9 @@ var customViewSchemaJson = {
|
|
|
834
837
|
},
|
|
835
838
|
"frame-src": {
|
|
836
839
|
$ref: "#/definitions/cspDirective"
|
|
840
|
+
},
|
|
841
|
+
"media-src": {
|
|
842
|
+
$ref: "#/definitions/cspDirective"
|
|
837
843
|
}
|
|
838
844
|
},
|
|
839
845
|
additionalProperties: false,
|
|
@@ -483,6 +483,9 @@ var customApplicationSchemaJson = {
|
|
|
483
483
|
},
|
|
484
484
|
"frame-src": {
|
|
485
485
|
$ref: "#/definitions/cspDirective"
|
|
486
|
+
},
|
|
487
|
+
"media-src": {
|
|
488
|
+
$ref: "#/definitions/cspDirective"
|
|
486
489
|
}
|
|
487
490
|
},
|
|
488
491
|
additionalProperties: false,
|
|
@@ -834,6 +837,9 @@ var customViewSchemaJson = {
|
|
|
834
837
|
},
|
|
835
838
|
"frame-src": {
|
|
836
839
|
$ref: "#/definitions/cspDirective"
|
|
840
|
+
},
|
|
841
|
+
"media-src": {
|
|
842
|
+
$ref: "#/definitions/cspDirective"
|
|
837
843
|
}
|
|
838
844
|
},
|
|
839
845
|
additionalProperties: false,
|
|
@@ -449,6 +449,9 @@ var customApplicationSchemaJson = {
|
|
|
449
449
|
},
|
|
450
450
|
"frame-src": {
|
|
451
451
|
$ref: "#/definitions/cspDirective"
|
|
452
|
+
},
|
|
453
|
+
"media-src": {
|
|
454
|
+
$ref: "#/definitions/cspDirective"
|
|
452
455
|
}
|
|
453
456
|
},
|
|
454
457
|
additionalProperties: false,
|
|
@@ -800,6 +803,9 @@ var customViewSchemaJson = {
|
|
|
800
803
|
},
|
|
801
804
|
"frame-src": {
|
|
802
805
|
$ref: "#/definitions/cspDirective"
|
|
806
|
+
},
|
|
807
|
+
"media-src": {
|
|
808
|
+
$ref: "#/definitions/cspDirective"
|
|
803
809
|
}
|
|
804
810
|
},
|
|
805
811
|
additionalProperties: false,
|
|
@@ -97,6 +97,7 @@ export interface JSONSchemaForCustomApplicationConfigurationFiles {
|
|
|
97
97
|
'script-src'?: CspDirective;
|
|
98
98
|
'style-src'?: CspDirective;
|
|
99
99
|
'frame-src'?: CspDirective;
|
|
100
|
+
'media-src'?: CspDirective;
|
|
100
101
|
};
|
|
101
102
|
/**
|
|
102
103
|
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-application-config#headerspermissionspolicies
|
|
@@ -97,6 +97,7 @@ export interface JSONSchemaForCustomViewConfigurationFiles {
|
|
|
97
97
|
'script-src'?: CspDirective;
|
|
98
98
|
'style-src'?: CspDirective;
|
|
99
99
|
'frame-src'?: CspDirective;
|
|
100
|
+
'media-src'?: CspDirective;
|
|
100
101
|
};
|
|
101
102
|
/**
|
|
102
103
|
* See https://docs.commercetools.com/merchant-center-customizations/tooling-and-configuration/custom-view-config#headerspermissionspolicies
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-frontend/application-config",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.7.1",
|
|
4
4
|
"description": "Configuration utilities for building Custom Applications",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@babel/register": "^7.22.15",
|
|
46
46
|
"@babel/runtime": "^7.22.15",
|
|
47
47
|
"@babel/runtime-corejs3": "^7.22.15",
|
|
48
|
-
"@commercetools-frontend/constants": "24.
|
|
48
|
+
"@commercetools-frontend/constants": "24.7.1",
|
|
49
49
|
"@types/lodash": "^4.14.198",
|
|
50
50
|
"@types/react": "^19.0.3",
|
|
51
51
|
"ajv": "8.16.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/jsdom": "^21.1.2",
|
|
62
62
|
"json-schema-to-typescript": "15.0.3",
|
|
63
|
-
"@commercetools-frontend/assets": "24.
|
|
63
|
+
"@commercetools-frontend/assets": "24.7.1"
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": "18.x || 20.x || >=22.0.0"
|