@das-fed/utils 7.0.7-hot.20 → 7.0.7-hot.22

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.
Files changed (68) hide show
  1. package/api-services/index.js +832 -841
  2. package/api-services/index.js.gz +0 -0
  3. package/api-services/modules/app-manage/index.js +749 -726
  4. package/api-services/modules/app-manage/index.js.gz +0 -0
  5. package/api-services/modules/authentication/index.js +656 -647
  6. package/api-services/modules/authentication/index.js.gz +0 -0
  7. package/api-services/modules/bems/index.js +750 -731
  8. package/api-services/modules/bems/index.js.gz +0 -0
  9. package/api-services/modules/contract/index.js +7 -2
  10. package/api-services/modules/contract/index.js.gz +0 -0
  11. package/api-services/modules/duty-manage/index.js +745 -726
  12. package/api-services/modules/duty-manage/index.js.gz +0 -0
  13. package/api-services/modules/enterpriseright/index.js +7 -2
  14. package/api-services/modules/enterpriseright/index.js.gz +0 -0
  15. package/api-services/modules/file/index.js +756 -765
  16. package/api-services/modules/file/index.js.gz +0 -0
  17. package/api-services/modules/gateway-edge/index.js +731 -744
  18. package/api-services/modules/gateway-edge/index.js.gz +0 -0
  19. package/api-services/modules/index.js +7 -2
  20. package/api-services/modules/index.js.gz +0 -0
  21. package/api-services/modules/iot/index.js +636 -635
  22. package/api-services/modules/iot/index.js.gz +0 -0
  23. package/api-services/modules/justauth/index.js +750 -727
  24. package/api-services/modules/justauth/index.js.gz +0 -0
  25. package/api-services/modules/knowledge/index.js +7 -2
  26. package/api-services/modules/knowledge/index.js.gz +0 -0
  27. package/api-services/modules/link/index.js +7 -2
  28. package/api-services/modules/link/index.js.gz +0 -0
  29. package/api-services/modules/permission/index.js +652 -651
  30. package/api-services/modules/permission/index.js.gz +0 -0
  31. package/api-services/modules/platformManage/index.js +758 -735
  32. package/api-services/modules/platformManage/index.js.gz +0 -0
  33. package/api-services/modules/portal/index.js +627 -626
  34. package/api-services/modules/portal/index.js.gz +0 -0
  35. package/api-services/modules/space-manage/index.js +7 -2
  36. package/api-services/modules/space-manage/index.js.gz +0 -0
  37. package/api-services/modules/super-admin/index.js +7 -2
  38. package/api-services/modules/super-admin/index.js.gz +0 -0
  39. package/api-services/modules/supplier/index.js +7 -2
  40. package/api-services/modules/supplier/index.js.gz +0 -0
  41. package/api-services/modules/supplychain-manage/index.js +749 -726
  42. package/api-services/modules/supplychain-manage/index.js.gz +0 -0
  43. package/api-services/modules/systemConfiguration/index.js +7 -2
  44. package/api-services/modules/systemConfiguration/index.js.gz +0 -0
  45. package/api-services/modules/tool/index.js +731 -744
  46. package/api-services/modules/tool/index.js.gz +0 -0
  47. package/api-services/src/create-service/index.js +7 -2
  48. package/api-services/src/create-service/index.js.gz +0 -0
  49. package/common-info/getInfoFromUrl/index.js +36 -36
  50. package/common-info/getInfoFromUrl/index.js.gz +0 -0
  51. package/common-info/set-personal-info/index.js +49 -44
  52. package/common-info/set-personal-info/index.js.gz +0 -0
  53. package/common-tools/extract-file-name/index.js +7 -2
  54. package/common-tools/extract-file-name/index.js.gz +0 -0
  55. package/create-api-service/index.js +7 -2
  56. package/create-api-service/index.js.gz +0 -0
  57. package/create-api-service/sso/authorizer.d.ts +1 -0
  58. package/create-api-service/sso/index.d.ts +2 -1
  59. package/create-api-service/sso/index.js +867 -795
  60. package/create-api-service/sso/index.js.gz +0 -0
  61. package/create-api-service/sso/utils.d.ts +2 -0
  62. package/curring-http/index.js +52 -47
  63. package/curring-http/index.js.gz +0 -0
  64. package/package.json +4 -4
  65. package/pinyin-first-character/index.js +1 -1
  66. package/pinyin-first-character/index.js.gz +0 -0
  67. package/webSocket-service/index.js +50 -40
  68. package/webSocket-service/index.js.gz +0 -0
@@ -1375,11 +1375,16 @@ Ke.transitional = function(e, n, r) {
1375
1375
  o(i, " has been removed" + (n ? " in " + n : "")),
1376
1376
  w.ERR_DEPRECATED
1377
1377
  );
1378
- return n && !cr[i] && (cr[i] = !0), e ? e(a, i, s) : !0;
1378
+ return n && !cr[i] && (cr[i] = !0, console.warn(
1379
+ o(
1380
+ i,
1381
+ " has been deprecated since v" + n + " and will be removed in the near future"
1382
+ )
1383
+ )), e ? e(a, i, s) : !0;
1379
1384
  };
1380
1385
  };
1381
1386
  Ke.spelling = function(e) {
1382
- return (n, r) => !0;
1387
+ return (n, r) => (console.warn(`${r} is likely a misspelling of ${e}`), !0);
1383
1388
  };
1384
1389
  function Ta(t, e, n) {
1385
1390
  if (typeof t != "object")
@@ -1,9 +1,9 @@
1
1
  /*! js-cookie v3.0.5 | MIT */
2
- function a(e) {
3
- for (var o = 1; o < arguments.length; o++) {
4
- var t = arguments[o];
5
- for (var s in t)
6
- e[s] = t[s];
2
+ function p(e) {
3
+ for (var n = 1; n < arguments.length; n++) {
4
+ var t = arguments[n];
5
+ for (var i in t)
6
+ e[i] = t[i];
7
7
  }
8
8
  return e;
9
9
  }
@@ -18,67 +18,67 @@ var u = {
18
18
  );
19
19
  }
20
20
  };
21
- function g(e, o) {
22
- function t(n, f, r) {
21
+ function g(e, n) {
22
+ function t(o, f, r) {
23
23
  if (!(typeof document > "u")) {
24
- r = a({}, o, r), typeof r.expires == "number" && (r.expires = new Date(Date.now() + r.expires * 864e5)), r.expires && (r.expires = r.expires.toUTCString()), n = encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
24
+ r = p({}, n, r), typeof r.expires == "number" && (r.expires = new Date(Date.now() + r.expires * 864e5)), r.expires && (r.expires = r.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
25
25
  var c = "";
26
- for (var i in r)
27
- r[i] && (c += "; " + i, r[i] !== !0 && (c += "=" + r[i].split(";")[0]));
28
- return document.cookie = n + "=" + e.write(f, n) + c;
26
+ for (var s in r)
27
+ r[s] && (c += "; " + s, r[s] !== !0 && (c += "=" + r[s].split(";")[0]));
28
+ return document.cookie = o + "=" + e.write(f, o) + c;
29
29
  }
30
30
  }
31
- function s(n) {
32
- if (!(typeof document > "u" || arguments.length && !n)) {
31
+ function i(o) {
32
+ if (!(typeof document > "u" || arguments.length && !o)) {
33
33
  for (var f = document.cookie ? document.cookie.split("; ") : [], r = {}, c = 0; c < f.length; c++) {
34
- var i = f[c].split("="), d = i.slice(1).join("=");
34
+ var s = f[c].split("="), d = s.slice(1).join("=");
35
35
  try {
36
- var p = decodeURIComponent(i[0]);
37
- if (r[p] = e.read(d, p), n === p)
36
+ var a = decodeURIComponent(s[0]);
37
+ if (r[a] = e.read(d, a), o === a)
38
38
  break;
39
39
  } catch {
40
40
  }
41
41
  }
42
- return n ? r[n] : r;
42
+ return o ? r[o] : r;
43
43
  }
44
44
  }
45
45
  return Object.create(
46
46
  {
47
47
  set: t,
48
- get: s,
49
- remove: function(n, f) {
48
+ get: i,
49
+ remove: function(o, f) {
50
50
  t(
51
- n,
51
+ o,
52
52
  "",
53
- a({}, f, {
53
+ p({}, f, {
54
54
  expires: -1
55
55
  })
56
56
  );
57
57
  },
58
- withAttributes: function(n) {
59
- return g(this.converter, a({}, this.attributes, n));
58
+ withAttributes: function(o) {
59
+ return g(this.converter, p({}, this.attributes, o));
60
60
  },
61
- withConverter: function(n) {
62
- return g(a({}, this.converter, n), this.attributes);
61
+ withConverter: function(o) {
62
+ return g(p({}, this.converter, o), this.attributes);
63
63
  }
64
64
  },
65
65
  {
66
- attributes: { value: Object.freeze(o) },
66
+ attributes: { value: Object.freeze(n) },
67
67
  converter: { value: Object.freeze(e) }
68
68
  }
69
69
  );
70
70
  }
71
- var h = g(u, { path: "/" });
72
- const v = () => {
73
- const e = new URL(location.href).searchParams, o = e.get("token") || e.get("accessToken") || e.get("accesstoken") || "";
74
- o && (JSON.stringify({ access_token: o }), h.set("accessToken", o));
75
- }, I = () => {
76
- const e = JSON.parse(sessionStorage.getItem("projectInfo") || "{}"), o = new URL(location.href).searchParams, t = o.get("project") || o.get("projectId") || "";
71
+ var l = g(u, { path: "/" });
72
+ const m = () => {
73
+ const e = new URL(location.href).searchParams, n = e.get("token") || e.get("accessToken") || e.get("accesstoken") || "";
74
+ n && (console.log("从url上取token:", n), JSON.stringify({ access_token: n }), l.set("accessToken", n));
75
+ }, v = () => {
76
+ const e = JSON.parse(sessionStorage.getItem("projectInfo") || "{}"), n = new URL(location.href).searchParams, t = n.get("project") || n.get("projectId") || "";
77
77
  if (!t) return;
78
- const s = o.get("projectParent") || o.get("projectParentId") || (e == null ? void 0 : e.parentId) || "", n = o.get("projectName") || (e == null ? void 0 : e.name) || "";
79
- sessionStorage.setItem("project", t), sessionStorage.setItem("projectInfo", JSON.stringify({ ...e, id: t, name: n, parentId: s }));
78
+ const i = n.get("projectParent") || n.get("projectParentId") || (e == null ? void 0 : e.parentId) || "", o = n.get("projectName") || (e == null ? void 0 : e.name) || "";
79
+ console.log("从url上取project:", t), sessionStorage.setItem("project", t), sessionStorage.setItem("projectInfo", JSON.stringify({ ...e, id: t, name: o, parentId: i }));
80
80
  };
81
81
  export {
82
- I as getProjectInfoFromQuery,
83
- v as getTokenFromQuery
82
+ v as getProjectInfoFromQuery,
83
+ m as getTokenFromQuery
84
84
  };
@@ -75,11 +75,11 @@ function se() {
75
75
  }
76
76
  const wt = (e, t, n, { allOwnKeys: r } = {}) => (M(t, (s, o) => {
77
77
  n && A(s) ? e[o] = Ce(s, n) : e[o] = s;
78
- }, { allOwnKeys: r }), e), Et = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), gt = (e, t, n, r) => {
78
+ }, { allOwnKeys: r }), e), Et = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Rt = (e, t, n, r) => {
79
79
  e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
80
80
  value: t.prototype
81
81
  }), n && Object.assign(e.prototype, n);
82
- }, Rt = (e, t, n, r) => {
82
+ }, gt = (e, t, n, r) => {
83
83
  let s, o, i;
84
84
  const c = {};
85
85
  if (t = t || {}, e == null) return t;
@@ -210,8 +210,8 @@ const Dt = (e) => {
210
210
  extend: wt,
211
211
  trim: bt,
212
212
  stripBOM: Et,
213
- inherits: gt,
214
- toFlatObject: Rt,
213
+ inherits: Rt,
214
+ toFlatObject: gt,
215
215
  kindOf: G,
216
216
  kindOfTest: C,
217
217
  endsWith: St,
@@ -351,24 +351,24 @@ function Z(e, t, n) {
351
351
  convertValue: l,
352
352
  isVisitable: oe
353
353
  });
354
- function g(p, y) {
354
+ function R(p, y) {
355
355
  if (!a.isUndefined(p)) {
356
356
  if (d.indexOf(p) !== -1)
357
357
  throw Error("Circular reference detected in " + y.join("."));
358
- d.push(p), a.forEach(p, function(w, R) {
358
+ d.push(p), a.forEach(p, function(w, g) {
359
359
  (!(a.isUndefined(w) || w === null) && s.call(
360
360
  t,
361
361
  w,
362
- a.isString(R) ? R.trim() : R,
362
+ a.isString(g) ? g.trim() : g,
363
363
  y,
364
364
  b
365
- )) === !0 && g(w, y ? y.concat(R) : [R]);
365
+ )) === !0 && R(w, y ? y.concat(g) : [g]);
366
366
  }), d.pop();
367
367
  }
368
368
  }
369
369
  if (!a.isObject(e))
370
370
  throw new TypeError("data must be an object");
371
- return g(e), t;
371
+ return R(e), t;
372
372
  }
373
373
  function ye(e) {
374
374
  const t = {
@@ -852,8 +852,8 @@ function un(e, t) {
852
852
  b += n[d++], d = d % e;
853
853
  if (s = (s + 1) % e, s === o && (o = (o + 1) % e), l - i < t)
854
854
  return;
855
- const g = u && l - u;
856
- return g ? Math.round(b * 1e3 / g) : void 0;
855
+ const R = u && l - u;
856
+ return R ? Math.round(b * 1e3 / R) : void 0;
857
857
  };
858
858
  }
859
859
  function fn(e, t) {
@@ -894,7 +894,7 @@ const K = (e, t, n = 3) => {
894
894
  total: e,
895
895
  loaded: r
896
896
  }), t[1]];
897
- }, ge = (e) => (...t) => a.asap(() => e(...t)), dn = O.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, O.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
897
+ }, Re = (e) => (...t) => a.asap(() => e(...t)), dn = O.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, O.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
898
898
  new URL(O.origin),
899
899
  O.navigator && /(msie|trident)/i.test(O.navigator.userAgent)
900
900
  ) : () => !0, pn = O.hasStandardBrowserEnv ? (
@@ -934,7 +934,7 @@ function Je(e, t, n) {
934
934
  let r = !hn(t);
935
935
  return e && (r || n == !1) ? mn(e, t) : t;
936
936
  }
937
- const Re = (e) => e instanceof x ? { ...e } : e;
937
+ const ge = (e) => e instanceof x ? { ...e } : e;
938
938
  function B(e, t) {
939
939
  t = t || {};
940
940
  const n = {};
@@ -992,7 +992,7 @@ function B(e, t) {
992
992
  socketPath: i,
993
993
  responseEncoding: i,
994
994
  validateStatus: c,
995
- headers: (l, u, d) => s(Re(l), Re(u), d, !0)
995
+ headers: (l, u, d) => s(ge(l), ge(u), d, !0)
996
996
  };
997
997
  return a.forEach(Object.keys({ ...e, ...t }), function(u) {
998
998
  const d = f[u] || s, b = d(e[u], t[u], u);
@@ -1025,9 +1025,9 @@ const Ve = (e) => {
1025
1025
  const s = Ve(e);
1026
1026
  let o = s.data;
1027
1027
  const i = x.from(s.headers).normalize();
1028
- let { responseType: c, onUploadProgress: f, onDownloadProgress: l } = s, u, d, b, g, p;
1028
+ let { responseType: c, onUploadProgress: f, onDownloadProgress: l } = s, u, d, b, R, p;
1029
1029
  function y() {
1030
- g && g(), p && p(), s.cancelToken && s.cancelToken.unsubscribe(u), s.signal && s.signal.removeEventListener("abort", u);
1030
+ R && R(), p && p(), s.cancelToken && s.cancelToken.unsubscribe(u), s.signal && s.signal.removeEventListener("abort", u);
1031
1031
  }
1032
1032
  let h = new XMLHttpRequest();
1033
1033
  h.open(s.method.toUpperCase(), s.url, !0), h.timeout = s.timeout;
@@ -1067,12 +1067,12 @@ const Ve = (e) => {
1067
1067
  )), h = null;
1068
1068
  }, o === void 0 && i.setContentType(null), "setRequestHeader" in h && a.forEach(i.toJSON(), function(P, T) {
1069
1069
  h.setRequestHeader(T, P);
1070
- }), a.isUndefined(s.withCredentials) || (h.withCredentials = !!s.withCredentials), c && c !== "json" && (h.responseType = s.responseType), l && ([b, p] = K(l, !0), h.addEventListener("progress", b)), f && h.upload && ([d, g] = K(f), h.upload.addEventListener("progress", d), h.upload.addEventListener("loadend", g)), (s.cancelToken || s.signal) && (u = (S) => {
1070
+ }), a.isUndefined(s.withCredentials) || (h.withCredentials = !!s.withCredentials), c && c !== "json" && (h.responseType = s.responseType), l && ([b, p] = K(l, !0), h.addEventListener("progress", b)), f && h.upload && ([d, R] = K(f), h.upload.addEventListener("progress", d), h.upload.addEventListener("loadend", R)), (s.cancelToken || s.signal) && (u = (S) => {
1071
1071
  h && (r(!S || S.type ? new k(null, e, h) : S), h.abort(), h = null);
1072
1072
  }, s.cancelToken && s.cancelToken.subscribe(u), s.signal && (s.signal.aborted ? u() : s.signal.addEventListener("abort", u)));
1073
- const R = ln(s.url);
1074
- if (R && O.protocols.indexOf(R) === -1) {
1075
- r(new m("Unsupported protocol " + R + ":", m.ERR_BAD_REQUEST, e));
1073
+ const g = ln(s.url);
1074
+ if (g && O.protocols.indexOf(g) === -1) {
1075
+ r(new m("Unsupported protocol " + g + ":", m.ERR_BAD_REQUEST, e));
1076
1076
  return;
1077
1077
  }
1078
1078
  h.send(o || null);
@@ -1109,10 +1109,10 @@ const Ve = (e) => {
1109
1109
  let r = 0, s;
1110
1110
  for (; r < n; )
1111
1111
  s = r + t, yield e.slice(r, s), r = s;
1112
- }, gn = async function* (e, t) {
1113
- for await (const n of Rn(e))
1112
+ }, Rn = async function* (e, t) {
1113
+ for await (const n of gn(e))
1114
1114
  yield* En(n, t);
1115
- }, Rn = async function* (e) {
1115
+ }, gn = async function* (e) {
1116
1116
  if (e[Symbol.asyncIterator]) {
1117
1117
  yield* e;
1118
1118
  return;
@@ -1129,7 +1129,7 @@ const Ve = (e) => {
1129
1129
  await t.cancel();
1130
1130
  }
1131
1131
  }, Se = (e, t, n, r) => {
1132
- const s = gn(e, t);
1132
+ const s = Rn(e, t);
1133
1133
  let o = 0, i, c = (f) => {
1134
1134
  i || (i = !0, r && r(f));
1135
1135
  };
@@ -1216,9 +1216,9 @@ const Tn = async (e) => {
1216
1216
  fetchOptions: b
1217
1217
  } = Ve(e);
1218
1218
  l = l ? (l + "").toLowerCase() : "text";
1219
- let g = wn([s, o && o.toAbortSignal()], i), p;
1220
- const y = g && g.unsubscribe && (() => {
1221
- g.unsubscribe();
1219
+ let R = wn([s, o && o.toAbortSignal()], i), p;
1220
+ const y = R && R.unsubscribe && (() => {
1221
+ R.unsubscribe();
1222
1222
  });
1223
1223
  let h;
1224
1224
  try {
@@ -1231,7 +1231,7 @@ const Tn = async (e) => {
1231
1231
  if (a.isFormData(r) && (F = T.headers.get("content-type")) && u.setContentType(F), T.body) {
1232
1232
  const [_, $] = Ee(
1233
1233
  h,
1234
- K(ge(f))
1234
+ K(Re(f))
1235
1235
  );
1236
1236
  r = Se(T.body, Oe, _, $);
1237
1237
  }
@@ -1240,39 +1240,39 @@ const Tn = async (e) => {
1240
1240
  const w = "credentials" in Request.prototype;
1241
1241
  p = new Request(t, {
1242
1242
  ...b,
1243
- signal: g,
1243
+ signal: R,
1244
1244
  method: n.toUpperCase(),
1245
1245
  headers: u.normalize().toJSON(),
1246
1246
  body: r,
1247
1247
  duplex: "half",
1248
1248
  credentials: w ? d : void 0
1249
1249
  });
1250
- let R = await fetch(p, b);
1250
+ let g = await fetch(p, b);
1251
1251
  const S = ae && (l === "stream" || l === "response");
1252
1252
  if (ae && (c || S && y)) {
1253
1253
  const T = {};
1254
1254
  ["status", "statusText", "headers"].forEach((pe) => {
1255
- T[pe] = R[pe];
1255
+ T[pe] = g[pe];
1256
1256
  });
1257
- const F = a.toFiniteNumber(R.headers.get("content-length")), [_, $] = c && Ee(
1257
+ const F = a.toFiniteNumber(g.headers.get("content-length")), [_, $] = c && Ee(
1258
1258
  F,
1259
- K(ge(c), !0)
1259
+ K(Re(c), !0)
1260
1260
  ) || [];
1261
- R = new Response(
1262
- Se(R.body, Oe, _, () => {
1261
+ g = new Response(
1262
+ Se(g.body, Oe, _, () => {
1263
1263
  $ && $(), y && y();
1264
1264
  }),
1265
1265
  T
1266
1266
  );
1267
1267
  }
1268
1268
  l = l || "text";
1269
- let P = await v[a.findKey(v, l) || "text"](R, e);
1269
+ let P = await v[a.findKey(v, l) || "text"](g, e);
1270
1270
  return !S && y && y(), await new Promise((T, F) => {
1271
1271
  $e(T, F, {
1272
1272
  data: P,
1273
- headers: x.from(R.headers),
1274
- status: R.status,
1275
- statusText: R.statusText,
1273
+ headers: x.from(g.headers),
1274
+ status: g.status,
1275
+ statusText: g.statusText,
1276
1276
  config: e,
1277
1277
  request: p
1278
1278
  });
@@ -1369,11 +1369,16 @@ ee.transitional = function(t, n, r) {
1369
1369
  s(i, " has been removed" + (n ? " in " + n : "")),
1370
1370
  m.ERR_DEPRECATED
1371
1371
  );
1372
- return n && !xe[i] && (xe[i] = !0), t ? t(o, i, c) : !0;
1372
+ return n && !xe[i] && (xe[i] = !0, console.warn(
1373
+ s(
1374
+ i,
1375
+ " has been deprecated since v" + n + " and will be removed in the near future"
1376
+ )
1377
+ )), t ? t(o, i, c) : !0;
1373
1378
  };
1374
1379
  };
1375
1380
  ee.spelling = function(t) {
1376
- return (n, r) => !0;
1381
+ return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
1377
1382
  };
1378
1383
  function Nn(e, t, n) {
1379
1384
  if (typeof e != "object")
@@ -1471,18 +1476,18 @@ let L = class {
1471
1476
  return u;
1472
1477
  }
1473
1478
  b = c.length;
1474
- let g = n;
1479
+ let R = n;
1475
1480
  for (d = 0; d < b; ) {
1476
1481
  const p = c[d++], y = c[d++];
1477
1482
  try {
1478
- g = p(g);
1483
+ R = p(R);
1479
1484
  } catch (h) {
1480
1485
  y.call(this, h);
1481
1486
  break;
1482
1487
  }
1483
1488
  }
1484
1489
  try {
1485
- u = Ae.call(this, g);
1490
+ u = Ae.call(this, R);
1486
1491
  } catch (p) {
1487
1492
  return Promise.reject(p);
1488
1493
  }
@@ -1367,11 +1367,16 @@ ee.transitional = function(t, n, r) {
1367
1367
  s(i, " has been removed" + (n ? " in " + n : "")),
1368
1368
  m.ERR_DEPRECATED
1369
1369
  );
1370
- return n && !xe[i] && (xe[i] = !0), t ? t(o, i, c) : !0;
1370
+ return n && !xe[i] && (xe[i] = !0, console.warn(
1371
+ s(
1372
+ i,
1373
+ " has been deprecated since v" + n + " and will be removed in the near future"
1374
+ )
1375
+ )), t ? t(o, i, c) : !0;
1371
1376
  };
1372
1377
  };
1373
1378
  ee.spelling = function(t) {
1374
- return (n, r) => !0;
1379
+ return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
1375
1380
  };
1376
1381
  function xn(e, t, n) {
1377
1382
  if (typeof e != "object")
@@ -1375,11 +1375,16 @@ Ke.transitional = function(e, n, r) {
1375
1375
  o(i, " has been removed" + (n ? " in " + n : "")),
1376
1376
  w.ERR_DEPRECATED
1377
1377
  );
1378
- return n && !ir[i] && (ir[i] = !0), e ? e(a, i, s) : !0;
1378
+ return n && !ir[i] && (ir[i] = !0, console.warn(
1379
+ o(
1380
+ i,
1381
+ " has been deprecated since v" + n + " and will be removed in the near future"
1382
+ )
1383
+ )), e ? e(a, i, s) : !0;
1379
1384
  };
1380
1385
  };
1381
1386
  Ke.spelling = function(e) {
1382
- return (n, r) => !0;
1387
+ return (n, r) => (console.warn(`${r} is likely a misspelling of ${e}`), !0);
1383
1388
  };
1384
1389
  function Ea(t, e, n) {
1385
1390
  if (typeof t != "object")
Binary file
@@ -0,0 +1 @@
1
+ export declare const getTokenFromAuthorizer: () => Promise<string>;
@@ -1,4 +1,5 @@
1
- declare const getQuery: (name: string) => any;
1
+ import { getQuery } from './utils';
2
+
2
3
  declare const real_uri: string;
3
4
  declare const getTokenParams: any;
4
5
  declare const getTokenFromCode: () => unknown;