@xelis/sdk 0.11.42 → 0.11.44
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.
|
@@ -111,9 +111,14 @@ class WSRPC {
|
|
|
111
111
|
if (data.id === id) {
|
|
112
112
|
return evaluate_data();
|
|
113
113
|
}
|
|
114
|
-
// special XSWD case
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
// special XSWD case
|
|
115
|
+
// previously sending first call will return null id
|
|
116
|
+
// now it returns the id as app id
|
|
117
|
+
if (id === 0) {
|
|
118
|
+
const body_data = JSON.parse(body);
|
|
119
|
+
if (body_data.id === data.id || data.id === null) {
|
|
120
|
+
return evaluate_data();
|
|
121
|
+
}
|
|
117
122
|
}
|
|
118
123
|
}
|
|
119
124
|
};
|
|
@@ -105,9 +105,14 @@ export class WSRPC {
|
|
|
105
105
|
if (data.id === id) {
|
|
106
106
|
return evaluate_data();
|
|
107
107
|
}
|
|
108
|
-
// special XSWD case
|
|
109
|
-
|
|
110
|
-
|
|
108
|
+
// special XSWD case
|
|
109
|
+
// previously sending first call will return null id
|
|
110
|
+
// now it returns the id as app id
|
|
111
|
+
if (id === 0) {
|
|
112
|
+
const body_data = JSON.parse(body);
|
|
113
|
+
if (body_data.id === data.id || data.id === null) {
|
|
114
|
+
return evaluate_data();
|
|
115
|
+
}
|
|
111
116
|
}
|
|
112
117
|
}
|
|
113
118
|
};
|
|
@@ -842,7 +842,17 @@ export interface ContractLogScheduledExecution {
|
|
|
842
842
|
value: {
|
|
843
843
|
contract: string;
|
|
844
844
|
hash: string;
|
|
845
|
-
kind:
|
|
845
|
+
kind: {
|
|
846
|
+
topo_height: {
|
|
847
|
+
topoheight: number;
|
|
848
|
+
};
|
|
849
|
+
} | {
|
|
850
|
+
block_end: {
|
|
851
|
+
chunk_id: number;
|
|
852
|
+
max_gas: number;
|
|
853
|
+
params: [];
|
|
854
|
+
};
|
|
855
|
+
};
|
|
846
856
|
};
|
|
847
857
|
}
|
|
848
858
|
export interface ContractLogExitPayload {
|
package/package.json
CHANGED