measur-tools-suite 1.2.5-rc.3 → 1.2.5

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/bin/client.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "measur-tools-suite",
3
- "version": "1.2.5-rc.3",
3
+ "version": "1.2.5",
4
4
  "engines": {
5
5
  "node": "20.19.4",
6
6
  "npm": "10.8.2"
@@ -156,6 +156,31 @@ export declare class PumpResultInput {
156
156
  specifiedEfficiency: number
157
157
  );
158
158
 
159
+ /**
160
+ * @param style PumpStyle, pump style selector
161
+ * @param pumpEfficiency double, pump efficiency, dimensionless
162
+ * @param rpm double, pump speed in RPM
163
+ * @param drive Drive enum, drive type
164
+ * @param kviscosity Kinematic viscosity, units cSt.
165
+ * @param specificGravity double, specific gravity, dimensionless
166
+ * @param stageCount Pump stage count.
167
+ * @param speed SpecificSpeed, pump specific speed selector
168
+ * @param specifiedEfficiency Specified optimal efficiency, dimensionless fraction.
169
+ * @param differentialPressurePsi Differential pressure for positive-displacement pumps, units psi.
170
+ */
171
+ constructor(
172
+ style: PumpStyle,
173
+ pumpEfficiency: number,
174
+ rpm: number,
175
+ drive: Drive,
176
+ kviscosity: number,
177
+ specificGravity: number,
178
+ stageCount: number,
179
+ speed: SpecificSpeed,
180
+ specifiedEfficiency: number,
181
+ differentialPressurePsi: number
182
+ );
183
+
159
184
  /** Frees the underlying resource; must be called when finished with the instance */
160
185
  delete(): void;
161
186
  }
@@ -22,7 +22,8 @@ export enum PumpStyle {
22
22
  DOUBLE_SUCTION = 8,
23
23
  VERTICAL_TURBINE = 9,
24
24
  LARGE_END_SUCTION = 10,
25
- SPECIFIED_OPTIMAL_EFFICIENCY = 11
25
+ SPECIFIED_OPTIMAL_EFFICIENCY = 11,
26
+ POSITIVE_DISPLACEMENT = 12
26
27
  }
27
28
 
28
29
  /**