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

@contrail/extensions-sdk

Package Overview
Dependencies
Maintainers
11
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrail/extensions-sdk - npm Package Compare versions

Comparing version 1.0.0-alpha.1 to 1.0.0-alpha.2

4

lib/entities/entities-action-handler.js

@@ -39,2 +39,6 @@ "use strict";

return yield new sdk_1.Entities().batchUpdate(action.options);
case 'delete':
return yield new sdk_1.Entities().delete(action.options);
case 'batchDelete':
return yield new sdk_1.Entities().batchDelete(action.options);
}

@@ -41,0 +45,0 @@ });

4

lib/entities/entities-web-client.d.ts

@@ -1,2 +0,2 @@

import { EntitiesClientBatchCreateOptions, EntitiesClientBatchUpdateOptions, EntitiesClientCreateOptions, EntitiesClientGetOptions, API_VERSION } from "@contrail/sdk";
import { EntitiesClientBatchCreateOptions, EntitiesClientBatchDeleteOptions, EntitiesClientBatchUpdateOptions, EntitiesClientCreateOptions, EntitiesClientDeleteOptions, EntitiesClientGetOptions, API_VERSION } from "@contrail/sdk";
declare class EntitiesClientUpdateOptions {

@@ -18,4 +18,6 @@ entityName?: string;

batchUpdate(options: EntitiesClientBatchUpdateOptions): Promise<any[]>;
delete(options: EntitiesClientDeleteOptions): Promise<any>;
batchDelete(options: EntitiesClientBatchDeleteOptions): Promise<any[]>;
private validateAndReturnEntityClientResults;
}
export {};

@@ -47,2 +47,14 @@ "use strict";

}
delete(options) {
return __awaiter(this, void 0, void 0, function* () {
const results = yield (0, actions_1.getExtensionActions)().sendMessageToEntitiesClient({ method: 'delete', options });
return this.validateAndReturnEntityClientResults(results);
});
}
batchDelete(options) {
return __awaiter(this, void 0, void 0, function* () {
const results = yield (0, actions_1.getExtensionActions)().sendMessageToEntitiesClient({ method: 'batchDelete', options });
return this.validateAndReturnEntityClientResults(results);
});
}
validateAndReturnEntityClientResults(results) {

@@ -49,0 +61,0 @@ var _a;

{
"name": "@contrail/extensions-sdk",
"version": "1.0.0-alpha.1",
"version": "1.0.0-alpha.2",
"description": "Client library for interfacing with VibeIQ's services and apps from an extension.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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