var context = utilRebind({}, dispatch$1, 'on');
var _deferred = new Set();
- context.version = '2.18.1';
+ context.version = '2.18.2';
context.privacyVersion = '20200407';
// iD will alter the hash so cache the parameters intended to setup the session
/* Straight accessors. Avoid using these if you can. */
- var _connection;
+ // Instantiate the connection here because it doesn't require passing in
+ // `context` and it's needed for pre-init calls like `preauth`
+ var _connection = services.osm;
var _history;
var _validator;
var _uploader;
_photos = rendererPhotos(context);
_ui = uiInit(context);
-
- _connection = services.osm;
}
// Set up objects that might need to access properties of `context`. The order