canvasframework 0.5.45 → 0.5.46
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/index.js +3 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -115,5 +115,6 @@ export { default as SecurityManager } from './manager/SecurityManager.js';
|
|
|
115
115
|
export { default as FeatureFlags } from './manager/FeatureFlags.js';
|
|
116
116
|
|
|
117
117
|
// Version du framework
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
import pkg from './package.json' assert { type: 'json' };
|
|
119
|
+
// Tu peux maintenant exporter la version directement
|
|
120
|
+
export const VERSION = pkg.version;
|