@fileverse-dev/formulajs 4.4.11-mod-86-patch-2 → 4.4.11-mod-86-patch-3
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/lib/cjs/index.cjs
CHANGED
|
@@ -18477,12 +18477,13 @@ async function SMARTCONTRACT(){
|
|
|
18477
18477
|
]);
|
|
18478
18478
|
|
|
18479
18479
|
|
|
18480
|
-
return {
|
|
18480
|
+
return new Promise((resolve) => {
|
|
18481
|
+
resolve({
|
|
18481
18482
|
contractName,
|
|
18482
18483
|
functionName,
|
|
18483
18484
|
args,
|
|
18484
|
-
responseType: 'smart-contract'
|
|
18485
|
-
}
|
|
18485
|
+
responseType: 'smart-contract'});
|
|
18486
|
+
})
|
|
18486
18487
|
} catch (error) {
|
|
18487
18488
|
return errorMessageHandler(error, 'SMARTCONTRACT')
|
|
18488
18489
|
}
|
package/lib/esm/index.mjs
CHANGED
|
@@ -18475,12 +18475,13 @@ async function SMARTCONTRACT(){
|
|
|
18475
18475
|
]);
|
|
18476
18476
|
|
|
18477
18477
|
|
|
18478
|
-
return {
|
|
18478
|
+
return new Promise((resolve) => {
|
|
18479
|
+
resolve({
|
|
18479
18480
|
contractName,
|
|
18480
18481
|
functionName,
|
|
18481
18482
|
args,
|
|
18482
|
-
responseType: 'smart-contract'
|
|
18483
|
-
}
|
|
18483
|
+
responseType: 'smart-contract'});
|
|
18484
|
+
})
|
|
18484
18485
|
} catch (error) {
|
|
18485
18486
|
return errorMessageHandler(error, 'SMARTCONTRACT')
|
|
18486
18487
|
}
|
package/package.json
CHANGED
package/types/cjs/index.d.cts
CHANGED
|
@@ -3775,30 +3775,7 @@ export function SLOPE(known_y: any, known_x: any): number | Error;
|
|
|
3775
3775
|
* @returns
|
|
3776
3776
|
*/
|
|
3777
3777
|
export function SMALL(array: any, k: any): any;
|
|
3778
|
-
export function SMARTCONTRACT(...args: any[]): Promise<
|
|
3779
|
-
message: string;
|
|
3780
|
-
functionName: any;
|
|
3781
|
-
type: string;
|
|
3782
|
-
apiKeyName?: undefined;
|
|
3783
|
-
reason?: undefined;
|
|
3784
|
-
} | {
|
|
3785
|
-
message: string;
|
|
3786
|
-
functionName: any;
|
|
3787
|
-
type: string;
|
|
3788
|
-
apiKeyName: any;
|
|
3789
|
-
reason?: undefined;
|
|
3790
|
-
} | {
|
|
3791
|
-
message: string;
|
|
3792
|
-
functionName: any;
|
|
3793
|
-
type: string;
|
|
3794
|
-
reason: any;
|
|
3795
|
-
apiKeyName?: undefined;
|
|
3796
|
-
} | {
|
|
3797
|
-
contractName: any;
|
|
3798
|
-
functionName: any;
|
|
3799
|
-
args: any[];
|
|
3800
|
-
responseType: string;
|
|
3801
|
-
}>;
|
|
3778
|
+
export function SMARTCONTRACT(...args: any[]): Promise<any>;
|
|
3802
3779
|
/**
|
|
3803
3780
|
* Returns a sorted array of the elements in an array. The returned array is the same shape as the provided array argument.
|
|
3804
3781
|
*
|
package/types/esm/index.d.mts
CHANGED
|
@@ -3775,30 +3775,7 @@ export function SLOPE(known_y: any, known_x: any): number | Error;
|
|
|
3775
3775
|
* @returns
|
|
3776
3776
|
*/
|
|
3777
3777
|
export function SMALL(array: any, k: any): any;
|
|
3778
|
-
export function SMARTCONTRACT(...args: any[]): Promise<
|
|
3779
|
-
message: string;
|
|
3780
|
-
functionName: any;
|
|
3781
|
-
type: string;
|
|
3782
|
-
apiKeyName?: undefined;
|
|
3783
|
-
reason?: undefined;
|
|
3784
|
-
} | {
|
|
3785
|
-
message: string;
|
|
3786
|
-
functionName: any;
|
|
3787
|
-
type: string;
|
|
3788
|
-
apiKeyName: any;
|
|
3789
|
-
reason?: undefined;
|
|
3790
|
-
} | {
|
|
3791
|
-
message: string;
|
|
3792
|
-
functionName: any;
|
|
3793
|
-
type: string;
|
|
3794
|
-
reason: any;
|
|
3795
|
-
apiKeyName?: undefined;
|
|
3796
|
-
} | {
|
|
3797
|
-
contractName: any;
|
|
3798
|
-
functionName: any;
|
|
3799
|
-
args: any[];
|
|
3800
|
-
responseType: string;
|
|
3801
|
-
}>;
|
|
3778
|
+
export function SMARTCONTRACT(...args: any[]): Promise<any>;
|
|
3802
3779
|
/**
|
|
3803
3780
|
* Returns a sorted array of the elements in an array. The returned array is the same shape as the provided array argument.
|
|
3804
3781
|
*
|