@google/earthengine 0.1.342 → 0.1.343
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/.tmp/BUILD +4 -0
- package/.tmp/METADATA +4 -4
- package/build/browser.js +10 -4
- package/build/ee_api_js.js +4 -3
- package/build/ee_api_js_debug.js +10 -4
- package/build/ee_api_js_npm.js +10 -4
- package/build/main.js +10 -4
- package/package.json +1 -1
- package/src/apiclient.js +1 -1
package/.tmp/BUILD
CHANGED
|
@@ -436,6 +436,10 @@ Fileset(
|
|
|
436
436
|
srcdir = "//third_party/hosted_libraries/libs/earthengine/0.1.342:public",
|
|
437
437
|
destdir = "0.1.342",
|
|
438
438
|
),
|
|
439
|
+
FilesetEntry(
|
|
440
|
+
srcdir = "//third_party/hosted_libraries/libs/earthengine/0.1.343:public",
|
|
441
|
+
destdir = "0.1.343",
|
|
442
|
+
),
|
|
439
443
|
# NEXT RELEASE GOES HERE. DO NOT REMOVE OR CHANGE THIS LINE.
|
|
440
444
|
],
|
|
441
445
|
)
|
package/.tmp/METADATA
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Format: google3/devtools/metadata/metadata.proto (go/google3metadata)
|
|
2
2
|
|
|
3
|
-
name: "0.1.
|
|
3
|
+
name: "0.1.343"
|
|
4
4
|
description:
|
|
5
5
|
"Google Earth Engine is a cloud-based platform for planetary-scale "
|
|
6
6
|
"environmental data analysis. The Earth Engine JavaScript API allows "
|
|
@@ -12,10 +12,10 @@ third_party {
|
|
|
12
12
|
type: GIT
|
|
13
13
|
value: "https://github.com/google/earthengine-api.git"
|
|
14
14
|
}
|
|
15
|
-
version: "v0.1.
|
|
15
|
+
version: "v0.1.343"
|
|
16
16
|
last_upgrade_date: {
|
|
17
17
|
year: 2023
|
|
18
|
-
month:
|
|
19
|
-
day:
|
|
18
|
+
month: 3
|
|
19
|
+
day: 1
|
|
20
20
|
}
|
|
21
21
|
}
|
package/build/browser.js
CHANGED
|
@@ -139,7 +139,13 @@ $jscomp.createTemplateTagFirstArgWithRaw = function(arrayStrings, rawArrayString
|
|
|
139
139
|
};
|
|
140
140
|
$jscomp.makeIterator = function(iterable) {
|
|
141
141
|
var iteratorFunction = "undefined" != typeof Symbol && Symbol.iterator && iterable[Symbol.iterator];
|
|
142
|
-
|
|
142
|
+
if (iteratorFunction) {
|
|
143
|
+
return iteratorFunction.call(iterable);
|
|
144
|
+
}
|
|
145
|
+
if ("number" == typeof iterable.length) {
|
|
146
|
+
return $jscomp.arrayIterator(iterable);
|
|
147
|
+
}
|
|
148
|
+
throw Error(String(iterable) + " is not an iterable or ArrayLike");
|
|
143
149
|
};
|
|
144
150
|
$jscomp.arrayFromIterator = function(iterator) {
|
|
145
151
|
for (var i, arr = []; !(i = iterator.next()).done;) {
|
|
@@ -17540,7 +17546,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
17540
17546
|
ee.apiclient = {};
|
|
17541
17547
|
var module$contents$ee$apiclient_apiclient = {};
|
|
17542
17548
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1ALPHA;
|
|
17543
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
17549
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.343";
|
|
17544
17550
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
17545
17551
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
17546
17552
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -17821,8 +17827,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
17821
17827
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
17822
17828
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
17823
17829
|
method = method || "POST";
|
|
17824
|
-
var headers = {"Content-Type":contentType,}, version = "0.1.
|
|
17825
|
-
"0.1.
|
|
17830
|
+
var headers = {"Content-Type":contentType,}, version = "0.1.343";
|
|
17831
|
+
"0.1.343" === version && (version = "latest");
|
|
17826
17832
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
17827
17833
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
17828
17834
|
if (null != authToken) {
|
package/build/ee_api_js.js
CHANGED
|
@@ -7,8 +7,9 @@ var h,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:
|
|
|
7
7
|
},k=ca(this),da=function(a,b){if(b)a:{var c=k;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];if(!(e in c))break a;c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}};
|
|
8
8
|
da("Symbol",function(a){if(a)return a;var b=function(f,g){this.Yi=f;ba(this,"description",{configurable:!0,writable:!0,value:g})};b.prototype.toString=function(){return this.Yi};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e});
|
|
9
9
|
da("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=k[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&ba(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(aa(this))}})}return a});
|
|
10
|
-
var ea=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},n=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b
|
|
11
|
-
e)&&(a[e]=d[e])}return a};da("Object.assign",function(a){return a||ia});var ja="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ka;
|
|
10
|
+
var ea=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},n=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return{next:aa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");},fa=function(a){if(!(a instanceof Array)){a=n(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},ha=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},ia="function"==typeof Object.assign?
|
|
11
|
+
Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)ha(d,e)&&(a[e]=d[e])}return a};da("Object.assign",function(a){return a||ia});var ja="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ka;
|
|
12
|
+
if("function"==typeof Object.setPrototypeOf)ka=Object.setPrototypeOf;else{var la;a:{var ma={a:!0},na={};try{na.__proto__=ma;la=na.a;break a}catch(a){}la=!1}ka=la?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
|
|
12
13
|
var oa=ka,p=function(a,b){a.prototype=ja(b.prototype);a.prototype.constructor=a;if(oa)oa(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.L=b.prototype},pa=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};
|
|
13
14
|
da("Promise",function(a){function b(){this.qb=null}function c(g){return g instanceof e?g:new e(function(l){l(g)})}if(a)return a;b.prototype.Hg=function(g){if(null==this.qb){this.qb=[];var l=this;this.Ig(function(){l.Wk()})}this.qb.push(g)};var d=k.setTimeout;b.prototype.Ig=function(g){d(g,0)};b.prototype.Wk=function(){for(;this.qb&&this.qb.length;){var g=this.qb;this.qb=[];for(var l=0;l<g.length;++l){var m=g[l];g[l]=null;try{m()}catch(q){this.Ok(q)}}}this.qb=null};b.prototype.Ok=function(g){this.Ig(function(){throw g;
|
|
14
15
|
})};var e=function(g){this.S=0;this.ja=void 0;this.yc=[];this.Lh=!1;var l=this.Ye();try{g(l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.Ye=function(){function g(q){return function(v){m||(m=!0,q.call(l,v))}}var l=this,m=!1;return{resolve:g(this.ul),reject:g(this.Yf)}};e.prototype.ul=function(g){if(g===this)this.Yf(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.wl(g);else{a:switch(typeof g){case "object":var l=null!=g;break a;case "function":l=!0;break a;default:l=
|
|
@@ -451,7 +452,7 @@ Lc(q,g[m]))});return b?b(l):l};return this.callback?(hj(d,null,function(g,l){ret
|
|
|
451
452
|
ij.prototype.send=function(a,b){var c=[a.B+" "+a.path+" HTTP/1.1"];c.push("Content-Type: application/json; charset=utf-8");var d=kj();null!=d&&c.push("Authorization: "+d);a=a.body?JSON.stringify(a.body):"";return[c.join("\r\n")+"\r\n\r\n"+a,b]};
|
|
452
453
|
var lj=function(a,b,c){a=n(b.split("--"+a.split("; boundary=")[1]));for(b=a.next();!b.done;b=a.next())if(b=b.value.split("\r\n\r\n"),!(3>b.length)){var d=b[0].match(/\r\nContent-ID: <response-([^>]*)>/)[1],e=Number(b[1].match(/^HTTP\S*\s(\d+)\s/)[1]);c(d,e,b.slice(2).join("\r\n\r\n"))}},fj=function(){var a=nj.replace(/\/api$/,"");return"window"in r&&!a.match(/^https?:\/\/content-/)?a.replace(/^(https?:\/\/)(.*\.googleapis\.com)$/,"$1content-$2"):a},pj=function(a,b,c){var d=[];a&&(d=d.concat(oj));
|
|
453
454
|
b&&d.push("https://www.googleapis.com/auth/devstorage.read_write");a=d=d.concat(c);c=b=0;for(var e={};c<a.length;){var f=a[c++],g=t(f)?"o"+ya(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,g)||(e[g]=!0,a[b++]=f)}a.length=b;return d},vj=function(a,b,c){qj&&rj&&qj({client_id:String(rj),immediate:!0,scope:sj.join(" ")},function(d){if("immediate_failed"==d.error&&c)c();else if("window"in r)try{tj(function(){try{r.gapi.auth.setToken(d),uj(a,b,d)}catch(e){b(e.toString())}})}catch(e){b(e.toString())}else uj(a,
|
|
454
|
-
b,d)})},kj=function(){wj&&0<=Date.now()-wj&&xj();return yj},xj=function(){wj=yj=null},cj=function(a,b,c,d){null!=a?nj=a:zj||(nj="https://earthengine.googleapis.com/api");null!=b?Aj=b:zj||(Aj="https://earthengine.googleapis.com");void 0!==c&&(Bj=c);bj=null!=d?d:bj||"earthengine-legacy";zj=!0},hj=function(a,b,c,d,e,f){cj();var g=Cj,l="application/x-www-form-urlencoded";e&&(l="application/json",d&&d.startsWith("multipart")&&(l=d,d="POST"));d=d||"POST";l={"Content-Type":l};var m="0.1.
|
|
455
|
+
b,d)})},kj=function(){wj&&0<=Date.now()-wj&&xj();return yj},xj=function(){wj=yj=null},cj=function(a,b,c,d){null!=a?nj=a:zj||(nj="https://earthengine.googleapis.com/api");null!=b?Aj=b:zj||(Aj="https://earthengine.googleapis.com");void 0!==c&&(Bj=c);bj=null!=d?d:bj||"earthengine-legacy";zj=!0},hj=function(a,b,c,d,e,f){cj();var g=Cj,l="application/x-www-form-urlencoded";e&&(l="application/json",d&&d.startsWith("multipart")&&(l=d,d="POST"));d=d||"POST";l={"Content-Type":l};var m="0.1.343";"0.1.343"===
|
|
455
456
|
m&&(m="latest");l["x-goog-api-client"]="ee-js/"+m;m=kj();if(null!=m)l.Authorization=m;else if(c&&qj&&rj)return vj(function(){Dj(g,function(){hj(a,b,c,d)})}),null;b=b?b.clone():new wd;null!=Ej&&b.add("key",Ej);g&&(l["X-Earth-Engine-Computation-Profiling"]="1");bj&&"earthengine-legacy"!==bj&&(l["X-Goog-User-Project"]=bj);b=Fj(b,a);null!=Bj&&(l["X-XSRF-Token"]=Bj);null!=Gj&&(l["X-Earth-Engine-App-ID-Token"]=Gj);m=e||null;var q=b?b.toString():"";"POST"===d&&void 0===e?m=q:/^[\s\xa0]*$/.test(q)||(a+=-1!=
|
|
456
457
|
a.indexOf("?")?"&":"?",a+=q);e=a.startsWith("/")?nj+a:a;if(c)return Hj.push(Ij(e,c,d,m,l,f)),Jj.lf(),null;q=function(D,R){this.setRequestHeader&&this.setRequestHeader(R,D)};var v=0;for(f=null!=f?f:5;;){var B=Oi(Mi);B.open(d,e,!1);ub(l,q,B);B.send(m);if(429!=B.status||v>f)break;v++}return Kj(B.status,function(D){try{return B.getResponseHeader(D)}catch(R){return null}},B.responseText,g,void 0,e,d)},Ij=function(a,b,c,d,e,f){var g=0,l={url:a,method:c,content:d,headers:e},m=Cj,q=null!=f?f:10;l.callback=
|
|
457
458
|
function(v){v=v.target;if(429==v.getStatus()&&g<q)return g++,setTimeout(function(){Hj.push(l);Jj.lf()},Math.min(12E4,1E3*Math.pow(2,g))),null;var B=Kj,D=v.getStatus(),R=u(v.getResponseHeader,v);try{var Z=v.s?v.s.responseText:""}catch(U){Hi(v.ia,"Can not get responseText: "+U.message),Z=""}return B(D,R,Z,m,b,a,c)};return l},Dj=function(a,b){var c=Cj;try{Cj=a,b.call(void 0)}finally{Cj=c}},Kj=function(a,b,c,d,e,f,g){var l=d?b("X-Earth-Engine-Computation-Profile"):"";l&&d&&d(l);var m=function(Z){try{var U=
|
package/build/ee_api_js_debug.js
CHANGED
|
@@ -139,7 +139,13 @@ $jscomp.createTemplateTagFirstArgWithRaw = function(arrayStrings, rawArrayString
|
|
|
139
139
|
};
|
|
140
140
|
$jscomp.makeIterator = function(iterable) {
|
|
141
141
|
var iteratorFunction = "undefined" != typeof Symbol && Symbol.iterator && iterable[Symbol.iterator];
|
|
142
|
-
|
|
142
|
+
if (iteratorFunction) {
|
|
143
|
+
return iteratorFunction.call(iterable);
|
|
144
|
+
}
|
|
145
|
+
if ("number" == typeof iterable.length) {
|
|
146
|
+
return $jscomp.arrayIterator(iterable);
|
|
147
|
+
}
|
|
148
|
+
throw Error(String(iterable) + " is not an iterable or ArrayLike");
|
|
143
149
|
};
|
|
144
150
|
$jscomp.arrayFromIterator = function(iterator) {
|
|
145
151
|
for (var i, arr = []; !(i = iterator.next()).done;) {
|
|
@@ -17540,7 +17546,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
17540
17546
|
ee.apiclient = {};
|
|
17541
17547
|
var module$contents$ee$apiclient_apiclient = {};
|
|
17542
17548
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1ALPHA;
|
|
17543
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
17549
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.343";
|
|
17544
17550
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
17545
17551
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
17546
17552
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -17821,8 +17827,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
17821
17827
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
17822
17828
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
17823
17829
|
method = method || "POST";
|
|
17824
|
-
var headers = {"Content-Type":contentType,}, version = "0.1.
|
|
17825
|
-
"0.1.
|
|
17830
|
+
var headers = {"Content-Type":contentType,}, version = "0.1.343";
|
|
17831
|
+
"0.1.343" === version && (version = "latest");
|
|
17826
17832
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
17827
17833
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
17828
17834
|
if (null != authToken) {
|
package/build/ee_api_js_npm.js
CHANGED
|
@@ -139,7 +139,13 @@ $jscomp.createTemplateTagFirstArgWithRaw = function(arrayStrings, rawArrayString
|
|
|
139
139
|
};
|
|
140
140
|
$jscomp.makeIterator = function(iterable) {
|
|
141
141
|
var iteratorFunction = "undefined" != typeof Symbol && Symbol.iterator && iterable[Symbol.iterator];
|
|
142
|
-
|
|
142
|
+
if (iteratorFunction) {
|
|
143
|
+
return iteratorFunction.call(iterable);
|
|
144
|
+
}
|
|
145
|
+
if ("number" == typeof iterable.length) {
|
|
146
|
+
return $jscomp.arrayIterator(iterable);
|
|
147
|
+
}
|
|
148
|
+
throw Error(String(iterable) + " is not an iterable or ArrayLike");
|
|
143
149
|
};
|
|
144
150
|
$jscomp.arrayFromIterator = function(iterator) {
|
|
145
151
|
for (var i, arr = []; !(i = iterator.next()).done;) {
|
|
@@ -17540,7 +17546,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
17540
17546
|
ee.apiclient = {};
|
|
17541
17547
|
var module$contents$ee$apiclient_apiclient = {};
|
|
17542
17548
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1ALPHA;
|
|
17543
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
17549
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.343";
|
|
17544
17550
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
17545
17551
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
17546
17552
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -17821,8 +17827,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
17821
17827
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
17822
17828
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
17823
17829
|
method = method || "POST";
|
|
17824
|
-
var headers = {"Content-Type":contentType,}, version = "0.1.
|
|
17825
|
-
"0.1.
|
|
17830
|
+
var headers = {"Content-Type":contentType,}, version = "0.1.343";
|
|
17831
|
+
"0.1.343" === version && (version = "latest");
|
|
17826
17832
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
17827
17833
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
17828
17834
|
if (null != authToken) {
|
package/build/main.js
CHANGED
|
@@ -141,7 +141,13 @@ $jscomp.createTemplateTagFirstArgWithRaw = function(arrayStrings, rawArrayString
|
|
|
141
141
|
};
|
|
142
142
|
$jscomp.makeIterator = function(iterable) {
|
|
143
143
|
var iteratorFunction = "undefined" != typeof Symbol && Symbol.iterator && iterable[Symbol.iterator];
|
|
144
|
-
|
|
144
|
+
if (iteratorFunction) {
|
|
145
|
+
return iteratorFunction.call(iterable);
|
|
146
|
+
}
|
|
147
|
+
if ("number" == typeof iterable.length) {
|
|
148
|
+
return $jscomp.arrayIterator(iterable);
|
|
149
|
+
}
|
|
150
|
+
throw Error(String(iterable) + " is not an iterable or ArrayLike");
|
|
145
151
|
};
|
|
146
152
|
$jscomp.arrayFromIterator = function(iterator) {
|
|
147
153
|
for (var i, arr = []; !(i = iterator.next()).done;) {
|
|
@@ -17542,7 +17548,7 @@ goog.debug.entryPointRegistry.register(function(transformer) {
|
|
|
17542
17548
|
ee.apiclient = {};
|
|
17543
17549
|
var module$contents$ee$apiclient_apiclient = {};
|
|
17544
17550
|
ee.apiclient.VERSION = module$exports$ee$apiVersion.V1ALPHA;
|
|
17545
|
-
ee.apiclient.API_CLIENT_VERSION = "0.1.
|
|
17551
|
+
ee.apiclient.API_CLIENT_VERSION = "0.1.343";
|
|
17546
17552
|
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
|
|
17547
17553
|
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
|
|
17548
17554
|
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
|
|
@@ -17823,8 +17829,8 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
|
|
|
17823
17829
|
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
|
|
17824
17830
|
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
|
|
17825
17831
|
method = method || "POST";
|
|
17826
|
-
var headers = {"Content-Type":contentType,}, version = "0.1.
|
|
17827
|
-
"0.1.
|
|
17832
|
+
var headers = {"Content-Type":contentType,}, version = "0.1.343";
|
|
17833
|
+
"0.1.343" === version && (version = "latest");
|
|
17828
17834
|
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
|
|
17829
17835
|
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
|
|
17830
17836
|
if (null != authToken) {
|
package/package.json
CHANGED
package/src/apiclient.js
CHANGED
|
@@ -25,7 +25,7 @@ const {PromiseRequestService} = goog.require('eeapiclient.promise_request_servic
|
|
|
25
25
|
/** @namespace */
|
|
26
26
|
const apiclient = {};
|
|
27
27
|
|
|
28
|
-
const API_CLIENT_VERSION = '0.1.
|
|
28
|
+
const API_CLIENT_VERSION = '0.1.343';
|
|
29
29
|
|
|
30
30
|
exports.VERSION = apiVersion.VERSION;
|
|
31
31
|
exports.API_CLIENT_VERSION = API_CLIENT_VERSION;
|