@digipair/skill-dsp 0.16.3 → 0.16.5
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 +5 -10
- package/index.esm.js +5 -10
- package/package.json +1 -1
- package/schema.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -40663,16 +40663,11 @@ var AxJSInterpreterPermission;
|
|
|
40663
40663
|
|
|
40664
40664
|
let DspService = class DspService {
|
|
40665
40665
|
async prepareFunctions(functions, context) {
|
|
40666
|
-
return await Promise.all(functions.map(async (f)=>{
|
|
40667
|
-
|
|
40668
|
-
|
|
40669
|
-
|
|
40670
|
-
|
|
40671
|
-
}
|
|
40672
|
-
return _extends({}, f, {
|
|
40673
|
-
func: async ()=>await executePinsList(f.func, context)
|
|
40674
|
-
});
|
|
40675
|
-
}));
|
|
40666
|
+
return await Promise.all(functions.map(async (f)=>_extends({}, f, {
|
|
40667
|
+
func: async (...params)=>await executePinsList(f.func, _extends({}, context, {
|
|
40668
|
+
params
|
|
40669
|
+
}))
|
|
40670
|
+
})));
|
|
40676
40671
|
}
|
|
40677
40672
|
async model(params, _pinsSettingsList, _context) {
|
|
40678
40673
|
const { name, options } = params;
|
package/index.esm.js
CHANGED
|
@@ -40637,16 +40637,11 @@ var AxJSInterpreterPermission;
|
|
|
40637
40637
|
|
|
40638
40638
|
let DspService = class DspService {
|
|
40639
40639
|
async prepareFunctions(functions, context) {
|
|
40640
|
-
return await Promise.all(functions.map(async (f)=>{
|
|
40641
|
-
|
|
40642
|
-
|
|
40643
|
-
|
|
40644
|
-
|
|
40645
|
-
}
|
|
40646
|
-
return _extends({}, f, {
|
|
40647
|
-
func: async ()=>await executePinsList(f.func, context)
|
|
40648
|
-
});
|
|
40649
|
-
}));
|
|
40640
|
+
return await Promise.all(functions.map(async (f)=>_extends({}, f, {
|
|
40641
|
+
func: async (...params)=>await executePinsList(f.func, _extends({}, context, {
|
|
40642
|
+
params
|
|
40643
|
+
}))
|
|
40644
|
+
})));
|
|
40650
40645
|
}
|
|
40651
40646
|
async model(params, _pinsSettingsList, _context) {
|
|
40652
40647
|
const { name, options } = params;
|
package/package.json
CHANGED