@vleap/warps 0.0.28 → 0.0.30

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 CHANGED
@@ -39,7 +39,7 @@ type WarpLinkAction = {
39
39
  inputs?: WarpActionInput[];
40
40
  };
41
41
  type WarpActionInputSource = 'field' | 'query';
42
- type WarpActionInputType = 'text' | 'number' | 'bigint' | 'boolean' | 'address';
42
+ type WarpActionInputType = 'text' | 'uint8' | 'uint16' | 'uint32' | 'uint64' | 'biguint' | 'boolean' | 'address';
43
43
  type WarpActionInput = {
44
44
  name: string;
45
45
  description?: string | null;
@@ -50,6 +50,13 @@ type WarpActionInput = {
50
50
  min?: number;
51
51
  max?: number;
52
52
  };
53
+ type WarpActionExecutionResult = {
54
+ action: WarpAction;
55
+ user: {
56
+ address: string;
57
+ };
58
+ tx?: string;
59
+ };
53
60
 
54
61
  declare const Config: {
55
62
  ProtocolName: string;
@@ -116,4 +123,4 @@ declare class WarpRegistry {
116
123
  private getController;
117
124
  }
118
125
 
119
- export { type ChainEnv, Config, type Warp, type WarpAction, WarpActionExecutor, type WarpActionInput, type WarpActionInputSource, type WarpActionInputType, type WarpActionType, WarpBuilder, type WarpConfig, type WarpContractAction, type WarpIdType, WarpLink, type WarpLinkAction, WarpRegistry };
126
+ export { type ChainEnv, Config, type Warp, type WarpAction, type WarpActionExecutionResult, WarpActionExecutor, type WarpActionInput, type WarpActionInputSource, type WarpActionInputType, type WarpActionType, WarpBuilder, type WarpConfig, type WarpContractAction, type WarpIdType, WarpLink, type WarpLinkAction, WarpRegistry };
package/dist/index.d.ts CHANGED
@@ -39,7 +39,7 @@ type WarpLinkAction = {
39
39
  inputs?: WarpActionInput[];
40
40
  };
41
41
  type WarpActionInputSource = 'field' | 'query';
42
- type WarpActionInputType = 'text' | 'number' | 'bigint' | 'boolean' | 'address';
42
+ type WarpActionInputType = 'text' | 'uint8' | 'uint16' | 'uint32' | 'uint64' | 'biguint' | 'boolean' | 'address';
43
43
  type WarpActionInput = {
44
44
  name: string;
45
45
  description?: string | null;
@@ -50,6 +50,13 @@ type WarpActionInput = {
50
50
  min?: number;
51
51
  max?: number;
52
52
  };
53
+ type WarpActionExecutionResult = {
54
+ action: WarpAction;
55
+ user: {
56
+ address: string;
57
+ };
58
+ tx?: string;
59
+ };
53
60
 
54
61
  declare const Config: {
55
62
  ProtocolName: string;
@@ -116,4 +123,4 @@ declare class WarpRegistry {
116
123
  private getController;
117
124
  }
118
125
 
119
- export { type ChainEnv, Config, type Warp, type WarpAction, WarpActionExecutor, type WarpActionInput, type WarpActionInputSource, type WarpActionInputType, type WarpActionType, WarpBuilder, type WarpConfig, type WarpContractAction, type WarpIdType, WarpLink, type WarpLinkAction, WarpRegistry };
126
+ export { type ChainEnv, Config, type Warp, type WarpAction, type WarpActionExecutionResult, WarpActionExecutor, type WarpActionInput, type WarpActionInputSource, type WarpActionInputType, type WarpActionType, WarpBuilder, type WarpConfig, type WarpContractAction, type WarpIdType, WarpLink, type WarpLinkAction, WarpRegistry };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vleap/warps",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",