@stackone/connect-sdk 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.mjs CHANGED
@@ -1 +1 @@
1
- import{getFieldMappingStepFunctions as n,stepsBasicPipeRunner as t,StepFunctionsFactory as o}from"@stackone/core";const e=async({block:o,getFieldMappingStepFunctionsFn:e=n,stepsBasicPipeRunnerFn:i=t})=>{const c=e({fieldConfigs:o.fieldConfigs});return await i({stepFunctions:c,block:o})},i=async({block:n,stepFunctionName:t,params:e,buildStepFunction:i=o.build})=>{const c=i({functionName:t});return await c({block:n,params:e})};export{e as executeFieldMappingStepFunctions,i as executeStepFunction};
1
+ import{StepFunctionsFactory as o}from"@stackone/core";const t=async({block:t,stepFunctionName:n,params:a,buildStepFunction:c=o.build})=>{const e=c({functionName:n});return await e({block:t,params:a})};export{t as executeStepFunction};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";var e=require("@stackone/core");exports.executeFieldMappingStepFunctions=async({block:n,getFieldMappingStepFunctionsFn:t=e.getFieldMappingStepFunctions,stepsBasicPipeRunnerFn:i=e.stepsBasicPipeRunner})=>{const s=t({fieldConfigs:n.fieldConfigs});return await i({stepFunctions:s,block:n})},exports.executeStepFunction=async({block:n,stepFunctionName:t,params:i,buildStepFunction:s=e.StepFunctionsFactory.build})=>{const c=s({functionName:t});return await c({block:n,params:i})};
1
+ "use strict";var t=require("@stackone/core");exports.executeStepFunction=async({block:e,stepFunctionName:c,params:n,buildStepFunction:a=t.StepFunctionsFactory.build})=>{const o=a({functionName:c});return await o({block:e,params:n})};
@@ -1,9 +1,4 @@
1
- import { type Block, type StepFunctionName, type StepFunctionParams, StepFunctionsFactory, getFieldMappingStepFunctions, stepsBasicPipeRunner } from '@stackone/core';
2
- export declare const executeFieldMappingStepFunctions: ({ block, getFieldMappingStepFunctionsFn, stepsBasicPipeRunnerFn, }: {
3
- block: Block;
4
- getFieldMappingStepFunctionsFn?: typeof getFieldMappingStepFunctions;
5
- stepsBasicPipeRunnerFn?: typeof stepsBasicPipeRunner;
6
- }) => Promise<Block>;
1
+ import { type Block, type StepFunctionName, type StepFunctionParams, StepFunctionsFactory } from '@stackone/core';
7
2
  export declare const executeStepFunction: ({ block, stepFunctionName, params, buildStepFunction, }: {
8
3
  block: Block;
9
4
  stepFunctionName: StepFunctionName;
@@ -1 +1 @@
1
- export { executeFieldMappingStepFunctions, executeStepFunction, } from './executeStepFunctions';
1
+ export { executeStepFunction } from './executeStepFunctions';
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@stackone/connect-sdk",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
- "module": "dist/index.es.js",
6
+ "module": "dist/index.es.mjs",
7
7
  "types": "dist/types/index.d.ts",
8
8
  "devDependencies": {},
9
9
  "files": [