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

amplify-function-plugin-interface

Package Overview
Dependencies
Maintainers
3
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amplify-function-plugin-interface - npm Package Compare versions

Comparing version 1.8.1-flutter-preview.10 to 1.8.1-flutter-preview.11

19

lib/index.d.ts

@@ -98,2 +98,4 @@ export declare type FunctionRuntimeContributorFactory = (context: any) => Contributor<FunctionRuntimeParameters, RuntimeContributionRequest> & FunctionRuntimeLifecycleManager;

lambdaLayers: LambdaLayer[];
environmentVariables?: Record<string, string>;
secretDeltas?: SecretDeltas;
};

@@ -118,2 +120,3 @@ export interface FunctionTriggerParameters {

cloudResourceTemplatePath?: string;
environmentVariables?: Record<string, string>;
}

@@ -191,3 +194,19 @@ export interface ProviderContext {

}
export declare type SecretDeltas = Record<SecretName, SecretDelta>;
export declare type SecretName = string;
export declare type SecretDelta = RetainSecret | RemoveSecret | SetSecret;
export declare type RetainSecret = {
operation: 'retain';
};
export declare const retainSecret: RetainSecret;
export declare type RemoveSecret = {
operation: 'remove';
};
export declare const removeSecret: RemoveSecret;
export declare type SetSecret = {
operation: 'set';
value: string;
};
export declare const setSecret: (value: string) => SetSecret;
export {};
//# sourceMappingURL=index.d.ts.map

13

lib/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BuildType = void 0;
exports.setSecret = exports.removeSecret = exports.retainSecret = exports.BuildType = void 0;
var BuildType;

@@ -9,2 +9,13 @@ (function (BuildType) {

})(BuildType = exports.BuildType || (exports.BuildType = {}));
exports.retainSecret = {
operation: 'retain',
};
exports.removeSecret = {
operation: 'remove',
};
const setSecret = (value) => ({
operation: 'set',
value,
});
exports.setSecret = setSecret;
//# sourceMappingURL=index.js.map

4

package.json
{
"name": "amplify-function-plugin-interface",
"version": "1.8.1-flutter-preview.10+def25777c",
"version": "1.8.1-flutter-preview.11+37710261c",
"description": "Interface for plugins that provide additional functionality to function category plugins",

@@ -19,3 +19,3 @@ "repository": {

},
"gitHead": "def25777c52cacff0da7849e19dcae8428b84fcc"
"gitHead": "37710261cd3f413a2922982998eff635e8425041"
}

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