@unleash/proxy-client-vue 0.0.7-beta.4 → 0.0.7
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/FlagProvider.vue.d.ts +1 -1
- package/dist/index.es.js +10 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1562,7 +1562,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1562
1562
|
unleashClient,
|
|
1563
1563
|
startClient = true
|
|
1564
1564
|
} = __props;
|
|
1565
|
-
const { context, start, update } = useUnleashProvide({
|
|
1565
|
+
const { context, start, update } = useUnleashProvide({
|
|
1566
|
+
config,
|
|
1567
|
+
unleashClient,
|
|
1568
|
+
startClient
|
|
1569
|
+
});
|
|
1566
1570
|
provide(ContextStateSymbol, context);
|
|
1567
1571
|
provide(ContextUpdateSymbol, update);
|
|
1568
1572
|
onMounted(() => {
|
|
@@ -1628,7 +1632,11 @@ const useUnleashClient = () => {
|
|
|
1628
1632
|
};
|
|
1629
1633
|
const plugin = {
|
|
1630
1634
|
install(app, { config, unleashClient, startClient }) {
|
|
1631
|
-
const { context, update, start } = useUnleashProvide({
|
|
1635
|
+
const { context, update, start } = useUnleashProvide({
|
|
1636
|
+
config,
|
|
1637
|
+
unleashClient,
|
|
1638
|
+
startClient
|
|
1639
|
+
});
|
|
1632
1640
|
app.provide(ContextStateSymbol, context);
|
|
1633
1641
|
app.provide(ContextUpdateSymbol, update);
|
|
1634
1642
|
start();
|