Socket
Socket
Sign inDemoInstall

@googlemaps/maps-platform-datasets

Package Overview
Dependencies
90
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

5

build/src/v1/maps_platform_datasets_client.d.ts

@@ -59,4 +59,3 @@ /// <reference types="node" />

* Follows the structure of {@link gapicConfig}.
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
* For more information, please check the

@@ -69,3 +68,3 @@ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.

* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
* const client = new MapsPlatformDatasetsClient({fallback: 'rest'}, gax);
* const client = new MapsPlatformDatasetsClient({fallback: true}, gax);
* ```

@@ -72,0 +71,0 @@ */

7

build/src/v1/maps_platform_datasets_client.js

@@ -63,4 +63,3 @@ "use strict";

* Follows the structure of {@link gapicConfig}.
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
* For more information, please check the

@@ -73,3 +72,3 @@ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.

* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
* const client = new MapsPlatformDatasetsClient({fallback: 'rest'}, gax);
* const client = new MapsPlatformDatasetsClient({fallback: true}, gax);
* ```

@@ -131,3 +130,3 @@ */

}
else if (opts.fallback === 'rest') {
else {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);

@@ -134,0 +133,0 @@ }

@@ -59,4 +59,3 @@ /// <reference types="node" />

* Follows the structure of {@link gapicConfig}.
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
* For more information, please check the

@@ -69,3 +68,3 @@ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.

* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
* const client = new MapsPlatformDatasetsV1AlphaClient({fallback: 'rest'}, gax);
* const client = new MapsPlatformDatasetsV1AlphaClient({fallback: true}, gax);
* ```

@@ -72,0 +71,0 @@ */

@@ -63,4 +63,3 @@ "use strict";

* Follows the structure of {@link gapicConfig}.
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
* For more information, please check the

@@ -73,3 +72,3 @@ * {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.

* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
* const client = new MapsPlatformDatasetsV1AlphaClient({fallback: 'rest'}, gax);
* const client = new MapsPlatformDatasetsV1AlphaClient({fallback: true}, gax);
* ```

@@ -132,3 +131,3 @@ */

}
else if (opts.fallback === 'rest') {
else {
clientHeader.push(`rest/${this._gaxGrpc.grpcVersion}`);

@@ -135,0 +134,0 @@ }

# Changelog
## [1.0.1](https://github.com/googleapis/google-cloud-node/compare/maps-platform-datasets-v1.0.0...maps-platform-datasets-v1.0.1) (2023-09-06)
### Bug Fixes
* [Many APIs] simplify logic for HTTP/1.1 REST fallback option ([#4589](https://github.com/googleapis/google-cloud-node/issues/4589)) ([07967ad](https://github.com/googleapis/google-cloud-node/commit/07967add1b5fc28b548cf74721b595ea0ba90d5b))
## [1.0.0](https://github.com/googleapis/google-cloud-node/compare/maps-platform-datasets-v0.2.0...maps-platform-datasets-v1.0.0) (2023-08-06)

@@ -4,0 +11,0 @@

{
"name": "@googlemaps/maps-platform-datasets",
"version": "1.0.0",
"version": "1.0.1",
"description": "Maps Platform Datasets API client for Node.js",

@@ -59,4 +59,4 @@ "repository": {

"jsdoc": "^4.0.0",
"jsdoc-fresh": "^2.0.0",
"jsdoc-region-tag": "^2.0.0",
"jsdoc-fresh": "^3.0.0",
"jsdoc-region-tag": "^3.0.0",
"linkinator": "4.1.2",

@@ -63,0 +63,0 @@ "long": "^5.2.3",

@@ -138,3 +138,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."

Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
Libraries are compatible with all current _active_ and _maintenance_ versions of

@@ -141,0 +141,0 @@ Node.js.

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc