@kithinji/orca 1.0.0 → 1.0.2
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/dist/browser/index.iife.js +7 -3
- package/dist/browser/index.iife.js.map +2 -2
- package/dist/browser/index.mjs +7 -3
- package/dist/browser/index.mjs.map +2 -2
- package/dist/node/index.cjs +6 -1
- package/dist/node/index.cjs.map +2 -2
- package/dist/node/index.mjs +6 -1
- package/dist/node/index.mjs.map +2 -2
- package/dist/types/browser/dom/dom.d.ts.map +1 -1
- package/dist/types/shared/dom/osc.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/node/index.cjs
CHANGED
|
@@ -1817,7 +1817,12 @@ var OSC = class {
|
|
|
1817
1817
|
if (!ComponentClass) {
|
|
1818
1818
|
throw new Error(`Component ${name} not found in ${path2}`);
|
|
1819
1819
|
}
|
|
1820
|
-
|
|
1820
|
+
injector.addProvider({
|
|
1821
|
+
provide: ComponentClass,
|
|
1822
|
+
useClass: ComponentClass,
|
|
1823
|
+
scope: "transient"
|
|
1824
|
+
});
|
|
1825
|
+
[...params].forEach((p) => injector.addProvider(p));
|
|
1821
1826
|
const cleanProps = { ...props };
|
|
1822
1827
|
delete cleanProps.__clientComponent;
|
|
1823
1828
|
const componentInstance = injector.resolve(ComponentClass);
|