@avaprotocol/sdk-js 1.2.1-dev.5 → 1.2.1-dev.6
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.js +7 -6
- package/dist/index.mjs +7 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6681,6 +6681,7 @@ var Workflow = class _Workflow {
|
|
|
6681
6681
|
}
|
|
6682
6682
|
return new _Workflow({
|
|
6683
6683
|
id: obj.getId(),
|
|
6684
|
+
owner: obj.getOwner(),
|
|
6684
6685
|
smartWalletAddress: obj.getSmartWalletAddress(),
|
|
6685
6686
|
trigger,
|
|
6686
6687
|
startAt: obj.getStartAt(),
|
|
@@ -6688,12 +6689,11 @@ var Workflow = class _Workflow {
|
|
|
6688
6689
|
maxExecution: obj.getMaxExecution(),
|
|
6689
6690
|
nodes: [],
|
|
6690
6691
|
edges: [],
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6696
|
-
lastRanAt: void 0
|
|
6692
|
+
completedAt: obj.getCompletedAt(),
|
|
6693
|
+
status: obj.getStatus(),
|
|
6694
|
+
memo: obj.getMemo(),
|
|
6695
|
+
totalExecution: obj.getTotalExecution(),
|
|
6696
|
+
lastRanAt: obj.getLastRanAt()
|
|
6697
6697
|
});
|
|
6698
6698
|
}
|
|
6699
6699
|
toRequest() {
|
|
@@ -7063,6 +7063,7 @@ var Client = class extends BaseClient {
|
|
|
7063
7063
|
}
|
|
7064
7064
|
request.setItemPerPage(options?.limit || DEFAULT_LIMIT);
|
|
7065
7065
|
const result = await this.sendGrpcRequest("listTasks", request, options);
|
|
7066
|
+
console.log("result", result.toObject());
|
|
7066
7067
|
return {
|
|
7067
7068
|
cursor: result.getCursor(),
|
|
7068
7069
|
result: result.getItemsList().map((item) => workflow_default.fromListResponse(item))
|
package/dist/index.mjs
CHANGED
|
@@ -6651,6 +6651,7 @@ var Workflow = class _Workflow {
|
|
|
6651
6651
|
}
|
|
6652
6652
|
return new _Workflow({
|
|
6653
6653
|
id: obj.getId(),
|
|
6654
|
+
owner: obj.getOwner(),
|
|
6654
6655
|
smartWalletAddress: obj.getSmartWalletAddress(),
|
|
6655
6656
|
trigger,
|
|
6656
6657
|
startAt: obj.getStartAt(),
|
|
@@ -6658,12 +6659,11 @@ var Workflow = class _Workflow {
|
|
|
6658
6659
|
maxExecution: obj.getMaxExecution(),
|
|
6659
6660
|
nodes: [],
|
|
6660
6661
|
edges: [],
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
lastRanAt: void 0
|
|
6662
|
+
completedAt: obj.getCompletedAt(),
|
|
6663
|
+
status: obj.getStatus(),
|
|
6664
|
+
memo: obj.getMemo(),
|
|
6665
|
+
totalExecution: obj.getTotalExecution(),
|
|
6666
|
+
lastRanAt: obj.getLastRanAt()
|
|
6667
6667
|
});
|
|
6668
6668
|
}
|
|
6669
6669
|
toRequest() {
|
|
@@ -7033,6 +7033,7 @@ var Client = class extends BaseClient {
|
|
|
7033
7033
|
}
|
|
7034
7034
|
request.setItemPerPage(options?.limit || DEFAULT_LIMIT);
|
|
7035
7035
|
const result = await this.sendGrpcRequest("listTasks", request, options);
|
|
7036
|
+
console.log("result", result.toObject());
|
|
7036
7037
|
return {
|
|
7037
7038
|
cursor: result.getCursor(),
|
|
7038
7039
|
result: result.getItemsList().map((item) => workflow_default.fromListResponse(item))
|
package/package.json
CHANGED