@integration-app/sdk
Advanced tools
Comparing version 0.1.19 to 0.1.20
@@ -42,2 +42,3 @@ declare enum FlowRunState { | ||
createFlow(options: NewFlowOptions): Promise<any>; | ||
deleteFlow(flowId: string): Promise<any>; | ||
openNewConnection(options: NewConnectionOptions): Promise<void>; | ||
@@ -44,0 +45,0 @@ openFlow(flowId: string, options?: OpenFlowOptions): Promise<void>; |
@@ -61,2 +61,5 @@ "use strict"; | ||
} | ||
async deleteFlow(flowId) { | ||
return this.delete(`flows/${flowId}`); | ||
} | ||
async openNewConnection(options) { | ||
@@ -63,0 +66,0 @@ const requestId = (Math.random() + 1).toString(36).substring(12); |
{ | ||
"name": "@integration-app/sdk", | ||
"version": "0.1.19", | ||
"version": "0.1.20", | ||
"description": "JavaScript SDK for Integration.app", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -96,2 +96,6 @@ import Pusher, { Channel } from 'pusher-js' | ||
public async deleteFlow(flowId: string) { | ||
return this.delete(`flows/${flowId}`) | ||
} | ||
public async openNewConnection(options: NewConnectionOptions) { | ||
@@ -98,0 +102,0 @@ const requestId = (Math.random() + 1).toString(36).substring(12) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
930933
10268