@vleap/warps 0.9.0 → 0.9.1
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 +3 -1
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -50,7 +50,7 @@ type WarpMeta = {
|
|
|
50
50
|
creator: string;
|
|
51
51
|
createdAt: string;
|
|
52
52
|
};
|
|
53
|
-
type WarpAction = WarpContractAction | WarpQueryAction | WarpLinkAction;
|
|
53
|
+
type WarpAction = WarpContractAction | WarpQueryAction | WarpCollectAction | WarpLinkAction;
|
|
54
54
|
type WarpActionType = 'contract' | 'query' | 'collect' | 'link';
|
|
55
55
|
type WarpContractAction = {
|
|
56
56
|
type: WarpActionType;
|
|
@@ -96,6 +96,8 @@ type WarpCollectAction = {
|
|
|
96
96
|
method: 'GET' | 'POST';
|
|
97
97
|
headers: Record<string, string>;
|
|
98
98
|
};
|
|
99
|
+
inputs?: WarpActionInput[];
|
|
100
|
+
next?: string;
|
|
99
101
|
};
|
|
100
102
|
type WarpActionInputSource = 'field' | 'query';
|
|
101
103
|
type BaseWarpActionInputType = 'string' | 'uint8' | 'uint16' | 'uint32' | 'uint64' | 'biguint' | 'bool' | 'address' | 'token' | 'codemeta' | 'hex' | 'esdt' | 'nft';
|
package/dist/index.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ type WarpMeta = {
|
|
|
50
50
|
creator: string;
|
|
51
51
|
createdAt: string;
|
|
52
52
|
};
|
|
53
|
-
type WarpAction = WarpContractAction | WarpQueryAction | WarpLinkAction;
|
|
53
|
+
type WarpAction = WarpContractAction | WarpQueryAction | WarpCollectAction | WarpLinkAction;
|
|
54
54
|
type WarpActionType = 'contract' | 'query' | 'collect' | 'link';
|
|
55
55
|
type WarpContractAction = {
|
|
56
56
|
type: WarpActionType;
|
|
@@ -96,6 +96,8 @@ type WarpCollectAction = {
|
|
|
96
96
|
method: 'GET' | 'POST';
|
|
97
97
|
headers: Record<string, string>;
|
|
98
98
|
};
|
|
99
|
+
inputs?: WarpActionInput[];
|
|
100
|
+
next?: string;
|
|
99
101
|
};
|
|
100
102
|
type WarpActionInputSource = 'field' | 'query';
|
|
101
103
|
type BaseWarpActionInputType = 'string' | 'uint8' | 'uint16' | 'uint32' | 'uint64' | 'biguint' | 'bool' | 'address' | 'token' | 'codemeta' | 'hex' | 'esdt' | 'nft';
|