@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 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
- if (f.library && f.element) {
40668
- return await executePinsList([
40669
- f
40670
- ], context);
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
- if (f.library && f.element) {
40642
- return await executePinsList([
40643
- f
40644
- ], context);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-dsp",
3
- "version": "0.16.3",
3
+ "version": "0.16.5",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"
package/schema.json CHANGED
@@ -442,7 +442,7 @@
442
442
  "name": {
443
443
  "type": "string"
444
444
  },
445
- "descriptions": {
445
+ "description": {
446
446
  "type": "string"
447
447
  },
448
448
  "parameters": {