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

@doflo/flow-interfaces

Package Overview
Dependencies
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@doflo/flow-interfaces - npm Package Compare versions

Comparing version 1.16.1 to 1.16.2

2

dist/types/executionWrapper.d.ts

@@ -0,1 +1,3 @@

export interface AppExecutionContext<InputData = any> extends Readonly<Required<ExecutionWrapper<InputData>>> {
}
/**

@@ -2,0 +4,0 @@ * ![doFlo Logo](https://schemas.doflo.com/docslogo.png?topic=ExecutionWrapper&v=1.0.0)

@@ -6,2 +6,3 @@ /// <reference types="node" />

import type { Logger } from './logger';
import { RequestInfo, RequestInit, Response } from 'node-fetch';
export * as api from './api';

@@ -15,3 +16,3 @@ export * as validation from './validation';

}
export { ExecutionWrapper } from './executionWrapper';
export { ExecutionWrapper, AppExecutionContext } from './executionWrapper';
export interface IPropertyOptionsLoadFunctions extends IRPCContext {

@@ -47,3 +48,43 @@ getElement(): IElement;

export interface IRPCContext {
/**
* ![doFlo Logo](https://schemas.doflo.com/docslogo.png?topic=IRPCContext;env&v=1.0.0)
*
* **env** holds environmental data as well as the secrets specified for the name space
*/
env: EnvironmentData;
/**
* ![doFlo Logo](https://schemas.doflo.com/docslogo.png?topic=IRPCContext;fetch&v=1.0.0)
*
* **node-fetch** http client for making requests use it if you need it
*/
fetch: (url: RequestInfo, init?: RequestInit) => Promise<Response>;
/**
* ![doFlo Logo](https://schemas.doflo.com/docslogo.png?topic=IRPCContext;stash&v=1.0.0)
*
* **stash** short term storage of data, (up to 2 days) this is commonly used to securely stash
* sensitive information that can later be picked up with the ticket number
*/
stash: (data: any) => string;
/**
* ![doFlo Logo](https://schemas.doflo.com/docslogo.png?topic=IRPCContext;pickup&v=1.0.0)
*
* **pickup** short term storage of data, (up to 2 days) this is commonly used to securely stash
* sensitive information that can later be picked up with the ticket number
*/
pickup: <T>(ticket: string, preserve: boolean) => T;
/**
* ![doFlo Logo](https://schemas.doflo.com/docslogo.png?topic=IRPCContext;expire&v=1.0.0)
*
* **expire** short term storage of data, (up to 2 days) this is commonly used to securely stash
* sensitive information that can later be picked up with the ticket number
*/
expire: (ticket: string) => void;
/**
* ![doFlo Logo](https://schemas.doflo.com/docslogo.png?topic=IRPCContext;log&v=1.0.0)
*
* **data** refers to the data that utilized in the workflow
* this data object is almost immediately striped from the
* response and wrapped into a new object that is passed
* into the workflow
*/
log: Logger;

@@ -50,0 +91,0 @@ }

3

package.json
{
"name": "@doflo/flow-interfaces",
"version": "1.16.1",
"version": "1.16.2",
"description": "Public Interfaces, Schemas, & GRPC Signatures for doFlo developers",

@@ -71,4 +71,5 @@ "main": "dist/index.js",

"@types/google-protobuf": "^3.7.4",
"@types/node-fetch": "^2.5.10",
"reflect-metadata": "^0.1.13"
}
}

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