vue-ui-grid
Advanced tools
Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2
{ | ||
"name": "vue-ui-grid", | ||
"version": "1.0.0-alpha.1", | ||
"version": "1.0.0-alpha.2", | ||
"main": "./dist/vue-grid.umd.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
import { watch, reactive, inject } from 'vue' | ||
import { DefaultApolloClient } from '@vue/apollo-composable' | ||
import { GraphDataProvider } from '../../data-providers' | ||
@@ -16,4 +15,8 @@ import useOption from './useOption' | ||
}) | ||
const apolloClient = inject(DefaultApolloClient) | ||
const apolloClient = inject('$vgridApolloClient', null); | ||
if (!apolloClient) { | ||
throw new Error('$vgridApolloClient is not defined'); | ||
} | ||
const graphOptions = { | ||
@@ -20,0 +23,0 @@ resource: props.resource, |
@@ -56,2 +56,3 @@ import axios from 'axios' | ||
app.provide(DefaultApolloClient, apolloClient) | ||
app.provide('$vgridApolloClient', apolloClient) | ||
app.use(VueGrid, { | ||
@@ -58,0 +59,0 @@ debug: true, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
513514
8205
1