Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@meridian/web-sdk

Package Overview
Dependencies
Maintainers
4
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meridian/web-sdk - npm Package Compare versions

Comparing version 1.8.0 to 1.9.0

dist/src/Translations.d.ts

1

dist/src/util.d.ts

@@ -11,3 +11,2 @@ /**

unnamedBuilding: string;
noResultsFound: string;
};

@@ -14,0 +13,0 @@ /** New object with just one key missing from it. */

@@ -110,2 +110,9 @@ /** @jsx h */

/**
* Object with a X & Y
*/
declare type XY = {
x: number;
y: number;
};
/**
* Convert from latitude and longitude to a point on a referenced map. Uses equirectangular projection.

@@ -120,3 +127,3 @@ *

*/
export declare function latLngToMapPoint(gpsRefPoints: string, { lat, lng }: LatLng): {
export declare function latLngToMapPoint(floorData: Partial<FloorData>, { lat, lng }: LatLng): {
x: number;

@@ -126,2 +133,15 @@ y: number;

/**
* Convert from a point on a referenced map to latitude and longitude. Uses mercator projection.
*
* The basic formula to achieve this is as follows:
*
* latitute = 2(tan^-1)[exp(y / radius)]
* longitude = central parallel of map + (x / radius) - PI / 2
*
*/
export declare function mapPointToLatLng(floorData: Partial<FloorData>, { x, y }: XY): {
lat: number;
lng: number;
};
/**
* Initializes a share MeridianSDK API instance for use across all calls to

@@ -507,5 +527,5 @@ * [[createMap]]. You can either call this function or pass your [[API]]

/**
* [async] Returns the gps_ref_points data of specified floor
* [async] Returns the data of specified floor
*/
fetchMapAnchorPoints(locationID: string, floorID: string): Promise<FloorData[]>;
fetchFloorData(locationID: string, floorID: string): Promise<FloorData[]>;
/**

@@ -512,0 +532,0 @@ * [async] Returns an object URL for the given SVG URL

{
"name": "@meridian/web-sdk",
"private": false,
"version": "1.8.0",
"version": "1.9.0",
"description": "Web SDK for showing Aruba Meridian maps, tags, and more",

@@ -38,3 +38,3 @@ "main": "./dist/web-sdk.js",

"@emotion/css": "^11.10.0",
"@types/d3-transition": "^3.0.1",
"@types/d3-transition": "^3.0.2",
"@types/lodash.debounce": "^4.0.7",

@@ -50,3 +50,3 @@ "@types/lodash.groupby": "^4.6.7",

"lodash.throttle": "^4.1.1",
"preact": "^10.10.0",
"preact": "^10.11.0",
"prop-types": "^15.8.1",

@@ -58,8 +58,8 @@ "reconnecting-websocket": "^4.4.0",

"@types/d3-zoom": "^3.0.1",
"@types/webpack-env": "^1.17.0",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"@types/webpack-env": "^1.18.0",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"cypress": "^9.6.1",
"declaration-bundler-webpack-plugin": "^1.0.3",
"eslint": "^8.21.0",
"eslint": "^8.23.1",
"eslint-config-preact": "^1.3.0",

@@ -73,11 +73,11 @@ "eslint-plugin-compat": "^4.0.2",

"ts-loader": "^9.3.1",
"typedoc": "^0.22.17",
"typescript": "^4.7.4",
"typedoc": "^0.23.14",
"typescript": "^4.8.3",
"wait-on": "^6.0.1",
"webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-bundle-analyzer": "^4.6.1",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.3",
"webpack-dev-server": "^4.11.0",
"webpack-node-externals": "^3.0.0"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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