diff --git a/.yarn/offline-mirror/@carbon-ibmdotcom-services-1.31.0-canary.1827018708.0.tgz b/.yarn/offline-mirror/@carbon-ibmdotcom-services-1.31.0-canary.1827018708.0.tgz new file mode 100644 index 00000000000..cc2b13bacc0 Binary files /dev/null and b/.yarn/offline-mirror/@carbon-ibmdotcom-services-1.31.0-canary.1827018708.0.tgz differ diff --git a/.yarn/offline-mirror/@carbon-ibmdotcom-utilities-1.31.0-canary.1827018708.0.tgz b/.yarn/offline-mirror/@carbon-ibmdotcom-utilities-1.31.0-canary.1827018708.0.tgz new file mode 100644 index 00000000000..dd5affde65c Binary files /dev/null and b/.yarn/offline-mirror/@carbon-ibmdotcom-utilities-1.31.0-canary.1827018708.0.tgz differ diff --git a/packages/services-store/package.json b/packages/services-store/package.json index 961a4342191..46592c5265a 100644 --- a/packages/services-store/package.json +++ b/packages/services-store/package.json @@ -39,8 +39,8 @@ "prettier": "^1.19.0" }, "dependencies": { - "@carbon/ibmdotcom-services": "1.31.0-canary.adhoc5.6836", - "@carbon/ibmdotcom-utilities": "1.31.0-canary.adhoc5.6836", + "@carbon/ibmdotcom-services": "canary", + "@carbon/ibmdotcom-utilities": "canary", "carbon-components": "10.52.0", "redux": "^4.0.0", "redux-logger": "^3.0.0", diff --git a/packages/services/src/services/CloudAccountAuth/CloudAccountAuth.js b/packages/services/src/services/CloudAccountAuth/CloudAccountAuth.js index 62840ecf8e7..471e1937ba1 100644 --- a/packages/services/src/services/CloudAccountAuth/CloudAccountAuth.js +++ b/packages/services/src/services/CloudAccountAuth/CloudAccountAuth.js @@ -22,7 +22,7 @@ class CloudAccountAuthAPI { */ static async checkPersonalization() { return await DDOAPI.isReady().then(() => { - const status = root.digitalData.user.segment.isCloudLoggedOn; + const status = root.digitalData?.user?.segment?.isCloudLoggedOn; return { user: status === true ? 'authenticated' : 'anonymous' }; }); } diff --git a/packages/web-components/package.json b/packages/web-components/package.json index f55db9b2d53..ac04a9c7d82 100644 --- a/packages/web-components/package.json +++ b/packages/web-components/package.json @@ -96,9 +96,9 @@ "prettier": "^1.19.0" }, "dependencies": { - "@carbon/ibmdotcom-services": "1.31.0-canary.adhoc5.6836", + "@carbon/ibmdotcom-services": "canary", "@carbon/ibmdotcom-styles": "1.31.0-rc.0", - "@carbon/ibmdotcom-utilities": "1.31.0-canary.adhoc5.6836", + "@carbon/ibmdotcom-utilities": "canary", "@carbon/layout": "10.34.0", "@carbon/telemetry": "0.0.0-alpha.6", "carbon-components": "10.52.0", diff --git a/yarn.lock b/yarn.lock index 5d8b12b1a7e..0c0ea89fb16 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1367,6 +1367,17 @@ axios "~0.21.4" window-or-global "^1.0.1" +"@carbon/ibmdotcom-services@canary": + version "1.31.0-canary.1827018708.0" + resolved "https://registry.yarnpkg.com/@carbon/ibmdotcom-services/-/ibmdotcom-services-1.31.0-canary.1827018708.0.tgz#2fa24ea199cdf026e177ba74f76f9190cf810ca8" + integrity sha512-9RvnbOtST2klP1sm4WhssXGr7Ey9vVu5a96TP4gahdv6hk9Vl+FyqU/oEbJ0lcKmdnN+8b82wpfaFK9h1LUu7w== + dependencies: + "@babel/runtime" "^7.5.0" + "@carbon/ibmdotcom-utilities" "1.31.0-canary.adhoc5.6836" + "@carbon/telemetry" "0.0.0-alpha.6" + axios "~0.21.4" + window-or-global "^1.0.1" + "@carbon/ibmdotcom-utilities@1.31.0-canary.adhoc5.6836", "@carbon/ibmdotcom-utilities@1.31.0-canary.adhoc5.6836+acf59c1b5": version "1.31.0-canary.adhoc5.6836" resolved "https://registry.yarnpkg.com/@carbon/ibmdotcom-utilities/-/ibmdotcom-utilities-1.31.0-canary.adhoc5.6836.tgz#61ebb6aaa3df135905ebc11f79c42927f250d839" @@ -1380,6 +1391,19 @@ marked "^4.0.10" window-or-global "^1.0.1" +"@carbon/ibmdotcom-utilities@canary": + version "1.31.0-canary.1827018708.0" + resolved "https://registry.yarnpkg.com/@carbon/ibmdotcom-utilities/-/ibmdotcom-utilities-1.31.0-canary.1827018708.0.tgz#37048fa89a65e34964f882a5c6de3329b428543e" + integrity sha512-1bAci1BdK3hykH29eKRlcRqQuNA8bOoOaHhwnCNFhZdGkUiXuA7A8W55JnMdC8an0UGXcMMGu5Gr0VmRzIhtsQ== + dependencies: + "@carbon/telemetry" "0.0.0-alpha.6" + axios "~0.21.4" + carbon-components "10.52.0" + isomorphic-dompurify "0.4.0" + js-cookie "^2.2.1" + marked "^4.0.10" + window-or-global "^1.0.1" + "@carbon/icon-helpers@10.26.0", "@carbon/icon-helpers@^10.26.0": version "10.26.0" resolved "https://registry.yarnpkg.com/@carbon/icon-helpers/-/icon-helpers-10.26.0.tgz#fe8277836e7b758ae48c93fbab8aab444b2f3b70"