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

@openzeppelin/defender-autotask-client

Package Overview
Dependencies
Maintainers
7
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openzeppelin/defender-autotask-client - npm Package Compare versions

Comparing version 1.48.0 to 1.49.0

fixtures/invalid/notindex.js

4

lib/api.d.ts
/// <reference types="node" />
import { BaseApiClient } from '@openzeppelin/defender-base-client';
import { BaseApiClient, ApiVersion } from '@openzeppelin/defender-base-client';
import { CreateAutotaskRequest, UpdateAutotaskRequest, GetSecretsResponse, SaveSecretsRequest } from './models/autotask';

@@ -13,3 +13,3 @@ import { AutotaskRunBase, AutotaskRunListResponse, AutotaskRunResponse, AutotaskRunStatus } from './models/autotask-run.res';

protected getPoolClientId(): string;
protected getApiUrl(): string;
protected getApiUrl(v?: ApiVersion): string;
list(): Promise<AutotaskListResponse>;

@@ -16,0 +16,0 @@ get(autotaskId: string): Promise<AutotaskResponse>;

@@ -14,3 +14,6 @@ "use strict";

}
getApiUrl() {
getApiUrl(v = 'v1') {
if (v === 'v2') {
return process.env.DEFENDER_API_V2_URL || 'https://defender-api.openzeppelin.com/v2/';
}
return process.env.DEFENDER_AUTOTASK_API_URL || 'https://defender-api.openzeppelin.com/autotask/';

@@ -17,0 +20,0 @@ }

{
"name": "@openzeppelin/defender-autotask-client",
"version": "1.48.0",
"version": "1.49.0",
"description": "Client library for managing Defender Autotasks",

@@ -30,3 +30,3 @@ "bin": {

"dependencies": {
"@openzeppelin/defender-base-client": "1.48.0",
"@openzeppelin/defender-base-client": "1.49.0",
"axios": "^1.4.0",

@@ -33,0 +33,0 @@ "dotenv": "^10.0.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