mirror of
https://github.com/appium/appium.git
synced 2026-10-28 12:21:20 +08:00
* Rename 'mjsonwp' to 'protocol' * Renamed folder from 'mjsonwp' to 'protocol' in `lib/` and `test/` * Renamed 'mjsonwp.js' to 'protocol.js' * Renamed any import statements that use 'mjsonwp' * _Possible breaking change_: MJSONWireProtocol class exposed in index was renamed to just Protocol.... checked Appium repo and found no libraries that use MJSONWireProtocol * Lint fix
34 lines
1.1 KiB
JavaScript
34 lines
1.1 KiB
JavaScript
// transpile:main
|
|
|
|
// BaseDriver exports
|
|
import BaseDriver from './lib/basedriver/driver';
|
|
import DeviceSettings from './lib/basedriver/device-settings';
|
|
|
|
export { BaseDriver, DeviceSettings };
|
|
export default BaseDriver;
|
|
|
|
// MJSONWP exports
|
|
import { Protocol, routeConfiguringFunction, errors, isErrorType,
|
|
errorFromCode, ALL_COMMANDS, METHOD_MAP, routeToCommandName,
|
|
NO_SESSION_ID_COMMANDS, isSessionCommand } from './lib/protocol';
|
|
|
|
export { Protocol, routeConfiguringFunction, errors, isErrorType,
|
|
errorFromCode, ALL_COMMANDS, METHOD_MAP, routeToCommandName,
|
|
NO_SESSION_ID_COMMANDS, isSessionCommand };
|
|
|
|
// Express exports
|
|
import { server } from './lib/express/server';
|
|
export { server };
|
|
|
|
// jsonwp-proxy exports
|
|
import JWProxy from './lib/jsonwp-proxy/proxy';
|
|
export { JWProxy };
|
|
|
|
// jsonwp-status exports
|
|
import { codes, getSummaryByCode } from './lib/jsonwp-status/status';
|
|
const statusCodes = codes;
|
|
export { statusCodes, getSummaryByCode };
|
|
|
|
// W3C capabilities parser
|
|
import { processCapabilities } from './lib/basedriver/capabilities';
|
|
export { processCapabilities }; |