@ondc/automation-mock-runner 1.3.16 → 1.3.17

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.
@@ -456,7 +456,7 @@ class MockRunner {
456
456
  const version = this.config.meta?.version || "2.0.0";
457
457
  const majorVersion = parseInt(version.split(".")[0], 10);
458
458
  // set city code
459
- const cityCode = MockRunner.getIdFromSession(sessionData, "city_code") || "*";
459
+ const cityCode = MockRunner.getIdFromSession(sessionData, "city_code") ?? "*";
460
460
  if (majorVersion === 1) {
461
461
  return {
462
462
  ...baseContext,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ondc/automation-mock-runner",
3
- "version": "1.3.16",
3
+ "version": "1.3.17",
4
4
  "description": "A TypeScript library for ONDC automation mock runner",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",