@fileverse-dev/dsheet 1.0.83-patch-3 → 1.0.83-patch-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.
@@ -2,9 +2,7 @@ import { Cell, WorkbookInstance } from '@fileverse-dev/fortune-react';
2
2
  import { OnboardingHandlerType, DataBlockApiKeyHandlerType } from '../types';
3
3
 
4
4
  export type SmartContractResponse = {
5
- contractName: string;
6
- functionName: string;
7
- args: any[];
5
+ callSignature: unknown[];
8
6
  };
9
7
  export type SheetSmartContractApi = {
10
8
  sheetEditorRef: React.RefObject<WorkbookInstance | null>;
@@ -13,7 +11,7 @@ export type SheetSmartContractApi = {
13
11
  column: number;
14
12
  newValue: Cell;
15
13
  };
16
- export type SmartContractQueryHandler = (sheetApi: SheetSmartContractApi) => (contractName: string, functionName: string, ...args: any) => Promise<void>;
14
+ export type SmartContractQueryHandler = (sheetApi: SheetSmartContractApi) => (callSignature: unknown[]) => Promise<void>;
17
15
  /**
18
16
  * Parameters for the afterUpdateCell function
19
17
  */