@google/earthengine 1.6.0 → 1.6.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google/earthengine",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "JavaScript client for Google Earth Engine API.",
5
5
  "author": "Google LLC",
6
6
  "license": "Apache-2.0",
package/src/apiclient.js CHANGED
@@ -24,7 +24,7 @@ const {trustedResourceUrl} = goog.require('safevalues.index');
24
24
  /** @namespace */
25
25
  const apiclient = {};
26
26
 
27
- const API_CLIENT_VERSION = '1.6.0';
27
+ const API_CLIENT_VERSION = '1.6.1';
28
28
 
29
29
  exports.VERSION = apiVersion.VERSION;
30
30
  exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
@@ -426,9 +426,7 @@ function deepCopyValue<T extends {}>(
426
426
  } else if (value instanceof NullClass) {
427
427
  deserialized = null as unknown as {};
428
428
  } else if (typeof value === 'object') {
429
- // TODO(user): Assert as a type, declared interface, or `unknown`.
430
- // tslint:disable-next-line:ban-types no-unnecessary-type-assertion
431
- deserialized = JSON.parse(JSON.stringify(value)) as AnyDuringMigration;
429
+ deserialized = JSON.parse(JSON.stringify(value)) as object;
432
430
  } else {
433
431
  deserialized = value;
434
432
  }