@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 CHANGED
@@ -125,11 +125,12 @@ function createWire(senderActions) {
125
125
  }
126
126
  case "rpc.send-res":
127
127
  case "rpc.res": {
128
- const wireId = data.wireId;
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(data);
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 wireId = data.wireId;
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(data);
107
+ pending(msg);
107
108
  rpcMap.delete(wireId);
108
109
  return;
109
110
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ezenki/deploy-commander-installer-interface",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "An interface to help installers communicate with the platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",