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

yaschema-api-google-cloud-task-creator

Package Overview
Dependencies
Maintainers
0
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaschema-api-google-cloud-task-creator - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

2

lib/cjs/create-google-cloud-task/create-google-cloud-task/index.js

@@ -31,3 +31,3 @@ "use strict";

const alreadyScheduledNames = new Set();
const defaultCallOptions = { timeout: 90 * ONE_SEC_MSEC };
const defaultCallOptions = { timeout: 30 * ONE_SEC_MSEC };
/** Uses `new CloudTasksClient().createTask` to access the specified API */

@@ -34,0 +34,0 @@ const createGoogleCloudTask = (api_1, req_1, ...args_1) => __awaiter(void 0, [api_1, req_1, ...args_1], void 0, function* (api, req, { requestValidationMode = (0, validation_mode_js_1.getDefaultRequestValidationMode)(), creationOptions, delayMSec = 0, limitMode = defaults_js_1.DEFAULT_TASK_LIMIT_MODE, limitMSec = defaults_js_1.DEFAULT_TASK_LIMIT_MSEC, limitType = defaults_js_1.DEFAULT_TASK_LIMIT_TYPE, limitNameExtension = '' } = {}) {

@@ -15,3 +15,3 @@ import type { CallOptions } from 'google-gax';

requestValidationMode?: ValidationMode;
/** The default timeout is 90000ms (90s) */
/** The default timeout is 30000ms (30s) */
creationOptions?: CallOptions;

@@ -18,0 +18,0 @@ /** @defaultValue `0` */

{
"name": "yaschema-api-google-cloud-task-creator",
"version": "1.7.0",
"version": "1.7.1",
"description": "Google Cloud createTask support for yaschema-api",

@@ -5,0 +5,0 @@ "keywords": [

@@ -40,3 +40,3 @@ import type { google } from '@google-cloud/tasks/build/protos/protos';

const defaultCallOptions: CallOptions = { timeout: 90 * ONE_SEC_MSEC };
const defaultCallOptions: CallOptions = { timeout: 30 * ONE_SEC_MSEC };

@@ -51,3 +51,3 @@ /** When limiting is used, the api.name is the primary key used for deduplication */

requestValidationMode?: ValidationMode;
/** The default timeout is 90000ms (90s) */
/** The default timeout is 30000ms (30s) */
creationOptions?: CallOptions;

@@ -54,0 +54,0 @@ /** @defaultValue `0` */

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc