@ezenki/deploy-commander-installer-interface 1.0.0 → 1.0.1
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.cjs +3 -2
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -125,11 +125,12 @@ function createWire(senderActions) {
|
|
|
125
125
|
}
|
|
126
126
|
case "rpc.send-res":
|
|
127
127
|
case "rpc.res": {
|
|
128
|
-
const
|
|
128
|
+
const msg = data;
|
|
129
|
+
const wireId = msg.wireId;
|
|
129
130
|
if (typeof wireId !== "string") return;
|
|
130
131
|
const pending = rpcMap.get(wireId);
|
|
131
132
|
if (!pending) return;
|
|
132
|
-
pending(
|
|
133
|
+
pending(msg);
|
|
133
134
|
rpcMap.delete(wireId);
|
|
134
135
|
return;
|
|
135
136
|
}
|
package/dist/index.js
CHANGED
|
@@ -99,11 +99,12 @@ function createWire(senderActions) {
|
|
|
99
99
|
}
|
|
100
100
|
case "rpc.send-res":
|
|
101
101
|
case "rpc.res": {
|
|
102
|
-
const
|
|
102
|
+
const msg = data;
|
|
103
|
+
const wireId = msg.wireId;
|
|
103
104
|
if (typeof wireId !== "string") return;
|
|
104
105
|
const pending = rpcMap.get(wireId);
|
|
105
106
|
if (!pending) return;
|
|
106
|
-
pending(
|
|
107
|
+
pending(msg);
|
|
107
108
|
rpcMap.delete(wireId);
|
|
108
109
|
return;
|
|
109
110
|
}
|