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

@maxim_mazurok/gapi.client.recaptchaenterprise-v1

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maxim_mazurok/gapi.client.recaptchaenterprise-v1 - npm Package Compare versions

Comparing version 0.0.20230121 to 0.0.20230129

21

index.d.ts

@@ -12,3 +12,3 @@ /* Type definitions for non-npm package reCAPTCHA Enterprise API v1 0.0 */

// Generated from: https://recaptchaenterprise.googleapis.com/$discovery/rest?version=v1
// Revision: 20230121
// Revision: 20230129

@@ -59,2 +59,4 @@ /// <reference types="gapi.client" />

reasons?: string[];
/** Optional. If the Assessment is part of a Payment Transaction, provide details on Payment Lifecycle Events that occur in the Transaction. */
transactionEvent?: GoogleCloudRecaptchaenterpriseV1TransactionEvent;
}

@@ -108,5 +110,5 @@ // tslint:disable-next-line:no-empty-interface

hashedAccountId?: string;
/** Optional. The site key that was used to invoke reCAPTCHA on your site and generate the token. */
/** Optional. The site key that was used to invoke reCAPTCHA Enterprise on your site and generate the token. */
siteKey?: string;
/** Optional. The user response token provided by the reCAPTCHA client-side integration on your site. */
/** Optional. The user response token provided by the reCAPTCHA Enterprise client-side integration on your site. */
token?: string;

@@ -274,2 +276,15 @@ /** Optional. The user agent present in the request from the user's device related to this event. */

}
interface GoogleCloudRecaptchaenterpriseV1TransactionEvent {
/** Optional. Timestamp when this transaction event occurred; otherwise assumed to be the time of the API call. */
eventTime?: string;
/** Optional. The type of this transaction event. */
eventType?: string;
/** Optional. The reason or standardized code which corresponds with this transaction event, if one exists. E.g. a CHARGEBACK Event with code 4553. */
reason?: string;
/**
* Optional. The value that corresponds with this transaction event, if one exists. E.g. A refund event where $5.00 was refunded. Currency is obtained from the original transaction
* data.
*/
value?: number;
}
interface GoogleCloudRecaptchaenterpriseV1WafSettings {

@@ -276,0 +291,0 @@ /** Required. The WAF feature for which this key is enabled. */

2

package.json
{
"name": "@maxim_mazurok/gapi.client.recaptchaenterprise-v1",
"version": "0.0.20230121",
"version": "0.0.20230129",
"description": "TypeScript typings for reCAPTCHA Enterprise API v1",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -6,3 +6,3 @@ /* This is stub file for gapi.client.recaptchaenterprise-v1 definition tests */

// Revision: 20230121
// Revision: 20230129

@@ -42,2 +42,8 @@ gapi.load('client', async () => {

],
transactionEvent: {
eventTime: "Test string",
eventType: "Test string",
reason: "Test string",
value: 42,
},
});

@@ -44,0 +50,0 @@ /** Creates an Assessment of the likelihood an event is legitimate. */

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