New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@adactive/adsum-wayfindingcontrols-asia

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adactive/adsum-wayfindingcontrols-asia - npm Package Compare versions

Comparing version 2.5.6 to 2.5.7

4

package.json
{
"name": "@adactive/adsum-wayfindingcontrols-asia",
"version": "2.5.6",
"version": "2.5.7",
"description": "Adsum Way Finding Controls Component",
"main": "index.js",
"author": "Erlanda Zakaria <erlandazakaria@gmail.com>",
"license": "UNLISENCED",
"license": "UNLICENSED",
"readmeFilename": "README.md",

@@ -9,0 +9,0 @@ "dependencies": {

@@ -46,2 +46,3 @@ // @flow

interchangeLabelStyle: object,
reverseFloor: Boolean,
|};

@@ -85,2 +86,3 @@

},
reverseFloor: false,
}

@@ -102,2 +104,3 @@

onRemovePath,
reverseFloor,
} = this.props;

@@ -142,3 +145,11 @@

let icDestinationFloorPosition;
if (pathSection[wayfindingState.currentSectionIndex + 1].to.pathNode.ground.id > kioskPlace.id) {
if (reverseFloor) {
if (pathSection[wayfindingState.currentSectionIndex + 1].to.pathNode.ground.id > kioskPlace.id) {
icDestinationFloorPosition = 'Down ';
} else if (pathSection[wayfindingState.currentSectionIndex + 1].to.pathNode.ground.id < kioskPlace.id) {
icDestinationFloorPosition = 'Up ';
} else {
icDestinationFloorPosition = 'Straight ';
}
} else if (pathSection[wayfindingState.currentSectionIndex + 1].to.pathNode.ground.id > kioskPlace.id) {
icDestinationFloorPosition = 'Up ';

@@ -239,3 +250,3 @@ } else if (pathSection[wayfindingState.currentSectionIndex + 1].to.pathNode.ground.id < kioskPlace.id) {

}
if (pathSection && pathSection[wayfindingState.currentSectionIndex] && pathSection[wayfindingState.currentSectionIndex].to){
if (pathSection && pathSection[wayfindingState.currentSectionIndex] && pathSection[wayfindingState.currentSectionIndex].to) {
awm.objectManager.addLabelOnAdsumLocation(changeFloorLabel, pathSection[wayfindingState.currentSectionIndex].to);

@@ -242,0 +253,0 @@ }

@@ -19,3 +19,3 @@ // @flow

if (poi && poi.placeId) {
store.dispatch(WayfindingActions.goToPlaceAction(poi.placeId, pmr ? pmr : false));
store.dispatch(WayfindingActions.goToPlaceAction(poi.placeId, pmr || false));
}

@@ -22,0 +22,0 @@ return (dispatch) => {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc