atriusmaps-node-sdk 3.3.400 → 3.3.401

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.
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var name = "web-engine";
6
- var version = "3.3.400";
6
+ var version = "3.3.401";
7
7
  var license = "UNLICENSED";
8
8
  var type = "module";
9
9
  var main = "src/main.js";
@@ -3,7 +3,6 @@
3
3
  var luxon = require('luxon');
4
4
  var R = require('ramda');
5
5
  var Zousan = require('zousan');
6
- var mockDynamicRoutingData = require('../mocks/mockDynamicRoutingData.js');
7
6
  var processors = require('./processors.js');
8
7
 
9
8
  function _interopNamespaceDefault(e) {
@@ -101,24 +100,16 @@ function create (app, config = {}) {
101
100
  }
102
101
  };
103
102
 
104
- // Currently, the only way to know if a venue has dynamic POIs is if they have security wait times
105
- // and the only way we know that is if they have queueTypes.
106
- // I know this sounds "fragile" - but Jessica said it is our current truth.
107
- // This will certainly need to change at some point.
108
- const queueTypes = await app.bus.get('venueData/getQueueTypes');
109
- if (queueTypes.SecurityLane && queueTypes.SecurityLane.length) {
110
- return updateFromAPI()
111
- .then(() => { fetchIntervalHandle = setInterval(updateFromAPI, REFRESH_FREQUENCY); })
112
- .finally(() => state.dynamicDataNotPending.resolve(true)) // even in case of failure, we don't want to hold up the UI
113
- } else
114
- return state.dynamicDataNotPending.resolve(true) // no need to wait for this since there is no dynamic data
103
+ return updateFromAPI()
104
+ .then(() => { fetchIntervalHandle = setInterval(updateFromAPI, REFRESH_FREQUENCY); })
105
+ .finally(() => state.dynamicDataNotPending.resolve(true)) // even in case of failure, we don't want to hold up the UI
115
106
  };
116
107
 
117
108
  async function processDynamicPois (pois) {
118
109
  processParkingPOIS(pois);
119
110
  processOpenClosedPois(pois);
120
111
  processSecurityWaitTimes(pois);
121
- await fetchDynamicRouting(mockDynamicRoutingData.dynamicRoutingData); // TODO: change this later to use the data from the api
112
+ processDynamicRouting(pois);
122
113
  }
123
114
 
124
115
  function processParkingPOIS (poiMap) {
@@ -137,8 +128,8 @@ function create (app, config = {}) {
137
128
  };
138
129
 
139
130
  /*
140
- API response: https://gitlab.com/locuslabs/core-data-team/json-schemas/-/blob/develop/src/api-marketplace/dynamic-queue-data.json
141
- */
131
+ API response: https://gitlab.com/locuslabs/core-data-team/json-schemas/-/blob/develop/src/api-marketplace/dynamic-queue-data.json
132
+ */
142
133
  async function processSecurityWaitTimes (poiMap) {
143
134
  const idValuesMap = processors.processSecurityWaitTimes(poiMap);
144
135
 
@@ -156,7 +147,7 @@ function create (app, config = {}) {
156
147
  app.bus.send('poi/setDynamicData', { plugin: 'open-closed-status', idValuesMap });
157
148
  }
158
149
 
159
- async function fetchDynamicRouting (pois) {
150
+ async function processDynamicRouting (pois) {
160
151
  let poiResults = [];
161
152
 
162
153
  if (!config.dynamicRoutingEnabled) {
@@ -1 +1 @@
1
- var e="web-engine",s="3.3.400",o="UNLICENSED",t="module",l="src/main.js",r=["demo","deploy","nodesdk","src/extModules/flexapi","services/*","libraries/*"],a={colors:"cat utils/colors1.txt && node utils/processColors.js | pbcopy && cat utils/colors2.txt","cypress:a11y":"APPLITOOLS_IS_DISABLED=true && cypress open --browser chrome --env INPUT_MODALITY='keyboard'","cypress:comp":"APPLITOOLS_IS_DISABLED=true && cypress open --component --browser chrome","cypress:e2e":"APPLITOOLS_IS_DISABLED=true && cypress open --e2e --browser chrome",demo:"cd demo/ && yarn start","e2e:comp":"cypress run --component","e2e:record":"yarn cypress run --env RECORD_MODE=true",e2eSDKTest:"yarn start-server-and-test 'cd ./deploy && yarn buildDev && yarn serveLocal' 8085 'cd ./cypress/e2e/sdk && npx http-server' 8080 'yarn cypress run --spec cypress/e2e/sdk/**'",goProd:"cd deploy && scripts/goProd.sh",goStaging:"deploy/scripts/goStaging.sh",i18nOverrides:"yarn node utils/i18nOverrideCli src/i18n src/i18n-overrides",lint:"eslint .",mod:"demo/startMod.sh",mol:"demo/startMol.sh","mol:build":"demo/startMolBuild.sh",molProd:"cd deploy && yarn buildAndRunMol",prepare:"husky install",test:"jest --no-cache --verbose","test-watch":"jest --verbose --watch","test:vitest":"vitest run"},i=["defaults"],n={react:"^18.3.1"},c={"@azure/event-hubs":"^5.12.2","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@dnd-kit/utilities":"^3.2.2","@locus-labs/mod-badge":"^0.1.102","@locus-labs/mod-default-theme":"^0.0.113","@locus-labs/mod-footer":"^0.0.111","@locus-labs/mod-header":"^0.0.105","@locus-labs/mod-location-marker":"^0.0.104","@locus-labs/mod-map-legend":"^0.0.104","@locus-labs/mod-offscreen-indicator":"^0.0.104","@locus-labs/mod-pin":"^0.0.104","@locus-labs/mod-qr-code-card":"^0.0.104","@locus-labs/mod-qr-code-window":"^0.0.105","@locus-labs/mod-walk-time-matrix":"^0.0.103","@locus-labs/mol-desktop-building-level-selector":"^0.1.119","@locus-labs/mol-desktop-compass":"^0.1.120","@locus-labs/mol-desktop-default-theme":"^0.2.105","@locus-labs/mol-desktop-icon":"^0.1.131","@locus-labs/mol-desktop-logo":"^0.1.101","@locus-labs/mol-desktop-map-nav-button":"^0.1.130","@locus-labs/mol-desktop-tooltip":"^0.3.102","@locus-labs/mol-desktop-zoom-control":"^0.1.141","@locus-labs/mol-mobile-box":"^0.1.115","@locus-labs/mol-mobile-floating-action-button":"^0.0.117","@locus-labs/mol-mobile-icon":"^0.1.118","@locus-labs/mol-mobile-text":"^0.1.116","@locus-labs/mol-mobile-toast":"^0.1.102","@mapbox/mapbox-gl-draw":"^1.4.3","@mapbox/mapbox-gl-draw-static-mode":"^1.0.1","@microsoft/applicationinsights-web":"^3.3.4","@turf/area":"^7.2.0","@turf/bbox-clip":"^7.2.0","@turf/bbox-polygon":"^7.2.0","@turf/circle":"^6.5.0","@turf/helpers":"^6.5.0","@turf/point-to-line-distance":"^6.5.0","@vitejs/plugin-react":"^4.0.1","axe-core":"^4.9.0",browserslist:"^4.24.2","crypto-browserify":"^3.12.0","cypress-axe":"^1.6.0","cypress-multi-reporters":"^1.6.4","cypress-real-events":"^1.14.0","file-loader":"^6.2.0",flexsearch:"^0.7.43","h3-js":"^4.1.0",i18next:"^20.3.4","i18next-browser-languagedetector":"^6.1.1","jest-transform-css":"6.0.1",jsdom:"^25.0.1",jsonschema:"^1.2.6",luxon:"^3.3.0","maplibre-gl":"^4.7.1","mini-css-extract-plugin":"^1.6.0","mocha-junit-reporter":"^2.2.1",mochawesome:"^7.1.3","node-polyfill-webpack-plugin":"^1.1.4","path-browserify":"^1.0.1",polished:"^4.0.2","prop-types":"^15.7.2","query-string":"^8.1.0",ramda:"^0.30.1",react:"^18.3.1","react-compound-slider":"^3.3.1","react-dom":"^18.3.1","react-json-editor-ajrm":"^2.5.13","react-qr-svg":"^2.2.1","react-svg":"^16.1.29","react-virtualized-auto-sizer":"^1.0.2","react-window":"^1.8.11","smoothscroll-polyfill":"^0.4.4","styled-components":"^6.1.14","styled-normalize":"^8.0.6","throttle-debounce":"^3.0.1",trackjs:"^3.7.4","ua-parser-js":"^0.7.23",uuid:"3.3.2",zousan:"^3.0.1","zousan-plus":"^4.0.1"},p={"@applitools/eyes-cypress":"^3.47.0","@babel/core":"^7.26.0","@babel/eslint-parser":"^7.25.9","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-syntax-import-assertions":"^7.26.0","@babel/plugin-transform-modules-commonjs":"^7.25.9","@babel/plugin-transform-runtime":"^7.25.9","@babel/preset-env":"^7.26.0","@babel/preset-react":"^7.25.9","@testing-library/jest-dom":"^6.6.3","@types/react":"^19.0.10","@types/react-dom":"^19.0.4","@typescript-eslint/eslint-plugin":"^7.13.0","@typescript-eslint/parser":"^7.13.0","babel-jest":"^27.0.6","babel-loader":"^8.2.2","babel-plugin-inline-json-import":"^0.3.2","babel-plugin-module-resolver":"^5.0.0","babel-plugin-styled-components":"^2.1.4","babel-polyfill":"^6.26.0","chai-colors":"^1.0.1","css-loader":"^5.2.4",cypress:"^12.17.4","cypress-browser-permissions":"^1.1.0","cypress-wait-until":"^1.7.2",eslint:"^8.57.0","eslint-config-standard":"^16.0.3","eslint-import-resolver-typescript":"^3.6.1","eslint-plugin-cypress":"^2.11.1","eslint-plugin-import":"^2.16.0","eslint-plugin-jest":"^28.6.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-react":"^7.12.4","eslint-plugin-standard":"^5.0.0","fetch-mock-jest":"^1.3.0",glob:"^10.3.3",husky:"^6.0.0",jest:"29.7.0","jest-environment-jsdom":"^29.7.0","lint-staged":"^11.0.1","node-fetch":"^2.6.0","null-loader":"^4.0.1",nx:"19.4.2","nx-remotecache-azure":"^19.0.0","start-server-and-test":"^2.0.0",typescript:"^5.4.5",vite:"^4.3.9",vitest:"^2.1.5",webpack:"^5.96.1","webpack-merge":"^6.0.1"},d="yarn@4.3.1",m={node:"20.x"},u={},b={name:e,version:s,private:!0,license:o,type:t,main:l,workspaces:r,scripts:a,"lint-staged":{"*.js":["eslint --fix"]},browserslist:i,resolutions:n,dependencies:c,devDependencies:p,packageManager:d,engines:m,nx:u};export{i as browserslist,b as default,c as dependencies,p as devDependencies,m as engines,o as license,l as main,e as name,u as nx,d as packageManager,n as resolutions,a as scripts,t as type,s as version,r as workspaces};
1
+ var e="web-engine",s="3.3.401",o="UNLICENSED",t="module",l="src/main.js",r=["demo","deploy","nodesdk","src/extModules/flexapi","services/*","libraries/*"],a={colors:"cat utils/colors1.txt && node utils/processColors.js | pbcopy && cat utils/colors2.txt","cypress:a11y":"APPLITOOLS_IS_DISABLED=true && cypress open --browser chrome --env INPUT_MODALITY='keyboard'","cypress:comp":"APPLITOOLS_IS_DISABLED=true && cypress open --component --browser chrome","cypress:e2e":"APPLITOOLS_IS_DISABLED=true && cypress open --e2e --browser chrome",demo:"cd demo/ && yarn start","e2e:comp":"cypress run --component","e2e:record":"yarn cypress run --env RECORD_MODE=true",e2eSDKTest:"yarn start-server-and-test 'cd ./deploy && yarn buildDev && yarn serveLocal' 8085 'cd ./cypress/e2e/sdk && npx http-server' 8080 'yarn cypress run --spec cypress/e2e/sdk/**'",goProd:"cd deploy && scripts/goProd.sh",goStaging:"deploy/scripts/goStaging.sh",i18nOverrides:"yarn node utils/i18nOverrideCli src/i18n src/i18n-overrides",lint:"eslint .",mod:"demo/startMod.sh",mol:"demo/startMol.sh","mol:build":"demo/startMolBuild.sh",molProd:"cd deploy && yarn buildAndRunMol",prepare:"husky install",test:"jest --no-cache --verbose","test-watch":"jest --verbose --watch","test:vitest":"vitest run"},i=["defaults"],n={react:"^18.3.1"},c={"@azure/event-hubs":"^5.12.2","@dnd-kit/core":"^6.1.0","@dnd-kit/modifiers":"^7.0.0","@dnd-kit/sortable":"^8.0.0","@dnd-kit/utilities":"^3.2.2","@locus-labs/mod-badge":"^0.1.102","@locus-labs/mod-default-theme":"^0.0.113","@locus-labs/mod-footer":"^0.0.111","@locus-labs/mod-header":"^0.0.105","@locus-labs/mod-location-marker":"^0.0.104","@locus-labs/mod-map-legend":"^0.0.104","@locus-labs/mod-offscreen-indicator":"^0.0.104","@locus-labs/mod-pin":"^0.0.104","@locus-labs/mod-qr-code-card":"^0.0.104","@locus-labs/mod-qr-code-window":"^0.0.105","@locus-labs/mod-walk-time-matrix":"^0.0.103","@locus-labs/mol-desktop-building-level-selector":"^0.1.119","@locus-labs/mol-desktop-compass":"^0.1.120","@locus-labs/mol-desktop-default-theme":"^0.2.105","@locus-labs/mol-desktop-icon":"^0.1.131","@locus-labs/mol-desktop-logo":"^0.1.101","@locus-labs/mol-desktop-map-nav-button":"^0.1.130","@locus-labs/mol-desktop-tooltip":"^0.3.102","@locus-labs/mol-desktop-zoom-control":"^0.1.141","@locus-labs/mol-mobile-box":"^0.1.115","@locus-labs/mol-mobile-floating-action-button":"^0.0.117","@locus-labs/mol-mobile-icon":"^0.1.118","@locus-labs/mol-mobile-text":"^0.1.116","@locus-labs/mol-mobile-toast":"^0.1.102","@mapbox/mapbox-gl-draw":"^1.4.3","@mapbox/mapbox-gl-draw-static-mode":"^1.0.1","@microsoft/applicationinsights-web":"^3.3.4","@turf/area":"^7.2.0","@turf/bbox-clip":"^7.2.0","@turf/bbox-polygon":"^7.2.0","@turf/circle":"^6.5.0","@turf/helpers":"^6.5.0","@turf/point-to-line-distance":"^6.5.0","@vitejs/plugin-react":"^4.0.1","axe-core":"^4.9.0",browserslist:"^4.24.2","crypto-browserify":"^3.12.0","cypress-axe":"^1.6.0","cypress-multi-reporters":"^1.6.4","cypress-real-events":"^1.14.0","file-loader":"^6.2.0",flexsearch:"^0.7.43","h3-js":"^4.1.0",i18next:"^20.3.4","i18next-browser-languagedetector":"^6.1.1","jest-transform-css":"6.0.1",jsdom:"^25.0.1",jsonschema:"^1.2.6",luxon:"^3.3.0","maplibre-gl":"^4.7.1","mini-css-extract-plugin":"^1.6.0","mocha-junit-reporter":"^2.2.1",mochawesome:"^7.1.3","node-polyfill-webpack-plugin":"^1.1.4","path-browserify":"^1.0.1",polished:"^4.0.2","prop-types":"^15.7.2","query-string":"^8.1.0",ramda:"^0.30.1",react:"^18.3.1","react-compound-slider":"^3.3.1","react-dom":"^18.3.1","react-json-editor-ajrm":"^2.5.13","react-qr-svg":"^2.2.1","react-svg":"^16.1.29","react-virtualized-auto-sizer":"^1.0.2","react-window":"^1.8.11","smoothscroll-polyfill":"^0.4.4","styled-components":"^6.1.14","styled-normalize":"^8.0.6","throttle-debounce":"^3.0.1",trackjs:"^3.7.4","ua-parser-js":"^0.7.23",uuid:"3.3.2",zousan:"^3.0.1","zousan-plus":"^4.0.1"},p={"@applitools/eyes-cypress":"^3.47.0","@babel/core":"^7.26.0","@babel/eslint-parser":"^7.25.9","@babel/plugin-proposal-class-properties":"^7.18.6","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-syntax-import-assertions":"^7.26.0","@babel/plugin-transform-modules-commonjs":"^7.25.9","@babel/plugin-transform-runtime":"^7.25.9","@babel/preset-env":"^7.26.0","@babel/preset-react":"^7.25.9","@testing-library/jest-dom":"^6.6.3","@types/react":"^19.0.10","@types/react-dom":"^19.0.4","@typescript-eslint/eslint-plugin":"^7.13.0","@typescript-eslint/parser":"^7.13.0","babel-jest":"^27.0.6","babel-loader":"^8.2.2","babel-plugin-inline-json-import":"^0.3.2","babel-plugin-module-resolver":"^5.0.0","babel-plugin-styled-components":"^2.1.4","babel-polyfill":"^6.26.0","chai-colors":"^1.0.1","css-loader":"^5.2.4",cypress:"^12.17.4","cypress-browser-permissions":"^1.1.0","cypress-wait-until":"^1.7.2",eslint:"^8.57.0","eslint-config-standard":"^16.0.3","eslint-import-resolver-typescript":"^3.6.1","eslint-plugin-cypress":"^2.11.1","eslint-plugin-import":"^2.16.0","eslint-plugin-jest":"^28.6.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-react":"^7.12.4","eslint-plugin-standard":"^5.0.0","fetch-mock-jest":"^1.3.0",glob:"^10.3.3",husky:"^6.0.0",jest:"29.7.0","jest-environment-jsdom":"^29.7.0","lint-staged":"^11.0.1","node-fetch":"^2.6.0","null-loader":"^4.0.1",nx:"19.4.2","nx-remotecache-azure":"^19.0.0","start-server-and-test":"^2.0.0",typescript:"^5.4.5",vite:"^4.3.9",vitest:"^2.1.5",webpack:"^5.96.1","webpack-merge":"^6.0.1"},d="yarn@4.3.1",m={node:"20.x"},u={},b={name:e,version:s,private:!0,license:o,type:t,main:l,workspaces:r,scripts:a,"lint-staged":{"*.js":["eslint --fix"]},browserslist:i,resolutions:n,dependencies:c,devDependencies:p,packageManager:d,engines:m,nx:u};export{i as browserslist,b as default,c as dependencies,p as devDependencies,m as engines,o as license,l as main,e as name,u as nx,d as packageManager,n as resolutions,a as scripts,t as type,s as version,r as workspaces};
@@ -1 +1 @@
1
- import{DateTime as t}from"luxon";import*as e from"ramda";import n from"zousan";import{dynamicRoutingData as a}from"../mocks/mockDynamicRoutingData.js";import{processParkingPOIS as o,processSecurityWaitTimes as i,mutateSecurityCheckpointLabel as s,processOpenClosedPois as c}from"./processors.js";let r=3e4;const u="x-account-id";function d(d,l={}){const m={dynamicDataNotPending:new n,poisToAvoid:new n},p=d.gt();l._overrideRefreshFrequency&&(r=l._overrideRefreshFrequency),d.bus.on("system/readywhenyouare",(()=>m.dynamicDataNotPending)),d.bus.on("dynamicRouting/poisToAvoid",(()=>m.poisToAvoid));const y=async t=>{const e={};for(const n of t){const t=await d.bus.get("poi/getById",{id:n});t&&(e[n]=t.name)}return e};return{init:async()=>{const[n,g]=await Promise.all([d.bus.get("venueData/getAccountId"),d.bus.get("venueData/getVenueId")]),f=`https://marketplace.locuslabs.com/venueId/${g}/dynamic-poi`;let v,h=0,D=0;const b=async()=>{const r=await fetch(f,{headers:{[u]:n}});if(r.ok)return r.json().then((({data:n})=>async function(n){(function(t){const e=o(t);d.bus.send("poi/setDynamicData",{plugin:"parking",idValuesMap:e})})(n),function(t){const e=c(t);d.bus.send("poi/setDynamicData",{plugin:"open-closed-status",idValuesMap:e})}(n),async function(t){const e=i(t);d.bus.send("poi/setDynamicData",{plugin:"security",idValuesMap:e});const n=await y(Object.keys(e));d.bus.send("map/mutateFeature",{functor:s(p,e,n)})}(n),await async function(n){let a=[];if(!l.dynamicRoutingEnabled)return void m.poisToAvoid.resolve(a);const o=t.now().toMillis(),i=Object.values(e.filter((t=>{const n=e.path(["dynamicData","dynamic-routing","navGraphHidden"],t),a=e.path(["dynamicData","dynamic-routing","expiration"],t);return!0===n&&a>o}),n));if(i.length>0){const t=await d.bus.get("poi/getAll");a=Object.values(t).length>0?i.map((e=>t[e?.poiId]))?.filter(Boolean):[]}m.poisToAvoid.resolve(a)}(a)}(n))).then((()=>{D++})).catch(console.error);console.warn("dynamicPois: fetch response status not ok",r),h++,h>=3&&h>D&&clearInterval(v)},w=await d.bus.get("venueData/getQueueTypes");return w.SecurityLane&&w.SecurityLane.length?b().then((()=>{v=setInterval(b,r)})).finally((()=>m.dynamicDataNotPending.resolve(!0))):m.dynamicDataNotPending.resolve(!0)}}}export{d as create};
1
+ import{DateTime as n}from"luxon";import*as t from"ramda";import e from"zousan";import{processParkingPOIS as o,processSecurityWaitTimes as a,mutateSecurityCheckpointLabel as s,processOpenClosedPois as i}from"./processors.js";let c=3e4;const r="x-account-id";function u(u,d={}){const l={dynamicDataNotPending:new e,poisToAvoid:new e},p=u.gt();d._overrideRefreshFrequency&&(c=d._overrideRefreshFrequency),u.bus.on("system/readywhenyouare",(()=>l.dynamicDataNotPending)),u.bus.on("dynamicRouting/poisToAvoid",(()=>l.poisToAvoid));const m=async n=>{const t={};for(const e of n){const n=await u.bus.get("poi/getById",{id:e});n&&(t[e]=n.name)}return t};return{init:async()=>{const[e,y]=await Promise.all([u.bus.get("venueData/getAccountId"),u.bus.get("venueData/getVenueId")]),f=`https://marketplace.locuslabs.com/venueId/${y}/dynamic-poi`;let g,v=0,h=0;const b=async()=>{const c=await fetch(f,{headers:{[r]:e}});if(c.ok)return c.json().then((({data:e})=>async function(e){(function(n){const t=o(n);u.bus.send("poi/setDynamicData",{plugin:"parking",idValuesMap:t})})(e),function(n){const t=i(n);u.bus.send("poi/setDynamicData",{plugin:"open-closed-status",idValuesMap:t})}(e),async function(n){const t=a(n);u.bus.send("poi/setDynamicData",{plugin:"security",idValuesMap:t});const e=await m(Object.keys(t));u.bus.send("map/mutateFeature",{functor:s(p,t,e)})}(e),async function(e){let o=[];if(!d.dynamicRoutingEnabled)return void l.poisToAvoid.resolve(o);const a=n.now().toMillis(),s=Object.values(t.filter((n=>{const e=t.path(["dynamicData","dynamic-routing","navGraphHidden"],n),o=t.path(["dynamicData","dynamic-routing","expiration"],n);return!0===e&&o>a}),e));if(s.length>0){const n=await u.bus.get("poi/getAll");o=Object.values(n).length>0?s.map((t=>n[t?.poiId]))?.filter(Boolean):[]}l.poisToAvoid.resolve(o)}(e)}(e))).then((()=>{h++})).catch(console.error);console.warn("dynamicPois: fetch response status not ok",c),v++,v>=3&&v>h&&clearInterval(g)};return b().then((()=>{g=setInterval(b,c)})).finally((()=>l.dynamicDataNotPending.resolve(!0)))}}}export{u as create};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "atriusmaps-node-sdk",
3
- "version": "3.3.400",
3
+ "version": "3.3.401",
4
4
  "description": "This project provides an API to Atrius Personal Wayfinder maps within a Node environment. See the README.md for more information",
5
5
  "keywords": [
6
6
  "map",
@@ -1,41 +0,0 @@
1
- 'use strict';
2
-
3
- const dynamicRoutingData = {
4
- 430: {
5
- category: 'portal',
6
- description: 'Elevator',
7
- poiId: '430',
8
- position: {
9
- floorId: 'staticdca-terminals-departures',
10
- latitude: 38.851973,
11
- longitude: -77.082142
12
- },
13
- dynamicData: {
14
- 'dynamic-routing': {
15
- navGraphHidden: true,
16
- navGraphHiddenReason: 'reason 2',
17
- expiration: 2055958719000
18
- // expiration: 1740608456150
19
- }
20
- }
21
- },
22
- 431: {
23
- category: 'portal',
24
- description: 'Elevator',
25
- poiId: '431',
26
- position: {
27
- floorId: 'staticdca-terminals-departures',
28
- latitude: 38.851973,
29
- longitude: -77.082142
30
- },
31
- dynamicData: {
32
- 'dynamic-routing': {
33
- navGraphHidden: true,
34
- navGraphHiddenReason: 'reason 2',
35
- expiration: 2055958719000
36
- }
37
- }
38
- }
39
- };
40
-
41
- exports.dynamicRoutingData = dynamicRoutingData;
@@ -1 +0,0 @@
1
- const a={430:{category:"portal",description:"Elevator",poiId:"430",position:{floorId:"staticdca-terminals-departures",latitude:38.851973,longitude:-77.082142},dynamicData:{"dynamic-routing":{navGraphHidden:!0,navGraphHiddenReason:"reason 2",expiration:2055958719e3}}},431:{category:"portal",description:"Elevator",poiId:"431",position:{floorId:"staticdca-terminals-departures",latitude:38.851973,longitude:-77.082142},dynamicData:{"dynamic-routing":{navGraphHidden:!0,navGraphHiddenReason:"reason 2",expiration:2055958719e3}}}};export{a as dynamicRoutingData};