Skip to content

Commit

Permalink
chore: update builder.io/sdk-vue ^1.0.36 -> ^3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NaMax66 committed Nov 21, 2024
1 parent cd3ab28 commit 5433c5f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
6 changes: 2 additions & 4 deletions client-app/pages/matcher/builderIo/builder-io.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { useElementVisibility } from "@vueuse/core";
import { onMounted, ref, shallowRef, watchEffect } from "vue";
import { onBeforeRouteUpdate } from "vue-router";
import { usePageHead } from "@/core/composables";
import { IS_DEVELOPMENT } from "@/core/constants";
import { builderIOComponents } from "./customComponents";
import type { StateType } from "../priorityManager";
import type { BuilderContent } from "@builder.io/sdk-vue";
Expand All @@ -28,8 +27,8 @@ const emit = defineEmits<IEmits>();
const props = defineProps<IProps>();
const canShowContent = shallowRef(false);
const content = shallowRef<BuilderContent | null>(null);
const canShowContent = ref(false);
const content = ref<BuilderContent | null>(null);
const isLoading = ref(false);
function clearState() {
Expand Down Expand Up @@ -57,7 +56,6 @@ async function tryLoadContent(urlPath: string) {
content.value = await fetchOneEntry({
model: "page",
cacheSeconds: IS_DEVELOPMENT ? 1 : 60,
apiKey: props.apiKey,
options: getBuilderSearchParams(new URLSearchParams(location.search)),
userAttributes: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"dependencies": {
"@apollo/client": "^3.10.5",
"@builder.io/sdk-vue": "^1.0.36",
"@builder.io/sdk-vue": "^3.0.0",
"@floating-ui/vue": "^1.1.4",
"@headlessui/vue": "^1.7.22",
"@tailwindcss/container-queries": "^0.1.1",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1396,14 +1396,14 @@ __metadata:
languageName: node
linkType: hard

"@builder.io/sdk-vue@npm:^1.0.36":
version: 1.1.2
resolution: "@builder.io/sdk-vue@npm:1.1.2"
"@builder.io/sdk-vue@npm:^3.0.0":
version: 3.0.0
resolution: "@builder.io/sdk-vue@npm:3.0.0"
dependencies:
isolated-vm: "npm:^5.0.0"
peerDependencies:
vue: ">= 3"
checksum: 10c0/792eea44900f1e5e25ad17c22532c210ed5e5cf2bcbaf539be0bcf8214e84396ca331806184fa12bd313cda08301c96c260567d6553e4260c1c94c33ac7f7b6f
checksum: 10c0/3ff7c73198f9da651957fe3b167835135f0395eb42044fe35b9307816301b9e723f436f83b93d0400ba32acb29827faac9707356e5126ff92c604549531bee46
languageName: node
linkType: hard

Expand Down Expand Up @@ -14856,7 +14856,7 @@ __metadata:
resolution: "vc-theme-b2b-vue@workspace:."
dependencies:
"@apollo/client": "npm:^3.10.5"
"@builder.io/sdk-vue": "npm:^1.0.36"
"@builder.io/sdk-vue": "npm:^3.0.0"
"@commitlint/cli": "npm:^19.3.0"
"@commitlint/config-conventional": "npm:^19.2.2"
"@floating-ui/vue": "npm:^1.1.4"
Expand Down

0 comments on commit 5433c5f

Please sign in to comment.