polfan-server-js-client 0.2.75 → 0.2.76
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/.idea/workspace.xml +31 -30
- package/build/index.cjs.js +1 -130
- package/build/index.cjs.js.map +1 -1
- package/build/index.umd.js +1 -1
- package/build/index.umd.js.map +1 -1
- package/build/types/index.d.ts +3 -3
- package/package.json +1 -1
- package/src/index.ts +3 -3
- package/src/AuthClient.ts +0 -46
package/.idea/workspace.xml
CHANGED
|
@@ -49,28 +49,28 @@
|
|
|
49
49
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
50
50
|
<option name="showLibraryContents" value="true" />
|
|
51
51
|
</component>
|
|
52
|
-
<component name="PropertiesComponent"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
52
|
+
<component name="PropertiesComponent">{
|
|
53
|
+
"keyToString": {
|
|
54
|
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
55
|
+
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager": "true",
|
|
56
|
+
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
|
|
57
|
+
"RunOnceActivity.git.unshallow": "true",
|
|
58
|
+
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
|
59
|
+
"com.intellij.ml.llm.matterhorn.ej.ui.settings.DefaultModelSelectionForGA.v1": "true",
|
|
60
|
+
"git-widget-placeholder": "master",
|
|
61
|
+
"ignore.virus.scanning.warn.message": "true",
|
|
62
|
+
"junie.onboarding.icon.badge.shown": "true",
|
|
63
|
+
"last_opened_file_path": "//wsl.localhost/Debian/home/jarek/polfan-js-client-library",
|
|
64
|
+
"node.js.detected.package.eslint": "true",
|
|
65
|
+
"node.js.detected.package.tslint": "true",
|
|
66
|
+
"node.js.selected.package.eslint": "(autodetect)",
|
|
67
|
+
"node.js.selected.package.tslint": "(autodetect)",
|
|
68
|
+
"nodejs_package_manager_path": "npm",
|
|
69
|
+
"to.speed.mode.migration.done": "true",
|
|
70
|
+
"ts.external.directory.path": "\\\\wsl.localhost\\Debian\\home\\jarek\\polfan-js-client-library\\node_modules\\typescript\\lib",
|
|
71
|
+
"vue.rearranger.settings.migration": "true"
|
|
72
72
|
}
|
|
73
|
-
}
|
|
73
|
+
}</component>
|
|
74
74
|
<component name="SharedIndexes">
|
|
75
75
|
<attachedChunks>
|
|
76
76
|
<set>
|
|
@@ -162,14 +162,7 @@
|
|
|
162
162
|
<workItem from="1765805497689" duration="6758000" />
|
|
163
163
|
<workItem from="1765961123241" duration="6316000" />
|
|
164
164
|
<workItem from="1767385708366" duration="3390000" />
|
|
165
|
-
|
|
166
|
-
<task id="LOCAL-00022" summary="Client data and room stream support">
|
|
167
|
-
<option name="closed" value="true" />
|
|
168
|
-
<created>1741971884190</created>
|
|
169
|
-
<option name="number" value="00022" />
|
|
170
|
-
<option name="presentableId" value="LOCAL-00022" />
|
|
171
|
-
<option name="project" value="LOCAL" />
|
|
172
|
-
<updated>1741971884190</updated>
|
|
165
|
+
<workItem from="1767393276255" duration="3395000" />
|
|
173
166
|
</task>
|
|
174
167
|
<task id="LOCAL-00023" summary="New collections mutationCounter property and map method remove">
|
|
175
168
|
<option name="closed" value="true" />
|
|
@@ -555,7 +548,15 @@
|
|
|
555
548
|
<option name="project" value="LOCAL" />
|
|
556
549
|
<updated>1767389582834</updated>
|
|
557
550
|
</task>
|
|
558
|
-
<
|
|
551
|
+
<task id="LOCAL-00071" summary="Fix permission check (caching overwrites)">
|
|
552
|
+
<option name="closed" value="true" />
|
|
553
|
+
<created>1767397217931</created>
|
|
554
|
+
<option name="number" value="00071" />
|
|
555
|
+
<option name="presentableId" value="LOCAL-00071" />
|
|
556
|
+
<option name="project" value="LOCAL" />
|
|
557
|
+
<updated>1767397217931</updated>
|
|
558
|
+
</task>
|
|
559
|
+
<option name="localTasksCounter" value="72" />
|
|
559
560
|
<servers />
|
|
560
561
|
</component>
|
|
561
562
|
<component name="TypeScriptGeneratedFilesManager">
|
package/build/index.cjs.js
CHANGED
|
@@ -39,7 +39,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39
39
|
|
|
40
40
|
// EXPORTS
|
|
41
41
|
__webpack_require__.d(__webpack_exports__, {
|
|
42
|
-
|
|
42
|
+
AbstractRestClient: () => (/* reexport */ AbstractRestClient),
|
|
43
43
|
FilesClient: () => (/* reexport */ FilesClient),
|
|
44
44
|
IndexedCollection: () => (/* reexport */ IndexedCollection),
|
|
45
45
|
IndexedObjectCollection: () => (/* reexport */ IndexedObjectCollection),
|
|
@@ -4774,135 +4774,6 @@ var AbstractRestClient = /*#__PURE__*/function () {
|
|
|
4774
4774
|
}
|
|
4775
4775
|
}]);
|
|
4776
4776
|
}();
|
|
4777
|
-
;// ./src/AuthClient.ts
|
|
4778
|
-
function AuthClient_typeof(o) { "@babel/helpers - typeof"; return AuthClient_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, AuthClient_typeof(o); }
|
|
4779
|
-
function AuthClient_regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return AuthClient_regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (AuthClient_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, AuthClient_regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, AuthClient_regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), AuthClient_regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", AuthClient_regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), AuthClient_regeneratorDefine2(u), AuthClient_regeneratorDefine2(u, o, "Generator"), AuthClient_regeneratorDefine2(u, n, function () { return this; }), AuthClient_regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (AuthClient_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
|
|
4780
|
-
function AuthClient_regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } AuthClient_regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { AuthClient_regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, AuthClient_regeneratorDefine2(e, r, n, t); }
|
|
4781
|
-
function AuthClient_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
4782
|
-
function AuthClient_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { AuthClient_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { AuthClient_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
4783
|
-
function AuthClient_classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
4784
|
-
function AuthClient_defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, AuthClient_toPropertyKey(o.key), o); } }
|
|
4785
|
-
function AuthClient_createClass(e, r, t) { return r && AuthClient_defineProperties(e.prototype, r), t && AuthClient_defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
4786
|
-
function AuthClient_callSuper(t, o, e) { return o = AuthClient_getPrototypeOf(o), AuthClient_possibleConstructorReturn(t, AuthClient_isNativeReflectConstruct() ? Reflect.construct(o, e || [], AuthClient_getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
4787
|
-
function AuthClient_possibleConstructorReturn(t, e) { if (e && ("object" == AuthClient_typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return AuthClient_assertThisInitialized(t); }
|
|
4788
|
-
function AuthClient_assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
4789
|
-
function AuthClient_isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (AuthClient_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
4790
|
-
function AuthClient_getPrototypeOf(t) { return AuthClient_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, AuthClient_getPrototypeOf(t); }
|
|
4791
|
-
function AuthClient_inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && AuthClient_setPrototypeOf(t, e); }
|
|
4792
|
-
function AuthClient_setPrototypeOf(t, e) { return AuthClient_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, AuthClient_setPrototypeOf(t, e); }
|
|
4793
|
-
function AuthClient_defineProperty(e, r, t) { return (r = AuthClient_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4794
|
-
function AuthClient_toPropertyKey(t) { var i = AuthClient_toPrimitive(t, "string"); return "symbol" == AuthClient_typeof(i) ? i : i + ""; }
|
|
4795
|
-
function AuthClient_toPrimitive(t, r) { if ("object" != AuthClient_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != AuthClient_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
4796
|
-
|
|
4797
|
-
var AuthClient = /*#__PURE__*/function (_AbstractRestClient) {
|
|
4798
|
-
function AuthClient() {
|
|
4799
|
-
var _this;
|
|
4800
|
-
AuthClient_classCallCheck(this, AuthClient);
|
|
4801
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
4802
|
-
args[_key] = arguments[_key];
|
|
4803
|
-
}
|
|
4804
|
-
_this = AuthClient_callSuper(this, AuthClient, [].concat(args));
|
|
4805
|
-
AuthClient_defineProperty(_this, "defaultUrl", 'https://polfan.pl/webservice/api');
|
|
4806
|
-
return _this;
|
|
4807
|
-
}
|
|
4808
|
-
AuthClient_inherits(AuthClient, _AbstractRestClient);
|
|
4809
|
-
return AuthClient_createClass(AuthClient, [{
|
|
4810
|
-
key: "deleteToken",
|
|
4811
|
-
value: function () {
|
|
4812
|
-
var _deleteToken = AuthClient_asyncToGenerator(/*#__PURE__*/AuthClient_regenerator().m(function _callee(token) {
|
|
4813
|
-
var response;
|
|
4814
|
-
return AuthClient_regenerator().w(function (_context) {
|
|
4815
|
-
while (1) switch (_context.n) {
|
|
4816
|
-
case 0:
|
|
4817
|
-
_context.n = 1;
|
|
4818
|
-
return this.send('DELETE', "auth/tokens/".concat(token));
|
|
4819
|
-
case 1:
|
|
4820
|
-
response = _context.v;
|
|
4821
|
-
if (response.ok) {
|
|
4822
|
-
_context.n = 2;
|
|
4823
|
-
break;
|
|
4824
|
-
}
|
|
4825
|
-
throw new Error("Cannot delete access token: ".concat(response.data.errors[0]));
|
|
4826
|
-
case 2:
|
|
4827
|
-
return _context.a(2);
|
|
4828
|
-
}
|
|
4829
|
-
}, _callee, this);
|
|
4830
|
-
}));
|
|
4831
|
-
function deleteToken(_x) {
|
|
4832
|
-
return _deleteToken.apply(this, arguments);
|
|
4833
|
-
}
|
|
4834
|
-
return deleteToken;
|
|
4835
|
-
}()
|
|
4836
|
-
}, {
|
|
4837
|
-
key: "getMe",
|
|
4838
|
-
value: function () {
|
|
4839
|
-
var _getMe = AuthClient_asyncToGenerator(/*#__PURE__*/AuthClient_regenerator().m(function _callee2() {
|
|
4840
|
-
var response;
|
|
4841
|
-
return AuthClient_regenerator().w(function (_context2) {
|
|
4842
|
-
while (1) switch (_context2.n) {
|
|
4843
|
-
case 0:
|
|
4844
|
-
_context2.n = 1;
|
|
4845
|
-
return this.send('GET', 'auth/me');
|
|
4846
|
-
case 1:
|
|
4847
|
-
response = _context2.v;
|
|
4848
|
-
if (!response.ok) {
|
|
4849
|
-
_context2.n = 2;
|
|
4850
|
-
break;
|
|
4851
|
-
}
|
|
4852
|
-
response.data.id = response.data.id.toString();
|
|
4853
|
-
return _context2.a(2, response.data);
|
|
4854
|
-
case 2:
|
|
4855
|
-
throw new Error("Cannot get current user account: ".concat(response.data.errors[0]));
|
|
4856
|
-
case 3:
|
|
4857
|
-
return _context2.a(2);
|
|
4858
|
-
}
|
|
4859
|
-
}, _callee2, this);
|
|
4860
|
-
}));
|
|
4861
|
-
function getMe() {
|
|
4862
|
-
return _getMe.apply(this, arguments);
|
|
4863
|
-
}
|
|
4864
|
-
return getMe;
|
|
4865
|
-
}()
|
|
4866
|
-
}], [{
|
|
4867
|
-
key: "createToken",
|
|
4868
|
-
value: function () {
|
|
4869
|
-
var _createToken = AuthClient_asyncToGenerator(/*#__PURE__*/AuthClient_regenerator().m(function _callee3(login, password) {
|
|
4870
|
-
var clientName,
|
|
4871
|
-
response,
|
|
4872
|
-
_args3 = arguments;
|
|
4873
|
-
return AuthClient_regenerator().w(function (_context3) {
|
|
4874
|
-
while (1) switch (_context3.n) {
|
|
4875
|
-
case 0:
|
|
4876
|
-
clientName = _args3.length > 2 && _args3[2] !== undefined ? _args3[2] : 'pserv-js-client';
|
|
4877
|
-
_context3.n = 1;
|
|
4878
|
-
return new AuthClient({
|
|
4879
|
-
token: null
|
|
4880
|
-
}).send('POST', 'auth/tokens', {
|
|
4881
|
-
login: login,
|
|
4882
|
-
password: password,
|
|
4883
|
-
client_name: clientName
|
|
4884
|
-
});
|
|
4885
|
-
case 1:
|
|
4886
|
-
response = _context3.v;
|
|
4887
|
-
if (!response.ok) {
|
|
4888
|
-
_context3.n = 2;
|
|
4889
|
-
break;
|
|
4890
|
-
}
|
|
4891
|
-
return _context3.a(2, response.data);
|
|
4892
|
-
case 2:
|
|
4893
|
-
throw new Error("Cannot create user token: ".concat(response.data.errors[0]));
|
|
4894
|
-
case 3:
|
|
4895
|
-
return _context3.a(2);
|
|
4896
|
-
}
|
|
4897
|
-
}, _callee3);
|
|
4898
|
-
}));
|
|
4899
|
-
function createToken(_x2, _x3) {
|
|
4900
|
-
return _createToken.apply(this, arguments);
|
|
4901
|
-
}
|
|
4902
|
-
return createToken;
|
|
4903
|
-
}()
|
|
4904
|
-
}]);
|
|
4905
|
-
}(AbstractRestClient);
|
|
4906
4777
|
;// ./src/FilesClient.ts
|
|
4907
4778
|
function FilesClient_typeof(o) { "@babel/helpers - typeof"; return FilesClient_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, FilesClient_typeof(o); }
|
|
4908
4779
|
function FilesClient_regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return FilesClient_regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (FilesClient_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, FilesClient_regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, FilesClient_regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), FilesClient_regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", FilesClient_regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), FilesClient_regeneratorDefine2(u), FilesClient_regeneratorDefine2(u, o, "Generator"), FilesClient_regeneratorDefine2(u, n, function () { return this; }), FilesClient_regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (FilesClient_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
|