@google/earthengine 1.5.11 → 1.5.12
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 +36 -31
- package/build/ee_api_js.js +653 -654
- package/build/ee_api_js_debug.js +13 -8
- package/build/ee_api_js_npm.js +36 -31
- package/build/main.js +36 -31
- package/package.json +1 -1
- package/src/apiclient.js +12 -3
package/build/main.js
CHANGED
|
@@ -1259,8 +1259,8 @@ $jscomp.polyfill("String.prototype.padStart", function(orig) {
|
|
|
1259
1259
|
return $jscomp.stringPadding(opt_padString, targetLength - string.length) + string;
|
|
1260
1260
|
};
|
|
1261
1261
|
}, "es8", "es3");
|
|
1262
|
-
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_sink_lazy_tsx_execution__enable:!1, GoogFlags__client_only_wiz_ve_logging__enable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1,
|
|
1263
|
-
GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__web_storage_is_available_cache_once__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1262
|
+
var CLOSURE_TOGGLE_ORDINALS = {GoogFlags__async_throw_on_unicode_to_byte__enable:!1, GoogFlags__client_only_wiz_context_per_component__enable:!1, GoogFlags__client_only_wiz_sink_lazy_tsx_execution__enable:!1, GoogFlags__client_only_wiz_ve_logging__enable:!1, GoogFlags__fixed_noopener_behavior__enable:!1, GoogFlags__jspb_disallow_message_tojson__enable:!1, GoogFlags__override_disable_toggles:!1, GoogFlags__testonly_debug_flag__enable:!1, GoogFlags__testonly_disabled_flag__enable:!1, GoogFlags__testonly_stable_flag__disable:!1,
|
|
1263
|
+
GoogFlags__testonly_staging_flag__disable:!1, GoogFlags__use_toggles:!1, GoogFlags__use_user_agent_client_hints__enable:!1, GoogFlags__web_storage_is_available_cache_once__enable:!1, GoogFlags__wiz_enable_native_promise__enable:!1};
|
|
1264
1264
|
/*
|
|
1265
1265
|
|
|
1266
1266
|
Copyright The Closure Library Authors.
|
|
@@ -2996,7 +2996,8 @@ function module$contents$safevalues$builders$url_builders_sanitizeUrl(url, allow
|
|
|
2996
2996
|
}
|
|
2997
2997
|
module$exports$safevalues$builders$url_builders.sanitizeUrl = module$contents$safevalues$builders$url_builders_sanitizeUrl;
|
|
2998
2998
|
function module$contents$safevalues$builders$url_builders_objectUrlFromSafeSource(source) {
|
|
2999
|
-
|
|
2999
|
+
var windowAsAny = window;
|
|
3000
|
+
if (typeof MediaSource !== "undefined" && source instanceof MediaSource || typeof windowAsAny.ManagedMediaSource !== "undefined" && source instanceof windowAsAny.ManagedMediaSource) {
|
|
3000
3001
|
return module$contents$safevalues$internals$url_impl_createUrlInternal(URL.createObjectURL(source));
|
|
3001
3002
|
}
|
|
3002
3003
|
if (!module$contents$safevalues$builders$url_builders_isSafeMimeType(source.type)) {
|
|
@@ -6522,6 +6523,7 @@ module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_un
|
|
|
6522
6523
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ve_logging__enable = !1;
|
|
6523
6524
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_context_per_component__enable = !1;
|
|
6524
6525
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sink_lazy_tsx_execution__enable = !1;
|
|
6526
|
+
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__fixed_noopener_behavior__enable = !1;
|
|
6525
6527
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable = !1;
|
|
6526
6528
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable = !1;
|
|
6527
6529
|
module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__web_storage_is_available_cache_once__enable = !1;
|
|
@@ -6536,6 +6538,7 @@ goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2
|
|
|
6536
6538
|
goog.flags.CLIENT_ONLY_WIZ_VE_LOGGING = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_ve_logging__enable : goog.readFlagInternalDoNotUseOrElse(725719775, !1);
|
|
6537
6539
|
goog.flags.CLIENT_ONLY_WIZ_CONTEXT_PER_COMPONENT = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_context_per_component__enable : goog.readFlagInternalDoNotUseOrElse(513659523, goog.DEBUG);
|
|
6538
6540
|
goog.flags.CLIENT_ONLY_WIZ_SINK_LAZY_TSX_EXECUTION = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_sink_lazy_tsx_execution__enable : goog.readFlagInternalDoNotUseOrElse(568333945, !1);
|
|
6541
|
+
goog.flags.FIXED_NOOPENER_BEHAVIOR = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__fixed_noopener_behavior__enable : goog.readFlagInternalDoNotUseOrElse(1331761403, !1);
|
|
6539
6542
|
goog.flags.WIZ_ENABLE_NATIVE_PROMISE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__wiz_enable_native_promise__enable : goog.readFlagInternalDoNotUseOrElse(651175828, goog.DEBUG);
|
|
6540
6543
|
goog.flags.JSPB_DISALLOW_MESSAGE_TOJSON = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__jspb_disallow_message_tojson__enable : goog.readFlagInternalDoNotUseOrElse(722764542, goog.DEBUG);
|
|
6541
6544
|
goog.flags.WEB_STORAGE_IS_AVAILABLE_CACHE_ONCE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__web_storage_is_available_cache_once__enable : goog.readFlagInternalDoNotUseOrElse(1981196515, !1);
|
|
@@ -16848,7 +16851,7 @@ module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanit
|
|
|
16848
16851
|
["LINK", new Map([["href", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY, conditions:new Map([["rel", new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])], ["SOURCE", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}],
|
|
16849
16852
|
["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])], ["IMG", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}], ["srcset", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY_FOR_SRCSET}]])],
|
|
16850
16853
|
["VIDEO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])], ["AUDIO", new Map([["src", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_USE_RESOURCE_URL_POLICY}]])]], module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_ALLOWED_GLOBAL_ATTRIBUTES =
|
|
16851
|
-
"title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked cite color cols colspan controls controlslist datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder poster preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
|
|
16854
|
+
"title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked cite color cols colspan controls controlslist crossorigin datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder poster preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "),
|
|
16852
16855
|
module$contents$safevalues$builders$html_sanitizer$sanitizer_table$default_sanitizer_table_GLOBAL_ATTRIBUTE_POLICIES = [["dir", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
16853
16856
|
return new Map([["dir", new Set(["auto", "ltr", "rtl"])]]);
|
|
16854
16857
|
})}], ["async", {policyAction:module$exports$safevalues$builders$html_sanitizer$sanitizer_table$sanitizer_table.AttributePolicyAction.KEEP_AND_NORMALIZE, conditions:module$contents$safevalues$internals$pure_pure(function() {
|
|
@@ -19317,7 +19320,7 @@ var $jscomp$templatelit$m1153655765$99 = $jscomp.createTemplateTagFirstArg(["htt
|
|
|
19317
19320
|
ee.apiclient = {};
|
|
19318
19321
|
var module$contents$ee$apiclient_apiclient = {};
|
|
19319
19322
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
|
|
19320
|
-
ee.apiclient.API_CLIENT_VERSION = "1.5.
|
|
19323
|
+
ee.apiclient.API_CLIENT_VERSION = "1.5.12";
|
|
19321
19324
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
19322
19325
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
19323
19326
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -19615,8 +19618,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
19615
19618
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
19616
19619
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
19617
19620
|
method = method || "POST";
|
|
19618
|
-
var headers = {"Content-Type":contentType}, version = "1.5.
|
|
19619
|
-
version === "1.5.
|
|
19621
|
+
var headers = {"Content-Type":contentType}, version = "1.5.12";
|
|
19622
|
+
version === "1.5.12" && (version = "latest");
|
|
19620
19623
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
19621
19624
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
19622
19625
|
if (authToken != null) {
|
|
@@ -19843,7 +19846,8 @@ module$contents$ee$apiclient_apiclient.authTokenRefresher_ = null;
|
|
|
19843
19846
|
module$contents$ee$apiclient_apiclient.AUTH_SCOPE_ = "https://www.googleapis.com/auth/earthengine";
|
|
19844
19847
|
module$contents$ee$apiclient_apiclient.READ_ONLY_AUTH_SCOPE_ = "https://www.googleapis.com/auth/earthengine.readonly";
|
|
19845
19848
|
module$contents$ee$apiclient_apiclient.CLOUD_PLATFORM_SCOPE_ = "https://www.googleapis.com/auth/cloud-platform";
|
|
19846
|
-
module$contents$ee$apiclient_apiclient.
|
|
19849
|
+
module$contents$ee$apiclient_apiclient.GOOGLE_DRIVE_SCOPE_ = "https://www.googleapis.com/auth/drive";
|
|
19850
|
+
module$contents$ee$apiclient_apiclient.DEFAULT_AUTH_SCOPES_ = [module$contents$ee$apiclient_apiclient.AUTH_SCOPE_, module$contents$ee$apiclient_apiclient.CLOUD_PLATFORM_SCOPE_, module$contents$ee$apiclient_apiclient.GOOGLE_DRIVE_SCOPE_];
|
|
19847
19851
|
module$contents$ee$apiclient_apiclient.STORAGE_SCOPE_ = "https://www.googleapis.com/auth/devstorage.read_write";
|
|
19848
19852
|
module$contents$ee$apiclient_apiclient.cloudApiKey_ = null;
|
|
19849
19853
|
module$contents$ee$apiclient_apiclient.initialized_ = !1;
|
|
@@ -19880,6 +19884,7 @@ ee.apiclient.send = module$contents$ee$apiclient_apiclient.send;
|
|
|
19880
19884
|
ee.apiclient.AUTH_SCOPE = module$contents$ee$apiclient_apiclient.AUTH_SCOPE_;
|
|
19881
19885
|
ee.apiclient.READ_ONLY_AUTH_SCOPE = module$contents$ee$apiclient_apiclient.READ_ONLY_AUTH_SCOPE_;
|
|
19882
19886
|
ee.apiclient.CLOUD_PLATFORM_SCOPE = module$contents$ee$apiclient_apiclient.CLOUD_PLATFORM_SCOPE_;
|
|
19887
|
+
ee.apiclient.GOOGLE_DRIVE_SCOPE = module$contents$ee$apiclient_apiclient.GOOGLE_DRIVE_SCOPE_;
|
|
19883
19888
|
ee.apiclient.STORAGE_SCOPE = module$contents$ee$apiclient_apiclient.STORAGE_SCOPE_;
|
|
19884
19889
|
ee.apiclient.DEFAULT_AUTH_SCOPES = module$contents$ee$apiclient_apiclient.DEFAULT_AUTH_SCOPES_;
|
|
19885
19890
|
ee.apiclient.makeRequest = module$contents$ee$apiclient_apiclient.makeRequest_;
|
|
@@ -27141,29 +27146,29 @@ ee.data.Profiler.Format.prototype.toString = function() {
|
|
|
27141
27146
|
ee.data.Profiler.Format.TEXT = new ee.data.Profiler.Format("text");
|
|
27142
27147
|
ee.data.Profiler.Format.JSON = new ee.data.Profiler.Format("json");
|
|
27143
27148
|
(function() {
|
|
27144
|
-
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction.
|
|
27145
|
-
orderedParamLists = [["name", "
|
|
27146
|
-
"
|
|
27147
|
-
"
|
|
27148
|
-
"
|
|
27149
|
-
["
|
|
27150
|
-
["
|
|
27151
|
-
["
|
|
27152
|
-
["params", "opt_callback"], ["
|
|
27153
|
-
["json"], ["json"], ["json"], ["json"], ["opt_dict"], ["func", "
|
|
27154
|
-
["
|
|
27155
|
-
["
|
|
27156
|
-
"opt_callback"], ["
|
|
27157
|
-
["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["string"], []];
|
|
27158
|
-
[ee.ApiFunction.
|
|
27159
|
-
module$contents$ee$batch_Export.
|
|
27160
|
-
ee.ComputedObject.prototype.
|
|
27161
|
-
ee.data.
|
|
27162
|
-
ee.data.
|
|
27163
|
-
ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature
|
|
27164
|
-
ee.Filter, ee.Filter.
|
|
27165
|
-
ee.Image, ee.Image.prototype.
|
|
27166
|
-
ee.ImageCollection.prototype.
|
|
27149
|
+
var exportedFnInfo = {}, orderedFnNames = "ee.ApiFunction._call ee.ApiFunction.lookup ee.ApiFunction._apply ee.batch.Export.videoMap.toCloudStorage ee.batch.Export.table.toBigQuery ee.batch.Export.image.toCloudStorage ee.batch.Export.video.toCloudStorage ee.batch.Export.table.toFeatureView ee.batch.Export.video.toDrive ee.batch.Export.table.toDrive ee.batch.Export.image.toDrive ee.batch.Export.table.toAsset ee.batch.Export.classifier.toAsset ee.batch.Export.table.toCloudStorage ee.batch.Export.image.toAsset ee.batch.Export.map.toCloudStorage ee.Collection.prototype.limit ee.Collection.prototype.sort ee.Collection.prototype.filterDate ee.Collection.prototype.filterMetadata ee.Collection.prototype.filterBounds ee.Collection.prototype.map ee.Collection.prototype.iterate ee.Collection.prototype.filter ee.ComputedObject.prototype.aside ee.ComputedObject.prototype.serialize ee.ComputedObject.prototype.getInfo ee.ComputedObject.prototype.evaluate ee.data.getTableDownloadId ee.data.cancelOperation ee.data.authenticateViaPopup ee.data.getAssetAcl ee.data.getWorkloadTag ee.data.getFeatureViewTilesKey ee.data.makeTableDownloadUrl ee.data.listFeatures ee.data.getAsset ee.data.getAssetRoots ee.data.authenticateViaPrivateKey ee.data.getOperation ee.data.createAssetHome ee.data.newTaskId ee.data.getInfo ee.data.setWorkloadTag ee.data.computeValue ee.data.createAsset ee.data.getThumbId ee.data.cancelTask ee.data.setDefaultWorkloadTag ee.data.getVideoThumbId ee.data.resetWorkloadTag ee.data.getTaskStatus ee.data.getList ee.data.updateAsset ee.data.updateTask ee.data.startIngestion ee.data.getFilmstripThumbId ee.data.createFolder ee.data.startProcessing ee.data.authenticateViaOauth ee.data.makeThumbUrl ee.data.setAssetAcl ee.data.makeDownloadUrl ee.data.listAssets ee.data.renameAsset ee.data.getMapId ee.data.getDownloadId ee.data.getTaskList ee.data.listImages ee.data.setAssetProperties ee.data.authenticate ee.data.copyAsset ee.data.getTileUrl ee.data.listBuckets ee.data.getTaskListWithLimit ee.data.startTableIngestion ee.data.deleteAsset ee.data.getAssetRootQuota ee.data.listOperations ee.Date ee.Deserializer.decode ee.Deserializer.fromJSON ee.Deserializer.decodeCloudApi ee.Deserializer.fromCloudApiJSON ee.Dictionary ee.InitState ee.TILE_SIZE ee.call ee.initialize ee.reset ee.Algorithms ee.apply ee.Element.prototype.set ee.Encodable.SourceFrame ee.Feature ee.Feature.prototype.getInfo ee.Feature.prototype.getMapId ee.Feature.prototype.getMap ee.FeatureCollection.prototype.getMap ee.FeatureCollection.prototype.getDownloadURL ee.FeatureCollection.prototype.getMapId ee.FeatureCollection.prototype.getInfo ee.FeatureCollection.prototype.select ee.FeatureCollection ee.Filter ee.Filter.eq ee.Filter.date ee.Filter.metadata ee.Filter.and ee.Filter.gt ee.Filter.neq ee.Filter.lt ee.Filter.inList ee.Filter.bounds ee.Filter.or ee.Filter.lte ee.Filter.prototype.not ee.Filter.gte ee.Function.prototype.apply ee.Function.prototype.call ee.Geometry.MultiLineString ee.Geometry.LinearRing ee.Geometry.MultiPoint ee.Geometry.Rectangle ee.Geometry.BBox ee.Geometry ee.Geometry.LineString ee.Geometry.MultiPolygon ee.Geometry.Polygon ee.Geometry.Point ee.Geometry.prototype.toGeoJSONString ee.Geometry.prototype.serialize ee.Geometry.prototype.toGeoJSON ee.Image.prototype.getInfo ee.Image.prototype.getMapId ee.Image ee.Image.prototype.getMap ee.Image.rgb ee.Image.cat ee.Image.prototype.getThumbURL ee.Image.prototype.select ee.Image.prototype.expression ee.Image.prototype.getDownloadURL ee.Image.prototype.clip ee.Image.prototype.rename ee.Image.prototype.getThumbId ee.ImageCollection.prototype.getInfo ee.ImageCollection.prototype.select ee.ImageCollection ee.ImageCollection.prototype.getVideoThumbURL ee.ImageCollection.prototype.linkCollection ee.ImageCollection.prototype.getMap ee.ImageCollection.prototype.getFilmstripThumbURL ee.ImageCollection.prototype.getMapId ee.ImageCollection.prototype.first ee.List ee.Number ee.Serializer.toJSON ee.Serializer.toCloudApiJSON ee.Serializer.encodeCloudApi ee.Serializer.toReadableJSON ee.Serializer.toReadableCloudApiJSON ee.Serializer.encodeCloudApiPretty ee.Serializer.encode ee.String ee.Terrain".split(" "),
|
|
27150
|
+
orderedParamLists = [["name", "var_args"], ["name"], ["name", "namedArgs"], "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(" "), "collection opt_description opt_table opt_overwrite opt_append opt_selectors opt_maxVertices opt_priority".split(" "),
|
|
27151
|
+
"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(" "), "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_assetId opt_maxFeaturesPerTile opt_thinningStrategy opt_thinningRanking opt_zOrderRanking opt_priority".split(" "),
|
|
27152
|
+
"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_folder opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices opt_priority".split(" "), "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(" "),
|
|
27153
|
+
["collection", "opt_description", "opt_assetId", "opt_maxVertices", "opt_priority"], ["classifier", "opt_description", "opt_assetId", "opt_priority"], "collection opt_description opt_bucket opt_fileNamePrefix opt_fileFormat opt_selectors opt_maxVertices 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(" "), "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(" "),
|
|
27154
|
+
["max", "opt_property", "opt_ascending"], ["property", "opt_ascending"], ["start", "opt_end"], ["name", "operator", "value"], ["geometry"], ["algorithm", "opt_dropNulls"], ["algorithm", "opt_first"], ["filter"], ["func", "var_args"], ["legacy"], ["opt_callback"], ["callback"], ["params", "opt_callback"], ["operationName", "opt_callback"], ["opt_success", "opt_error"], ["assetId", "opt_callback"], [], ["params", "opt_callback"], ["id"], ["asset", "params", "opt_callback"], ["id", "opt_callback"],
|
|
27155
|
+
["opt_callback"], ["privateKey", "opt_success", "opt_error", "opt_extraScopes", "opt_suppressDefaultScopes"], ["operationName", "opt_callback"], ["requestedId", "opt_callback"], ["opt_count", "opt_callback"], ["id", "opt_callback"], ["tag"], ["obj", "opt_callback"], ["value", "opt_path", "opt_force", "opt_properties", "opt_callback"], ["params", "opt_callback"], ["taskId", "opt_callback"], ["tag"], ["params", "opt_callback"], ["opt_resetDefault"], ["taskId", "opt_callback"], ["params", "opt_callback"],
|
|
27156
|
+
["assetId", "asset", "updateFields", "opt_callback"], ["taskId", "action", "opt_callback"], ["taskId", "request", "opt_callback"], ["params", "opt_callback"], ["path", "opt_force", "opt_callback"], ["taskId", "params", "opt_callback"], "clientId success opt_error opt_extraScopes opt_onImmediateFailed opt_suppressDefaultScopes".split(" "), ["id"], ["assetId", "aclUpdate", "opt_callback"], ["id"], ["parent", "opt_params", "opt_callback"], ["sourceId", "destinationId", "opt_callback"], ["params",
|
|
27157
|
+
"opt_callback"], ["params", "opt_callback"], ["opt_callback"], ["parent", "opt_params", "opt_callback"], ["assetId", "properties", "opt_callback"], ["clientId", "success", "opt_error", "opt_extraScopes", "opt_onImmediateFailed"], ["sourceId", "destinationId", "opt_overwrite", "opt_callback"], ["id", "x", "y", "z"], ["project", "opt_callback"], ["opt_limit", "opt_callback"], ["taskId", "request", "opt_callback"], ["assetId", "opt_callback"], ["rootId", "opt_callback"], ["opt_limit", "opt_callback"],
|
|
27158
|
+
["date", "opt_tz"], ["json"], ["json"], ["json"], ["json"], ["opt_dict"], [], [], ["func", "var_args"], "opt_baseurl opt_tileurl opt_successCallback opt_errorCallback opt_xsrfToken opt_project".split(" "), [], [], ["func", "namedArgs"], ["var_args"], [], ["geometry", "opt_properties"], ["opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_visParams", "opt_callback"], ["opt_format", "opt_selectors", "opt_filename", "opt_callback"], ["opt_visParams", "opt_callback"],
|
|
27159
|
+
["opt_callback"], ["propertySelectors", "opt_newProperties", "opt_retainGeometry"], ["args", "opt_column"], ["opt_filter"], ["name", "value"], ["start", "opt_end"], ["name", "operator", "value"], ["var_args"], ["name", "value"], ["name", "value"], ["name", "value"], ["opt_leftField", "opt_rightValue", "opt_rightField", "opt_leftValue"], ["geometry", "opt_errorMargin"], ["var_args"], ["name", "value"], [], ["name", "value"], ["namedArgs"], ["var_args"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"],
|
|
27160
|
+
["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj"], ["coords", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["west", "south", "east", "north"], ["geoJson", "opt_proj", "opt_geodesic", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj", "opt_geodesic", "opt_maxError", "opt_evenOdd"], ["coords", "opt_proj"], [], ["legacy"], [], ["opt_callback"], ["opt_visParams",
|
|
27161
|
+
"opt_callback"], ["opt_args"], ["opt_visParams", "opt_callback"], ["r", "g", "b"], ["var_args"], ["params", "opt_callback"], ["var_args"], ["expression", "opt_map"], ["params", "opt_callback"], ["geometry"], ["var_args"], ["params", "opt_callback"], ["opt_callback"], ["selectors", "opt_names"], ["args"], ["params", "opt_callback"], ["imageCollection", "opt_linkedBands", "opt_linkedProperties", "opt_matchPropertyName"], ["opt_visParams", "opt_callback"], ["params", "opt_callback"], ["opt_visParams",
|
|
27162
|
+
"opt_callback"], [], ["list"], ["number"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj"], ["obj", "opt_isCompound"], ["string"], []];
|
|
27163
|
+
[ee.ApiFunction._call, ee.ApiFunction.lookup, ee.ApiFunction._apply, module$contents$ee$batch_Export.videoMap.toCloudStorage, module$contents$ee$batch_Export.table.toBigQuery, module$contents$ee$batch_Export.image.toCloudStorage, module$contents$ee$batch_Export.video.toCloudStorage, module$contents$ee$batch_Export.table.toFeatureView, module$contents$ee$batch_Export.video.toDrive, module$contents$ee$batch_Export.table.toDrive, module$contents$ee$batch_Export.image.toDrive, module$contents$ee$batch_Export.table.toAsset,
|
|
27164
|
+
module$contents$ee$batch_Export.classifier.toAsset, module$contents$ee$batch_Export.table.toCloudStorage, module$contents$ee$batch_Export.image.toAsset, module$contents$ee$batch_Export.map.toCloudStorage, ee.Collection.prototype.limit, ee.Collection.prototype.sort, ee.Collection.prototype.filterDate, ee.Collection.prototype.filterMetadata, ee.Collection.prototype.filterBounds, ee.Collection.prototype.map, ee.Collection.prototype.iterate, ee.Collection.prototype.filter, ee.ComputedObject.prototype.aside,
|
|
27165
|
+
ee.ComputedObject.prototype.serialize, ee.ComputedObject.prototype.getInfo, ee.ComputedObject.prototype.evaluate, ee.data.getTableDownloadId, ee.data.cancelOperation, ee.data.authenticateViaPopup, ee.data.getAssetAcl, ee.data.getWorkloadTag, ee.data.getFeatureViewTilesKey, ee.data.makeTableDownloadUrl, ee.data.listFeatures, ee.data.getAsset, ee.data.getAssetRoots, ee.data.authenticateViaPrivateKey, ee.data.getOperation, ee.data.createAssetHome, ee.data.newTaskId, ee.data.getInfo, ee.data.setWorkloadTag,
|
|
27166
|
+
ee.data.computeValue, ee.data.createAsset, ee.data.getThumbId, ee.data.cancelTask, ee.data.setDefaultWorkloadTag, ee.data.getVideoThumbId, ee.data.resetWorkloadTag, ee.data.getTaskStatus, ee.data.getList, ee.data.updateAsset, ee.data.updateTask, ee.data.startIngestion, ee.data.getFilmstripThumbId, ee.data.createFolder, ee.data.startProcessing, ee.data.authenticateViaOauth, ee.data.makeThumbUrl, ee.data.setAssetAcl, ee.data.makeDownloadUrl, ee.data.listAssets, ee.data.renameAsset, ee.data.getMapId,
|
|
27167
|
+
ee.data.getDownloadId, ee.data.getTaskList, ee.data.listImages, ee.data.setAssetProperties, ee.data.authenticate, ee.data.copyAsset, ee.data.getTileUrl, ee.data.listBuckets, ee.data.getTaskListWithLimit, ee.data.startTableIngestion, ee.data.deleteAsset, ee.data.getAssetRootQuota, ee.data.listOperations, ee.Date, ee.Deserializer.decode, ee.Deserializer.fromJSON, ee.Deserializer.decodeCloudApi, ee.Deserializer.fromCloudApiJSON, ee.Dictionary, ee.InitState, ee.TILE_SIZE, ee.call, ee.initialize, ee.reset,
|
|
27168
|
+
ee.Algorithms, ee.apply, ee.Element.prototype.set, ee.Encodable.SourceFrame, ee.Feature, ee.Feature.prototype.getInfo, ee.Feature.prototype.getMapId, ee.Feature.prototype.getMap, ee.FeatureCollection.prototype.getMap, ee.FeatureCollection.prototype.getDownloadURL, ee.FeatureCollection.prototype.getMapId, ee.FeatureCollection.prototype.getInfo, ee.FeatureCollection.prototype.select, ee.FeatureCollection, ee.Filter, ee.Filter.eq, ee.Filter.date, ee.Filter.metadata, ee.Filter.and, ee.Filter.gt, ee.Filter.neq,
|
|
27169
|
+
ee.Filter.lt, ee.Filter.inList, ee.Filter.bounds, ee.Filter.or, ee.Filter.lte, ee.Filter.prototype.not, ee.Filter.gte, ee.Function.prototype.apply, ee.Function.prototype.call, ee.Geometry.MultiLineString, ee.Geometry.LinearRing, ee.Geometry.MultiPoint, ee.Geometry.Rectangle, ee.Geometry.BBox, ee.Geometry, ee.Geometry.LineString, ee.Geometry.MultiPolygon, ee.Geometry.Polygon, ee.Geometry.Point, ee.Geometry.prototype.toGeoJSONString, ee.Geometry.prototype.serialize, ee.Geometry.prototype.toGeoJSON,
|
|
27170
|
+
ee.Image.prototype.getInfo, ee.Image.prototype.getMapId, ee.Image, ee.Image.prototype.getMap, ee.Image.rgb, ee.Image.cat, ee.Image.prototype.getThumbURL, ee.Image.prototype.select, ee.Image.prototype.expression, ee.Image.prototype.getDownloadURL, ee.Image.prototype.clip, ee.Image.prototype.rename, ee.Image.prototype.getThumbId, ee.ImageCollection.prototype.getInfo, ee.ImageCollection.prototype.select, ee.ImageCollection, ee.ImageCollection.prototype.getVideoThumbURL, ee.ImageCollection.prototype.linkCollection,
|
|
27171
|
+
ee.ImageCollection.prototype.getMap, ee.ImageCollection.prototype.getFilmstripThumbURL, ee.ImageCollection.prototype.getMapId, ee.ImageCollection.prototype.first, ee.List, ee.Number, ee.Serializer.toJSON, ee.Serializer.toCloudApiJSON, ee.Serializer.encodeCloudApi, ee.Serializer.toReadableJSON, ee.Serializer.toReadableCloudApiJSON, ee.Serializer.encodeCloudApiPretty, ee.Serializer.encode, ee.String, ee.Terrain].forEach(function(fn, i) {
|
|
27167
27172
|
fn && (exportedFnInfo[fn.toString()] = {name:orderedFnNames[i], paramNames:orderedParamLists[i]});
|
|
27168
27173
|
});
|
|
27169
27174
|
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.5.
|
|
27
|
+
const API_CLIENT_VERSION = '1.5.12';
|
|
28
28
|
|
|
29
29
|
exports.VERSION = apiVersion.VERSION;
|
|
30
30
|
exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
|
|
@@ -1546,13 +1546,21 @@ apiclient.READ_ONLY_AUTH_SCOPE_ = 'https://www.googleapis.com/auth/earthengine.r
|
|
|
1546
1546
|
apiclient.CLOUD_PLATFORM_SCOPE_ =
|
|
1547
1547
|
'https://www.googleapis.com/auth/cloud-platform';
|
|
1548
1548
|
|
|
1549
|
+
/**
|
|
1550
|
+
* The OAuth scope for Google Drive.
|
|
1551
|
+
* @private @const {string}
|
|
1552
|
+
*/
|
|
1553
|
+
apiclient.GOOGLE_DRIVE_SCOPE_ = 'https://www.googleapis.com/auth/drive';
|
|
1554
|
+
|
|
1549
1555
|
/**
|
|
1550
1556
|
* The OAuth scopes automatically requested unless explicitly suppressed via the
|
|
1551
1557
|
* relevant API auth call.
|
|
1552
1558
|
* @private @const {!Array<string>}
|
|
1553
1559
|
*/
|
|
1554
|
-
apiclient.DEFAULT_AUTH_SCOPES_ =
|
|
1555
|
-
|
|
1560
|
+
apiclient.DEFAULT_AUTH_SCOPES_ = [
|
|
1561
|
+
apiclient.AUTH_SCOPE_, apiclient.CLOUD_PLATFORM_SCOPE_,
|
|
1562
|
+
apiclient.GOOGLE_DRIVE_SCOPE_
|
|
1563
|
+
];
|
|
1556
1564
|
|
|
1557
1565
|
|
|
1558
1566
|
/**
|
|
@@ -1752,6 +1760,7 @@ exports.send = apiclient.send;
|
|
|
1752
1760
|
exports.AUTH_SCOPE = apiclient.AUTH_SCOPE_;
|
|
1753
1761
|
exports.READ_ONLY_AUTH_SCOPE = apiclient.READ_ONLY_AUTH_SCOPE_;
|
|
1754
1762
|
exports.CLOUD_PLATFORM_SCOPE = apiclient.CLOUD_PLATFORM_SCOPE_;
|
|
1763
|
+
exports.GOOGLE_DRIVE_SCOPE = apiclient.GOOGLE_DRIVE_SCOPE_;
|
|
1755
1764
|
exports.STORAGE_SCOPE = apiclient.STORAGE_SCOPE_;
|
|
1756
1765
|
exports.DEFAULT_AUTH_SCOPES = apiclient.DEFAULT_AUTH_SCOPES_;
|
|
1757
1766
|
|