Socket
Socket
Sign inDemoInstall

@skycatch/node-skyapi-sdk

Package Overview
Dependencies
98
Maintainers
16
Versions
53
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

53

dist/skyapi.js

@@ -1343,2 +1343,55 @@ 'use strict'

/**
* Measure Aggregate Volume
* Measure Aggregate Volume
* @method
* @name measureSurface
* @param (boolean) refresh - Re-calculate measurement
* @param (array) surfaces - Measure Aggregate Volume
* @param (number) level - Zoom level
* @param (object) basePlane - Baseplane to compare the surface against for basic_volume measurements.
* @param () feature - Measure Aggregate Volume
* @param (string) callback - Callback URL to invoke once the measurement is done (async mode)
*/
api.measureSurface = async (params = {}, options = {}) => {
let method = 'post'.toUpperCase()
let path = `/v${version || 2}` + '/measure/surface'
let query = {}
let body = {}
let security = true
if (params['refresh'] !== undefined) {
query['refresh'] = params['refresh']
}
if (params['surfaces'] !== undefined) {
body['surfaces'] = params['surfaces']
}
if (params['level'] !== undefined) {
body['level'] = params['level']
}
if (params['basePlane'] !== undefined) {
body['basePlane'] = params['basePlane']
}
if (params['feature'] !== undefined) {
body['feature'] = params['feature']
}
if (params['callback'] !== undefined) {
body['callback'] = params['callback']
}
return api.request({
method,
path,
query,
body,
security,
options
})
}
/**
* Something

@@ -1345,0 +1398,0 @@ * Something

3

package.json
{
"name": "@skycatch/node-skyapi-sdk",
"version": "2.0.0",
"version": "2.0.1",
"description": "Node SDK to interact with SkyAPI",

@@ -54,2 +54,3 @@ "main": "./dist/skyapi.js",

"@skycatch/skyapi-measure-surface-get": "github:skycatch/skyapi-measure-surface-get#v1.0.0",
"@skycatch/skyapi-measure-surface-post": "github:skycatch/skyapi-measure-surface-post#v1.0.0",
"@skycatch/skyapi-measure-surface-progress-post": "github:skycatch/skyapi-measure-surface-progress-post#v1.0.0",

@@ -56,0 +57,0 @@ "@skycatch/skyapi-metadata-get": "github:skycatch/skyapi-metadata-get#v1.0.1",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc