@viewfly/core 0.3.0 → 0.3.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.
@@ -1,3 +1,5 @@
1
+ import 'reflect-metadata';
2
+
1
3
  class ForwardRef {
2
4
  constructor(forwardRefFn) {
3
5
  this.forwardRefFn = forwardRefFn;
@@ -1813,7 +1815,7 @@ class RootComponent extends Component {
1813
1815
  }
1814
1816
 
1815
1817
  const viewflyErrorFn = makeError('Viewfly');
1816
- const VERSION = "0.3.0";
1818
+ const VERSION = "0.3.1";
1817
1819
  function viewfly(config) {
1818
1820
  const { context, nativeRenderer, autoUpdate, root } = Object.assign({ autoUpdate: true }, config);
1819
1821
  const appProviders = [];
package/bundles/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ require('reflect-metadata');
4
+
3
5
  class ForwardRef {
4
6
  constructor(forwardRefFn) {
5
7
  this.forwardRefFn = forwardRefFn;
@@ -1815,7 +1817,7 @@ class RootComponent extends Component {
1815
1817
  }
1816
1818
 
1817
1819
  const viewflyErrorFn = makeError('Viewfly');
1818
- const VERSION = "0.3.0";
1820
+ const VERSION = "0.3.1";
1819
1821
  function viewfly(config) {
1820
1822
  const { context, nativeRenderer, autoUpdate, root } = Object.assign({ autoUpdate: true }, config);
1821
1823
  const appProviders = [];
@@ -1,3 +1,4 @@
1
+ import 'reflect-metadata';
1
2
  export * from './di/_api';
2
3
  export * from './_utils/make-error';
3
4
  export * from './foundation/_api';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewfly/core",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Viewfly is a simple and easy-to-use JavaScript framework with an intuitive development experience.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -47,5 +47,8 @@
47
47
  "bugs": {
48
48
  "url": "https://github.com/viewfly/viewfly.git/issues"
49
49
  },
50
- "gitHead": "b66ca589f7662cd518fc2e5955b3e3ff9de83f94"
50
+ "gitHead": "b66ca589f7662cd518fc2e5955b3e3ff9de83f94",
51
+ "dependencies": {
52
+ "reflect-metadata": "^0.1.13"
53
+ }
51
54
  }