@avaprotocol/sdk-js 2.12.1 → 2.12.3
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 +12 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/models/execution.d.ts.map +1 -1
- package/dist/models/execution.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @avaprotocol/sdk-js
|
|
2
2
|
|
|
3
|
+
## 2.12.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1961cd5: fix: protobuf was not built and updated problem
|
|
8
|
+
|
|
9
|
+
## 2.12.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 1d8a1e8: fix: getAutomationFee is not a function in execution proble
|
|
14
|
+
|
|
3
15
|
## 2.12.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -21115,7 +21115,7 @@ var Execution2 = class _Execution {
|
|
|
21115
21115
|
};
|
|
21116
21116
|
}
|
|
21117
21117
|
static fromResponse(execution) {
|
|
21118
|
-
const automationFeePb = execution.getAutomationFee();
|
|
21118
|
+
const automationFeePb = typeof execution.getAutomationFee === "function" ? execution.getAutomationFee() : void 0;
|
|
21119
21119
|
const automationFee = automationFeePb ? automationFeePb.toObject() : void 0;
|
|
21120
21120
|
return new _Execution({
|
|
21121
21121
|
id: execution.getId(),
|
package/dist/index.mjs
CHANGED
|
@@ -21128,7 +21128,7 @@ var Execution2 = class _Execution {
|
|
|
21128
21128
|
};
|
|
21129
21129
|
}
|
|
21130
21130
|
static fromResponse(execution) {
|
|
21131
|
-
const automationFeePb = execution.getAutomationFee();
|
|
21131
|
+
const automationFeePb = typeof execution.getAutomationFee === "function" ? execution.getAutomationFee() : void 0;
|
|
21132
21132
|
const automationFee = automationFeePb ? automationFeePb.toObject() : void 0;
|
|
21133
21133
|
return new _Execution({
|
|
21134
21134
|
id: execution.getId(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution.d.ts","sourceRoot":"","sources":["../../src/models/execution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACL,cAAc,EAEd,eAAe,EACf,KAAK,SAAS,EACf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAuB1B,cAAM,SAAU,YAAW,cAAc;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,eAAe,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,SAAS,CAAC;gBAEd,KAAK,EAAE,cAAc;IAajC;;;OAGG;IACH,MAAM,IAAI,cAAc;IAcxB,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,MAAM,CAAC,SAAS,GAAG,SAAS;
|
|
1
|
+
{"version":3,"file":"execution.d.ts","sourceRoot":"","sources":["../../src/models/execution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACL,cAAc,EAEd,eAAe,EACf,KAAK,SAAS,EACf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAuB1B,cAAM,SAAU,YAAW,cAAc;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,eAAe,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,SAAS,CAAC;gBAEd,KAAK,EAAE,cAAc;IAajC;;;OAGG;IACH,MAAM,IAAI,cAAc;IAcxB,MAAM,CAAC,YAAY,CAAC,SAAS,EAAE,MAAM,CAAC,SAAS,GAAG,SAAS;CAwB5D;AAED,eAAe,SAAS,CAAC"}
|
package/dist/models/execution.js
CHANGED
|
@@ -49,7 +49,9 @@ class Execution {
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
static fromResponse(execution) {
|
|
52
|
-
const automationFeePb = execution.getAutomationFee
|
|
52
|
+
const automationFeePb = typeof execution.getAutomationFee === 'function'
|
|
53
|
+
? execution.getAutomationFee()
|
|
54
|
+
: undefined;
|
|
53
55
|
const automationFee = automationFeePb
|
|
54
56
|
? automationFeePb.toObject()
|
|
55
57
|
: undefined;
|
package/package.json
CHANGED