gs2 1.3.187 → 1.3.188
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/package.json +1 -1
- package/script/result/DebugInvokeResult.d.ts +4 -0
- package/script/result/DebugInvokeResult.js +14 -0
- package/script/result/DebugInvokeResult.js.map +1 -1
- package/script/result/DebugInvokeResult.ts +17 -0
- package/script/result/InvokeScriptResult.d.ts +4 -0
- package/script/result/InvokeScriptResult.js +14 -0
- package/script/result/InvokeScriptResult.js.map +1 -1
- package/script/result/InvokeScriptResult.ts +17 -0
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@ import IResult from '../../core/interface/IResult';
|
|
|
2
2
|
export default class DebugInvokeResult implements IResult {
|
|
3
3
|
private code;
|
|
4
4
|
private result;
|
|
5
|
+
private transaction;
|
|
5
6
|
private executeTime;
|
|
6
7
|
private charged;
|
|
7
8
|
private output;
|
|
@@ -11,6 +12,9 @@ export default class DebugInvokeResult implements IResult {
|
|
|
11
12
|
getResult(): string | null;
|
|
12
13
|
setResult(result: string | null): this;
|
|
13
14
|
withResult(result: string | null): this;
|
|
15
|
+
getTransaction(): string | null;
|
|
16
|
+
setTransaction(transaction: string | null): this;
|
|
17
|
+
withTransaction(transaction: string | null): this;
|
|
14
18
|
getExecuteTime(): number | null;
|
|
15
19
|
setExecuteTime(executeTime: number | null): this;
|
|
16
20
|
withExecuteTime(executeTime: number | null): this;
|
|
@@ -19,6 +19,7 @@ var DebugInvokeResult = /** @class */ (function () {
|
|
|
19
19
|
function DebugInvokeResult() {
|
|
20
20
|
this.code = null;
|
|
21
21
|
this.result = null;
|
|
22
|
+
this.transaction = null;
|
|
22
23
|
this.executeTime = null;
|
|
23
24
|
this.charged = null;
|
|
24
25
|
this.output = null;
|
|
@@ -45,6 +46,17 @@ var DebugInvokeResult = /** @class */ (function () {
|
|
|
45
46
|
this.result = result;
|
|
46
47
|
return this;
|
|
47
48
|
};
|
|
49
|
+
DebugInvokeResult.prototype.getTransaction = function () {
|
|
50
|
+
return this.transaction;
|
|
51
|
+
};
|
|
52
|
+
DebugInvokeResult.prototype.setTransaction = function (transaction) {
|
|
53
|
+
this.transaction = transaction;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
DebugInvokeResult.prototype.withTransaction = function (transaction) {
|
|
57
|
+
this.transaction = transaction;
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
48
60
|
DebugInvokeResult.prototype.getExecuteTime = function () {
|
|
49
61
|
return this.executeTime;
|
|
50
62
|
};
|
|
@@ -82,6 +94,7 @@ var DebugInvokeResult = /** @class */ (function () {
|
|
|
82
94
|
return new DebugInvokeResult()
|
|
83
95
|
.withCode(data["code"])
|
|
84
96
|
.withResult(data["result"])
|
|
97
|
+
.withTransaction(data["transaction"])
|
|
85
98
|
.withExecuteTime(data["executeTime"])
|
|
86
99
|
.withCharged(data["charged"])
|
|
87
100
|
.withOutput(data.output ?
|
|
@@ -93,6 +106,7 @@ var DebugInvokeResult = /** @class */ (function () {
|
|
|
93
106
|
return {
|
|
94
107
|
"code": this.getCode(),
|
|
95
108
|
"result": this.getResult(),
|
|
109
|
+
"transaction": this.getTransaction(),
|
|
96
110
|
"executeTime": this.getExecuteTime(),
|
|
97
111
|
"charged": this.getCharged(),
|
|
98
112
|
"output": this.getOutput() ?
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugInvokeResult.js","sourceRoot":"","sources":["DebugInvokeResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QACY,SAAI,GAAgB,IAAI,CAAC;QACzB,WAAM,GAAgB,IAAI,CAAC;QAC3B,gBAAW,GAAgB,IAAI,CAAC;QAChC,YAAO,GAAgB,IAAI,CAAC;QAC5B,WAAM,GAAkB,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"DebugInvokeResult.js","sourceRoot":"","sources":["DebugInvokeResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;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CAAC,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC;IAEM,kCAAM,GAAb;QACI,OAAO;YACH,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE;YAC5B,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;gBACxB,IAAI,CAAC,SAAS,EAAG,CAAC,GAAG,CAAC,UAAC,IAAY;oBAC/B,OAAO,IAAI,CAAC;gBAChB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;SACT,CAAC;IACN,CAAC;IACL,wBAAC;AAAD,CAAC,AAxHD,IAwHC"}
|
|
@@ -21,6 +21,7 @@ import * as Gs2Script from '../model'
|
|
|
21
21
|
export default class DebugInvokeResult implements IResult {
|
|
22
22
|
private code: number|null = null;
|
|
23
23
|
private result: string|null = null;
|
|
24
|
+
private transaction: string|null = null;
|
|
24
25
|
private executeTime: number|null = null;
|
|
25
26
|
private charged: number|null = null;
|
|
26
27
|
private output: string[]|null = null;
|
|
@@ -53,6 +54,20 @@ export default class DebugInvokeResult implements IResult {
|
|
|
53
54
|
return this;
|
|
54
55
|
}
|
|
55
56
|
|
|
57
|
+
public getTransaction(): string|null {
|
|
58
|
+
return this.transaction;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
public setTransaction(transaction: string|null) {
|
|
62
|
+
this.transaction = transaction;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
public withTransaction(transaction: string|null): this {
|
|
67
|
+
this.transaction = transaction;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
|
|
56
71
|
public getExecuteTime(): number|null {
|
|
57
72
|
return this.executeTime;
|
|
58
73
|
}
|
|
@@ -99,6 +114,7 @@ export default class DebugInvokeResult implements IResult {
|
|
|
99
114
|
return new DebugInvokeResult()
|
|
100
115
|
.withCode(data["code"])
|
|
101
116
|
.withResult(data["result"])
|
|
117
|
+
.withTransaction(data["transaction"])
|
|
102
118
|
.withExecuteTime(data["executeTime"])
|
|
103
119
|
.withCharged(data["charged"])
|
|
104
120
|
.withOutput(data.output ?
|
|
@@ -112,6 +128,7 @@ export default class DebugInvokeResult implements IResult {
|
|
|
112
128
|
return {
|
|
113
129
|
"code": this.getCode(),
|
|
114
130
|
"result": this.getResult(),
|
|
131
|
+
"transaction": this.getTransaction(),
|
|
115
132
|
"executeTime": this.getExecuteTime(),
|
|
116
133
|
"charged": this.getCharged(),
|
|
117
134
|
"output": this.getOutput() ?
|
|
@@ -2,6 +2,7 @@ import IResult from '../../core/interface/IResult';
|
|
|
2
2
|
export default class InvokeScriptResult implements IResult {
|
|
3
3
|
private code;
|
|
4
4
|
private result;
|
|
5
|
+
private transaction;
|
|
5
6
|
private executeTime;
|
|
6
7
|
private charged;
|
|
7
8
|
private output;
|
|
@@ -11,6 +12,9 @@ export default class InvokeScriptResult implements IResult {
|
|
|
11
12
|
getResult(): string | null;
|
|
12
13
|
setResult(result: string | null): this;
|
|
13
14
|
withResult(result: string | null): this;
|
|
15
|
+
getTransaction(): string | null;
|
|
16
|
+
setTransaction(transaction: string | null): this;
|
|
17
|
+
withTransaction(transaction: string | null): this;
|
|
14
18
|
getExecuteTime(): number | null;
|
|
15
19
|
setExecuteTime(executeTime: number | null): this;
|
|
16
20
|
withExecuteTime(executeTime: number | null): this;
|
|
@@ -19,6 +19,7 @@ var InvokeScriptResult = /** @class */ (function () {
|
|
|
19
19
|
function InvokeScriptResult() {
|
|
20
20
|
this.code = null;
|
|
21
21
|
this.result = null;
|
|
22
|
+
this.transaction = null;
|
|
22
23
|
this.executeTime = null;
|
|
23
24
|
this.charged = null;
|
|
24
25
|
this.output = null;
|
|
@@ -45,6 +46,17 @@ var InvokeScriptResult = /** @class */ (function () {
|
|
|
45
46
|
this.result = result;
|
|
46
47
|
return this;
|
|
47
48
|
};
|
|
49
|
+
InvokeScriptResult.prototype.getTransaction = function () {
|
|
50
|
+
return this.transaction;
|
|
51
|
+
};
|
|
52
|
+
InvokeScriptResult.prototype.setTransaction = function (transaction) {
|
|
53
|
+
this.transaction = transaction;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
InvokeScriptResult.prototype.withTransaction = function (transaction) {
|
|
57
|
+
this.transaction = transaction;
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
48
60
|
InvokeScriptResult.prototype.getExecuteTime = function () {
|
|
49
61
|
return this.executeTime;
|
|
50
62
|
};
|
|
@@ -82,6 +94,7 @@ var InvokeScriptResult = /** @class */ (function () {
|
|
|
82
94
|
return new InvokeScriptResult()
|
|
83
95
|
.withCode(data["code"])
|
|
84
96
|
.withResult(data["result"])
|
|
97
|
+
.withTransaction(data["transaction"])
|
|
85
98
|
.withExecuteTime(data["executeTime"])
|
|
86
99
|
.withCharged(data["charged"])
|
|
87
100
|
.withOutput(data.output ?
|
|
@@ -93,6 +106,7 @@ var InvokeScriptResult = /** @class */ (function () {
|
|
|
93
106
|
return {
|
|
94
107
|
"code": this.getCode(),
|
|
95
108
|
"result": this.getResult(),
|
|
109
|
+
"transaction": this.getTransaction(),
|
|
96
110
|
"executeTime": this.getExecuteTime(),
|
|
97
111
|
"charged": this.getCharged(),
|
|
98
112
|
"output": this.getOutput() ?
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvokeScriptResult.js","sourceRoot":"","sources":["InvokeScriptResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QACY,SAAI,GAAgB,IAAI,CAAC;QACzB,WAAM,GAAgB,IAAI,CAAC;QAC3B,gBAAW,GAAgB,IAAI,CAAC;QAChC,YAAO,GAAgB,IAAI,CAAC;QAC5B,WAAM,GAAkB,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"In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AAC,GAAG,CAAC,UAAC,IAA0B;gBACvC,OAAO,IAAI,CAAC;YAChB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC;IAEM,mCAAM,GAAb;QACI,OAAO;YACH,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE;YAC5B,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;gBACxB,IAAI,CAAC,SAAS,EAAG,CAAC,GAAG,CAAC,UAAC,IAAY;oBAC/B,OAAO,IAAI,CAAC;gBAChB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;SACT,CAAC;IACN,CAAC;IACL,yBAAC;AAAD,CAAC,AAxHD,IAwHC"}
|
|
@@ -21,6 +21,7 @@ import * as Gs2Script from '../model'
|
|
|
21
21
|
export default class InvokeScriptResult implements IResult {
|
|
22
22
|
private code: number|null = null;
|
|
23
23
|
private result: string|null = null;
|
|
24
|
+
private transaction: string|null = null;
|
|
24
25
|
private executeTime: number|null = null;
|
|
25
26
|
private charged: number|null = null;
|
|
26
27
|
private output: string[]|null = null;
|
|
@@ -53,6 +54,20 @@ export default class InvokeScriptResult implements IResult {
|
|
|
53
54
|
return this;
|
|
54
55
|
}
|
|
55
56
|
|
|
57
|
+
public getTransaction(): string|null {
|
|
58
|
+
return this.transaction;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
public setTransaction(transaction: string|null) {
|
|
62
|
+
this.transaction = transaction;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
public withTransaction(transaction: string|null): this {
|
|
67
|
+
this.transaction = transaction;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
|
|
56
71
|
public getExecuteTime(): number|null {
|
|
57
72
|
return this.executeTime;
|
|
58
73
|
}
|
|
@@ -99,6 +114,7 @@ export default class InvokeScriptResult implements IResult {
|
|
|
99
114
|
return new InvokeScriptResult()
|
|
100
115
|
.withCode(data["code"])
|
|
101
116
|
.withResult(data["result"])
|
|
117
|
+
.withTransaction(data["transaction"])
|
|
102
118
|
.withExecuteTime(data["executeTime"])
|
|
103
119
|
.withCharged(data["charged"])
|
|
104
120
|
.withOutput(data.output ?
|
|
@@ -112,6 +128,7 @@ export default class InvokeScriptResult implements IResult {
|
|
|
112
128
|
return {
|
|
113
129
|
"code": this.getCode(),
|
|
114
130
|
"result": this.getResult(),
|
|
131
|
+
"transaction": this.getTransaction(),
|
|
115
132
|
"executeTime": this.getExecuteTime(),
|
|
116
133
|
"charged": this.getCharged(),
|
|
117
134
|
"output": this.getOutput() ?
|