akeyless-client-commons 1.1.4 → 1.1.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.
@@ -287,8 +287,8 @@ interface DurationValues {
287
287
  type DurationInputOption = keyof DurationValues;
288
288
  interface DurationInputProps extends BaseElementProps {
289
289
  type?: "duration";
290
- value?: DurationValues;
291
- onChange?: (v: DurationValues) => void;
290
+ value?: number;
291
+ onChange?: (seconds: number) => void;
292
292
  hideLabels?: boolean;
293
293
  options?: DurationInputOption[];
294
294
  }
@@ -287,8 +287,8 @@ interface DurationValues {
287
287
  type DurationInputOption = keyof DurationValues;
288
288
  interface DurationInputProps extends BaseElementProps {
289
289
  type?: "duration";
290
- value?: DurationValues;
291
- onChange?: (v: DurationValues) => void;
290
+ value?: number;
291
+ onChange?: (seconds: number) => void;
292
292
  hideLabels?: boolean;
293
293
  options?: DurationInputOption[];
294
294
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akeyless-client-commons",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "scripts": {
5
5
  "build": "tsup",
6
6
  "deploy": "npm run build && npm version patch --no-git-tag-version && npm publish",