@avaprotocol/sdk-js 1.6.2 → 1.6.4
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/CHANGELOG.md +16 -0
- package/dist/index.d.ts +37 -25
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +83 -98
- package/dist/index.mjs +87 -99
- package/dist/models/node/branch.d.ts +1 -1
- package/dist/models/node/branch.d.ts.map +1 -1
- package/dist/models/node/contractRead.d.ts +1 -1
- package/dist/models/node/contractRead.d.ts.map +1 -1
- package/dist/models/node/contractRead.js +6 -8
- package/dist/models/node/contractWrite.d.ts +1 -1
- package/dist/models/node/contractWrite.d.ts.map +1 -1
- package/dist/models/node/customCode.d.ts +1 -5
- package/dist/models/node/customCode.d.ts.map +1 -1
- package/dist/models/node/customCode.js +5 -11
- package/dist/models/node/ethTransfer.d.ts +1 -1
- package/dist/models/node/ethTransfer.d.ts.map +1 -1
- package/dist/models/node/factory.d.ts +10 -9
- package/dist/models/node/factory.d.ts.map +1 -1
- package/dist/models/node/factory.js +2 -2
- package/dist/models/node/filter.d.ts +1 -1
- package/dist/models/node/filter.d.ts.map +1 -1
- package/dist/models/node/filter.js +5 -7
- package/dist/models/node/graphqlQuery.d.ts +1 -1
- package/dist/models/node/graphqlQuery.d.ts.map +1 -1
- package/dist/models/node/graphqlQuery.js +11 -13
- package/dist/models/node/loop.d.ts +1 -1
- package/dist/models/node/loop.d.ts.map +1 -1
- package/dist/models/node/loop.js +20 -38
- package/dist/models/node/restApi.d.ts +1 -2
- package/dist/models/node/restApi.d.ts.map +1 -1
- package/dist/models/node/restApi.js +12 -14
- package/dist/models/trigger/block.d.ts +1 -2
- package/dist/models/trigger/block.d.ts.map +1 -1
- package/dist/models/trigger/cron.d.ts +1 -2
- package/dist/models/trigger/cron.d.ts.map +1 -1
- package/dist/models/trigger/event.d.ts +1 -2
- package/dist/models/trigger/event.d.ts.map +1 -1
- package/dist/models/trigger/fixedTime.d.ts +1 -2
- package/dist/models/trigger/fixedTime.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -15,7 +15,7 @@ class GraphQLQueryNode extends Node {
|
|
|
15
15
|
return new GraphQLQueryNode({
|
|
16
16
|
...obj,
|
|
17
17
|
type: NodeType.GraphQLQuery,
|
|
18
|
-
data: raw.getGraphqlQuery().toObject(),
|
|
18
|
+
data: raw.getGraphqlQuery().getConfig().toObject(),
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
toRequest() {
|
|
@@ -23,19 +23,17 @@ class GraphQLQueryNode extends Node {
|
|
|
23
23
|
request.setId(this.id);
|
|
24
24
|
request.setName(this.name);
|
|
25
25
|
const nodeData = new avs_pb.GraphQLQueryNode();
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
nodeData.setConfig(config);
|
|
26
|
+
const config = new avs_pb.GraphQLQueryNode.Config();
|
|
27
|
+
config.setUrl(this.data.url);
|
|
28
|
+
config.setQuery(this.data.query);
|
|
29
|
+
if (this.data.variablesMap &&
|
|
30
|
+
this.data.variablesMap.length > 0) {
|
|
31
|
+
const variablesMap = config.getVariablesMap();
|
|
32
|
+
this.data.variablesMap.forEach(([key, value]) => {
|
|
33
|
+
variablesMap.set(key, value);
|
|
34
|
+
});
|
|
38
35
|
}
|
|
36
|
+
nodeData.setConfig(config);
|
|
39
37
|
request.setGraphqlQuery(nodeData);
|
|
40
38
|
return request;
|
|
41
39
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as avs_pb from "@/grpc_codegen/avs_pb";
|
|
2
2
|
import Node, { NodeProps } from "./interface";
|
|
3
|
-
|
|
3
|
+
import { LoopNodeData } from "@avaprotocol/types";
|
|
4
4
|
export type LoopNodeProps = NodeProps & {
|
|
5
5
|
data: LoopNodeData;
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loop.d.ts","sourceRoot":"","sources":["../../../src/models/node/loop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,IAAI,EAAE,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"loop.d.ts","sourceRoot":"","sources":["../../../src/models/node/loop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,IAAI,EAAE,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAY,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAG5D,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG;IACtC,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC;AAEF,cAAM,QAAS,SAAQ,IAAI;gBACb,KAAK,EAAE,aAAa;IAIhC,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,QAAQ,GAAG,QAAQ;IA+BnD,SAAS,IAAI,MAAM,CAAC,QAAQ;CAiG7B;AAED,eAAe,QAAQ,CAAC"}
|
package/dist/models/node/loop.js
CHANGED
|
@@ -10,37 +10,26 @@ class LoopNode extends Node {
|
|
|
10
10
|
if (!loopNode) {
|
|
11
11
|
throw new Error("Response does not contain a Loop node");
|
|
12
12
|
}
|
|
13
|
+
// Get the config data directly as flat structure
|
|
14
|
+
const configData = loopNode.getConfig()?.toObject();
|
|
13
15
|
const loopNodeData = loopNode.toObject();
|
|
14
|
-
//
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
else if (loopNodeData.ethTransfer) {
|
|
27
|
-
loopNodeData.runnerType = NodeType.ETHTransfer;
|
|
28
|
-
}
|
|
29
|
-
else if (loopNodeData.contractRead) {
|
|
30
|
-
loopNodeData.runnerType = NodeType.ContractRead;
|
|
31
|
-
}
|
|
32
|
-
else if (loopNodeData.contractWrite) {
|
|
33
|
-
loopNodeData.runnerType = NodeType.ContractWrite;
|
|
34
|
-
}
|
|
35
|
-
else if (loopNodeData.graphqlDataQuery) {
|
|
36
|
-
loopNodeData.runnerType = NodeType.GraphQLQuery;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
16
|
+
// Since LoopNodeData is now Config.AsObject, we need to merge the config properties
|
|
17
|
+
// with the nested node data from the full object
|
|
18
|
+
const data = {
|
|
19
|
+
...configData,
|
|
20
|
+
// Keep the nested node structures from the full object
|
|
21
|
+
restApi: loopNodeData.restApi,
|
|
22
|
+
customCode: loopNodeData.customCode,
|
|
23
|
+
ethTransfer: loopNodeData.ethTransfer,
|
|
24
|
+
contractRead: loopNodeData.contractRead,
|
|
25
|
+
contractWrite: loopNodeData.contractWrite,
|
|
26
|
+
graphqlDataQuery: loopNodeData.graphqlDataQuery,
|
|
27
|
+
};
|
|
39
28
|
return new LoopNode({
|
|
40
29
|
id: raw.getId(),
|
|
41
30
|
name: raw.getName(),
|
|
42
31
|
type: NodeType.Loop,
|
|
43
|
-
data:
|
|
32
|
+
data: data,
|
|
44
33
|
});
|
|
45
34
|
}
|
|
46
35
|
toRequest() {
|
|
@@ -49,20 +38,13 @@ class LoopNode extends Node {
|
|
|
49
38
|
node.setId(this.id);
|
|
50
39
|
node.setName(this.name);
|
|
51
40
|
const data = this.data;
|
|
52
|
-
// Set the loop config from
|
|
41
|
+
// Set the loop config from the flat data structure
|
|
53
42
|
const config = new avs_pb.LoopNode.Config();
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
config.setIterKey(data.config.iterKey || "");
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
// Handle direct properties for backward compatibility
|
|
61
|
-
config.setSourceId(data.input || data.sourceId || "");
|
|
62
|
-
config.setIterVal(data.iterVal || "");
|
|
63
|
-
config.setIterKey(data.iterKey || "");
|
|
64
|
-
}
|
|
43
|
+
config.setSourceId(data.sourceId || "");
|
|
44
|
+
config.setIterVal(data.iterVal || "");
|
|
45
|
+
config.setIterKey(data.iterKey || "");
|
|
65
46
|
loopNode.setConfig(config);
|
|
47
|
+
// Handle nested nodes - these still use the nested structure within LoopNodeData
|
|
66
48
|
if (data.ethTransfer) {
|
|
67
49
|
const ethTransfer = new avs_pb.ETHTransferNode();
|
|
68
50
|
if (data.ethTransfer.config) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { NodeProps } from "./interface";
|
|
2
2
|
import Node from "./interface";
|
|
3
3
|
import * as avs_pb from "@/grpc_codegen/avs_pb";
|
|
4
|
-
|
|
5
|
-
export type RestAPINodeOutput = avs_pb.RestAPINode.Output.AsObject;
|
|
4
|
+
import { RestAPINodeData } from "@avaprotocol/types";
|
|
6
5
|
export type RestAPINodeProps = NodeProps & {
|
|
7
6
|
data: RestAPINodeData;
|
|
8
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"restApi.d.ts","sourceRoot":"","sources":["../../../src/models/node/restApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,IAAI,MAAM,aAAa,CAAC;AAC/B,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"restApi.d.ts","sourceRoot":"","sources":["../../../src/models/node/restApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,IAAI,MAAM,aAAa,CAAC;AAC/B,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAY,eAAe,EAAqB,MAAM,oBAAoB,CAAC;AAGlF,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG;IACzC,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AAEF,cAAM,WAAY,SAAQ,IAAI;gBAChB,KAAK,EAAE,gBAAgB;IAInC,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,QAAQ,GAAG,WAAW;IAUtD,SAAS,IAAI,MAAM,CAAC,QAAQ;CA2B7B;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -11,7 +11,7 @@ class RestAPINode extends Node {
|
|
|
11
11
|
return new RestAPINode({
|
|
12
12
|
...obj,
|
|
13
13
|
type: NodeType.RestAPI,
|
|
14
|
-
data: raw.getRestApi().toObject(),
|
|
14
|
+
data: raw.getRestApi().getConfig().toObject(),
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
toRequest() {
|
|
@@ -19,20 +19,18 @@ class RestAPINode extends Node {
|
|
|
19
19
|
request.setId(this.id);
|
|
20
20
|
request.setName(this.name);
|
|
21
21
|
const nodeData = new avs_pb.RestAPINode();
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
nodeData.setConfig(config);
|
|
22
|
+
const config = new avs_pb.RestAPINode.Config();
|
|
23
|
+
config.setUrl(this.data.url);
|
|
24
|
+
config.setMethod(this.data.method);
|
|
25
|
+
config.setBody(this.data.body || "");
|
|
26
|
+
if (this.data.headersMap &&
|
|
27
|
+
this.data.headersMap.length > 0) {
|
|
28
|
+
const headersMap = config.getHeadersMap();
|
|
29
|
+
this.data.headersMap.forEach(([key, value]) => {
|
|
30
|
+
headersMap.set(key, value);
|
|
31
|
+
});
|
|
35
32
|
}
|
|
33
|
+
nodeData.setConfig(config);
|
|
36
34
|
request.setRestApi(nodeData);
|
|
37
35
|
return request;
|
|
38
36
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as avs_pb from "@/grpc_codegen/avs_pb";
|
|
2
2
|
import Trigger, { TriggerProps } from "./interface";
|
|
3
|
-
|
|
3
|
+
import { BlockTriggerDataType, BlockTriggerOutput } from "@avaprotocol/types";
|
|
4
4
|
export type BlockTriggerProps = TriggerProps & {
|
|
5
5
|
data: BlockTriggerDataType;
|
|
6
6
|
};
|
|
7
|
-
export type BlockTriggerOutput = avs_pb.BlockTrigger.Output.AsObject;
|
|
8
7
|
declare class BlockTrigger extends Trigger {
|
|
9
8
|
constructor(props: BlockTriggerProps);
|
|
10
9
|
toRequest(): avs_pb.TaskTrigger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/block.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/block.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAe,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAG3F,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAAE,IAAI,EAAE,oBAAoB,CAAA;CAAE,CAAC;AAE9E,cAAM,YAAa,SAAQ,OAAO;gBACpB,KAAK,EAAE,iBAAiB;IAIpC,SAAS,IAAI,MAAM,CAAC,WAAW;IAmB/B,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,WAAW,GAAG,YAAY;IAuB1D;;;;OAIG;IACH,SAAS,IAAI,kBAAkB,GAAG,SAAS;CAG5C;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as avs_pb from "@/grpc_codegen/avs_pb";
|
|
2
2
|
import Trigger, { TriggerProps } from "./interface";
|
|
3
|
-
|
|
3
|
+
import { CronTriggerDataType, CronTriggerOutput } from "@avaprotocol/types";
|
|
4
4
|
export type CronTriggerProps = TriggerProps & {
|
|
5
5
|
data: CronTriggerDataType;
|
|
6
6
|
};
|
|
7
|
-
export type CronTriggerOutput = avs_pb.CronTrigger.Output.AsObject;
|
|
8
7
|
declare class CronTrigger extends Trigger {
|
|
9
8
|
constructor(props: CronTriggerProps);
|
|
10
9
|
toRequest(): avs_pb.TaskTrigger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cron.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/cron.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"cron.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/cron.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAe,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAGzF,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAAE,IAAI,EAAE,mBAAmB,CAAA;CAAE,CAAC;AAE5E,cAAM,WAAY,SAAQ,OAAO;gBACnB,KAAK,EAAE,gBAAgB;IAInC,SAAS,IAAI,MAAM,CAAC,WAAW;IAmB/B,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,WAAW,GAAG,WAAW;IAuBzD;;;;OAIG;IACH,SAAS,IAAI,iBAAiB,GAAG,SAAS;CAG3C;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as avs_pb from "@/grpc_codegen/avs_pb";
|
|
2
2
|
import Trigger, { TriggerProps } from "./interface";
|
|
3
|
-
|
|
3
|
+
import { EventTriggerDataType, EventTriggerOutput } from "@avaprotocol/types";
|
|
4
4
|
export type EventTriggerProps = TriggerProps & {
|
|
5
5
|
data: EventTriggerDataType;
|
|
6
6
|
};
|
|
7
|
-
export type EventTriggerOutput = avs_pb.EventTrigger.Output.AsObject;
|
|
8
7
|
declare class EventTrigger extends Trigger {
|
|
9
8
|
constructor(props: EventTriggerProps);
|
|
10
9
|
toRequest(): avs_pb.TaskTrigger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/event.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/event.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAe,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAsB3F,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG;IAAE,IAAI,EAAE,oBAAoB,CAAA;CAAE,CAAC;AAE9E,cAAM,YAAa,SAAQ,OAAO;gBACpB,KAAK,EAAE,iBAAiB;IAIpC,SAAS,IAAI,MAAM,CAAC,WAAW;IAwC/B,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,WAAW,GAAG,YAAY;IAiC1D;;;;OAIG;IACH,SAAS,IAAI,kBAAkB,GAAG,SAAS;CAG5C;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as avs_pb from "@/grpc_codegen/avs_pb";
|
|
2
2
|
import Trigger, { TriggerProps } from "./interface";
|
|
3
|
-
|
|
3
|
+
import { FixedTimeTriggerDataType, FixedTimeTriggerOutput } from "@avaprotocol/types";
|
|
4
4
|
export type FixedTimeTriggerProps = TriggerProps & {
|
|
5
5
|
data: FixedTimeTriggerDataType;
|
|
6
6
|
};
|
|
7
|
-
export type FixedTimeTriggerOutput = avs_pb.FixedTimeTrigger.Output.AsObject;
|
|
8
7
|
declare class FixedTimeTrigger extends Trigger {
|
|
9
8
|
constructor(props: FixedTimeTriggerProps);
|
|
10
9
|
toRequest(): avs_pb.TaskTrigger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixedTime.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/fixedTime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"fixedTime.d.ts","sourceRoot":"","sources":["../../../src/models/trigger/fixedTime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,OAAO,EAAE,EAAiB,YAAY,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,EAAe,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAGnG,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG;IACjD,IAAI,EAAE,wBAAwB,CAAC;CAChC,CAAC;AAEF,cAAM,gBAAiB,SAAQ,OAAO;gBACxB,KAAK,EAAE,qBAAqB;IAIxC,SAAS,IAAI,MAAM,CAAC,WAAW;IAmB/B,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,WAAW,GAAG,gBAAgB;IAuB9D;;;;OAIG;IACH,SAAS,IAAI,sBAAsB,GAAG,SAAS;CAGhD;AAED,eAAe,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avaprotocol/sdk-js",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.4",
|
|
4
4
|
"description": "A JavaScript/TypeScript SDK designed to simplify integration with Ava Protocol's AVS",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"clean": "rm -rf node_modules dist tsconfig.tsbuildinfo"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@avaprotocol/types": "1.0.
|
|
33
|
+
"@avaprotocol/types": "1.0.4",
|
|
34
34
|
"@grpc/grpc-js": "^1.11.3",
|
|
35
35
|
"@grpc/proto-loader": "^0.7.13",
|
|
36
36
|
"dotenv": "^16.4.5",
|