diff --git a/package.json b/package.json index 162d58d..7f8d180 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "tsconfig.json" ], "dependencies": { - "@gtm-support/core": "^1.0.0-alpha.1" + "@gtm-support/core": "^1.0.0-beta.2" }, "devDependencies": { "@types/jest": "~26.0.22", diff --git a/src/config.ts b/src/config.ts index 8bc4c89..09e24ac 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,4 +1,4 @@ -import type { GtmIdContainer, GtmQueryParams } from '@gtm-support/core/lib/GtmContainer'; +import type { GtmIdContainer, GtmQueryParams } from '@gtm-support/core'; import type { Router } from 'vue-router'; /** diff --git a/src/index.ts b/src/index.ts index 86c87b4..0e0bbdb 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,4 @@ -import { assertIsGtmId } from '@gtm-support/core/lib/assertIsGtmId'; -import { loadScript, LoadScriptOptions } from '@gtm-support/core/lib/index'; +import { assertIsGtmId, loadScript, LoadScriptOptions } from '@gtm-support/core'; import { App, nextTick, Plugin } from 'vue'; import { DEFAULT_CONFIG, VueGtmContainer, VueGtmQueryParams, VueGtmUseOptions } from './config'; import GtmPlugin from './plugin'; diff --git a/src/plugin.ts b/src/plugin.ts index 17ea4f2..64347c1 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -1,5 +1,4 @@ -import { GtmSupport, TrackEventOptions } from '@gtm-support/core'; -import { DataLayerObject } from '@gtm-support/core/lib/DataLayerObject'; +import { DataLayerObject, GtmSupport, TrackEventOptions } from '@gtm-support/core'; import { DEFAULT_CONFIG, VueGtmContainer, VueGtmUseOptions } from './config'; /** @@ -77,5 +76,5 @@ export default class VueGtmPlugin implements GtmSupport { } } -export { DataLayerObject } from '@gtm-support/core/lib/DataLayerObject'; +export { DataLayerObject } from '@gtm-support/core'; export { VueGtmPlugin }; diff --git a/yarn.lock b/yarn.lock index 55b291e..33db17a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -317,10 +317,10 @@ minimatch "^3.0.4" strip-json-comments "^3.1.1" -"@gtm-support/core@^1.0.0-alpha.1": - version "1.0.0-alpha.1" - resolved "https://registry.yarnpkg.com/@gtm-support/core/-/core-1.0.0-alpha.1.tgz#e3fcf2f882f9d8202645587aeaf940eeffe581f3" - integrity sha512-C2JhSolxLi2PgdQC5scWF1Y+Rj29GIN6ptYO+S/7Knw8nVWlz+BhYATZVVIl1I8GSxtzRf/Ssxhp5mjk+RW8dQ== +"@gtm-support/core@^1.0.0-beta.2": + version "1.0.0-beta.2" + resolved "https://registry.yarnpkg.com/@gtm-support/core/-/core-1.0.0-beta.2.tgz#1ee39bdc50685fbc4cb372d2983cdaf774e926a2" + integrity sha512-jGtI0ayXWx31gEtpQRIHpDxQCP5LljlVnobDQSLi5hQEZ2tGsx3TgHU/I64ol7FX2ve8lXnK1T//ZjKfOQTp4Q== "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0"