@stackone/connect-sdk 1.0.2 → 1.2.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/executeBlock.d.ts +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.mjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Block, blockPipe, getBlockPipeFunctionsFromConfigs } from '@stackone/core';
|
|
2
|
+
export declare const executeBlock: ({ block, getBlockPipeFunctionsFromConfigsFn, blockPipeFn, }: {
|
|
3
|
+
block: Block;
|
|
4
|
+
getBlockPipeFunctionsFromConfigsFn?: any;
|
|
5
|
+
blockPipeFn?: any;
|
|
6
|
+
}) => Promise<Block>;
|
package/dist/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { executeBlock } from './executeBlock';
|
package/dist/index.es.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{getBlockPipeFunctionsFromConfigs as o,blockPipe as n}from"@stackone/core";const c=async({block:c,getBlockPipeFunctionsFromConfigsFn:i=o,blockPipeFn:t=n})=>{const e=i({fieldConfigs:c.fieldConfigs});return await t({blockFunctions:e,block:c})};export{c as executeBlock};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(async()=>{
|
|
1
|
+
"use strict";var o=require("@stackone/core");exports.executeBlock=async({block:e,getBlockPipeFunctionsFromConfigsFn:c=o.getBlockPipeFunctionsFromConfigs,blockPipeFn:i=o.blockPipe})=>{const n=c({fieldConfigs:e.fieldConfigs});return await i({blockFunctions:n,block:e})};
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackone/connect-sdk",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
7
|
+
"types": "dist/types/index.d.ts",
|
|
8
8
|
"devDependencies": {},
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"author": "StackOne",
|
|
26
26
|
"license": "ISC",
|
|
27
27
|
"dependencies": {
|
|
28
|
+
"@stackone/core": "*",
|
|
28
29
|
"@stackone/transport": "*",
|
|
29
30
|
"@stackone/open-api": "*"
|
|
30
31
|
}
|