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

@integration-app/sdk

Package Overview
Dependencies
Maintainers
3
Versions
444
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@integration-app/sdk - npm Package Compare versions

Comparing version 0.1.15 to 0.1.16

.eslintrc.js

4

package.json
{
"name": "@integration-app/sdk",
"version": "0.1.15",
"version": "0.1.16",
"description": "JavaScript SDK for Integration.app",

@@ -9,3 +9,3 @@ "main": "index.js",

"build": "npm run build:compile && npm run build:bundle",
"cleanup": "rm -r data-composer && rm -r data-filter && rm -r endpoints && rm -r errors && rm -r flow-engine && rm -r flows && rm *.js.map && rm *.d.ts && find . -type f -name \"*.js\" -depth 1 -not -name \"rollup.config.js\" -delete",
"cleanup": "rm *.js.map && rm *.d.ts && find . -type f -name \"*.js\" -depth 1 -not -name \"rollup.config.js\" -not -name \".eslintrc.js\" -delete",
"build:compile": "tsc",

@@ -12,0 +12,0 @@ "build:bundle": "rollup -c rollup.config.js",

@@ -101,4 +101,4 @@ import Pusher, { Channel } from 'pusher-js'

if (
message.source == 'integration.app' &&
message.requestId == requestId
message.source == 'integration.app' &&
message.requestId == requestId
) {

@@ -159,4 +159,4 @@ if (message.type == 'newConnectionCreated') {

public async runFlow(
flowId: string,
options: RunFlowOptions = {},
flowId: string,
options: RunFlowOptions = {},
): Promise<FlowRun> {

@@ -181,5 +181,5 @@ const { id: flowRunId } = await this.post('flow-runs', {

const fetchFlowNodeRuns = async () =>
this.get(`flow-node-runs?filter[flowRunId]=${flowRunId}`)
this.get(`flow-node-runs?filter[flowRunId]=${flowRunId}`)
const fetchFlowNodeRun = async (flowNodeRunId: string) =>
this.get(`flow-node-runs/${flowNodeRunId}`)
this.get(`flow-node-runs/${flowNodeRunId}`)

@@ -222,4 +222,4 @@ function updateFlowRun(nextFlowRun: FlowRun) {

return nodeRun?.state === FlowNodeRunState.COMPLETED
? nodeRun
: fetchFlowNodeRun(nodeRun.id)
? nodeRun
: fetchFlowNodeRun(nodeRun.id)
})

@@ -299,5 +299,5 @@

const latestNodeRunId = flowRun.nodeRuns
.map((nodeRun: any) => nodeRun.id)
.sort()
.pop()
.map((nodeRun: any) => nodeRun.id)
.sort()
.pop()
if (latestNodeRunId) {

@@ -359,4 +359,4 @@ return this.getFlowNodeRunOutputRecords(latestNodeRunId)

private async makeApiRequest(
method: HttpMethod,
params: Partial<AxiosRequestConfig> = {},
method: HttpMethod,
params: Partial<AxiosRequestConfig> = {},
) {

@@ -363,0 +363,0 @@ params.method = method

@@ -90,7 +90,7 @@ export enum DataLocatorStepType {

export type DataComposerRecipe =
| DataComposerRecipeLiteral
| DataComposerRecipeRef
| DataComposerRecipePlain
| DataComposerRecipeObject
| DataComposerRecipeArray
| DataComposerRecipeLiteral
| DataComposerRecipeRef
| DataComposerRecipePlain
| DataComposerRecipeObject
| DataComposerRecipeArray

@@ -97,0 +97,0 @@ export function isRecipe(value) {

import { IntegrationEngineClient } from './client'
// export * as dataComposerRecipeEntities from './data-composer/data-composer-recipe.entity'
// export * as dataFilterConditionTypes from './data-filter/condition-types'
// export * as dataFilterEntities from './data-filter/data-filter.entities'
// export * as endpointsDataResponseEntities from './endpoints/data-response'
// export * as endpointsEntities from './endpoints/endpoint'
// export * as endpointRequestEntities from './endpoints/endpoint-request'
// export * as errors from './errors/error.entity'
// export * as flowNodeRunEntities from './flow-engine/flow-node-run'
// export * as flowRunEntities from './flow-engine/flow-run'
// export * as flowRecordEntities from './flow-engine/flow-record'
// export * as flowNodeEntities from './flows/flow-node'
// export * as dataComposerEntities from './data-composer'
// export * as httpEntities from './http'
// export * as jsonPatchEntities from './json-patch'
// export * as jsonSchemaEntities from './json-schema'
export { IntegrationEngineClient } from './client'

@@ -19,0 +3,0 @@

@@ -16,2 +16,1 @@ export enum JSONPatchOp {

}

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