@blackglory/estore-js 0.1.3 → 0.1.4
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/README.md +188 -306
- package/dist/es2015/index.min.mjs +1 -1
- package/dist/es2015/index.min.mjs.map +1 -1
- package/dist/es2015/index.mjs +563 -949
- package/dist/es2015/index.mjs.map +1 -1
- package/dist/es2015/index.umd.js +563 -949
- package/dist/es2015/index.umd.js.map +1 -1
- package/dist/es2015/index.umd.min.js +2 -2
- package/dist/es2015/index.umd.min.js.map +1 -1
- package/dist/es2018/index.min.mjs +1 -1
- package/dist/es2018/index.min.mjs.map +1 -1
- package/dist/es2018/index.mjs +563 -949
- package/dist/es2018/index.mjs.map +1 -1
- package/dist/es2018/index.umd.js +563 -949
- package/dist/es2018/index.umd.js.map +1 -1
- package/dist/es2018/index.umd.min.js +2 -2
- package/dist/es2018/index.umd.min.js.map +1 -1
- package/lib/es2015/estore-client.js +1 -1
- package/lib/es2015/estore-client.js.map +1 -1
- package/lib/es2015/token-policy-client.js.map +1 -1
- package/lib/es2015/utils.d.ts +2 -1
- package/lib/es2015/utils.js +1 -1
- package/lib/es2015/utils.js.map +1 -1
- package/lib/es2018/estore-client.js +1 -1
- package/lib/es2018/estore-client.js.map +1 -1
- package/lib/es2018/token-policy-client.js.map +1 -1
- package/lib/es2018/utils.d.ts +2 -1
- package/lib/es2018/utils.js +1 -1
- package/lib/es2018/utils.js.map +1 -1
- package/package.json +1 -1
package/dist/es2015/index.mjs
CHANGED
|
@@ -27,7 +27,7 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
27
27
|
|
|
28
28
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
29
29
|
|
|
30
|
-
var es2018$
|
|
30
|
+
var es2018$c = {};
|
|
31
31
|
|
|
32
32
|
var fetch_browser = {};
|
|
33
33
|
|
|
@@ -98,235 +98,235 @@ eventSource_browser.EventSource = globalThis.EventSource;
|
|
|
98
98
|
__exportStar(blob_browser, exports);
|
|
99
99
|
__exportStar(eventSource_browser, exports);
|
|
100
100
|
|
|
101
|
-
} (es2018$
|
|
101
|
+
} (es2018$c));
|
|
102
102
|
|
|
103
|
-
var es2018$
|
|
103
|
+
var es2018$b = {};
|
|
104
104
|
|
|
105
105
|
var types = {};
|
|
106
106
|
|
|
107
107
|
var request$1 = {};
|
|
108
108
|
|
|
109
|
-
var es2018$
|
|
109
|
+
var es2018$a = {};
|
|
110
110
|
|
|
111
|
-
var array
|
|
111
|
+
var array = {};
|
|
112
112
|
|
|
113
|
-
array
|
|
114
|
-
function isArray
|
|
113
|
+
array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
|
|
114
|
+
function isArray(val) {
|
|
115
115
|
return Array.isArray(val);
|
|
116
116
|
}
|
|
117
|
-
array
|
|
118
|
-
function isntArray
|
|
119
|
-
return !isArray
|
|
117
|
+
array.isArray = isArray;
|
|
118
|
+
function isntArray(val) {
|
|
119
|
+
return !isArray(val);
|
|
120
120
|
}
|
|
121
|
-
array
|
|
122
|
-
function isEmptyArray
|
|
121
|
+
array.isntArray = isntArray;
|
|
122
|
+
function isEmptyArray(val) {
|
|
123
123
|
return val.length === 0;
|
|
124
124
|
}
|
|
125
|
-
array
|
|
126
|
-
function isntEmptyArray
|
|
125
|
+
array.isEmptyArray = isEmptyArray;
|
|
126
|
+
function isntEmptyArray(val) {
|
|
127
127
|
return val.length !== 0;
|
|
128
128
|
}
|
|
129
|
-
array
|
|
129
|
+
array.isntEmptyArray = isntEmptyArray;
|
|
130
130
|
|
|
131
|
-
var asyncIterable
|
|
131
|
+
var asyncIterable = {};
|
|
132
132
|
|
|
133
|
-
var _null
|
|
133
|
+
var _null = {};
|
|
134
134
|
|
|
135
|
-
_null
|
|
136
|
-
function isNull
|
|
135
|
+
_null.isntNull = _null.isNull = void 0;
|
|
136
|
+
function isNull(val) {
|
|
137
137
|
return val === null;
|
|
138
138
|
}
|
|
139
|
-
_null
|
|
140
|
-
function isntNull
|
|
141
|
-
return !isNull
|
|
139
|
+
_null.isNull = isNull;
|
|
140
|
+
function isntNull(val) {
|
|
141
|
+
return !isNull(val);
|
|
142
142
|
}
|
|
143
|
-
_null
|
|
143
|
+
_null.isntNull = isntNull;
|
|
144
144
|
|
|
145
|
-
var _undefined
|
|
145
|
+
var _undefined = {};
|
|
146
146
|
|
|
147
|
-
_undefined
|
|
148
|
-
function isUndefined
|
|
147
|
+
_undefined.isntUndefined = _undefined.isUndefined = void 0;
|
|
148
|
+
function isUndefined(val) {
|
|
149
149
|
return val === undefined;
|
|
150
150
|
}
|
|
151
|
-
_undefined
|
|
152
|
-
function isntUndefined
|
|
153
|
-
return !isUndefined
|
|
151
|
+
_undefined.isUndefined = isUndefined;
|
|
152
|
+
function isntUndefined(val) {
|
|
153
|
+
return !isUndefined(val);
|
|
154
154
|
}
|
|
155
|
-
_undefined
|
|
155
|
+
_undefined.isntUndefined = isntUndefined;
|
|
156
156
|
|
|
157
|
-
var _function
|
|
157
|
+
var _function = {};
|
|
158
158
|
|
|
159
|
-
_function
|
|
160
|
-
function isFunction
|
|
159
|
+
_function.isntFunction = _function.isFunction = void 0;
|
|
160
|
+
function isFunction(val) {
|
|
161
161
|
return typeof val === 'function';
|
|
162
162
|
}
|
|
163
|
-
_function
|
|
164
|
-
function isntFunction
|
|
165
|
-
return !isFunction
|
|
163
|
+
_function.isFunction = isFunction;
|
|
164
|
+
function isntFunction(val) {
|
|
165
|
+
return !isFunction(val);
|
|
166
166
|
}
|
|
167
|
-
_function
|
|
167
|
+
_function.isntFunction = isntFunction;
|
|
168
168
|
|
|
169
|
-
asyncIterable
|
|
170
|
-
const null_1$
|
|
171
|
-
const undefined_1$
|
|
172
|
-
const function_1$
|
|
173
|
-
function isAsyncIterable
|
|
174
|
-
return (0, null_1$
|
|
175
|
-
&& (0, undefined_1$
|
|
176
|
-
&& (0, function_1$
|
|
169
|
+
asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
|
|
170
|
+
const null_1$2 = _null;
|
|
171
|
+
const undefined_1$1 = _undefined;
|
|
172
|
+
const function_1$2 = _function;
|
|
173
|
+
function isAsyncIterable(val) {
|
|
174
|
+
return (0, null_1$2.isntNull)(val)
|
|
175
|
+
&& (0, undefined_1$1.isntUndefined)(val)
|
|
176
|
+
&& (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
|
|
177
177
|
}
|
|
178
|
-
asyncIterable
|
|
179
|
-
function isntAsyncIterable
|
|
180
|
-
return !isAsyncIterable
|
|
178
|
+
asyncIterable.isAsyncIterable = isAsyncIterable;
|
|
179
|
+
function isntAsyncIterable(val) {
|
|
180
|
+
return !isAsyncIterable(val);
|
|
181
181
|
}
|
|
182
|
-
asyncIterable
|
|
182
|
+
asyncIterable.isntAsyncIterable = isntAsyncIterable;
|
|
183
183
|
|
|
184
|
-
var bigint
|
|
184
|
+
var bigint = {};
|
|
185
185
|
|
|
186
|
-
bigint
|
|
187
|
-
function isBigInt
|
|
186
|
+
bigint.isntBigInt = bigint.isBigInt = void 0;
|
|
187
|
+
function isBigInt(val) {
|
|
188
188
|
return typeof val === 'bigint';
|
|
189
189
|
}
|
|
190
|
-
bigint
|
|
191
|
-
function isntBigInt
|
|
192
|
-
return !isBigInt
|
|
190
|
+
bigint.isBigInt = isBigInt;
|
|
191
|
+
function isntBigInt(val) {
|
|
192
|
+
return !isBigInt(val);
|
|
193
193
|
}
|
|
194
|
-
bigint
|
|
194
|
+
bigint.isntBigInt = isntBigInt;
|
|
195
195
|
|
|
196
|
-
var boolean
|
|
196
|
+
var boolean = {};
|
|
197
197
|
|
|
198
|
-
boolean
|
|
199
|
-
function isBoolean
|
|
198
|
+
boolean.isntBoolean = boolean.isBoolean = void 0;
|
|
199
|
+
function isBoolean(val) {
|
|
200
200
|
return typeof val === 'boolean';
|
|
201
201
|
}
|
|
202
|
-
boolean
|
|
203
|
-
function isntBoolean
|
|
204
|
-
return !isBoolean
|
|
202
|
+
boolean.isBoolean = isBoolean;
|
|
203
|
+
function isntBoolean(val) {
|
|
204
|
+
return !isBoolean(val);
|
|
205
205
|
}
|
|
206
|
-
boolean
|
|
206
|
+
boolean.isntBoolean = isntBoolean;
|
|
207
207
|
|
|
208
|
-
var char
|
|
208
|
+
var char = {};
|
|
209
209
|
|
|
210
|
-
var string
|
|
210
|
+
var string = {};
|
|
211
211
|
|
|
212
|
-
string
|
|
213
|
-
function isString
|
|
212
|
+
string.isntString = string.isString = void 0;
|
|
213
|
+
function isString(val) {
|
|
214
214
|
return typeof val === 'string';
|
|
215
215
|
}
|
|
216
|
-
string
|
|
217
|
-
function isntString
|
|
218
|
-
return !isString
|
|
216
|
+
string.isString = isString;
|
|
217
|
+
function isntString(val) {
|
|
218
|
+
return !isString(val);
|
|
219
219
|
}
|
|
220
|
-
string
|
|
220
|
+
string.isntString = isntString;
|
|
221
221
|
|
|
222
|
-
char
|
|
223
|
-
const string_1$
|
|
224
|
-
function isChar
|
|
225
|
-
return (0, string_1$
|
|
222
|
+
char.isntChar = char.isChar = void 0;
|
|
223
|
+
const string_1$1 = string;
|
|
224
|
+
function isChar(val) {
|
|
225
|
+
return (0, string_1$1.isString)(val)
|
|
226
226
|
&& val.length === 1;
|
|
227
227
|
}
|
|
228
|
-
char
|
|
229
|
-
function isntChar
|
|
230
|
-
return !isChar
|
|
228
|
+
char.isChar = isChar;
|
|
229
|
+
function isntChar(val) {
|
|
230
|
+
return !isChar(val);
|
|
231
231
|
}
|
|
232
|
-
char
|
|
232
|
+
char.isntChar = isntChar;
|
|
233
233
|
|
|
234
|
-
var date
|
|
234
|
+
var date = {};
|
|
235
235
|
|
|
236
|
-
date
|
|
237
|
-
function isDate
|
|
236
|
+
date.isntDate = date.isDate = void 0;
|
|
237
|
+
function isDate(val) {
|
|
238
238
|
return val instanceof Date;
|
|
239
239
|
}
|
|
240
|
-
date
|
|
241
|
-
function isntDate
|
|
242
|
-
return !isDate
|
|
240
|
+
date.isDate = isDate;
|
|
241
|
+
function isntDate(val) {
|
|
242
|
+
return !isDate(val);
|
|
243
243
|
}
|
|
244
|
-
date
|
|
244
|
+
date.isntDate = isntDate;
|
|
245
245
|
|
|
246
|
-
var _enum$
|
|
246
|
+
var _enum$1 = {};
|
|
247
247
|
|
|
248
|
-
_enum$
|
|
249
|
-
function inEnum
|
|
248
|
+
_enum$1.inEnum = void 0;
|
|
249
|
+
function inEnum(val, _enum) {
|
|
250
250
|
return Object.values(_enum).includes(val);
|
|
251
251
|
}
|
|
252
|
-
_enum$
|
|
252
|
+
_enum$1.inEnum = inEnum;
|
|
253
253
|
|
|
254
|
-
var error
|
|
254
|
+
var error = {};
|
|
255
255
|
|
|
256
|
-
error
|
|
257
|
-
function isError
|
|
256
|
+
error.isntError = error.isError = void 0;
|
|
257
|
+
function isError(val) {
|
|
258
258
|
return val instanceof Error;
|
|
259
259
|
}
|
|
260
|
-
error
|
|
261
|
-
function isntError
|
|
262
|
-
return !isError
|
|
260
|
+
error.isError = isError;
|
|
261
|
+
function isntError(val) {
|
|
262
|
+
return !isError(val);
|
|
263
263
|
}
|
|
264
|
-
error
|
|
264
|
+
error.isntError = isntError;
|
|
265
265
|
|
|
266
|
-
var falsy
|
|
266
|
+
var falsy = {};
|
|
267
267
|
|
|
268
|
-
falsy
|
|
269
|
-
function isFalsy
|
|
268
|
+
falsy.isntFalsy = falsy.isFalsy = void 0;
|
|
269
|
+
function isFalsy(val) {
|
|
270
270
|
return !val;
|
|
271
271
|
}
|
|
272
|
-
falsy
|
|
273
|
-
function isntFalsy
|
|
274
|
-
return !isFalsy
|
|
272
|
+
falsy.isFalsy = isFalsy;
|
|
273
|
+
function isntFalsy(val) {
|
|
274
|
+
return !isFalsy(val);
|
|
275
275
|
}
|
|
276
|
-
falsy
|
|
276
|
+
falsy.isntFalsy = isntFalsy;
|
|
277
277
|
|
|
278
|
-
var iterable
|
|
278
|
+
var iterable = {};
|
|
279
279
|
|
|
280
|
-
iterable
|
|
281
|
-
const null_1$
|
|
282
|
-
const undefined_1
|
|
283
|
-
const function_1$
|
|
284
|
-
function isIterable
|
|
285
|
-
return (0, null_1$
|
|
286
|
-
&& (0, undefined_1
|
|
287
|
-
&& (0, function_1$
|
|
280
|
+
iterable.isntIterable = iterable.isIterable = void 0;
|
|
281
|
+
const null_1$1 = _null;
|
|
282
|
+
const undefined_1 = _undefined;
|
|
283
|
+
const function_1$1 = _function;
|
|
284
|
+
function isIterable(val) {
|
|
285
|
+
return (0, null_1$1.isntNull)(val)
|
|
286
|
+
&& (0, undefined_1.isntUndefined)(val)
|
|
287
|
+
&& (0, function_1$1.isFunction)(val[Symbol.iterator]);
|
|
288
288
|
}
|
|
289
|
-
iterable
|
|
290
|
-
function isntIterable
|
|
291
|
-
return !isIterable
|
|
289
|
+
iterable.isIterable = isIterable;
|
|
290
|
+
function isntIterable(val) {
|
|
291
|
+
return !isIterable(val);
|
|
292
292
|
}
|
|
293
|
-
iterable
|
|
293
|
+
iterable.isntIterable = isntIterable;
|
|
294
294
|
|
|
295
|
-
var json$
|
|
295
|
+
var json$2 = {};
|
|
296
296
|
|
|
297
|
-
var number
|
|
297
|
+
var number = {};
|
|
298
298
|
|
|
299
|
-
number
|
|
300
|
-
function isNumber
|
|
299
|
+
number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
|
|
300
|
+
function isNumber(val) {
|
|
301
301
|
return typeof val === 'number';
|
|
302
302
|
}
|
|
303
|
-
number
|
|
304
|
-
function isntNumber
|
|
305
|
-
return !isNumber
|
|
303
|
+
number.isNumber = isNumber;
|
|
304
|
+
function isntNumber(val) {
|
|
305
|
+
return !isNumber(val);
|
|
306
306
|
}
|
|
307
|
-
number
|
|
308
|
-
function isFinite
|
|
307
|
+
number.isntNumber = isntNumber;
|
|
308
|
+
function isFinite(val) {
|
|
309
309
|
return Number.isFinite(val);
|
|
310
310
|
}
|
|
311
|
-
number
|
|
312
|
-
function isPositiveInfinity
|
|
311
|
+
number.isFinite = isFinite;
|
|
312
|
+
function isPositiveInfinity(val) {
|
|
313
313
|
return val === Infinity;
|
|
314
314
|
}
|
|
315
|
-
number
|
|
316
|
-
function isNegativeInfinity
|
|
315
|
+
number.isPositiveInfinity = isPositiveInfinity;
|
|
316
|
+
function isNegativeInfinity(val) {
|
|
317
317
|
return val === -Infinity;
|
|
318
318
|
}
|
|
319
|
-
number
|
|
320
|
-
function isNaN
|
|
319
|
+
number.isNegativeInfinity = isNegativeInfinity;
|
|
320
|
+
function isNaN(val) {
|
|
321
321
|
return Number.isNaN(val);
|
|
322
322
|
}
|
|
323
|
-
number
|
|
324
|
-
function isntNaN
|
|
325
|
-
return !isNaN
|
|
323
|
+
number.isNaN = isNaN;
|
|
324
|
+
function isntNaN(val) {
|
|
325
|
+
return !isNaN(val);
|
|
326
326
|
}
|
|
327
|
-
number
|
|
327
|
+
number.isntNaN = isntNaN;
|
|
328
328
|
|
|
329
|
-
var object
|
|
329
|
+
var object = {};
|
|
330
330
|
|
|
331
331
|
/** Detect free variable `global` from Node.js. */
|
|
332
332
|
|
|
@@ -554,7 +554,7 @@ var objectCtorString = funcToString.call(Object);
|
|
|
554
554
|
* _.isPlainObject(Object.create(null));
|
|
555
555
|
* // => true
|
|
556
556
|
*/
|
|
557
|
-
function isPlainObject$
|
|
557
|
+
function isPlainObject$1(value) {
|
|
558
558
|
if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
|
|
559
559
|
return false;
|
|
560
560
|
}
|
|
@@ -567,59 +567,59 @@ function isPlainObject$2(value) {
|
|
|
567
567
|
funcToString.call(Ctor) == objectCtorString;
|
|
568
568
|
}
|
|
569
569
|
|
|
570
|
-
var isPlainObject_1$
|
|
570
|
+
var isPlainObject_1$1 = isPlainObject$1;
|
|
571
571
|
|
|
572
|
-
var __importDefault$
|
|
572
|
+
var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
573
573
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
574
|
-
};object
|
|
575
|
-
const isPlainObject_1
|
|
576
|
-
function isObject
|
|
574
|
+
};object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
|
|
575
|
+
const isPlainObject_1 = __importDefault$1(isPlainObject_1$1);
|
|
576
|
+
function isObject(val) {
|
|
577
577
|
return val !== null
|
|
578
578
|
&& typeof val === 'object';
|
|
579
579
|
}
|
|
580
|
-
object
|
|
581
|
-
function isntObject
|
|
582
|
-
return !isObject
|
|
580
|
+
object.isObject = isObject;
|
|
581
|
+
function isntObject(val) {
|
|
582
|
+
return !isObject(val);
|
|
583
583
|
}
|
|
584
|
-
object
|
|
585
|
-
function isPlainObject
|
|
586
|
-
return (0, isPlainObject_1
|
|
584
|
+
object.isntObject = isntObject;
|
|
585
|
+
function isPlainObject(val) {
|
|
586
|
+
return (0, isPlainObject_1.default)(val);
|
|
587
587
|
}
|
|
588
|
-
object
|
|
589
|
-
function isntPlainObject
|
|
590
|
-
return !isPlainObject
|
|
588
|
+
object.isPlainObject = isPlainObject;
|
|
589
|
+
function isntPlainObject(val) {
|
|
590
|
+
return !isPlainObject(val);
|
|
591
591
|
}
|
|
592
|
-
object
|
|
593
|
-
function isEmptyObject
|
|
592
|
+
object.isntPlainObject = isntPlainObject;
|
|
593
|
+
function isEmptyObject(val) {
|
|
594
594
|
return Object.keys(val).length === 0;
|
|
595
595
|
}
|
|
596
|
-
object
|
|
597
|
-
function isntEmptyObject
|
|
596
|
+
object.isEmptyObject = isEmptyObject;
|
|
597
|
+
function isntEmptyObject(val) {
|
|
598
598
|
return Object.keys(val).length !== 0;
|
|
599
599
|
}
|
|
600
|
-
object
|
|
601
|
-
|
|
602
|
-
json$
|
|
603
|
-
const null_1
|
|
604
|
-
const boolean_1
|
|
605
|
-
const string_1
|
|
606
|
-
const number_1
|
|
607
|
-
const array_1
|
|
608
|
-
const object_1$
|
|
609
|
-
function isJson
|
|
610
|
-
return (0, null_1
|
|
611
|
-
|| (0, boolean_1
|
|
612
|
-
|| (0, string_1
|
|
613
|
-
|| (0, number_1
|
|
614
|
-
|| ((0, array_1
|
|
615
|
-
|| ((0, object_1$
|
|
616
|
-
}
|
|
617
|
-
json$
|
|
618
|
-
function isntJson
|
|
619
|
-
return !isJson
|
|
620
|
-
}
|
|
621
|
-
json$
|
|
622
|
-
function isJsonable
|
|
600
|
+
object.isntEmptyObject = isntEmptyObject;
|
|
601
|
+
|
|
602
|
+
json$2.isntJsonable = json$2.isJsonable = json$2.isntJson = json$2.isJson = void 0;
|
|
603
|
+
const null_1 = _null;
|
|
604
|
+
const boolean_1 = boolean;
|
|
605
|
+
const string_1 = string;
|
|
606
|
+
const number_1 = number;
|
|
607
|
+
const array_1 = array;
|
|
608
|
+
const object_1$1 = object;
|
|
609
|
+
function isJson(val) {
|
|
610
|
+
return (0, null_1.isNull)(val)
|
|
611
|
+
|| (0, boolean_1.isBoolean)(val)
|
|
612
|
+
|| (0, string_1.isString)(val)
|
|
613
|
+
|| (0, number_1.isNumber)(val)
|
|
614
|
+
|| ((0, array_1.isArray)(val) && val.every(isJson))
|
|
615
|
+
|| ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
|
|
616
|
+
}
|
|
617
|
+
json$2.isJson = isJson;
|
|
618
|
+
function isntJson(val) {
|
|
619
|
+
return !isJson(val);
|
|
620
|
+
}
|
|
621
|
+
json$2.isntJson = isntJson;
|
|
622
|
+
function isJsonable(val) {
|
|
623
623
|
try {
|
|
624
624
|
JSON.stringify(val);
|
|
625
625
|
return true;
|
|
@@ -628,39 +628,39 @@ function isJsonable$1(val) {
|
|
|
628
628
|
return false;
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
|
-
json$
|
|
632
|
-
function isntJsonable
|
|
633
|
-
return !isntJsonable
|
|
631
|
+
json$2.isJsonable = isJsonable;
|
|
632
|
+
function isntJsonable(val) {
|
|
633
|
+
return !isntJsonable();
|
|
634
634
|
}
|
|
635
|
-
json$
|
|
635
|
+
json$2.isntJsonable = isntJsonable;
|
|
636
636
|
|
|
637
|
-
var promise
|
|
637
|
+
var promise = {};
|
|
638
638
|
|
|
639
|
-
promise
|
|
640
|
-
const object_1
|
|
641
|
-
const function_1
|
|
642
|
-
function isPromise
|
|
639
|
+
promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
|
|
640
|
+
const object_1 = object;
|
|
641
|
+
const function_1 = _function;
|
|
642
|
+
function isPromise(val) {
|
|
643
643
|
return val instanceof Promise;
|
|
644
644
|
}
|
|
645
|
-
promise
|
|
646
|
-
function isntPromise
|
|
647
|
-
return !isPromise
|
|
645
|
+
promise.isPromise = isPromise;
|
|
646
|
+
function isntPromise(val) {
|
|
647
|
+
return !isPromise(val);
|
|
648
648
|
}
|
|
649
|
-
promise
|
|
650
|
-
function isntPromiseLike
|
|
651
|
-
return !isPromiseLike
|
|
649
|
+
promise.isntPromise = isntPromise;
|
|
650
|
+
function isntPromiseLike(val) {
|
|
651
|
+
return !isPromiseLike(val);
|
|
652
652
|
}
|
|
653
|
-
promise
|
|
654
|
-
function isPromiseLike
|
|
655
|
-
return (0, object_1
|
|
656
|
-
&& (0, function_1
|
|
653
|
+
promise.isntPromiseLike = isntPromiseLike;
|
|
654
|
+
function isPromiseLike(val) {
|
|
655
|
+
return (0, object_1.isObject)(val)
|
|
656
|
+
&& (0, function_1.isFunction)(val.then);
|
|
657
657
|
}
|
|
658
|
-
promise
|
|
658
|
+
promise.isPromiseLike = isPromiseLike;
|
|
659
659
|
|
|
660
|
-
var url$
|
|
660
|
+
var url$2 = {};
|
|
661
661
|
|
|
662
|
-
url$
|
|
663
|
-
function isAbsoluteURL
|
|
662
|
+
url$2.isAbsoluteURL = void 0;
|
|
663
|
+
function isAbsoluteURL(str) {
|
|
664
664
|
try {
|
|
665
665
|
new URL(str);
|
|
666
666
|
return true;
|
|
@@ -669,31 +669,31 @@ function isAbsoluteURL$1(str) {
|
|
|
669
669
|
return false;
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
|
-
url$
|
|
672
|
+
url$2.isAbsoluteURL = isAbsoluteURL;
|
|
673
673
|
|
|
674
|
-
var regexp
|
|
674
|
+
var regexp = {};
|
|
675
675
|
|
|
676
|
-
regexp
|
|
677
|
-
function isRegExp
|
|
676
|
+
regexp.isntRegExp = regexp.isRegExp = void 0;
|
|
677
|
+
function isRegExp(val) {
|
|
678
678
|
return val instanceof RegExp;
|
|
679
679
|
}
|
|
680
|
-
regexp
|
|
681
|
-
function isntRegExp
|
|
682
|
-
return !isRegExp
|
|
680
|
+
regexp.isRegExp = isRegExp;
|
|
681
|
+
function isntRegExp(val) {
|
|
682
|
+
return !isRegExp(val);
|
|
683
683
|
}
|
|
684
|
-
regexp
|
|
684
|
+
regexp.isntRegExp = isntRegExp;
|
|
685
685
|
|
|
686
|
-
var symbol
|
|
686
|
+
var symbol = {};
|
|
687
687
|
|
|
688
|
-
symbol
|
|
689
|
-
function isSymbol
|
|
688
|
+
symbol.isntSymbol = symbol.isSymbol = void 0;
|
|
689
|
+
function isSymbol(val) {
|
|
690
690
|
return typeof val === 'symbol';
|
|
691
691
|
}
|
|
692
|
-
symbol
|
|
693
|
-
function isntSymbol
|
|
694
|
-
return !isSymbol
|
|
692
|
+
symbol.isSymbol = isSymbol;
|
|
693
|
+
function isntSymbol(val) {
|
|
694
|
+
return !isSymbol(val);
|
|
695
695
|
}
|
|
696
|
-
symbol
|
|
696
|
+
symbol.isntSymbol = isntSymbol;
|
|
697
697
|
|
|
698
698
|
(function (exports) {
|
|
699
699
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -709,33 +709,33 @@ symbol$1.isntSymbol = isntSymbol$1;
|
|
|
709
709
|
}));
|
|
710
710
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
711
711
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
712
|
-
};__exportStar(array
|
|
713
|
-
__exportStar(asyncIterable
|
|
714
|
-
__exportStar(bigint
|
|
715
|
-
__exportStar(boolean
|
|
716
|
-
__exportStar(char
|
|
717
|
-
__exportStar(date
|
|
718
|
-
__exportStar(_enum$
|
|
719
|
-
__exportStar(error
|
|
720
|
-
__exportStar(falsy
|
|
721
|
-
__exportStar(_function
|
|
722
|
-
__exportStar(iterable
|
|
723
|
-
__exportStar(json$
|
|
724
|
-
__exportStar(_null
|
|
725
|
-
__exportStar(number
|
|
726
|
-
__exportStar(object
|
|
727
|
-
__exportStar(promise
|
|
728
|
-
__exportStar(string
|
|
729
|
-
__exportStar(_undefined
|
|
730
|
-
__exportStar(url$
|
|
731
|
-
__exportStar(regexp
|
|
732
|
-
__exportStar(symbol
|
|
712
|
+
};__exportStar(array, exports);
|
|
713
|
+
__exportStar(asyncIterable, exports);
|
|
714
|
+
__exportStar(bigint, exports);
|
|
715
|
+
__exportStar(boolean, exports);
|
|
716
|
+
__exportStar(char, exports);
|
|
717
|
+
__exportStar(date, exports);
|
|
718
|
+
__exportStar(_enum$1, exports);
|
|
719
|
+
__exportStar(error, exports);
|
|
720
|
+
__exportStar(falsy, exports);
|
|
721
|
+
__exportStar(_function, exports);
|
|
722
|
+
__exportStar(iterable, exports);
|
|
723
|
+
__exportStar(json$2, exports);
|
|
724
|
+
__exportStar(_null, exports);
|
|
725
|
+
__exportStar(number, exports);
|
|
726
|
+
__exportStar(object, exports);
|
|
727
|
+
__exportStar(promise, exports);
|
|
728
|
+
__exportStar(string, exports);
|
|
729
|
+
__exportStar(_undefined, exports);
|
|
730
|
+
__exportStar(url$2, exports);
|
|
731
|
+
__exportStar(regexp, exports);
|
|
732
|
+
__exportStar(symbol, exports);
|
|
733
733
|
|
|
734
|
-
} (es2018$
|
|
734
|
+
} (es2018$a));
|
|
735
735
|
|
|
736
736
|
request$1.del = request$1.patch = request$1.put = request$1.post = request$1.head = request$1.get = void 0;
|
|
737
|
-
const extra_fetch_1$7 = es2018$
|
|
738
|
-
const types_1$m = es2018$
|
|
737
|
+
const extra_fetch_1$7 = es2018$c;
|
|
738
|
+
const types_1$m = es2018$a;
|
|
739
739
|
function get(...transformers) {
|
|
740
740
|
return request('GET', ...transformers);
|
|
741
741
|
}
|
|
@@ -792,14 +792,14 @@ function request(method, ...transformers) {
|
|
|
792
792
|
};__exportStar(types, exports);
|
|
793
793
|
__exportStar(request$1, exports);
|
|
794
794
|
|
|
795
|
-
} (es2018$
|
|
795
|
+
} (es2018$b));
|
|
796
796
|
|
|
797
797
|
var transformers = {};
|
|
798
798
|
|
|
799
|
-
var url$
|
|
799
|
+
var url$1 = {};
|
|
800
800
|
|
|
801
|
-
url$
|
|
802
|
-
function url
|
|
801
|
+
url$1.url = void 0;
|
|
802
|
+
function url(...urls) {
|
|
803
803
|
return (options) => {
|
|
804
804
|
const url = new URL(urls.reduce((acc, cur) => new URL(cur, acc).href));
|
|
805
805
|
return {
|
|
@@ -808,12 +808,12 @@ function url$1(...urls) {
|
|
|
808
808
|
};
|
|
809
809
|
};
|
|
810
810
|
}
|
|
811
|
-
url$
|
|
811
|
+
url$1.url = url;
|
|
812
812
|
|
|
813
813
|
var text$1 = {};
|
|
814
814
|
|
|
815
815
|
text$1.text = void 0;
|
|
816
|
-
const extra_fetch_1$6 = es2018$
|
|
816
|
+
const extra_fetch_1$6 = es2018$c;
|
|
817
817
|
function text(payload) {
|
|
818
818
|
return (options) => {
|
|
819
819
|
const headers = new extra_fetch_1$6.Headers(options.headers);
|
|
@@ -827,11 +827,11 @@ function text(payload) {
|
|
|
827
827
|
}
|
|
828
828
|
text$1.text = text;
|
|
829
829
|
|
|
830
|
-
var json$
|
|
830
|
+
var json$1 = {};
|
|
831
831
|
|
|
832
|
-
json$
|
|
833
|
-
const extra_fetch_1$5 = es2018$
|
|
834
|
-
function json
|
|
832
|
+
json$1.json = void 0;
|
|
833
|
+
const extra_fetch_1$5 = es2018$c;
|
|
834
|
+
function json(payload) {
|
|
835
835
|
return (options) => {
|
|
836
836
|
const headers = new extra_fetch_1$5.Headers(options.headers);
|
|
837
837
|
headers.set('Content-Type', 'application/json');
|
|
@@ -842,7 +842,7 @@ function json$1(payload) {
|
|
|
842
842
|
};
|
|
843
843
|
};
|
|
844
844
|
}
|
|
845
|
-
json$
|
|
845
|
+
json$1.json = json;
|
|
846
846
|
|
|
847
847
|
var csv$1 = {};
|
|
848
848
|
|
|
@@ -2717,17 +2717,17 @@ License: MIT
|
|
|
2717
2717
|
}));
|
|
2718
2718
|
} (papaparse));
|
|
2719
2719
|
|
|
2720
|
-
var es2018$
|
|
2720
|
+
var es2018$9 = {};
|
|
2721
2721
|
|
|
2722
2722
|
var customError$1 = {};
|
|
2723
2723
|
|
|
2724
|
-
var es2018$
|
|
2724
|
+
var es2018$8 = {};
|
|
2725
2725
|
|
|
2726
2726
|
var middleware = {};
|
|
2727
2727
|
|
|
2728
2728
|
var chunkAsync = {};
|
|
2729
2729
|
|
|
2730
|
-
var es2018$
|
|
2730
|
+
var es2018$7 = {};
|
|
2731
2731
|
|
|
2732
2732
|
var go$1 = {};
|
|
2733
2733
|
|
|
@@ -2756,11 +2756,11 @@ goMicrotask$1.goMicrotask = goMicrotask;
|
|
|
2756
2756
|
|
|
2757
2757
|
var goMacrotask$1 = {};
|
|
2758
2758
|
|
|
2759
|
-
var es2018$
|
|
2759
|
+
var es2018$6 = {};
|
|
2760
2760
|
|
|
2761
2761
|
var exponentialBackoff = {};
|
|
2762
2762
|
|
|
2763
|
-
var es2018$
|
|
2763
|
+
var es2018$5 = {};
|
|
2764
2764
|
|
|
2765
2765
|
var random$1 = {};
|
|
2766
2766
|
|
|
@@ -2772,572 +2772,173 @@ random$1.random = random;
|
|
|
2772
2772
|
|
|
2773
2773
|
var randomInt$1 = {};
|
|
2774
2774
|
|
|
2775
|
-
randomInt$1.randomInt = void 0;
|
|
2776
|
-
function randomInt(min, max) {
|
|
2777
|
-
min = Math.ceil(min);
|
|
2778
|
-
max = Math.floor(max);
|
|
2779
|
-
return Math.floor(Math.random() * (max - min)) + min;
|
|
2780
|
-
}
|
|
2781
|
-
randomInt$1.randomInt = randomInt;
|
|
2782
|
-
|
|
2783
|
-
var randomIntInclusive$1 = {};
|
|
2784
|
-
|
|
2785
|
-
randomIntInclusive$1.randomIntInclusive = void 0;
|
|
2786
|
-
function randomIntInclusive(min, max) {
|
|
2787
|
-
min = Math.ceil(min);
|
|
2788
|
-
max = Math.floor(max);
|
|
2789
|
-
return Math.floor(Math.random() * (max - min + 1)) + min;
|
|
2790
|
-
}
|
|
2791
|
-
randomIntInclusive$1.randomIntInclusive = randomIntInclusive;
|
|
2792
|
-
|
|
2793
|
-
(function (exports) {
|
|
2794
|
-
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2795
|
-
if (k2 === undefined) k2 = k;
|
|
2796
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2797
|
-
}) : (function(o, m, k, k2) {
|
|
2798
|
-
if (k2 === undefined) k2 = k;
|
|
2799
|
-
o[k2] = m[k];
|
|
2800
|
-
}));
|
|
2801
|
-
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2802
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2803
|
-
};__exportStar(random$1, exports);
|
|
2804
|
-
__exportStar(randomInt$1, exports);
|
|
2805
|
-
__exportStar(randomIntInclusive$1, exports);
|
|
2806
|
-
|
|
2807
|
-
} (es2018$6));
|
|
2808
|
-
|
|
2809
|
-
exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
|
|
2810
|
-
const extra_rand_1 = es2018$6;
|
|
2811
|
-
function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
|
|
2812
|
-
const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
|
|
2813
|
-
if (jitter) {
|
|
2814
|
-
return (0, extra_rand_1.randomIntInclusive)(0, timeout);
|
|
2815
|
-
}
|
|
2816
|
-
else {
|
|
2817
|
-
return timeout;
|
|
2818
|
-
}
|
|
2819
|
-
}
|
|
2820
|
-
exponentialBackoff.calculateExponentialBackoffTimeout = calculateExponentialBackoffTimeout;
|
|
2821
|
-
|
|
2822
|
-
var setTimeout$2 = {};
|
|
2823
|
-
|
|
2824
|
-
setTimeout$2.setTimeout = void 0;
|
|
2825
|
-
function setTimeout$1(timeout, cb) {
|
|
2826
|
-
const timer = globalThis.setTimeout(cb, timeout);
|
|
2827
|
-
return () => clearTimeout(timer);
|
|
2828
|
-
}
|
|
2829
|
-
setTimeout$2.setTimeout = setTimeout$1;
|
|
2830
|
-
|
|
2831
|
-
var setSchedule$1 = {};
|
|
2832
|
-
|
|
2833
|
-
setSchedule$1.setSchedule = void 0;
|
|
2834
|
-
const set_timeout_1$3 = setTimeout$2;
|
|
2835
|
-
function setSchedule(timestamp, cb) {
|
|
2836
|
-
const timeout = timestamp - Date.now();
|
|
2837
|
-
return (0, set_timeout_1$3.setTimeout)(timeout, cb);
|
|
2838
|
-
}
|
|
2839
|
-
setSchedule$1.setSchedule = setSchedule;
|
|
2840
|
-
|
|
2841
|
-
var setInterval$1 = {};
|
|
2842
|
-
|
|
2843
|
-
setInterval$1.setInterval = void 0;
|
|
2844
|
-
function setInterval(timeout, cb) {
|
|
2845
|
-
const timer = globalThis.setInterval(cb, timeout);
|
|
2846
|
-
return () => clearInterval(timer);
|
|
2847
|
-
}
|
|
2848
|
-
setInterval$1.setInterval = setInterval;
|
|
2849
|
-
|
|
2850
|
-
var setImmediate$1 = {};
|
|
2851
|
-
|
|
2852
|
-
setImmediate$1.setImmediate = void 0;
|
|
2853
|
-
const set_timeout_1$2 = setTimeout$2;
|
|
2854
|
-
function setImmediate(cb) {
|
|
2855
|
-
if (globalThis.setImmediate) {
|
|
2856
|
-
const timer = globalThis.setImmediate(cb);
|
|
2857
|
-
return () => clearImmediate(timer);
|
|
2858
|
-
}
|
|
2859
|
-
else {
|
|
2860
|
-
return (0, set_timeout_1$2.setTimeout)(0, cb);
|
|
2861
|
-
}
|
|
2862
|
-
}
|
|
2863
|
-
setImmediate$1.setImmediate = setImmediate;
|
|
2864
|
-
|
|
2865
|
-
var setTimeoutLoop$1 = {};
|
|
2866
|
-
|
|
2867
|
-
setTimeoutLoop$1.setTimeoutLoop = void 0;
|
|
2868
|
-
const set_timeout_1$1 = setTimeout$2;
|
|
2869
|
-
function setTimeoutLoop(timeout, cb) {
|
|
2870
|
-
let isCancelled = false;
|
|
2871
|
-
let cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2872
|
-
return () => {
|
|
2873
|
-
isCancelled = true;
|
|
2874
|
-
cancel();
|
|
2875
|
-
};
|
|
2876
|
-
async function loop() {
|
|
2877
|
-
await cb();
|
|
2878
|
-
if (!isCancelled) {
|
|
2879
|
-
cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2880
|
-
}
|
|
2881
|
-
}
|
|
2882
|
-
}
|
|
2883
|
-
setTimeoutLoop$1.setTimeoutLoop = setTimeoutLoop;
|
|
2884
|
-
|
|
2885
|
-
var setDynamicTimeoutLoop$1 = {};
|
|
2886
|
-
|
|
2887
|
-
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = void 0;
|
|
2888
|
-
const set_timeout_1 = setTimeout$2;
|
|
2889
|
-
function setDynamicTimeoutLoop(timeout, cb) {
|
|
2890
|
-
let isCancelled = false;
|
|
2891
|
-
let cancel = (0, set_timeout_1.setTimeout)(timeout, loop);
|
|
2892
|
-
return () => {
|
|
2893
|
-
isCancelled = true;
|
|
2894
|
-
cancel();
|
|
2895
|
-
};
|
|
2896
|
-
async function loop() {
|
|
2897
|
-
const start = Date.now();
|
|
2898
|
-
await cb();
|
|
2899
|
-
const elapsed = Date.now() - start;
|
|
2900
|
-
if (!isCancelled) {
|
|
2901
|
-
cancel = (0, set_timeout_1.setTimeout)(Math.max(timeout - elapsed, 0), loop);
|
|
2902
|
-
}
|
|
2903
|
-
}
|
|
2904
|
-
}
|
|
2905
|
-
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = setDynamicTimeoutLoop;
|
|
2906
|
-
|
|
2907
|
-
(function (exports) {
|
|
2908
|
-
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2909
|
-
if (k2 === undefined) k2 = k;
|
|
2910
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2911
|
-
}) : (function(o, m, k, k2) {
|
|
2912
|
-
if (k2 === undefined) k2 = k;
|
|
2913
|
-
o[k2] = m[k];
|
|
2914
|
-
}));
|
|
2915
|
-
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2916
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2917
|
-
};__exportStar(exponentialBackoff, exports);
|
|
2918
|
-
__exportStar(setTimeout$2, exports);
|
|
2919
|
-
__exportStar(setSchedule$1, exports);
|
|
2920
|
-
__exportStar(setInterval$1, exports);
|
|
2921
|
-
__exportStar(setImmediate$1, exports);
|
|
2922
|
-
__exportStar(setTimeoutLoop$1, exports);
|
|
2923
|
-
__exportStar(setDynamicTimeoutLoop$1, exports);
|
|
2924
|
-
|
|
2925
|
-
} (es2018$7));
|
|
2926
|
-
|
|
2927
|
-
goMacrotask$1.goMacrotask = void 0;
|
|
2928
|
-
const extra_timers_1 = es2018$7;
|
|
2929
|
-
function goMacrotask(fn) {
|
|
2930
|
-
return new Promise((resolve, reject) => {
|
|
2931
|
-
(0, extra_timers_1.setImmediate)(async () => {
|
|
2932
|
-
try {
|
|
2933
|
-
resolve(await fn());
|
|
2934
|
-
}
|
|
2935
|
-
catch (e) {
|
|
2936
|
-
reject(e);
|
|
2937
|
-
}
|
|
2938
|
-
});
|
|
2939
|
-
});
|
|
2940
|
-
}
|
|
2941
|
-
goMacrotask$1.goMacrotask = goMacrotask;
|
|
2942
|
-
|
|
2943
|
-
(function (exports) {
|
|
2944
|
-
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2945
|
-
if (k2 === undefined) k2 = k;
|
|
2946
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2947
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2948
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
2949
|
-
}
|
|
2950
|
-
Object.defineProperty(o, k2, desc);
|
|
2951
|
-
}) : (function(o, m, k, k2) {
|
|
2952
|
-
if (k2 === undefined) k2 = k;
|
|
2953
|
-
o[k2] = m[k];
|
|
2954
|
-
}));
|
|
2955
|
-
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2956
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2957
|
-
};__exportStar(go$1, exports);
|
|
2958
|
-
__exportStar(goMicrotask$1, exports);
|
|
2959
|
-
__exportStar(goMacrotask$1, exports);
|
|
2960
|
-
|
|
2961
|
-
} (es2018$8));
|
|
2962
|
-
|
|
2963
|
-
var hasRequiredChunkAsync;
|
|
2964
|
-
|
|
2965
|
-
function requireChunkAsync () {
|
|
2966
|
-
if (hasRequiredChunkAsync) return chunkAsync;
|
|
2967
|
-
hasRequiredChunkAsync = 1;
|
|
2968
|
-
chunkAsync.chunkAsync = void 0;
|
|
2969
|
-
const go_1 = es2018$8;
|
|
2970
|
-
const errors_1 = requireEs2018();
|
|
2971
|
-
function chunkAsync$1(iterable, size) {
|
|
2972
|
-
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
2973
|
-
(0, errors_1.assert)(size > 0, 'The parameter size must be greater than 0');
|
|
2974
|
-
return (0, go_1.go)(async function* () {
|
|
2975
|
-
let buffer = [];
|
|
2976
|
-
for await (const element of iterable) {
|
|
2977
|
-
buffer.push(element);
|
|
2978
|
-
if (buffer.length >= size) {
|
|
2979
|
-
yield buffer;
|
|
2980
|
-
buffer = [];
|
|
2981
|
-
}
|
|
2982
|
-
}
|
|
2983
|
-
if (buffer.length)
|
|
2984
|
-
yield buffer;
|
|
2985
|
-
});
|
|
2986
|
-
}
|
|
2987
|
-
chunkAsync.chunkAsync = chunkAsync$1;
|
|
2988
|
-
|
|
2989
|
-
return chunkAsync;
|
|
2990
|
-
}
|
|
2991
|
-
|
|
2992
|
-
var chunkByAsync$1 = {};
|
|
2993
|
-
|
|
2994
|
-
var es2018$5 = {};
|
|
2995
|
-
|
|
2996
|
-
var array = {};
|
|
2997
|
-
|
|
2998
|
-
array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
|
|
2999
|
-
function isArray(val) {
|
|
3000
|
-
return Array.isArray(val);
|
|
3001
|
-
}
|
|
3002
|
-
array.isArray = isArray;
|
|
3003
|
-
function isntArray(val) {
|
|
3004
|
-
return !isArray(val);
|
|
3005
|
-
}
|
|
3006
|
-
array.isntArray = isntArray;
|
|
3007
|
-
function isEmptyArray(val) {
|
|
3008
|
-
return val.length === 0;
|
|
3009
|
-
}
|
|
3010
|
-
array.isEmptyArray = isEmptyArray;
|
|
3011
|
-
function isntEmptyArray(val) {
|
|
3012
|
-
return val.length !== 0;
|
|
3013
|
-
}
|
|
3014
|
-
array.isntEmptyArray = isntEmptyArray;
|
|
3015
|
-
|
|
3016
|
-
var asyncIterable = {};
|
|
3017
|
-
|
|
3018
|
-
var _null = {};
|
|
3019
|
-
|
|
3020
|
-
_null.isntNull = _null.isNull = void 0;
|
|
3021
|
-
function isNull(val) {
|
|
3022
|
-
return val === null;
|
|
3023
|
-
}
|
|
3024
|
-
_null.isNull = isNull;
|
|
3025
|
-
function isntNull(val) {
|
|
3026
|
-
return !isNull(val);
|
|
3027
|
-
}
|
|
3028
|
-
_null.isntNull = isntNull;
|
|
3029
|
-
|
|
3030
|
-
var _undefined = {};
|
|
3031
|
-
|
|
3032
|
-
_undefined.isntUndefined = _undefined.isUndefined = void 0;
|
|
3033
|
-
function isUndefined(val) {
|
|
3034
|
-
return val === undefined;
|
|
3035
|
-
}
|
|
3036
|
-
_undefined.isUndefined = isUndefined;
|
|
3037
|
-
function isntUndefined(val) {
|
|
3038
|
-
return !isUndefined(val);
|
|
3039
|
-
}
|
|
3040
|
-
_undefined.isntUndefined = isntUndefined;
|
|
3041
|
-
|
|
3042
|
-
var _function = {};
|
|
3043
|
-
|
|
3044
|
-
_function.isntFunction = _function.isFunction = void 0;
|
|
3045
|
-
function isFunction(val) {
|
|
3046
|
-
return typeof val === 'function';
|
|
3047
|
-
}
|
|
3048
|
-
_function.isFunction = isFunction;
|
|
3049
|
-
function isntFunction(val) {
|
|
3050
|
-
return !isFunction(val);
|
|
3051
|
-
}
|
|
3052
|
-
_function.isntFunction = isntFunction;
|
|
3053
|
-
|
|
3054
|
-
asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
|
|
3055
|
-
const null_1$2 = _null;
|
|
3056
|
-
const undefined_1$1 = _undefined;
|
|
3057
|
-
const function_1$2 = _function;
|
|
3058
|
-
function isAsyncIterable(val) {
|
|
3059
|
-
return (0, null_1$2.isntNull)(val)
|
|
3060
|
-
&& (0, undefined_1$1.isntUndefined)(val)
|
|
3061
|
-
&& (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
|
|
3062
|
-
}
|
|
3063
|
-
asyncIterable.isAsyncIterable = isAsyncIterable;
|
|
3064
|
-
function isntAsyncIterable(val) {
|
|
3065
|
-
return !isAsyncIterable(val);
|
|
3066
|
-
}
|
|
3067
|
-
asyncIterable.isntAsyncIterable = isntAsyncIterable;
|
|
3068
|
-
|
|
3069
|
-
var bigint = {};
|
|
3070
|
-
|
|
3071
|
-
bigint.isntBigInt = bigint.isBigInt = void 0;
|
|
3072
|
-
function isBigInt(val) {
|
|
3073
|
-
return typeof val === 'bigint';
|
|
3074
|
-
}
|
|
3075
|
-
bigint.isBigInt = isBigInt;
|
|
3076
|
-
function isntBigInt(val) {
|
|
3077
|
-
return !isBigInt(val);
|
|
3078
|
-
}
|
|
3079
|
-
bigint.isntBigInt = isntBigInt;
|
|
3080
|
-
|
|
3081
|
-
var boolean = {};
|
|
3082
|
-
|
|
3083
|
-
boolean.isntBoolean = boolean.isBoolean = void 0;
|
|
3084
|
-
function isBoolean(val) {
|
|
3085
|
-
return typeof val === 'boolean';
|
|
3086
|
-
}
|
|
3087
|
-
boolean.isBoolean = isBoolean;
|
|
3088
|
-
function isntBoolean(val) {
|
|
3089
|
-
return !isBoolean(val);
|
|
3090
|
-
}
|
|
3091
|
-
boolean.isntBoolean = isntBoolean;
|
|
3092
|
-
|
|
3093
|
-
var char = {};
|
|
3094
|
-
|
|
3095
|
-
var string = {};
|
|
3096
|
-
|
|
3097
|
-
string.isntString = string.isString = void 0;
|
|
3098
|
-
function isString(val) {
|
|
3099
|
-
return typeof val === 'string';
|
|
3100
|
-
}
|
|
3101
|
-
string.isString = isString;
|
|
3102
|
-
function isntString(val) {
|
|
3103
|
-
return !isString(val);
|
|
3104
|
-
}
|
|
3105
|
-
string.isntString = isntString;
|
|
3106
|
-
|
|
3107
|
-
char.isntChar = char.isChar = void 0;
|
|
3108
|
-
const string_1$1 = string;
|
|
3109
|
-
function isChar(val) {
|
|
3110
|
-
return (0, string_1$1.isString)(val)
|
|
3111
|
-
&& val.length === 1;
|
|
3112
|
-
}
|
|
3113
|
-
char.isChar = isChar;
|
|
3114
|
-
function isntChar(val) {
|
|
3115
|
-
return !isChar(val);
|
|
3116
|
-
}
|
|
3117
|
-
char.isntChar = isntChar;
|
|
3118
|
-
|
|
3119
|
-
var date = {};
|
|
3120
|
-
|
|
3121
|
-
date.isntDate = date.isDate = void 0;
|
|
3122
|
-
function isDate(val) {
|
|
3123
|
-
return val instanceof Date;
|
|
3124
|
-
}
|
|
3125
|
-
date.isDate = isDate;
|
|
3126
|
-
function isntDate(val) {
|
|
3127
|
-
return !isDate(val);
|
|
3128
|
-
}
|
|
3129
|
-
date.isntDate = isntDate;
|
|
3130
|
-
|
|
3131
|
-
var _enum$1 = {};
|
|
3132
|
-
|
|
3133
|
-
_enum$1.inEnum = void 0;
|
|
3134
|
-
function inEnum(val, _enum) {
|
|
3135
|
-
return Object.values(_enum).includes(val);
|
|
3136
|
-
}
|
|
3137
|
-
_enum$1.inEnum = inEnum;
|
|
3138
|
-
|
|
3139
|
-
var error = {};
|
|
3140
|
-
|
|
3141
|
-
error.isntError = error.isError = void 0;
|
|
3142
|
-
function isError(val) {
|
|
3143
|
-
return val instanceof Error;
|
|
3144
|
-
}
|
|
3145
|
-
error.isError = isError;
|
|
3146
|
-
function isntError(val) {
|
|
3147
|
-
return !isError(val);
|
|
3148
|
-
}
|
|
3149
|
-
error.isntError = isntError;
|
|
3150
|
-
|
|
3151
|
-
var falsy = {};
|
|
3152
|
-
|
|
3153
|
-
falsy.isntFalsy = falsy.isFalsy = void 0;
|
|
3154
|
-
function isFalsy(val) {
|
|
3155
|
-
return !val;
|
|
3156
|
-
}
|
|
3157
|
-
falsy.isFalsy = isFalsy;
|
|
3158
|
-
function isntFalsy(val) {
|
|
3159
|
-
return !isFalsy(val);
|
|
3160
|
-
}
|
|
3161
|
-
falsy.isntFalsy = isntFalsy;
|
|
3162
|
-
|
|
3163
|
-
var iterable = {};
|
|
3164
|
-
|
|
3165
|
-
iterable.isntIterable = iterable.isIterable = void 0;
|
|
3166
|
-
const null_1$1 = _null;
|
|
3167
|
-
const undefined_1 = _undefined;
|
|
3168
|
-
const function_1$1 = _function;
|
|
3169
|
-
function isIterable(val) {
|
|
3170
|
-
return (0, null_1$1.isntNull)(val)
|
|
3171
|
-
&& (0, undefined_1.isntUndefined)(val)
|
|
3172
|
-
&& (0, function_1$1.isFunction)(val[Symbol.iterator]);
|
|
3173
|
-
}
|
|
3174
|
-
iterable.isIterable = isIterable;
|
|
3175
|
-
function isntIterable(val) {
|
|
3176
|
-
return !isIterable(val);
|
|
3177
|
-
}
|
|
3178
|
-
iterable.isntIterable = isntIterable;
|
|
3179
|
-
|
|
3180
|
-
var json = {};
|
|
3181
|
-
|
|
3182
|
-
var number = {};
|
|
3183
|
-
|
|
3184
|
-
number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
|
|
3185
|
-
function isNumber(val) {
|
|
3186
|
-
return typeof val === 'number';
|
|
3187
|
-
}
|
|
3188
|
-
number.isNumber = isNumber;
|
|
3189
|
-
function isntNumber(val) {
|
|
3190
|
-
return !isNumber(val);
|
|
3191
|
-
}
|
|
3192
|
-
number.isntNumber = isntNumber;
|
|
3193
|
-
function isFinite(val) {
|
|
3194
|
-
return Number.isFinite(val);
|
|
3195
|
-
}
|
|
3196
|
-
number.isFinite = isFinite;
|
|
3197
|
-
function isPositiveInfinity(val) {
|
|
3198
|
-
return val === Infinity;
|
|
3199
|
-
}
|
|
3200
|
-
number.isPositiveInfinity = isPositiveInfinity;
|
|
3201
|
-
function isNegativeInfinity(val) {
|
|
3202
|
-
return val === -Infinity;
|
|
3203
|
-
}
|
|
3204
|
-
number.isNegativeInfinity = isNegativeInfinity;
|
|
3205
|
-
function isNaN(val) {
|
|
3206
|
-
return Number.isNaN(val);
|
|
3207
|
-
}
|
|
3208
|
-
number.isNaN = isNaN;
|
|
3209
|
-
function isntNaN(val) {
|
|
3210
|
-
return !isNaN(val);
|
|
3211
|
-
}
|
|
3212
|
-
number.isntNaN = isntNaN;
|
|
3213
|
-
|
|
3214
|
-
var object = {};
|
|
3215
|
-
|
|
3216
|
-
var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
3217
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
3218
|
-
};object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
|
|
3219
|
-
const isPlainObject_1 = __importDefault$1(isPlainObject_1$2);
|
|
3220
|
-
function isObject(val) {
|
|
3221
|
-
return val !== null
|
|
3222
|
-
&& typeof val === 'object';
|
|
3223
|
-
}
|
|
3224
|
-
object.isObject = isObject;
|
|
3225
|
-
function isntObject(val) {
|
|
3226
|
-
return !isObject(val);
|
|
3227
|
-
}
|
|
3228
|
-
object.isntObject = isntObject;
|
|
3229
|
-
function isPlainObject(val) {
|
|
3230
|
-
return (0, isPlainObject_1.default)(val);
|
|
3231
|
-
}
|
|
3232
|
-
object.isPlainObject = isPlainObject;
|
|
3233
|
-
function isntPlainObject(val) {
|
|
3234
|
-
return !isPlainObject(val);
|
|
3235
|
-
}
|
|
3236
|
-
object.isntPlainObject = isntPlainObject;
|
|
3237
|
-
function isEmptyObject(val) {
|
|
3238
|
-
return Object.keys(val).length === 0;
|
|
3239
|
-
}
|
|
3240
|
-
object.isEmptyObject = isEmptyObject;
|
|
3241
|
-
function isntEmptyObject(val) {
|
|
3242
|
-
return Object.keys(val).length !== 0;
|
|
3243
|
-
}
|
|
3244
|
-
object.isntEmptyObject = isntEmptyObject;
|
|
3245
|
-
|
|
3246
|
-
json.isntJsonable = json.isJsonable = json.isntJson = json.isJson = void 0;
|
|
3247
|
-
const null_1 = _null;
|
|
3248
|
-
const boolean_1 = boolean;
|
|
3249
|
-
const string_1 = string;
|
|
3250
|
-
const number_1 = number;
|
|
3251
|
-
const array_1 = array;
|
|
3252
|
-
const object_1$1 = object;
|
|
3253
|
-
function isJson(val) {
|
|
3254
|
-
return (0, null_1.isNull)(val)
|
|
3255
|
-
|| (0, boolean_1.isBoolean)(val)
|
|
3256
|
-
|| (0, string_1.isString)(val)
|
|
3257
|
-
|| (0, number_1.isNumber)(val)
|
|
3258
|
-
|| ((0, array_1.isArray)(val) && val.every(isJson))
|
|
3259
|
-
|| ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
|
|
2775
|
+
randomInt$1.randomInt = void 0;
|
|
2776
|
+
function randomInt(min, max) {
|
|
2777
|
+
min = Math.ceil(min);
|
|
2778
|
+
max = Math.floor(max);
|
|
2779
|
+
return Math.floor(Math.random() * (max - min)) + min;
|
|
3260
2780
|
}
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
2781
|
+
randomInt$1.randomInt = randomInt;
|
|
2782
|
+
|
|
2783
|
+
var randomIntInclusive$1 = {};
|
|
2784
|
+
|
|
2785
|
+
randomIntInclusive$1.randomIntInclusive = void 0;
|
|
2786
|
+
function randomIntInclusive(min, max) {
|
|
2787
|
+
min = Math.ceil(min);
|
|
2788
|
+
max = Math.floor(max);
|
|
2789
|
+
return Math.floor(Math.random() * (max - min + 1)) + min;
|
|
3264
2790
|
}
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
2791
|
+
randomIntInclusive$1.randomIntInclusive = randomIntInclusive;
|
|
2792
|
+
|
|
2793
|
+
(function (exports) {
|
|
2794
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2795
|
+
if (k2 === undefined) k2 = k;
|
|
2796
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2797
|
+
}) : (function(o, m, k, k2) {
|
|
2798
|
+
if (k2 === undefined) k2 = k;
|
|
2799
|
+
o[k2] = m[k];
|
|
2800
|
+
}));
|
|
2801
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2802
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2803
|
+
};__exportStar(random$1, exports);
|
|
2804
|
+
__exportStar(randomInt$1, exports);
|
|
2805
|
+
__exportStar(randomIntInclusive$1, exports);
|
|
2806
|
+
|
|
2807
|
+
} (es2018$5));
|
|
2808
|
+
|
|
2809
|
+
exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
|
|
2810
|
+
const extra_rand_1 = es2018$5;
|
|
2811
|
+
function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
|
|
2812
|
+
const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
|
|
2813
|
+
if (jitter) {
|
|
2814
|
+
return (0, extra_rand_1.randomIntInclusive)(0, timeout);
|
|
3270
2815
|
}
|
|
3271
|
-
|
|
3272
|
-
return
|
|
2816
|
+
else {
|
|
2817
|
+
return timeout;
|
|
3273
2818
|
}
|
|
3274
2819
|
}
|
|
3275
|
-
|
|
3276
|
-
function isntJsonable(val) {
|
|
3277
|
-
return !isntJsonable();
|
|
3278
|
-
}
|
|
3279
|
-
json.isntJsonable = isntJsonable;
|
|
2820
|
+
exponentialBackoff.calculateExponentialBackoffTimeout = calculateExponentialBackoffTimeout;
|
|
3280
2821
|
|
|
3281
|
-
var
|
|
2822
|
+
var setTimeout$2 = {};
|
|
3282
2823
|
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
const
|
|
3286
|
-
|
|
3287
|
-
return val instanceof Promise;
|
|
3288
|
-
}
|
|
3289
|
-
promise.isPromise = isPromise;
|
|
3290
|
-
function isntPromise(val) {
|
|
3291
|
-
return !isPromise(val);
|
|
2824
|
+
setTimeout$2.setTimeout = void 0;
|
|
2825
|
+
function setTimeout$1(timeout, cb) {
|
|
2826
|
+
const timer = globalThis.setTimeout(cb, timeout);
|
|
2827
|
+
return () => clearTimeout(timer);
|
|
3292
2828
|
}
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
2829
|
+
setTimeout$2.setTimeout = setTimeout$1;
|
|
2830
|
+
|
|
2831
|
+
var setSchedule$1 = {};
|
|
2832
|
+
|
|
2833
|
+
setSchedule$1.setSchedule = void 0;
|
|
2834
|
+
const set_timeout_1$3 = setTimeout$2;
|
|
2835
|
+
function setSchedule(timestamp, cb) {
|
|
2836
|
+
const timeout = timestamp - Date.now();
|
|
2837
|
+
return (0, set_timeout_1$3.setTimeout)(timeout, cb);
|
|
3296
2838
|
}
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
2839
|
+
setSchedule$1.setSchedule = setSchedule;
|
|
2840
|
+
|
|
2841
|
+
var setInterval$1 = {};
|
|
2842
|
+
|
|
2843
|
+
setInterval$1.setInterval = void 0;
|
|
2844
|
+
function setInterval(timeout, cb) {
|
|
2845
|
+
const timer = globalThis.setInterval(cb, timeout);
|
|
2846
|
+
return () => clearInterval(timer);
|
|
3301
2847
|
}
|
|
3302
|
-
|
|
2848
|
+
setInterval$1.setInterval = setInterval;
|
|
3303
2849
|
|
|
3304
|
-
var
|
|
2850
|
+
var setImmediate$1 = {};
|
|
3305
2851
|
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
2852
|
+
setImmediate$1.setImmediate = void 0;
|
|
2853
|
+
const set_timeout_1$2 = setTimeout$2;
|
|
2854
|
+
function setImmediate(cb) {
|
|
2855
|
+
if (globalThis.setImmediate) {
|
|
2856
|
+
const timer = globalThis.setImmediate(cb);
|
|
2857
|
+
return () => clearImmediate(timer);
|
|
3311
2858
|
}
|
|
3312
|
-
|
|
3313
|
-
return
|
|
2859
|
+
else {
|
|
2860
|
+
return (0, set_timeout_1$2.setTimeout)(0, cb);
|
|
3314
2861
|
}
|
|
3315
2862
|
}
|
|
3316
|
-
|
|
2863
|
+
setImmediate$1.setImmediate = setImmediate;
|
|
3317
2864
|
|
|
3318
|
-
var
|
|
2865
|
+
var setTimeoutLoop$1 = {};
|
|
3319
2866
|
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
2867
|
+
setTimeoutLoop$1.setTimeoutLoop = void 0;
|
|
2868
|
+
const set_timeout_1$1 = setTimeout$2;
|
|
2869
|
+
function setTimeoutLoop(timeout, cb) {
|
|
2870
|
+
let isCancelled = false;
|
|
2871
|
+
let cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2872
|
+
return () => {
|
|
2873
|
+
isCancelled = true;
|
|
2874
|
+
cancel();
|
|
2875
|
+
};
|
|
2876
|
+
async function loop() {
|
|
2877
|
+
await cb();
|
|
2878
|
+
if (!isCancelled) {
|
|
2879
|
+
cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2880
|
+
}
|
|
2881
|
+
}
|
|
3327
2882
|
}
|
|
3328
|
-
|
|
2883
|
+
setTimeoutLoop$1.setTimeoutLoop = setTimeoutLoop;
|
|
3329
2884
|
|
|
3330
|
-
var
|
|
2885
|
+
var setDynamicTimeoutLoop$1 = {};
|
|
3331
2886
|
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
2887
|
+
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = void 0;
|
|
2888
|
+
const set_timeout_1 = setTimeout$2;
|
|
2889
|
+
function setDynamicTimeoutLoop(timeout, cb) {
|
|
2890
|
+
let isCancelled = false;
|
|
2891
|
+
let cancel = (0, set_timeout_1.setTimeout)(timeout, loop);
|
|
2892
|
+
return () => {
|
|
2893
|
+
isCancelled = true;
|
|
2894
|
+
cancel();
|
|
2895
|
+
};
|
|
2896
|
+
async function loop() {
|
|
2897
|
+
const start = Date.now();
|
|
2898
|
+
await cb();
|
|
2899
|
+
const elapsed = Date.now() - start;
|
|
2900
|
+
if (!isCancelled) {
|
|
2901
|
+
cancel = (0, set_timeout_1.setTimeout)(Math.max(timeout - elapsed, 0), loop);
|
|
2902
|
+
}
|
|
2903
|
+
}
|
|
3335
2904
|
}
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
2905
|
+
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = setDynamicTimeoutLoop;
|
|
2906
|
+
|
|
2907
|
+
(function (exports) {
|
|
2908
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2909
|
+
if (k2 === undefined) k2 = k;
|
|
2910
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2911
|
+
}) : (function(o, m, k, k2) {
|
|
2912
|
+
if (k2 === undefined) k2 = k;
|
|
2913
|
+
o[k2] = m[k];
|
|
2914
|
+
}));
|
|
2915
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2916
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2917
|
+
};__exportStar(exponentialBackoff, exports);
|
|
2918
|
+
__exportStar(setTimeout$2, exports);
|
|
2919
|
+
__exportStar(setSchedule$1, exports);
|
|
2920
|
+
__exportStar(setInterval$1, exports);
|
|
2921
|
+
__exportStar(setImmediate$1, exports);
|
|
2922
|
+
__exportStar(setTimeoutLoop$1, exports);
|
|
2923
|
+
__exportStar(setDynamicTimeoutLoop$1, exports);
|
|
2924
|
+
|
|
2925
|
+
} (es2018$6));
|
|
2926
|
+
|
|
2927
|
+
goMacrotask$1.goMacrotask = void 0;
|
|
2928
|
+
const extra_timers_1 = es2018$6;
|
|
2929
|
+
function goMacrotask(fn) {
|
|
2930
|
+
return new Promise((resolve, reject) => {
|
|
2931
|
+
(0, extra_timers_1.setImmediate)(async () => {
|
|
2932
|
+
try {
|
|
2933
|
+
resolve(await fn());
|
|
2934
|
+
}
|
|
2935
|
+
catch (e) {
|
|
2936
|
+
reject(e);
|
|
2937
|
+
}
|
|
2938
|
+
});
|
|
2939
|
+
});
|
|
3339
2940
|
}
|
|
3340
|
-
|
|
2941
|
+
goMacrotask$1.goMacrotask = goMacrotask;
|
|
3341
2942
|
|
|
3342
2943
|
(function (exports) {
|
|
3343
2944
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -3353,32 +2954,45 @@ symbol.isntSymbol = isntSymbol;
|
|
|
3353
2954
|
}));
|
|
3354
2955
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
3355
2956
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3356
|
-
};__exportStar(
|
|
3357
|
-
__exportStar(
|
|
3358
|
-
__exportStar(
|
|
3359
|
-
__exportStar(boolean, exports);
|
|
3360
|
-
__exportStar(char, exports);
|
|
3361
|
-
__exportStar(date, exports);
|
|
3362
|
-
__exportStar(_enum$1, exports);
|
|
3363
|
-
__exportStar(error, exports);
|
|
3364
|
-
__exportStar(falsy, exports);
|
|
3365
|
-
__exportStar(_function, exports);
|
|
3366
|
-
__exportStar(iterable, exports);
|
|
3367
|
-
__exportStar(json, exports);
|
|
3368
|
-
__exportStar(_null, exports);
|
|
3369
|
-
__exportStar(number, exports);
|
|
3370
|
-
__exportStar(object, exports);
|
|
3371
|
-
__exportStar(promise, exports);
|
|
3372
|
-
__exportStar(string, exports);
|
|
3373
|
-
__exportStar(_undefined, exports);
|
|
3374
|
-
__exportStar(url, exports);
|
|
3375
|
-
__exportStar(regexp, exports);
|
|
3376
|
-
__exportStar(symbol, exports);
|
|
2957
|
+
};__exportStar(go$1, exports);
|
|
2958
|
+
__exportStar(goMicrotask$1, exports);
|
|
2959
|
+
__exportStar(goMacrotask$1, exports);
|
|
3377
2960
|
|
|
3378
|
-
} (es2018$
|
|
2961
|
+
} (es2018$7));
|
|
2962
|
+
|
|
2963
|
+
var hasRequiredChunkAsync;
|
|
2964
|
+
|
|
2965
|
+
function requireChunkAsync () {
|
|
2966
|
+
if (hasRequiredChunkAsync) return chunkAsync;
|
|
2967
|
+
hasRequiredChunkAsync = 1;
|
|
2968
|
+
chunkAsync.chunkAsync = void 0;
|
|
2969
|
+
const go_1 = es2018$7;
|
|
2970
|
+
const errors_1 = requireEs2018();
|
|
2971
|
+
function chunkAsync$1(iterable, size) {
|
|
2972
|
+
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
2973
|
+
(0, errors_1.assert)(size > 0, 'The parameter size must be greater than 0');
|
|
2974
|
+
return (0, go_1.go)(async function* () {
|
|
2975
|
+
let buffer = [];
|
|
2976
|
+
for await (const element of iterable) {
|
|
2977
|
+
buffer.push(element);
|
|
2978
|
+
if (buffer.length >= size) {
|
|
2979
|
+
yield buffer;
|
|
2980
|
+
buffer = [];
|
|
2981
|
+
}
|
|
2982
|
+
}
|
|
2983
|
+
if (buffer.length)
|
|
2984
|
+
yield buffer;
|
|
2985
|
+
});
|
|
2986
|
+
}
|
|
2987
|
+
chunkAsync.chunkAsync = chunkAsync$1;
|
|
2988
|
+
|
|
2989
|
+
return chunkAsync;
|
|
2990
|
+
}
|
|
2991
|
+
|
|
2992
|
+
var chunkByAsync$1 = {};
|
|
3379
2993
|
|
|
3380
2994
|
chunkByAsync$1.chunkByAsync = void 0;
|
|
3381
|
-
const types_1$l = es2018$
|
|
2995
|
+
const types_1$l = es2018$a;
|
|
3382
2996
|
function chunkByAsync(iterable, predicate) {
|
|
3383
2997
|
if ((0, types_1$l.isAsyncIterable)(iterable)) {
|
|
3384
2998
|
return chunkByAsyncIterable(iterable, predicate);
|
|
@@ -3444,7 +3058,7 @@ function requireChunk () {
|
|
|
3444
3058
|
if (hasRequiredChunk) return chunk;
|
|
3445
3059
|
hasRequiredChunk = 1;
|
|
3446
3060
|
chunk.chunk = void 0;
|
|
3447
|
-
const go_1 = es2018$
|
|
3061
|
+
const go_1 = es2018$7;
|
|
3448
3062
|
const errors_1 = requireEs2018();
|
|
3449
3063
|
function chunk$1(iterable, size) {
|
|
3450
3064
|
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -3470,8 +3084,8 @@ chunk.chunk = void 0;
|
|
|
3470
3084
|
var concatAsync$1 = {};
|
|
3471
3085
|
|
|
3472
3086
|
concatAsync$1.concatAsync = void 0;
|
|
3473
|
-
const types_1$k = es2018$
|
|
3474
|
-
const go_1$1 = es2018$
|
|
3087
|
+
const types_1$k = es2018$a;
|
|
3088
|
+
const go_1$1 = es2018$7;
|
|
3475
3089
|
function concatAsync(iterable, ...otherIterables) {
|
|
3476
3090
|
return (0, go_1$1.go)(async function* () {
|
|
3477
3091
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -3493,7 +3107,7 @@ concatAsync$1.concatAsync = concatAsync;
|
|
|
3493
3107
|
var concat$1 = {};
|
|
3494
3108
|
|
|
3495
3109
|
concat$1.concat = void 0;
|
|
3496
|
-
const go_1 = es2018$
|
|
3110
|
+
const go_1 = es2018$7;
|
|
3497
3111
|
function concat(iterable, ...otherIterables) {
|
|
3498
3112
|
return (0, go_1.go)(function* () {
|
|
3499
3113
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -3527,7 +3141,7 @@ function requireDropAsync () {
|
|
|
3527
3141
|
if (hasRequiredDropAsync) return dropAsync;
|
|
3528
3142
|
hasRequiredDropAsync = 1;
|
|
3529
3143
|
dropAsync.dropAsync = void 0;
|
|
3530
|
-
const go_1 = es2018$
|
|
3144
|
+
const go_1 = es2018$7;
|
|
3531
3145
|
const utils_1 = utils$1;
|
|
3532
3146
|
const errors_1 = requireEs2018();
|
|
3533
3147
|
function dropAsync$1(iterable, count) {
|
|
@@ -3570,7 +3184,7 @@ function requireDropRightAsync () {
|
|
|
3570
3184
|
if (hasRequiredDropRightAsync) return dropRightAsync;
|
|
3571
3185
|
hasRequiredDropRightAsync = 1;
|
|
3572
3186
|
dropRightAsync.dropRightAsync = void 0;
|
|
3573
|
-
const go_1 = es2018$
|
|
3187
|
+
const go_1 = es2018$7;
|
|
3574
3188
|
const utils_1 = utils$1;
|
|
3575
3189
|
const errors_1 = requireEs2018();
|
|
3576
3190
|
function dropRightAsync$1(iterable, count) {
|
|
@@ -3606,7 +3220,7 @@ function requireDropRight () {
|
|
|
3606
3220
|
if (hasRequiredDropRight) return dropRight;
|
|
3607
3221
|
hasRequiredDropRight = 1;
|
|
3608
3222
|
dropRight.dropRight = void 0;
|
|
3609
|
-
const go_1 = es2018$
|
|
3223
|
+
const go_1 = es2018$7;
|
|
3610
3224
|
const utils_1 = utils$1;
|
|
3611
3225
|
const errors_1 = requireEs2018();
|
|
3612
3226
|
function dropRight$1(iterable, count) {
|
|
@@ -3627,7 +3241,7 @@ dropRight.dropRight = void 0;
|
|
|
3627
3241
|
var dropUntilAsync$1 = {};
|
|
3628
3242
|
|
|
3629
3243
|
dropUntilAsync$1.dropUntilAsync = void 0;
|
|
3630
|
-
const types_1$j = es2018$
|
|
3244
|
+
const types_1$j = es2018$a;
|
|
3631
3245
|
function dropUntilAsync(iterable, predicate) {
|
|
3632
3246
|
if ((0, types_1$j.isAsyncIterable)(iterable)) {
|
|
3633
3247
|
return dropUntilAsyncIterable(iterable, predicate);
|
|
@@ -3714,7 +3328,7 @@ function requireDrop () {
|
|
|
3714
3328
|
if (hasRequiredDrop) return drop;
|
|
3715
3329
|
hasRequiredDrop = 1;
|
|
3716
3330
|
drop.drop = void 0;
|
|
3717
|
-
const go_1 = es2018$
|
|
3331
|
+
const go_1 = es2018$7;
|
|
3718
3332
|
const utils_1 = utils$1;
|
|
3719
3333
|
const errors_1 = requireEs2018();
|
|
3720
3334
|
function drop$1(iterable, count) {
|
|
@@ -3752,7 +3366,7 @@ drop.drop = void 0;
|
|
|
3752
3366
|
var filterAsync$1 = {};
|
|
3753
3367
|
|
|
3754
3368
|
filterAsync$1.filterAsync = void 0;
|
|
3755
|
-
const types_1$i = es2018$
|
|
3369
|
+
const types_1$i = es2018$a;
|
|
3756
3370
|
function filterAsync(iterable, predicate) {
|
|
3757
3371
|
if ((0, types_1$i.isAsyncIterable)(iterable)) {
|
|
3758
3372
|
return filterAsyncIterable(iterable, predicate);
|
|
@@ -3799,7 +3413,7 @@ var flattenDeepAsync = {};
|
|
|
3799
3413
|
var flattenByAsync$1 = {};
|
|
3800
3414
|
|
|
3801
3415
|
flattenByAsync$1.flattenByAsync = void 0;
|
|
3802
|
-
const types_1$h = es2018$
|
|
3416
|
+
const types_1$h = es2018$a;
|
|
3803
3417
|
function flattenByAsync(iterable, predicate) {
|
|
3804
3418
|
if ((0, types_1$h.isAsyncIterable)(iterable)) {
|
|
3805
3419
|
return flattenByAsyncIterable(iterable, predicate);
|
|
@@ -3873,7 +3487,7 @@ flattenAsync.flattenAsync = void 0;
|
|
|
3873
3487
|
var flattenBy$1 = {};
|
|
3874
3488
|
|
|
3875
3489
|
flattenBy$1.flattenBy = void 0;
|
|
3876
|
-
const types_1$g = es2018$
|
|
3490
|
+
const types_1$g = es2018$a;
|
|
3877
3491
|
function flattenBy(iterable, predicate) {
|
|
3878
3492
|
return flatten$1(iterable, predicate, 1);
|
|
3879
3493
|
}
|
|
@@ -3932,7 +3546,7 @@ flatten.flatten = void 0;
|
|
|
3932
3546
|
var mapAsync$1 = {};
|
|
3933
3547
|
|
|
3934
3548
|
mapAsync$1.mapAsync = void 0;
|
|
3935
|
-
const types_1$f = es2018$
|
|
3549
|
+
const types_1$f = es2018$a;
|
|
3936
3550
|
function mapAsync(iterable, fn) {
|
|
3937
3551
|
if ((0, types_1$f.isAsyncIterable)(iterable)) {
|
|
3938
3552
|
return mapAsyncIterable(iterable, fn);
|
|
@@ -3977,7 +3591,7 @@ function requireRepeatAsync () {
|
|
|
3977
3591
|
if (hasRequiredRepeatAsync) return repeatAsync;
|
|
3978
3592
|
hasRequiredRepeatAsync = 1;
|
|
3979
3593
|
repeatAsync.repeatAsync = void 0;
|
|
3980
|
-
const go_1 = es2018$
|
|
3594
|
+
const go_1 = es2018$7;
|
|
3981
3595
|
const errors_1 = requireEs2018();
|
|
3982
3596
|
function repeatAsync$1(iterable, times) {
|
|
3983
3597
|
(0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -4020,7 +3634,7 @@ function requireRepeat () {
|
|
|
4020
3634
|
if (hasRequiredRepeat) return repeat;
|
|
4021
3635
|
hasRequiredRepeat = 1;
|
|
4022
3636
|
repeat.repeat = void 0;
|
|
4023
|
-
const go_1 = es2018$
|
|
3637
|
+
const go_1 = es2018$7;
|
|
4024
3638
|
const errors_1 = requireEs2018();
|
|
4025
3639
|
function repeat$1(iterable, times) {
|
|
4026
3640
|
(0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -4063,7 +3677,7 @@ function requireSliceAsync () {
|
|
|
4063
3677
|
if (hasRequiredSliceAsync) return sliceAsync;
|
|
4064
3678
|
hasRequiredSliceAsync = 1;
|
|
4065
3679
|
sliceAsync.sliceAsync = void 0;
|
|
4066
|
-
const go_1 = es2018$
|
|
3680
|
+
const go_1 = es2018$7;
|
|
4067
3681
|
const errors_1 = requireEs2018();
|
|
4068
3682
|
function sliceAsync$1(iterable, start, end = Infinity) {
|
|
4069
3683
|
(0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -4094,7 +3708,7 @@ function requireSlice () {
|
|
|
4094
3708
|
if (hasRequiredSlice) return slice;
|
|
4095
3709
|
hasRequiredSlice = 1;
|
|
4096
3710
|
slice.slice = void 0;
|
|
4097
|
-
const go_1 = es2018$
|
|
3711
|
+
const go_1 = es2018$7;
|
|
4098
3712
|
const errors_1 = requireEs2018();
|
|
4099
3713
|
function slice$1(iterable, start, end = Infinity) {
|
|
4100
3714
|
(0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -4138,7 +3752,7 @@ splitAsync$1.splitAsync = splitAsync;
|
|
|
4138
3752
|
var splitByAsync$1 = {};
|
|
4139
3753
|
|
|
4140
3754
|
splitByAsync$1.splitByAsync = void 0;
|
|
4141
|
-
const types_1$e = es2018$
|
|
3755
|
+
const types_1$e = es2018$a;
|
|
4142
3756
|
function splitByAsync(iterable, predicate) {
|
|
4143
3757
|
if ((0, types_1$e.isAsyncIterable)(iterable)) {
|
|
4144
3758
|
return splitByAsyncIterable(iterable, predicate);
|
|
@@ -4225,7 +3839,7 @@ function requireTakeAsync () {
|
|
|
4225
3839
|
if (hasRequiredTakeAsync) return takeAsync;
|
|
4226
3840
|
hasRequiredTakeAsync = 1;
|
|
4227
3841
|
takeAsync.takeAsync = void 0;
|
|
4228
|
-
const go_1 = es2018$
|
|
3842
|
+
const go_1 = es2018$7;
|
|
4229
3843
|
const errors_1 = requireEs2018();
|
|
4230
3844
|
function takeAsync$1(iterable, count) {
|
|
4231
3845
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4254,7 +3868,7 @@ function requireTakeRightAsync () {
|
|
|
4254
3868
|
if (hasRequiredTakeRightAsync) return takeRightAsync;
|
|
4255
3869
|
hasRequiredTakeRightAsync = 1;
|
|
4256
3870
|
takeRightAsync.takeRightAsync = void 0;
|
|
4257
|
-
const go_1 = es2018$
|
|
3871
|
+
const go_1 = es2018$7;
|
|
4258
3872
|
const errors_1 = requireEs2018();
|
|
4259
3873
|
function takeRightAsync$1(iterable, count) {
|
|
4260
3874
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4292,7 +3906,7 @@ function requireTakeRight () {
|
|
|
4292
3906
|
if (hasRequiredTakeRight) return takeRight;
|
|
4293
3907
|
hasRequiredTakeRight = 1;
|
|
4294
3908
|
takeRight.takeRight = void 0;
|
|
4295
|
-
const go_1 = es2018$
|
|
3909
|
+
const go_1 = es2018$7;
|
|
4296
3910
|
const errors_1 = requireEs2018();
|
|
4297
3911
|
function takeRight$1(iterable, count) {
|
|
4298
3912
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4325,7 +3939,7 @@ takeRight.takeRight = void 0;
|
|
|
4325
3939
|
var takeUntilAsync$1 = {};
|
|
4326
3940
|
|
|
4327
3941
|
takeUntilAsync$1.takeUntilAsync = void 0;
|
|
4328
|
-
const types_1$d = es2018$
|
|
3942
|
+
const types_1$d = es2018$a;
|
|
4329
3943
|
function takeUntilAsync(iterable, predicate) {
|
|
4330
3944
|
if ((0, types_1$d.isAsyncIterable)(iterable)) {
|
|
4331
3945
|
return takeUntilAsyncIterable(iterable, predicate);
|
|
@@ -4376,7 +3990,7 @@ function requireTake () {
|
|
|
4376
3990
|
if (hasRequiredTake) return take;
|
|
4377
3991
|
hasRequiredTake = 1;
|
|
4378
3992
|
take.take = void 0;
|
|
4379
|
-
const go_1 = es2018$
|
|
3993
|
+
const go_1 = es2018$7;
|
|
4380
3994
|
const errors_1 = requireEs2018();
|
|
4381
3995
|
function take$1(iterable, count) {
|
|
4382
3996
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4400,7 +4014,7 @@ take.take = void 0;
|
|
|
4400
4014
|
var tapAsync$1 = {};
|
|
4401
4015
|
|
|
4402
4016
|
tapAsync$1.tapAsync = void 0;
|
|
4403
|
-
const types_1$c = es2018$
|
|
4017
|
+
const types_1$c = es2018$a;
|
|
4404
4018
|
function tapAsync(iterable, fn) {
|
|
4405
4019
|
if ((0, types_1$c.isAsyncIterable)(iterable)) {
|
|
4406
4020
|
return tapAsyncIterable(iterable, fn);
|
|
@@ -4483,7 +4097,7 @@ uniqAsync$1.uniqAsync = uniqAsync;
|
|
|
4483
4097
|
var uniqByAsync$1 = {};
|
|
4484
4098
|
|
|
4485
4099
|
uniqByAsync$1.uniqByAsync = void 0;
|
|
4486
|
-
const types_1$b = es2018$
|
|
4100
|
+
const types_1$b = es2018$a;
|
|
4487
4101
|
function uniqByAsync(iterable, fn) {
|
|
4488
4102
|
if ((0, types_1$b.isAsyncIterable)(iterable)) {
|
|
4489
4103
|
return uniqByAsyncIterable(iterable, fn);
|
|
@@ -4552,7 +4166,7 @@ uniq$1.uniq = uniq;
|
|
|
4552
4166
|
var zipAsync$1 = {};
|
|
4553
4167
|
|
|
4554
4168
|
zipAsync$1.zipAsync = void 0;
|
|
4555
|
-
const types_1$a = es2018$
|
|
4169
|
+
const types_1$a = es2018$a;
|
|
4556
4170
|
var Kind;
|
|
4557
4171
|
(function (Kind) {
|
|
4558
4172
|
Kind[Kind["Sync"] = 0] = "Sync";
|
|
@@ -4723,7 +4337,7 @@ consume$1.consume = consume;
|
|
|
4723
4337
|
var eachAsync$1 = {};
|
|
4724
4338
|
|
|
4725
4339
|
eachAsync$1.eachAsync = void 0;
|
|
4726
|
-
const types_1$9 = es2018$
|
|
4340
|
+
const types_1$9 = es2018$a;
|
|
4727
4341
|
function eachAsync(iterable, fn) {
|
|
4728
4342
|
if ((0, types_1$9.isAsyncIterable)(iterable)) {
|
|
4729
4343
|
return eachAsyncIterable(iterable, fn);
|
|
@@ -4763,7 +4377,7 @@ each$1.each = each;
|
|
|
4763
4377
|
var everyAsync$1 = {};
|
|
4764
4378
|
|
|
4765
4379
|
everyAsync$1.everyAsync = void 0;
|
|
4766
|
-
const types_1$8 = es2018$
|
|
4380
|
+
const types_1$8 = es2018$a;
|
|
4767
4381
|
function everyAsync(iterable, predicate) {
|
|
4768
4382
|
if ((0, types_1$8.isAsyncIterable)(iterable)) {
|
|
4769
4383
|
return everyAsyncIterable(iterable, predicate);
|
|
@@ -4809,7 +4423,7 @@ every$1.every = every;
|
|
|
4809
4423
|
var findAsync$1 = {};
|
|
4810
4424
|
|
|
4811
4425
|
findAsync$1.findAsync = void 0;
|
|
4812
|
-
const types_1$7 = es2018$
|
|
4426
|
+
const types_1$7 = es2018$a;
|
|
4813
4427
|
function findAsync(iterable, predicate) {
|
|
4814
4428
|
if ((0, types_1$7.isAsyncIterable)(iterable)) {
|
|
4815
4429
|
return findAsyncIterable(iterable, predicate);
|
|
@@ -4933,7 +4547,7 @@ match$1.match = match;
|
|
|
4933
4547
|
var reduceAsync$1 = {};
|
|
4934
4548
|
|
|
4935
4549
|
reduceAsync$1.reduceAsync = void 0;
|
|
4936
|
-
const types_1$6 = es2018$
|
|
4550
|
+
const types_1$6 = es2018$a;
|
|
4937
4551
|
function reduceAsync(iterable, fn, initialValue) {
|
|
4938
4552
|
if ((0, types_1$6.isUndefined)(initialValue)) {
|
|
4939
4553
|
return reduceAsyncWithoutInitialValue(iterable, fn);
|
|
@@ -5029,7 +4643,7 @@ function reduceAsyncWithoutInitialValue(iterable, fn) {
|
|
|
5029
4643
|
var reduce$1 = {};
|
|
5030
4644
|
|
|
5031
4645
|
reduce$1.reduce = void 0;
|
|
5032
|
-
const types_1$5 = es2018$
|
|
4646
|
+
const types_1$5 = es2018$a;
|
|
5033
4647
|
function reduce(iterable, fn, initialValue) {
|
|
5034
4648
|
if ((0, types_1$5.isUndefined)(initialValue)) {
|
|
5035
4649
|
return reduceWithoutInitialValue(iterable, fn);
|
|
@@ -5076,7 +4690,7 @@ function reduceWithoutInitialValue(iterable, fn) {
|
|
|
5076
4690
|
var someAsync$1 = {};
|
|
5077
4691
|
|
|
5078
4692
|
someAsync$1.someAsync = void 0;
|
|
5079
|
-
const types_1$4 = es2018$
|
|
4693
|
+
const types_1$4 = es2018$a;
|
|
5080
4694
|
function someAsync(iterable, predicate) {
|
|
5081
4695
|
if ((0, types_1$4.isAsyncIterable)(iterable)) {
|
|
5082
4696
|
return someAsyncIterable(iterable, predicate);
|
|
@@ -5316,7 +4930,7 @@ groupByAsync$1.groupByAsync = groupByAsync;
|
|
|
5316
4930
|
var hasRequiredEs2018$1;
|
|
5317
4931
|
|
|
5318
4932
|
function requireEs2018$1 () {
|
|
5319
|
-
if (hasRequiredEs2018$1) return es2018$
|
|
4933
|
+
if (hasRequiredEs2018$1) return es2018$8;
|
|
5320
4934
|
hasRequiredEs2018$1 = 1;
|
|
5321
4935
|
(function (exports) {
|
|
5322
4936
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -5335,8 +4949,8 @@ function requireEs2018$1 () {
|
|
|
5335
4949
|
};__exportStar(requireMiddleware(), exports);
|
|
5336
4950
|
__exportStar(output, exports);
|
|
5337
4951
|
|
|
5338
|
-
} (es2018$
|
|
5339
|
-
return es2018$
|
|
4952
|
+
} (es2018$8));
|
|
4953
|
+
return es2018$8;
|
|
5340
4954
|
}
|
|
5341
4955
|
|
|
5342
4956
|
var getErrorNames$1 = {};
|
|
@@ -5355,7 +4969,7 @@ function* traverseErrorPrototypeChain(err) {
|
|
|
5355
4969
|
traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
|
|
5356
4970
|
|
|
5357
4971
|
getErrorNames$1.getErrorNames = void 0;
|
|
5358
|
-
const types_1$3 = es2018$
|
|
4972
|
+
const types_1$3 = es2018$a;
|
|
5359
4973
|
const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
|
|
5360
4974
|
function* getErrorNames(err) {
|
|
5361
4975
|
var _a;
|
|
@@ -5376,7 +4990,7 @@ getErrorNames$1.getErrorNames = getErrorNames;
|
|
|
5376
4990
|
var serializableError = {};
|
|
5377
4991
|
|
|
5378
4992
|
serializableError.isSerializableError = void 0;
|
|
5379
|
-
const types_1$2 = es2018$
|
|
4993
|
+
const types_1$2 = es2018$a;
|
|
5380
4994
|
function isSerializableError(val) {
|
|
5381
4995
|
return (0, types_1$2.isObject)(val)
|
|
5382
4996
|
&& (0, types_1$2.isString)(val.name)
|
|
@@ -5394,7 +5008,7 @@ function requireCustomError () {
|
|
|
5394
5008
|
customError$1.CustomError = void 0;
|
|
5395
5009
|
const iterable_operator_1 = requireEs2018$1();
|
|
5396
5010
|
const get_error_names_1 = getErrorNames$1;
|
|
5397
|
-
const types_1 = es2018$
|
|
5011
|
+
const types_1 = es2018$a;
|
|
5398
5012
|
const serializable_error_1 = serializableError;
|
|
5399
5013
|
class CustomError extends Error {
|
|
5400
5014
|
get name() {
|
|
@@ -5540,7 +5154,7 @@ assert$2.assert = void 0;
|
|
|
5540
5154
|
var hasRequiredEs2018;
|
|
5541
5155
|
|
|
5542
5156
|
function requireEs2018 () {
|
|
5543
|
-
if (hasRequiredEs2018) return es2018$
|
|
5157
|
+
if (hasRequiredEs2018) return es2018$9;
|
|
5544
5158
|
hasRequiredEs2018 = 1;
|
|
5545
5159
|
(function (exports) {
|
|
5546
5160
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -5565,12 +5179,12 @@ function requireEs2018 () {
|
|
|
5565
5179
|
__exportStar(getErrorNames$1, exports);
|
|
5566
5180
|
__exportStar(traverseErrorPrototypeChain$1, exports);
|
|
5567
5181
|
|
|
5568
|
-
} (es2018$
|
|
5569
|
-
return es2018$
|
|
5182
|
+
} (es2018$9));
|
|
5183
|
+
return es2018$9;
|
|
5570
5184
|
}
|
|
5571
5185
|
|
|
5572
5186
|
csv$1.csv = void 0;
|
|
5573
|
-
const extra_fetch_1$4 = es2018$
|
|
5187
|
+
const extra_fetch_1$4 = es2018$c;
|
|
5574
5188
|
const papaparse_1$1 = papaparse.exports;
|
|
5575
5189
|
const errors_1$2 = requireEs2018();
|
|
5576
5190
|
function csv(payload) {
|
|
@@ -5607,7 +5221,7 @@ signal$1.signal = signal;
|
|
|
5607
5221
|
var header$1 = {};
|
|
5608
5222
|
|
|
5609
5223
|
header$1.header = void 0;
|
|
5610
|
-
const extra_fetch_1$3 = es2018$
|
|
5224
|
+
const extra_fetch_1$3 = es2018$c;
|
|
5611
5225
|
function header(name, value) {
|
|
5612
5226
|
return (options) => {
|
|
5613
5227
|
const headers = new extra_fetch_1$3.Headers(options.headers);
|
|
@@ -5623,7 +5237,7 @@ header$1.header = header;
|
|
|
5623
5237
|
var appendHeader$1 = {};
|
|
5624
5238
|
|
|
5625
5239
|
appendHeader$1.appendHeader = void 0;
|
|
5626
|
-
const extra_fetch_1$2 = es2018$
|
|
5240
|
+
const extra_fetch_1$2 = es2018$c;
|
|
5627
5241
|
function appendHeader(name, value) {
|
|
5628
5242
|
return (options) => {
|
|
5629
5243
|
const headers = new extra_fetch_1$2.Headers(options.headers);
|
|
@@ -5639,7 +5253,7 @@ appendHeader$1.appendHeader = appendHeader;
|
|
|
5639
5253
|
var headers$1 = {};
|
|
5640
5254
|
|
|
5641
5255
|
headers$1.headers = void 0;
|
|
5642
|
-
const extra_fetch_1$1 = es2018$
|
|
5256
|
+
const extra_fetch_1$1 = es2018$c;
|
|
5643
5257
|
function headers(headers) {
|
|
5644
5258
|
return (options) => {
|
|
5645
5259
|
const newHeaders = new extra_fetch_1$1.Headers(options.headers);
|
|
@@ -5779,8 +5393,8 @@ appendSearchParam$1.appendSearchParam = appendSearchParam;
|
|
|
5779
5393
|
var formDataField$1 = {};
|
|
5780
5394
|
|
|
5781
5395
|
formDataField$1.formDataField = void 0;
|
|
5782
|
-
const extra_fetch_1 = es2018$
|
|
5783
|
-
const types_1$1 = es2018$
|
|
5396
|
+
const extra_fetch_1 = es2018$c;
|
|
5397
|
+
const types_1$1 = es2018$a;
|
|
5784
5398
|
function formDataField(name, value) {
|
|
5785
5399
|
return (options) => {
|
|
5786
5400
|
const formData = options.payload instanceof extra_fetch_1.FormData
|
|
@@ -6156,9 +5770,9 @@ keepalive$1.keepalive = keepalive;
|
|
|
6156
5770
|
}));
|
|
6157
5771
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
6158
5772
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
6159
|
-
};__exportStar(url$
|
|
5773
|
+
};__exportStar(url$1, exports);
|
|
6160
5774
|
__exportStar(text$1, exports);
|
|
6161
|
-
__exportStar(json$
|
|
5775
|
+
__exportStar(json$1, exports);
|
|
6162
5776
|
__exportStar(csv$1, exports);
|
|
6163
5777
|
__exportStar(signal$1, exports);
|
|
6164
5778
|
__exportStar(header$1, exports);
|
|
@@ -7000,7 +6614,7 @@ var abortError = {};
|
|
|
7000
6614
|
|
|
7001
6615
|
abortError.AbortError = void 0;
|
|
7002
6616
|
const errors_1 = requireEs2018();
|
|
7003
|
-
const types_1 = es2018$
|
|
6617
|
+
const types_1 = es2018$a;
|
|
7004
6618
|
const iterable_operator_1 = requireEs2018$1();
|
|
7005
6619
|
class AbortError extends errors_1.CustomError {
|
|
7006
6620
|
static [Symbol.hasInstance](instance) {
|
|
@@ -7121,7 +6735,7 @@ class EStoreManagerBase {
|
|
|
7121
6735
|
options.signal,
|
|
7122
6736
|
options.timeout !== false && ((_a = (options.timeout && es2018.timeoutSignal(options.timeout))) !== null && _a !== void 0 ? _a : (this.options.timeout && es2018.timeoutSignal(this.options.timeout)))
|
|
7123
6737
|
])),
|
|
7124
|
-
|
|
6738
|
+
((_b = options.keepalive) !== null && _b !== void 0 ? _b : this.options.keepalive) && transformers.keepalive(),
|
|
7125
6739
|
transformers.header('Accept-Version', expectedVersion)
|
|
7126
6740
|
];
|
|
7127
6741
|
}
|
|
@@ -7145,7 +6759,7 @@ class EStoreClient {
|
|
|
7145
6759
|
options.signal,
|
|
7146
6760
|
options.timeout !== false && ((_b = (options.timeout && es2018.timeoutSignal(options.timeout))) !== null && _b !== void 0 ? _b : (this.options.timeout && es2018.timeoutSignal(this.options.timeout)))
|
|
7147
6761
|
])),
|
|
7148
|
-
|
|
6762
|
+
((_c = options.keepalive) !== null && _c !== void 0 ? _c : this.options.keepalive) && transformers.keepalive(),
|
|
7149
6763
|
transformers.header('Accept-Version', expectedVersion)
|
|
7150
6764
|
];
|
|
7151
6765
|
}
|
|
@@ -7154,8 +6768,8 @@ class EStoreClient {
|
|
|
7154
6768
|
*/
|
|
7155
6769
|
append(namespace, itemId, payload, index, options = {}) {
|
|
7156
6770
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7157
|
-
const req = es2018$
|
|
7158
|
-
yield es2018$
|
|
6771
|
+
const req = es2018$b.post(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`), es2018$a.isntUndefined(index) && transformers.header('If-Match', `${index}`), transformers.json(payload));
|
|
6772
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7159
6773
|
});
|
|
7160
6774
|
}
|
|
7161
6775
|
/**
|
|
@@ -7163,9 +6777,9 @@ class EStoreClient {
|
|
|
7163
6777
|
*/
|
|
7164
6778
|
getEvent(namespace, itemId, index, options = {}) {
|
|
7165
6779
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7166
|
-
const req = es2018$
|
|
6780
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events/${index}`));
|
|
7167
6781
|
try {
|
|
7168
|
-
return yield es2018$
|
|
6782
|
+
return yield es2018$c.fetch(req)
|
|
7169
6783
|
.then(es2018$1.ok)
|
|
7170
6784
|
.then(es2018$1.toJSON);
|
|
7171
6785
|
}
|
|
@@ -7181,9 +6795,9 @@ class EStoreClient {
|
|
|
7181
6795
|
*/
|
|
7182
6796
|
getEvents(namespace, itemId, options = {}) {
|
|
7183
6797
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7184
|
-
const req = es2018$
|
|
6798
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`));
|
|
7185
6799
|
try {
|
|
7186
|
-
return yield es2018$
|
|
6800
|
+
return yield es2018$c.fetch(req)
|
|
7187
6801
|
.then(es2018$1.ok)
|
|
7188
6802
|
.then(es2018$1.toJSON);
|
|
7189
6803
|
}
|
|
@@ -7199,8 +6813,8 @@ class EStoreClient {
|
|
|
7199
6813
|
*/
|
|
7200
6814
|
getSize(namespace, itemId, options = {}) {
|
|
7201
6815
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7202
|
-
const req = es2018$
|
|
7203
|
-
return yield es2018$
|
|
6816
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/size`));
|
|
6817
|
+
return yield es2018$c.fetch(req)
|
|
7204
6818
|
.then(es2018$1.ok)
|
|
7205
6819
|
.then(es2018$1.toJSON);
|
|
7206
6820
|
});
|
|
@@ -7210,9 +6824,9 @@ class EStoreClient {
|
|
|
7210
6824
|
*/
|
|
7211
6825
|
has(namespace, itemId, options = {}) {
|
|
7212
6826
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7213
|
-
const req = es2018$
|
|
6827
|
+
const req = es2018$b.head(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
|
|
7214
6828
|
try {
|
|
7215
|
-
yield es2018$
|
|
6829
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7216
6830
|
return true;
|
|
7217
6831
|
}
|
|
7218
6832
|
catch (e) {
|
|
@@ -7227,8 +6841,8 @@ class EStoreClient {
|
|
|
7227
6841
|
*/
|
|
7228
6842
|
del(namespace, itemId, options = {}) {
|
|
7229
6843
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7230
|
-
const req = es2018$
|
|
7231
|
-
yield es2018$
|
|
6844
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
|
|
6845
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7232
6846
|
});
|
|
7233
6847
|
}
|
|
7234
6848
|
/**
|
|
@@ -7236,8 +6850,8 @@ class EStoreClient {
|
|
|
7236
6850
|
*/
|
|
7237
6851
|
clear(namespace, options = {}) {
|
|
7238
6852
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7239
|
-
const req = es2018$
|
|
7240
|
-
yield es2018$
|
|
6853
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}`));
|
|
6854
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7241
6855
|
});
|
|
7242
6856
|
}
|
|
7243
6857
|
/**
|
|
@@ -7245,8 +6859,8 @@ class EStoreClient {
|
|
|
7245
6859
|
*/
|
|
7246
6860
|
getAllItemIds(namespace, options = {}) {
|
|
7247
6861
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7248
|
-
const req = es2018$
|
|
7249
|
-
return yield es2018$
|
|
6862
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items`));
|
|
6863
|
+
return yield es2018$c.fetch(req)
|
|
7250
6864
|
.then(es2018$1.ok)
|
|
7251
6865
|
.then(es2018$1.toJSON);
|
|
7252
6866
|
});
|
|
@@ -7256,8 +6870,8 @@ class EStoreClient {
|
|
|
7256
6870
|
*/
|
|
7257
6871
|
getAllNamespaces(options = {}) {
|
|
7258
6872
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7259
|
-
const req = es2018$
|
|
7260
|
-
return yield es2018$
|
|
6873
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/estore'));
|
|
6874
|
+
return yield es2018$c.fetch(req)
|
|
7261
6875
|
.then(es2018$1.ok)
|
|
7262
6876
|
.then(es2018$1.toJSON);
|
|
7263
6877
|
});
|
|
@@ -7267,8 +6881,8 @@ class EStoreClient {
|
|
|
7267
6881
|
*/
|
|
7268
6882
|
stats(namespace, options = {}) {
|
|
7269
6883
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7270
|
-
const req = es2018$
|
|
7271
|
-
return yield es2018$
|
|
6884
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/stats`));
|
|
6885
|
+
return yield es2018$c.fetch(req)
|
|
7272
6886
|
.then(es2018$1.ok)
|
|
7273
6887
|
.then(es2018$1.toJSON);
|
|
7274
6888
|
});
|
|
@@ -7281,8 +6895,8 @@ class JsonSchemaClient extends EStoreManagerBase {
|
|
|
7281
6895
|
*/
|
|
7282
6896
|
getNamespaces(options = {}) {
|
|
7283
6897
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7284
|
-
const req = es2018$
|
|
7285
|
-
return yield es2018$
|
|
6898
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-json-schema'));
|
|
6899
|
+
return yield es2018$c.fetch(req)
|
|
7286
6900
|
.then(es2018$1.ok)
|
|
7287
6901
|
.then(es2018$1.toJSON);
|
|
7288
6902
|
});
|
|
@@ -7292,8 +6906,8 @@ class JsonSchemaClient extends EStoreManagerBase {
|
|
|
7292
6906
|
*/
|
|
7293
6907
|
get(namespace, options = {}) {
|
|
7294
6908
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7295
|
-
const req = es2018$
|
|
7296
|
-
return yield es2018$
|
|
6909
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
|
|
6910
|
+
return yield es2018$c.fetch(req)
|
|
7297
6911
|
.then(es2018$1.ok)
|
|
7298
6912
|
.then(es2018$1.toJSON);
|
|
7299
6913
|
});
|
|
@@ -7303,8 +6917,8 @@ class JsonSchemaClient extends EStoreManagerBase {
|
|
|
7303
6917
|
*/
|
|
7304
6918
|
set(namespace, schema, options = {}) {
|
|
7305
6919
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7306
|
-
const req = es2018$
|
|
7307
|
-
yield es2018$
|
|
6920
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`), transformers.json(schema));
|
|
6921
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7308
6922
|
});
|
|
7309
6923
|
}
|
|
7310
6924
|
/**
|
|
@@ -7312,8 +6926,8 @@ class JsonSchemaClient extends EStoreManagerBase {
|
|
|
7312
6926
|
*/
|
|
7313
6927
|
remove(namespace, options = {}) {
|
|
7314
6928
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7315
|
-
const req = es2018$
|
|
7316
|
-
yield es2018$
|
|
6929
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
|
|
6930
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7317
6931
|
});
|
|
7318
6932
|
}
|
|
7319
6933
|
}
|
|
@@ -7324,8 +6938,8 @@ class BlacklistClient extends EStoreManagerBase {
|
|
|
7324
6938
|
*/
|
|
7325
6939
|
getNamespaces(options = {}) {
|
|
7326
6940
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7327
|
-
const req = es2018$
|
|
7328
|
-
return yield es2018$
|
|
6941
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/blacklist'));
|
|
6942
|
+
return yield es2018$c.fetch(req)
|
|
7329
6943
|
.then(es2018$1.ok)
|
|
7330
6944
|
.then(es2018$1.toJSON);
|
|
7331
6945
|
});
|
|
@@ -7335,8 +6949,8 @@ class BlacklistClient extends EStoreManagerBase {
|
|
|
7335
6949
|
*/
|
|
7336
6950
|
add(namespace, options = {}) {
|
|
7337
6951
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7338
|
-
const req = es2018$
|
|
7339
|
-
yield es2018$
|
|
6952
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
|
|
6953
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7340
6954
|
});
|
|
7341
6955
|
}
|
|
7342
6956
|
/**
|
|
@@ -7344,8 +6958,8 @@ class BlacklistClient extends EStoreManagerBase {
|
|
|
7344
6958
|
*/
|
|
7345
6959
|
remove(namespace, options = {}) {
|
|
7346
6960
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7347
|
-
const req = es2018$
|
|
7348
|
-
yield es2018$
|
|
6961
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
|
|
6962
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7349
6963
|
});
|
|
7350
6964
|
}
|
|
7351
6965
|
}
|
|
@@ -7356,8 +6970,8 @@ class WhitelistClient extends EStoreManagerBase {
|
|
|
7356
6970
|
*/
|
|
7357
6971
|
getNamespaces(options = {}) {
|
|
7358
6972
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7359
|
-
const req = es2018$
|
|
7360
|
-
return yield es2018$
|
|
6973
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/whitelist'));
|
|
6974
|
+
return yield es2018$c.fetch(req)
|
|
7361
6975
|
.then(es2018$1.ok)
|
|
7362
6976
|
.then(es2018$1.toJSON);
|
|
7363
6977
|
});
|
|
@@ -7367,8 +6981,8 @@ class WhitelistClient extends EStoreManagerBase {
|
|
|
7367
6981
|
*/
|
|
7368
6982
|
add(namespace, options = {}) {
|
|
7369
6983
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7370
|
-
const req = es2018$
|
|
7371
|
-
yield es2018$
|
|
6984
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
|
|
6985
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7372
6986
|
});
|
|
7373
6987
|
}
|
|
7374
6988
|
/**
|
|
@@ -7376,8 +6990,8 @@ class WhitelistClient extends EStoreManagerBase {
|
|
|
7376
6990
|
*/
|
|
7377
6991
|
remove(namespace, options = {}) {
|
|
7378
6992
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7379
|
-
const req = es2018$
|
|
7380
|
-
yield es2018$
|
|
6993
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
|
|
6994
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7381
6995
|
});
|
|
7382
6996
|
}
|
|
7383
6997
|
}
|
|
@@ -7388,8 +7002,8 @@ class TokenPolicyClient extends EStoreManagerBase {
|
|
|
7388
7002
|
*/
|
|
7389
7003
|
getNamespaces(options = {}) {
|
|
7390
7004
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7391
|
-
const req = es2018$
|
|
7392
|
-
return yield es2018$
|
|
7005
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-token-policies'));
|
|
7006
|
+
return yield es2018$c.fetch(req)
|
|
7393
7007
|
.then(es2018$1.ok)
|
|
7394
7008
|
.then(es2018$1.toJSON);
|
|
7395
7009
|
});
|
|
@@ -7399,8 +7013,8 @@ class TokenPolicyClient extends EStoreManagerBase {
|
|
|
7399
7013
|
*/
|
|
7400
7014
|
get(namespace, options = {}) {
|
|
7401
7015
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7402
|
-
const req = es2018$
|
|
7403
|
-
return yield es2018$
|
|
7016
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies`));
|
|
7017
|
+
return yield es2018$c.fetch(req)
|
|
7404
7018
|
.then(es2018$1.ok)
|
|
7405
7019
|
.then(es2018$1.toJSON);
|
|
7406
7020
|
});
|
|
@@ -7410,8 +7024,8 @@ class TokenPolicyClient extends EStoreManagerBase {
|
|
|
7410
7024
|
*/
|
|
7411
7025
|
setWriteTokenRequired(namespace, val, options = {}) {
|
|
7412
7026
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7413
|
-
const req = es2018$
|
|
7414
|
-
yield es2018$
|
|
7027
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`), transformers.json(val));
|
|
7028
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7415
7029
|
});
|
|
7416
7030
|
}
|
|
7417
7031
|
/**
|
|
@@ -7419,8 +7033,8 @@ class TokenPolicyClient extends EStoreManagerBase {
|
|
|
7419
7033
|
*/
|
|
7420
7034
|
removeWriteTokenRequired(namespace, options = {}) {
|
|
7421
7035
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7422
|
-
const req = es2018$
|
|
7423
|
-
yield es2018$
|
|
7036
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`));
|
|
7037
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7424
7038
|
});
|
|
7425
7039
|
}
|
|
7426
7040
|
/**
|
|
@@ -7428,8 +7042,8 @@ class TokenPolicyClient extends EStoreManagerBase {
|
|
|
7428
7042
|
*/
|
|
7429
7043
|
setReadTokenRequired(namespace, val, options = {}) {
|
|
7430
7044
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7431
|
-
const req = es2018$
|
|
7432
|
-
yield es2018$
|
|
7045
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`), transformers.json(val));
|
|
7046
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7433
7047
|
});
|
|
7434
7048
|
}
|
|
7435
7049
|
/**
|
|
@@ -7437,8 +7051,8 @@ class TokenPolicyClient extends EStoreManagerBase {
|
|
|
7437
7051
|
*/
|
|
7438
7052
|
removeReadTokenRequired(namespace, options = {}) {
|
|
7439
7053
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7440
|
-
const req = es2018$
|
|
7441
|
-
yield es2018$
|
|
7054
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`));
|
|
7055
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7442
7056
|
});
|
|
7443
7057
|
}
|
|
7444
7058
|
/**
|
|
@@ -7446,8 +7060,8 @@ class TokenPolicyClient extends EStoreManagerBase {
|
|
|
7446
7060
|
*/
|
|
7447
7061
|
setDeleteTokenRequired(namespace, val, options = {}) {
|
|
7448
7062
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7449
|
-
const req = es2018$
|
|
7450
|
-
yield es2018$
|
|
7063
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`), transformers.json(val));
|
|
7064
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7451
7065
|
});
|
|
7452
7066
|
}
|
|
7453
7067
|
/**
|
|
@@ -7455,8 +7069,8 @@ class TokenPolicyClient extends EStoreManagerBase {
|
|
|
7455
7069
|
*/
|
|
7456
7070
|
removeDeleteTokenRequired(namespace, options = {}) {
|
|
7457
7071
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7458
|
-
const req = es2018$
|
|
7459
|
-
yield es2018$
|
|
7072
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`));
|
|
7073
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7460
7074
|
});
|
|
7461
7075
|
}
|
|
7462
7076
|
}
|
|
@@ -7467,8 +7081,8 @@ class TokenClient extends EStoreManagerBase {
|
|
|
7467
7081
|
*/
|
|
7468
7082
|
getNamespaces(options = {}) {
|
|
7469
7083
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7470
|
-
const req = es2018$
|
|
7471
|
-
return yield es2018$
|
|
7084
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-tokens'));
|
|
7085
|
+
return yield es2018$c.fetch(req)
|
|
7472
7086
|
.then(es2018$1.ok)
|
|
7473
7087
|
.then(es2018$1.toJSON);
|
|
7474
7088
|
});
|
|
@@ -7478,8 +7092,8 @@ class TokenClient extends EStoreManagerBase {
|
|
|
7478
7092
|
*/
|
|
7479
7093
|
getTokens(namespace, options = {}) {
|
|
7480
7094
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7481
|
-
const req = es2018$
|
|
7482
|
-
return yield es2018$
|
|
7095
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens`));
|
|
7096
|
+
return yield es2018$c.fetch(req)
|
|
7483
7097
|
.then(es2018$1.ok)
|
|
7484
7098
|
.then(es2018$1.toJSON);
|
|
7485
7099
|
});
|
|
@@ -7489,8 +7103,8 @@ class TokenClient extends EStoreManagerBase {
|
|
|
7489
7103
|
*/
|
|
7490
7104
|
addWriteToken(namespace, token, options = {}) {
|
|
7491
7105
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7492
|
-
const req = es2018$
|
|
7493
|
-
yield es2018$
|
|
7106
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
|
|
7107
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7494
7108
|
});
|
|
7495
7109
|
}
|
|
7496
7110
|
/**
|
|
@@ -7498,8 +7112,8 @@ class TokenClient extends EStoreManagerBase {
|
|
|
7498
7112
|
*/
|
|
7499
7113
|
removeWriteToken(namespace, token, options = {}) {
|
|
7500
7114
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7501
|
-
const req = es2018$
|
|
7502
|
-
yield es2018$
|
|
7115
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
|
|
7116
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7503
7117
|
});
|
|
7504
7118
|
}
|
|
7505
7119
|
/**
|
|
@@ -7507,8 +7121,8 @@ class TokenClient extends EStoreManagerBase {
|
|
|
7507
7121
|
*/
|
|
7508
7122
|
addReadToken(namespace, token, options = {}) {
|
|
7509
7123
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7510
|
-
const req = es2018$
|
|
7511
|
-
yield es2018$
|
|
7124
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
|
|
7125
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7512
7126
|
});
|
|
7513
7127
|
}
|
|
7514
7128
|
/**
|
|
@@ -7516,8 +7130,8 @@ class TokenClient extends EStoreManagerBase {
|
|
|
7516
7130
|
*/
|
|
7517
7131
|
removeReadToken(namespace, token, options = {}) {
|
|
7518
7132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7519
|
-
const req = es2018$
|
|
7520
|
-
yield es2018$
|
|
7133
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
|
|
7134
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7521
7135
|
});
|
|
7522
7136
|
}
|
|
7523
7137
|
/**
|
|
@@ -7525,8 +7139,8 @@ class TokenClient extends EStoreManagerBase {
|
|
|
7525
7139
|
*/
|
|
7526
7140
|
addDeleteToken(namespace, token, options = {}) {
|
|
7527
7141
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7528
|
-
const req = es2018$
|
|
7529
|
-
yield es2018$
|
|
7142
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
|
|
7143
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7530
7144
|
});
|
|
7531
7145
|
}
|
|
7532
7146
|
/**
|
|
@@ -7534,8 +7148,8 @@ class TokenClient extends EStoreManagerBase {
|
|
|
7534
7148
|
*/
|
|
7535
7149
|
removeDeleteToken(namespace, token, options = {}) {
|
|
7536
7150
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7537
|
-
const req = es2018$
|
|
7538
|
-
yield es2018$
|
|
7151
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
|
|
7152
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7539
7153
|
});
|
|
7540
7154
|
}
|
|
7541
7155
|
}
|
|
@@ -7551,7 +7165,7 @@ class EStoreManager {
|
|
|
7551
7165
|
}
|
|
7552
7166
|
}
|
|
7553
7167
|
|
|
7554
|
-
var AbortError$1 = es2018$
|
|
7168
|
+
var AbortError$1 = es2018$c.AbortError;
|
|
7555
7169
|
var HTTPClientError$1 = es2018$3.HTTPClientError;
|
|
7556
7170
|
var HTTPError$1 = es2018$1.HTTPError;
|
|
7557
7171
|
export { AbortError$1 as AbortError, EStoreClient, EStoreManager, HTTPClientError$1 as HTTPClientError, HTTPError$1 as HTTPError };
|