@google/earthengine 1.6.13 → 1.6.15
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/build/browser.js +82 -78
- package/build/ee_api_js.js +38 -39
- package/build/ee_api_js_debug.js +59 -56
- package/build/ee_api_js_npm.js +82 -78
- package/build/main.js +82 -78
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
- package/src/ee.js +4 -0
package/build/main.js
CHANGED
|
@@ -2,15 +2,6 @@ const {google} = require('googleapis');
|
|
|
2
2
|
const XMLHttpRequest = require('xmlhttprequest').XMLHttpRequest;
|
|
3
3
|
var $jscomp = $jscomp || {};
|
|
4
4
|
$jscomp.scope = {};
|
|
5
|
-
$jscomp.arrayIteratorImpl = function(array) {
|
|
6
|
-
var index = 0;
|
|
7
|
-
return function() {
|
|
8
|
-
return index < array.length ? {done:!1, value:array[index++]} : {done:!0};
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
$jscomp.arrayIterator = function(array) {
|
|
12
|
-
return {next:$jscomp.arrayIteratorImpl(array)};
|
|
13
|
-
};
|
|
14
5
|
$jscomp.ASSUME_ES5 = !1;
|
|
15
6
|
$jscomp.ASSUME_ES6 = !1;
|
|
16
7
|
$jscomp.ASSUME_ES2020 = !1;
|
|
@@ -20,6 +11,12 @@ $jscomp.ISOLATE_POLYFILLS = !1;
|
|
|
20
11
|
$jscomp.FORCE_POLYFILL_PROMISE = !1;
|
|
21
12
|
$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION = !1;
|
|
22
13
|
$jscomp.INSTRUMENT_ASYNC_CONTEXT = !0;
|
|
14
|
+
$jscomp.objectCreate = $jscomp.ASSUME_ES5 || typeof Object.create == "function" ? Object.create : function(prototype) {
|
|
15
|
+
var ctor = function() {
|
|
16
|
+
};
|
|
17
|
+
ctor.prototype = prototype;
|
|
18
|
+
return new ctor();
|
|
19
|
+
};
|
|
23
20
|
$jscomp.defineProperty = $jscomp.ASSUME_ES5 || typeof Object.defineProperties == "function" ? Object.defineProperty : function(target, property, descriptor) {
|
|
24
21
|
if (target == Array.prototype || target == Object.prototype) {
|
|
25
22
|
return target;
|
|
@@ -104,50 +101,6 @@ $jscomp.polyfillIsolated = function(target, polyfill, fromLang, toLang) {
|
|
|
104
101
|
}
|
|
105
102
|
}
|
|
106
103
|
};
|
|
107
|
-
$jscomp.initSymbol = function() {
|
|
108
|
-
};
|
|
109
|
-
$jscomp.polyfill("Symbol", function(orig) {
|
|
110
|
-
if (orig) {
|
|
111
|
-
return orig;
|
|
112
|
-
}
|
|
113
|
-
var SymbolClass = function(id, opt_description) {
|
|
114
|
-
this.$jscomp$symbol$id_ = id;
|
|
115
|
-
$jscomp.defineProperty(this, "description", {configurable:!0, writable:!0, value:opt_description});
|
|
116
|
-
};
|
|
117
|
-
SymbolClass.prototype.toString = function() {
|
|
118
|
-
return this.$jscomp$symbol$id_;
|
|
119
|
-
};
|
|
120
|
-
var SYMBOL_PREFIX = "jscomp_symbol_" + (Math.random() * 1E9 >>> 0) + "_", counter = 0, symbolPolyfill = function(opt_description) {
|
|
121
|
-
if (this instanceof symbolPolyfill) {
|
|
122
|
-
throw new TypeError("Symbol is not a constructor");
|
|
123
|
-
}
|
|
124
|
-
return new SymbolClass(SYMBOL_PREFIX + (opt_description || "") + "_" + counter++, opt_description);
|
|
125
|
-
};
|
|
126
|
-
return symbolPolyfill;
|
|
127
|
-
}, "es6", "es3");
|
|
128
|
-
$jscomp.polyfill("Symbol.iterator", function(orig) {
|
|
129
|
-
if (orig) {
|
|
130
|
-
return orig;
|
|
131
|
-
}
|
|
132
|
-
var symbolIterator = Symbol("Symbol.iterator");
|
|
133
|
-
$jscomp.defineProperty(Array.prototype, symbolIterator, {configurable:!0, writable:!0, value:function() {
|
|
134
|
-
return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this));
|
|
135
|
-
}});
|
|
136
|
-
return symbolIterator;
|
|
137
|
-
}, "es6", "es3");
|
|
138
|
-
$jscomp.iteratorPrototype = function(next) {
|
|
139
|
-
var iterator = {next:next};
|
|
140
|
-
iterator[Symbol.iterator] = function() {
|
|
141
|
-
return this;
|
|
142
|
-
};
|
|
143
|
-
return iterator;
|
|
144
|
-
};
|
|
145
|
-
$jscomp.objectCreate = $jscomp.ASSUME_ES5 || typeof Object.create == "function" ? Object.create : function(prototype) {
|
|
146
|
-
var ctor = function() {
|
|
147
|
-
};
|
|
148
|
-
ctor.prototype = prototype;
|
|
149
|
-
return new ctor();
|
|
150
|
-
};
|
|
151
104
|
$jscomp.getConstructImplementation = function() {
|
|
152
105
|
function reflectConstructWorks() {
|
|
153
106
|
function Base() {
|
|
@@ -210,6 +163,15 @@ $jscomp.inherits = function(childCtor, parentCtor) {
|
|
|
210
163
|
}
|
|
211
164
|
childCtor.superClass_ = parentCtor.prototype;
|
|
212
165
|
};
|
|
166
|
+
$jscomp.arrayIteratorImpl = function(array) {
|
|
167
|
+
var index = 0;
|
|
168
|
+
return function() {
|
|
169
|
+
return index < array.length ? {done:!1, value:array[index++]} : {done:!0};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
$jscomp.arrayIterator = function(array) {
|
|
173
|
+
return {next:$jscomp.arrayIteratorImpl(array)};
|
|
174
|
+
};
|
|
213
175
|
$jscomp.makeIterator = function(iterable) {
|
|
214
176
|
var iteratorFunction = typeof Symbol != "undefined" && Symbol.iterator && iterable[Symbol.iterator];
|
|
215
177
|
if (iteratorFunction) {
|
|
@@ -513,6 +475,44 @@ $jscomp.polyfill("Reflect.setPrototypeOf", function(orig) {
|
|
|
513
475
|
}
|
|
514
476
|
return null;
|
|
515
477
|
}, "es6", "es5");
|
|
478
|
+
$jscomp.initSymbol = function() {
|
|
479
|
+
};
|
|
480
|
+
$jscomp.polyfill("Symbol", function(orig) {
|
|
481
|
+
if (orig) {
|
|
482
|
+
return orig;
|
|
483
|
+
}
|
|
484
|
+
var SymbolClass = function(id, opt_description) {
|
|
485
|
+
this.$jscomp$symbol$id_ = id;
|
|
486
|
+
$jscomp.defineProperty(this, "description", {configurable:!0, writable:!0, value:opt_description});
|
|
487
|
+
};
|
|
488
|
+
SymbolClass.prototype.toString = function() {
|
|
489
|
+
return this.$jscomp$symbol$id_;
|
|
490
|
+
};
|
|
491
|
+
var SYMBOL_PREFIX = "jscomp_symbol_" + (Math.random() * 1E9 >>> 0) + "_", counter = 0, symbolPolyfill = function(opt_description) {
|
|
492
|
+
if (this instanceof symbolPolyfill) {
|
|
493
|
+
throw new TypeError("Symbol is not a constructor");
|
|
494
|
+
}
|
|
495
|
+
return new SymbolClass(SYMBOL_PREFIX + (opt_description || "") + "_" + counter++, opt_description);
|
|
496
|
+
};
|
|
497
|
+
return symbolPolyfill;
|
|
498
|
+
}, "es6", "es3");
|
|
499
|
+
$jscomp.polyfill("Symbol.iterator", function(orig) {
|
|
500
|
+
if (orig) {
|
|
501
|
+
return orig;
|
|
502
|
+
}
|
|
503
|
+
var symbolIterator = Symbol("Symbol.iterator");
|
|
504
|
+
$jscomp.defineProperty(Array.prototype, symbolIterator, {configurable:!0, writable:!0, value:function() {
|
|
505
|
+
return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this));
|
|
506
|
+
}});
|
|
507
|
+
return symbolIterator;
|
|
508
|
+
}, "es6", "es3");
|
|
509
|
+
$jscomp.iteratorPrototype = function(next) {
|
|
510
|
+
var iterator = {next:next};
|
|
511
|
+
iterator[Symbol.iterator] = function() {
|
|
512
|
+
return this;
|
|
513
|
+
};
|
|
514
|
+
return iterator;
|
|
515
|
+
};
|
|
516
516
|
$jscomp.polyfill("Promise", function(NativePromise) {
|
|
517
517
|
function platformSupportsPromiseRejectionEvents() {
|
|
518
518
|
return typeof $jscomp.global.PromiseRejectionEvent !== "undefined";
|
|
@@ -19497,7 +19497,7 @@ var $jscomp$templatelit$m1153655765$101 = $jscomp.createTemplateTagFirstArg(["ht
|
|
|
19497
19497
|
ee.apiclient = {};
|
|
19498
19498
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19499
19499
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19500
|
-
ee.apiclient.API_CLIENT_VERSION = "1.6.
|
|
19500
|
+
ee.apiclient.API_CLIENT_VERSION = "1.6.15";
|
|
19501
19501
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19502
19502
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19503
19503
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19802,8 +19802,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19802
19802
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19803
19803
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19804
19804
|
method = method || "POST";
|
|
19805
|
-
var headers = {"Content-Type":contentType}, version = "1.6.
|
|
19806
|
-
version === "1.6.
|
|
19805
|
+
var headers = {"Content-Type":contentType}, version = "1.6.15";
|
|
19806
|
+
version === "1.6.15" && (version = "latest");
|
|
19807
19807
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19808
19808
|
module$contents$ee$apiclient_apiclient.userAgent_ && (headers["User-Agent"] = module$contents$ee$apiclient_apiclient.userAgent_);
|
|
19809
19809
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
@@ -24820,6 +24820,9 @@ ee.promote_ = function(arg, klass) {
|
|
|
24820
24820
|
return null;
|
|
24821
24821
|
}
|
|
24822
24822
|
if (arg !== void 0) {
|
|
24823
|
+
if (typeof klass != "string") {
|
|
24824
|
+
throw Error("Unexpected type: " + Object.prototype.toString.call(klass));
|
|
24825
|
+
}
|
|
24823
24826
|
var exportedEE = goog.global.ee;
|
|
24824
24827
|
switch(klass) {
|
|
24825
24828
|
case "Image":
|
|
@@ -27336,28 +27339,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27336
27339
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27337
27340
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27338
27341
|
(function() {
|
|
27339
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.
|
|
27340
|
-
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "collection opt_description opt_bucket opt_fileNamePrefix
|
|
27341
|
-
"image opt_description
|
|
27342
|
-
"image opt_description
|
|
27343
|
-
["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description
|
|
27344
|
-
"operator", "value"], ["
|
|
27345
|
-
["
|
|
27346
|
-
|
|
27347
|
-
"opt_callback"], ["
|
|
27348
|
-
[
|
|
27349
|
-
["
|
|
27350
|
-
"opt_proj"
|
|
27351
|
-
["
|
|
27352
|
-
[
|
|
27353
|
-
module$contents$ee$batch_Export.video.
|
|
27354
|
-
ee.
|
|
27355
|
-
ee.
|
|
27356
|
-
ee.data.
|
|
27357
|
-
ee.
|
|
27358
|
-
ee.
|
|
27359
|
-
ee.
|
|
27360
|
-
ee.
|
|
27342
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.lookup ee.ApiFunction._apply ee.ApiFunction._call ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toDrive ee.batch.Export.table.toCloudStorage ee.batch.Export.map.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.table.toAsset ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.image.toDrive ee.batch.Export.image.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.video.toDrive ee.batch.Export.table.toFeatureView ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filter ee.Collection.prototype.filterBounds ee.Collection.prototype.filterDate ee.Collection.prototype.filterMetadata ee.Collection.prototype.limit ee.Collection.prototype.sort ee.ComputedObject.prototype.evaluate ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.serialize ee.data.listImages ee.data.createAssetHome ee.data.getTaskStatus ee.data.getWorkloadTag ee.data.getTableDownloadId ee.data.makeTableDownloadUrl ee.data.getAssetRoots ee.data.listBuckets ee.data.getAssetRootQuota ee.data.newTaskId ee.data.getMapId ee.data.setWorkloadTag ee.data.setDefaultWorkloadTag ee.data.getTileUrl ee.data.startIngestion ee.data.createAsset ee.data.resetWorkloadTag ee.data.createFolder ee.data.startTableIngestion ee.data.getTaskList ee.data.getFeatureViewTilesKey ee.data.renameAsset ee.data.getTaskListWithLimit ee.data.listOperations ee.data.getFilmstripThumbId ee.data.listFeatures ee.data.copyAsset ee.data.cancelOperation ee.data.computeValue ee.data.getAsset ee.data.deleteAsset ee.data.authenticateViaOauth ee.data.getVideoThumbId ee.data.getOperation ee.data.getThumbId ee.data.getAssetAcl ee.data.getInfo ee.data.cancelTask ee.data.authenticate ee.data.makeThumbUrl ee.data.getList ee.data.updateTask ee.data.updateAsset ee.data.listAssets ee.data.authenticateViaPopup ee.data.authenticateViaPrivateKey ee.data.setAssetAcl ee.data.getDownloadId ee.data.startProcessing ee.data.setAssetProperties ee.data.makeDownloadUrl ee.Date ee.Deserializer.decode ee.Deserializer.decodeCloudApi ee.Deserializer.fromJSON ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.apply ee.TILE_SIZE ee.reset ee.Algorithms ee.InitState ee.initialize ee.call ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.Feature ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.select ee.FeatureCollection ee.Filter.lt ee.Filter.and ee.Filter.prototype.not ee.Filter.bounds ee.Filter.or ee.Filter.date ee.Filter.gte ee.Filter.eq ee.Filter.metadata ee.Filter ee.Filter.gt ee.Filter.lte ee.Filter.neq ee.Filter.inList ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.LineString ee.Geometry.MultiLineString ee.Geometry.prototype.toGeoJSON ee.Geometry.prototype.toGeoJSONString ee.Geometry.Point ee.Geometry.LinearRing ee.Geometry.Rectangle ee.Geometry.prototype.serialize ee.Geometry ee.Geometry.BBox ee.Geometry.Polygon ee.Geometry.MultiPoint ee.Geometry.MultiPolygon ee.Image.prototype.select ee.Image.prototype.getInfo ee.Image.prototype.expression ee.Image.prototype.getMap ee.Image.prototype.getThumbURL ee.Image.cat ee.Image ee.Image.rgb ee.Image.prototype.rename ee.Image.prototype.getMapId ee.Image.prototype.getDownloadURL ee.Image.prototype.getThumbId ee.Image.prototype.clip ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.select ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.first ee.ImageCollection.prototype.getMapId ee.ImageCollection ee.List ee.Number ee.Serializer.encodeCloudApiPretty ee.Serializer.toJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encode ee.Serializer.toCloudApiJSON ee.String ee.Terrain".split(" "),
|
|
27343
|
+
orderedParamLists = [["name"], ["name", "namedArgs"], ["name", "var_args"], "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
27344
|
+
"image opt_description opt_bucket opt_fileFormat opt_path opt_writePublicTiles opt_scale opt_maxZoom opt_minZoom opt_region opt_skipEmptyTiles opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "), ["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_framesPerSecond opt_writePublicTiles opt_minZoom opt_maxZoom opt_scale opt_region opt_skipEmptyTiles opt_minTimeMachineZoomSubset opt_maxTimeMachineZoomSubset opt_tileWidth opt_tileHeight opt_tileStride opt_videoFormat opt_version opt_mapsApiKey opt_bucketCorsUris opt_priority".split(" "),
|
|
27345
|
+
"image opt_description opt_folder opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "image opt_description opt_bucket opt_fileNamePrefix opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_fileDimensions opt_skipEmptyTiles opt_fileFormat opt_formatOptions opt_priority".split(" "), "image opt_description opt_assetId opt_pyramidingPolicy opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_shardSize opt_priority".split(" "),
|
|
27346
|
+
["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_folder opt_fileNamePrefix opt_framesPerSecond opt_dimensions opt_region opt_scale opt_crs opt_crsTransform opt_maxPixels opt_maxFrames opt_priority".split(" "), "collection opt_description opt_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "), ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["filter"], ["geometry"], ["start",
|
|
27347
|
+
"opt_end"], ["name", "operator", "value"], ["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["callback"], ["func", "var_args"], ["opt_callback"], ["legacy"], ["parent", "opt_params", "opt_callback"], ["requestedId", "opt_callback"], ["taskId", "opt_callback"], [], ["params", "opt_callback"], ["id"], ["opt_callback"], ["project", "opt_callback"], ["rootId", "opt_callback"], ["opt_count", "opt_callback"], ["params", "opt_callback"], ["tag"], ["tag"], ["id", "x", "y", "z"],
|
|
27348
|
+
["taskId", "request", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["opt_resetDefault"], ["path", "opt_force", "opt_callback"], ["taskId", "request", "opt_callback"], ["opt_callback"], ["params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["opt_limit", "opt_callback"], ["opt_limit", "opt_callback"], ["params", "opt_callback"], ["asset", "params", "opt_callback"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["operationName",
|
|
27349
|
+
"opt_callback"], ["obj", "opt_callback"], ["id", "opt_callback"], ["assetId", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["params", "opt_callback"], ["operationName", "opt_callback"], ["params", "opt_callback"], ["assetId", "opt_callback"], ["id", "opt_callback"], ["taskId", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["id"], ["params", "opt_callback"], ["taskId",
|
|
27350
|
+
"action", "opt_callback"], ["assetId", "asset", "updateFields", "opt_callback"], ["parent", "opt_params", "opt_callback"], ["opt_success", "opt_error"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["assetId", "aclUpdate", "opt_callback"], ["params", "opt_callback"], ["taskId", "params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["id"], ["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], ["func", "namedArgs"],
|
|
27351
|
+
[], [], [], [], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), ["func", "var_args"], ["var_args"], [], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["geometry", "opt_properties"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args",
|
|
27352
|
+
"opt_column"], ["name", "value"], ["var_args"], [], ["geometry", "opt_errorMargin"], ["var_args"], ["start", "opt_end"], ["name", "value"], ["name", "value"], ["name", "operator", "value"], ["opt_filter"], ["name", "value"], ["name", "value"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], [], [], ["coords", "opt_proj"],
|
|
27353
|
+
["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["legacy"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["west", "south", "east", "north"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["var_args"], ["opt_callback"], ["expression", "opt_map"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"],
|
|
27354
|
+
["var_args"], ["opt_args"], ["r", "g", "b"], ["var_args"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["params", "opt_callback"], ["geometry"], ["params", "opt_callback"], ["opt_visParams", "opt_callback"], ["selectors", "opt_names"], ["opt_callback"], ["params", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], [], ["opt_visParams", "opt_callback"], ["args"], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"],
|
|
27355
|
+
["obj", "opt_isCompound"], ["obj"], ["string"], []];
|
|
27356
|
+
[ee.ApiFunction.lookup, ee.ApiFunction._apply, ee.ApiFunction._call, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.map.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.table.toAsset, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.image.toCloudStorage,
|
|
27357
|
+
module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toFeatureView, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.filter, ee.Collection.prototype.filterBounds, ee.Collection.prototype.filterDate, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.ComputedObject.prototype.evaluate,
|
|
27358
|
+
ee.ComputedObject.prototype.aside, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.serialize, ee.data.listImages, ee.data.createAssetHome, ee.data.getTaskStatus, ee.data.getWorkloadTag, ee.data.getTableDownloadId, ee.data.makeTableDownloadUrl, ee.data.getAssetRoots, ee.data.listBuckets, ee.data.getAssetRootQuota, ee.data.newTaskId, ee.data.getMapId, ee.data.setWorkloadTag, ee.data.setDefaultWorkloadTag, ee.data.getTileUrl, ee.data.startIngestion, ee.data.createAsset, ee.data.resetWorkloadTag,
|
|
27359
|
+
ee.data.createFolder, ee.data.startTableIngestion, ee.data.getTaskList, ee.data.getFeatureViewTilesKey, ee.data.renameAsset, ee.data.getTaskListWithLimit, ee.data.listOperations, ee.data.getFilmstripThumbId, ee.data.listFeatures, ee.data.copyAsset, ee.data.cancelOperation, ee.data.computeValue, ee.data.getAsset, ee.data.deleteAsset, ee.data.authenticateViaOauth, ee.data.getVideoThumbId, ee.data.getOperation, ee.data.getThumbId, ee.data.getAssetAcl, ee.data.getInfo, ee.data.cancelTask, ee.data.authenticate,
|
|
27360
|
+
ee.data.makeThumbUrl, ee.data.getList, ee.data.updateTask, ee.data.updateAsset, ee.data.listAssets, ee.data.authenticateViaPopup, ee.data.authenticateViaPrivateKey, ee.data.setAssetAcl, ee.data.getDownloadId, ee.data.startProcessing, ee.data.setAssetProperties, ee.data.makeDownloadUrl, ee.Date, ee.Deserializer.decode, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromJSON, ee.Deserializer.fromCloudApiJSON, ee.Dictionary, ee.apply, ee.TILE_SIZE, ee.reset, ee.Algorithms, ee.InitState, ee.initialize,
|
|
27361
|
+
ee.call, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.Feature, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.Filter.lt, ee.Filter.and, ee.Filter.prototype.not, ee.Filter.bounds, ee.Filter.or, ee.Filter.date, ee.Filter.gte,
|
|
27362
|
+
ee.Filter.eq, ee.Filter.metadata, ee.Filter, ee.Filter.gt, ee.Filter.lte, ee.Filter.neq, ee.Filter.inList, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.LineString, ee.Geometry.MultiLineString, ee.Geometry.prototype.toGeoJSON, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.Point, ee.Geometry.LinearRing, ee.Geometry.Rectangle, ee.Geometry.prototype.serialize, ee.Geometry, ee.Geometry.BBox, ee.Geometry.Polygon, ee.Geometry.MultiPoint, ee.Geometry.MultiPolygon, ee.Image.prototype.select,
|
|
27363
|
+
ee.Image.prototype.getInfo, ee.Image.prototype.expression, ee.Image.prototype.getMap, ee.Image.prototype.getThumbURL, ee.Image.cat, ee.Image, ee.Image.rgb, ee.Image.prototype.rename, ee.Image.prototype.getMapId, ee.Image.prototype.getDownloadURL, ee.Image.prototype.getThumbId, ee.Image.prototype.clip, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.select, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.getVideoThumbURL,
|
|
27364
|
+
ee.ImageCollection.prototype.linkCollection, ee.ImageCollection.prototype.first, ee.ImageCollection.prototype.getMapId, ee.ImageCollection, ee.List, ee.Number, ee.Serializer.encodeCloudApiPretty, ee.Serializer.toJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encode, ee.Serializer.toCloudApiJSON, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27361
27365
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27362
27366
|
});
|
|
27363
27367
|
goog.global.EXPORTED_FN_INFO = exportedFnInfo;
|
package/package.json
CHANGED
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.
|
|
27
|
+
const API_CLIENT_VERSION = '1.6.15';
|
|
28
28
|
|
|
29
29
|
exports.VERSION = apiVersion.VERSION;
|
|
30
30
|
exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
|
package/src/ee.js
CHANGED
|
@@ -369,6 +369,10 @@ ee.promote_ = function(arg, klass) {
|
|
|
369
369
|
return undefined;
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
+
if (typeof klass != 'string') { // b/451628586
|
|
373
|
+
throw Error('Unexpected type: ' + Object.prototype.toString.call(klass));
|
|
374
|
+
}
|
|
375
|
+
|
|
372
376
|
const exportedEE = goog.global['ee'];
|
|
373
377
|
|
|
374
378
|
switch (klass) {
|