@vleap/warps 0.0.22 → 0.0.23
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/dist/index.d.mts +10 -1
- package/dist/index.d.ts +10 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -27,12 +27,21 @@ type WarpContractAction = {
|
|
|
27
27
|
func: string | null;
|
|
28
28
|
args: any[];
|
|
29
29
|
gasLimit: number;
|
|
30
|
+
value?: string;
|
|
31
|
+
inputs?: WarpActionInput[];
|
|
30
32
|
};
|
|
31
33
|
type WarpLinkAction = {
|
|
32
34
|
type: WarpActionType;
|
|
33
35
|
label: string;
|
|
34
36
|
description: string | null;
|
|
35
37
|
url: string;
|
|
38
|
+
inputs?: WarpActionInput[];
|
|
39
|
+
};
|
|
40
|
+
type WarpActionInput = {
|
|
41
|
+
type: 'query';
|
|
42
|
+
name: string;
|
|
43
|
+
value: string;
|
|
44
|
+
position: string;
|
|
36
45
|
};
|
|
37
46
|
type RegistryInfo = {
|
|
38
47
|
alias: string | null;
|
|
@@ -93,4 +102,4 @@ declare class WarpRegistry {
|
|
|
93
102
|
private getController;
|
|
94
103
|
}
|
|
95
104
|
|
|
96
|
-
export { type ChainEnv, Config, type RegistryInfo, type Warp, type WarpAction, type WarpActionType, WarpBuilder, type WarpConfig, type WarpContractAction, type WarpIdType, WarpLink, type WarpLinkAction, WarpRegistry };
|
|
105
|
+
export { type ChainEnv, Config, type RegistryInfo, type Warp, type WarpAction, type WarpActionInput, type WarpActionType, WarpBuilder, type WarpConfig, type WarpContractAction, type WarpIdType, WarpLink, type WarpLinkAction, WarpRegistry };
|
package/dist/index.d.ts
CHANGED
|
@@ -27,12 +27,21 @@ type WarpContractAction = {
|
|
|
27
27
|
func: string | null;
|
|
28
28
|
args: any[];
|
|
29
29
|
gasLimit: number;
|
|
30
|
+
value?: string;
|
|
31
|
+
inputs?: WarpActionInput[];
|
|
30
32
|
};
|
|
31
33
|
type WarpLinkAction = {
|
|
32
34
|
type: WarpActionType;
|
|
33
35
|
label: string;
|
|
34
36
|
description: string | null;
|
|
35
37
|
url: string;
|
|
38
|
+
inputs?: WarpActionInput[];
|
|
39
|
+
};
|
|
40
|
+
type WarpActionInput = {
|
|
41
|
+
type: 'query';
|
|
42
|
+
name: string;
|
|
43
|
+
value: string;
|
|
44
|
+
position: string;
|
|
36
45
|
};
|
|
37
46
|
type RegistryInfo = {
|
|
38
47
|
alias: string | null;
|
|
@@ -93,4 +102,4 @@ declare class WarpRegistry {
|
|
|
93
102
|
private getController;
|
|
94
103
|
}
|
|
95
104
|
|
|
96
|
-
export { type ChainEnv, Config, type RegistryInfo, type Warp, type WarpAction, type WarpActionType, WarpBuilder, type WarpConfig, type WarpContractAction, type WarpIdType, WarpLink, type WarpLinkAction, WarpRegistry };
|
|
105
|
+
export { type ChainEnv, Config, type RegistryInfo, type Warp, type WarpAction, type WarpActionInput, type WarpActionType, WarpBuilder, type WarpConfig, type WarpContractAction, type WarpIdType, WarpLink, type WarpLinkAction, WarpRegistry };
|