@devrev/ts-adaas 1.18.1-beta.0 → 1.19.0

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.
@@ -64,7 +64,7 @@ async function spawn({ event, initialState, workerPath, initialDomainMapping, op
64
64
  event.payload.event_type = translatedEventType;
65
65
  // Read the command line arguments to check if the local flag is passed.
66
66
  const argv = await (0, yargs_1.default)((0, helpers_1.hideBin)(process.argv)).argv;
67
- if (argv._.includes('local')) {
67
+ if (argv._.includes('local') || argv.local) {
68
68
  options = Object.assign(Object.assign({}, (options || {})), { isLocalDevelopment: true });
69
69
  }
70
70
  const originalConsole = console;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devrev/ts-adaas",
3
- "version": "1.18.1-beta.0",
3
+ "version": "1.19.0",
4
4
  "description": "Typescript library containing the ADaaS(AirDrop as a Service) control protocol.",
5
5
  "type": "commonjs",
6
6
  "main": "./dist/index.js",