@digipair/skill-basic 0.49.4 → 0.49.6
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/index.cjs.js
CHANGED
@@ -61,7 +61,15 @@ let BasicService = class BasicService {
|
|
61
61
|
const transform = (params, pinsSettingsList, context)=>new BasicService().transform(params, pinsSettingsList, context);
|
62
62
|
const setVariable = (params, pinsSettingsList, context)=>new BasicService().setVariable(params, pinsSettingsList, context);
|
63
63
|
const base64ToBuffer = (params, pinsSettingsList, context)=>new BasicService().base64ToBuffer(params, pinsSettingsList, context);
|
64
|
+
const interval = (params, pinsSettingsList, context)=>new BasicService().interval(params, pinsSettingsList, context);
|
65
|
+
const defer = (params, pinsSettingsList, context)=>new BasicService().defer(params, pinsSettingsList, context);
|
66
|
+
const stopInterval = (params, pinsSettingsList, context)=>new BasicService().stopInterval(params, pinsSettingsList, context);
|
67
|
+
const stopDefer = (params, pinsSettingsList, context)=>new BasicService().stopDefer(params, pinsSettingsList, context);
|
64
68
|
|
65
69
|
exports.base64ToBuffer = base64ToBuffer;
|
70
|
+
exports.defer = defer;
|
71
|
+
exports.interval = interval;
|
66
72
|
exports.setVariable = setVariable;
|
73
|
+
exports.stopDefer = stopDefer;
|
74
|
+
exports.stopInterval = stopInterval;
|
67
75
|
exports.transform = transform;
|
package/index.esm.js
CHANGED
@@ -23899,14 +23899,14 @@ function indent(str, spaces) {
|
|
23899
23899
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23900
23900
|
// match is required
|
23901
23901
|
if (!match) {
|
23902
|
-
return
|
23902
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
23903
23903
|
v: nextMatch1
|
23904
23904
|
};
|
23905
23905
|
}
|
23906
23906
|
var token = match.token, offset = match.offset;
|
23907
23907
|
i1 += offset;
|
23908
23908
|
if (token === " ") {
|
23909
|
-
return
|
23909
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
23910
23910
|
}
|
23911
23911
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
23912
23912
|
token
|
@@ -23925,7 +23925,7 @@ function indent(str, spaces) {
|
|
23925
23925
|
if (contextKeys.some(function(el) {
|
23926
23926
|
return el.startsWith(name);
|
23927
23927
|
})) {
|
23928
|
-
return
|
23928
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
23929
23929
|
}
|
23930
23930
|
if (dateTimeIdentifiers.some(function(el) {
|
23931
23931
|
return el === name;
|
@@ -23944,9 +23944,9 @@ function indent(str, spaces) {
|
|
23944
23944
|
if (dateTimeIdentifiers.some(function(el) {
|
23945
23945
|
return el.startsWith(name);
|
23946
23946
|
})) {
|
23947
|
-
return
|
23947
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
23948
23948
|
}
|
23949
|
-
return
|
23949
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
23950
23950
|
v: nextMatch1
|
23951
23951
|
};
|
23952
23952
|
};
|
@@ -28010,5 +28010,9 @@ let BasicService = class BasicService {
|
|
28010
28010
|
const transform = (params, pinsSettingsList, context)=>new BasicService().transform(params, pinsSettingsList, context);
|
28011
28011
|
const setVariable = (params, pinsSettingsList, context)=>new BasicService().setVariable(params, pinsSettingsList, context);
|
28012
28012
|
const base64ToBuffer = (params, pinsSettingsList, context)=>new BasicService().base64ToBuffer(params, pinsSettingsList, context);
|
28013
|
+
const interval = (params, pinsSettingsList, context)=>new BasicService().interval(params, pinsSettingsList, context);
|
28014
|
+
const defer = (params, pinsSettingsList, context)=>new BasicService().defer(params, pinsSettingsList, context);
|
28015
|
+
const stopInterval = (params, pinsSettingsList, context)=>new BasicService().stopInterval(params, pinsSettingsList, context);
|
28016
|
+
const stopDefer = (params, pinsSettingsList, context)=>new BasicService().stopDefer(params, pinsSettingsList, context);
|
28013
28017
|
|
28014
|
-
export { base64ToBuffer, setVariable, transform };
|
28018
|
+
export { base64ToBuffer, defer, interval, setVariable, stopDefer, stopInterval, transform };
|
package/package.json
CHANGED
@@ -0,0 +1,10 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
/// <reference types="node" />
|
3
|
+
import { PinsSettings } from '@digipair/engine';
|
4
|
+
export declare const transform: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
5
|
+
export declare const setVariable: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
6
|
+
export declare const base64ToBuffer: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<Buffer>;
|
7
|
+
export declare const interval: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<NodeJS.Timeout>;
|
8
|
+
export declare const defer: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<NodeJS.Timeout>;
|
9
|
+
export declare const stopInterval: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<void>;
|
10
|
+
export declare const stopDefer: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<void>;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
/// <reference types="node" />
|
2
|
-
import { PinsSettings } from '@digipair/engine';
|
3
|
-
export declare const transform: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
4
|
-
export declare const setVariable: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
|
5
|
-
export declare const base64ToBuffer: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<Buffer>;
|
File without changes
|