diff --git a/package.json b/package.json index df9763a..9f146f6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@interval/sdk", - "version": "0.21.0", + "version": "0.22.0-dev", "homepage": "https://interval.com", "repository": { "type": "git", diff --git a/src/classes/IOClient.ts b/src/classes/IOClient.ts index 65a1385..999a4cb 100644 --- a/src/classes/IOClient.ts +++ b/src/classes/IOClient.ts @@ -420,11 +420,11 @@ export class IOClient { select: { single: this.createIOMethod('SELECT_SINGLE', { propsRequired: true, - componentDef: selectSingle, + componentDef: selectSingle(this.logger), }), multiple: this.createIOMethod('SELECT_MULTIPLE', { propsRequired: true, - componentDef: selectMultiple, + componentDef: selectMultiple(this.logger), }), table: this.createIOMethod('SELECT_TABLE', { propsRequired: true, diff --git a/src/components/selectMultiple.ts b/src/components/selectMultiple.ts index abd82a2..794be70 100644 --- a/src/components/selectMultiple.ts +++ b/src/components/selectMultiple.ts @@ -1,5 +1,6 @@ import { z } from 'zod' import { T_IO_PROPS, T_IO_RETURNS, labelValue } from '../ioSchema' +import Logger from '../classes/Logger' type SelectMultipleProps