@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.umd.js
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
|
|
36
36
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
37
37
|
|
|
38
|
-
var es2018$
|
|
38
|
+
var es2018$c = {};
|
|
39
39
|
|
|
40
40
|
var fetch_browser = {};
|
|
41
41
|
|
|
@@ -106,235 +106,235 @@
|
|
|
106
106
|
__exportStar(blob_browser, exports);
|
|
107
107
|
__exportStar(eventSource_browser, exports);
|
|
108
108
|
|
|
109
|
-
} (es2018$
|
|
109
|
+
} (es2018$c));
|
|
110
110
|
|
|
111
|
-
var es2018$
|
|
111
|
+
var es2018$b = {};
|
|
112
112
|
|
|
113
113
|
var types = {};
|
|
114
114
|
|
|
115
115
|
var request$1 = {};
|
|
116
116
|
|
|
117
|
-
var es2018$
|
|
117
|
+
var es2018$a = {};
|
|
118
118
|
|
|
119
|
-
var array
|
|
119
|
+
var array = {};
|
|
120
120
|
|
|
121
|
-
array
|
|
122
|
-
function isArray
|
|
121
|
+
array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
|
|
122
|
+
function isArray(val) {
|
|
123
123
|
return Array.isArray(val);
|
|
124
124
|
}
|
|
125
|
-
array
|
|
126
|
-
function isntArray
|
|
127
|
-
return !isArray
|
|
125
|
+
array.isArray = isArray;
|
|
126
|
+
function isntArray(val) {
|
|
127
|
+
return !isArray(val);
|
|
128
128
|
}
|
|
129
|
-
array
|
|
130
|
-
function isEmptyArray
|
|
129
|
+
array.isntArray = isntArray;
|
|
130
|
+
function isEmptyArray(val) {
|
|
131
131
|
return val.length === 0;
|
|
132
132
|
}
|
|
133
|
-
array
|
|
134
|
-
function isntEmptyArray
|
|
133
|
+
array.isEmptyArray = isEmptyArray;
|
|
134
|
+
function isntEmptyArray(val) {
|
|
135
135
|
return val.length !== 0;
|
|
136
136
|
}
|
|
137
|
-
array
|
|
137
|
+
array.isntEmptyArray = isntEmptyArray;
|
|
138
138
|
|
|
139
|
-
var asyncIterable
|
|
139
|
+
var asyncIterable = {};
|
|
140
140
|
|
|
141
|
-
var _null
|
|
141
|
+
var _null = {};
|
|
142
142
|
|
|
143
|
-
_null
|
|
144
|
-
function isNull
|
|
143
|
+
_null.isntNull = _null.isNull = void 0;
|
|
144
|
+
function isNull(val) {
|
|
145
145
|
return val === null;
|
|
146
146
|
}
|
|
147
|
-
_null
|
|
148
|
-
function isntNull
|
|
149
|
-
return !isNull
|
|
147
|
+
_null.isNull = isNull;
|
|
148
|
+
function isntNull(val) {
|
|
149
|
+
return !isNull(val);
|
|
150
150
|
}
|
|
151
|
-
_null
|
|
151
|
+
_null.isntNull = isntNull;
|
|
152
152
|
|
|
153
|
-
var _undefined
|
|
153
|
+
var _undefined = {};
|
|
154
154
|
|
|
155
|
-
_undefined
|
|
156
|
-
function isUndefined
|
|
155
|
+
_undefined.isntUndefined = _undefined.isUndefined = void 0;
|
|
156
|
+
function isUndefined(val) {
|
|
157
157
|
return val === undefined;
|
|
158
158
|
}
|
|
159
|
-
_undefined
|
|
160
|
-
function isntUndefined
|
|
161
|
-
return !isUndefined
|
|
159
|
+
_undefined.isUndefined = isUndefined;
|
|
160
|
+
function isntUndefined(val) {
|
|
161
|
+
return !isUndefined(val);
|
|
162
162
|
}
|
|
163
|
-
_undefined
|
|
163
|
+
_undefined.isntUndefined = isntUndefined;
|
|
164
164
|
|
|
165
|
-
var _function
|
|
165
|
+
var _function = {};
|
|
166
166
|
|
|
167
|
-
_function
|
|
168
|
-
function isFunction
|
|
167
|
+
_function.isntFunction = _function.isFunction = void 0;
|
|
168
|
+
function isFunction(val) {
|
|
169
169
|
return typeof val === 'function';
|
|
170
170
|
}
|
|
171
|
-
_function
|
|
172
|
-
function isntFunction
|
|
173
|
-
return !isFunction
|
|
171
|
+
_function.isFunction = isFunction;
|
|
172
|
+
function isntFunction(val) {
|
|
173
|
+
return !isFunction(val);
|
|
174
174
|
}
|
|
175
|
-
_function
|
|
175
|
+
_function.isntFunction = isntFunction;
|
|
176
176
|
|
|
177
|
-
asyncIterable
|
|
178
|
-
const null_1$
|
|
179
|
-
const undefined_1$
|
|
180
|
-
const function_1$
|
|
181
|
-
function isAsyncIterable
|
|
182
|
-
return (0, null_1$
|
|
183
|
-
&& (0, undefined_1$
|
|
184
|
-
&& (0, function_1$
|
|
177
|
+
asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
|
|
178
|
+
const null_1$2 = _null;
|
|
179
|
+
const undefined_1$1 = _undefined;
|
|
180
|
+
const function_1$2 = _function;
|
|
181
|
+
function isAsyncIterable(val) {
|
|
182
|
+
return (0, null_1$2.isntNull)(val)
|
|
183
|
+
&& (0, undefined_1$1.isntUndefined)(val)
|
|
184
|
+
&& (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
|
|
185
185
|
}
|
|
186
|
-
asyncIterable
|
|
187
|
-
function isntAsyncIterable
|
|
188
|
-
return !isAsyncIterable
|
|
186
|
+
asyncIterable.isAsyncIterable = isAsyncIterable;
|
|
187
|
+
function isntAsyncIterable(val) {
|
|
188
|
+
return !isAsyncIterable(val);
|
|
189
189
|
}
|
|
190
|
-
asyncIterable
|
|
190
|
+
asyncIterable.isntAsyncIterable = isntAsyncIterable;
|
|
191
191
|
|
|
192
|
-
var bigint
|
|
192
|
+
var bigint = {};
|
|
193
193
|
|
|
194
|
-
bigint
|
|
195
|
-
function isBigInt
|
|
194
|
+
bigint.isntBigInt = bigint.isBigInt = void 0;
|
|
195
|
+
function isBigInt(val) {
|
|
196
196
|
return typeof val === 'bigint';
|
|
197
197
|
}
|
|
198
|
-
bigint
|
|
199
|
-
function isntBigInt
|
|
200
|
-
return !isBigInt
|
|
198
|
+
bigint.isBigInt = isBigInt;
|
|
199
|
+
function isntBigInt(val) {
|
|
200
|
+
return !isBigInt(val);
|
|
201
201
|
}
|
|
202
|
-
bigint
|
|
202
|
+
bigint.isntBigInt = isntBigInt;
|
|
203
203
|
|
|
204
|
-
var boolean
|
|
204
|
+
var boolean = {};
|
|
205
205
|
|
|
206
|
-
boolean
|
|
207
|
-
function isBoolean
|
|
206
|
+
boolean.isntBoolean = boolean.isBoolean = void 0;
|
|
207
|
+
function isBoolean(val) {
|
|
208
208
|
return typeof val === 'boolean';
|
|
209
209
|
}
|
|
210
|
-
boolean
|
|
211
|
-
function isntBoolean
|
|
212
|
-
return !isBoolean
|
|
210
|
+
boolean.isBoolean = isBoolean;
|
|
211
|
+
function isntBoolean(val) {
|
|
212
|
+
return !isBoolean(val);
|
|
213
213
|
}
|
|
214
|
-
boolean
|
|
214
|
+
boolean.isntBoolean = isntBoolean;
|
|
215
215
|
|
|
216
|
-
var char
|
|
216
|
+
var char = {};
|
|
217
217
|
|
|
218
|
-
var string
|
|
218
|
+
var string = {};
|
|
219
219
|
|
|
220
|
-
string
|
|
221
|
-
function isString
|
|
220
|
+
string.isntString = string.isString = void 0;
|
|
221
|
+
function isString(val) {
|
|
222
222
|
return typeof val === 'string';
|
|
223
223
|
}
|
|
224
|
-
string
|
|
225
|
-
function isntString
|
|
226
|
-
return !isString
|
|
224
|
+
string.isString = isString;
|
|
225
|
+
function isntString(val) {
|
|
226
|
+
return !isString(val);
|
|
227
227
|
}
|
|
228
|
-
string
|
|
228
|
+
string.isntString = isntString;
|
|
229
229
|
|
|
230
|
-
char
|
|
231
|
-
const string_1$
|
|
232
|
-
function isChar
|
|
233
|
-
return (0, string_1$
|
|
230
|
+
char.isntChar = char.isChar = void 0;
|
|
231
|
+
const string_1$1 = string;
|
|
232
|
+
function isChar(val) {
|
|
233
|
+
return (0, string_1$1.isString)(val)
|
|
234
234
|
&& val.length === 1;
|
|
235
235
|
}
|
|
236
|
-
char
|
|
237
|
-
function isntChar
|
|
238
|
-
return !isChar
|
|
236
|
+
char.isChar = isChar;
|
|
237
|
+
function isntChar(val) {
|
|
238
|
+
return !isChar(val);
|
|
239
239
|
}
|
|
240
|
-
char
|
|
240
|
+
char.isntChar = isntChar;
|
|
241
241
|
|
|
242
|
-
var date
|
|
242
|
+
var date = {};
|
|
243
243
|
|
|
244
|
-
date
|
|
245
|
-
function isDate
|
|
244
|
+
date.isntDate = date.isDate = void 0;
|
|
245
|
+
function isDate(val) {
|
|
246
246
|
return val instanceof Date;
|
|
247
247
|
}
|
|
248
|
-
date
|
|
249
|
-
function isntDate
|
|
250
|
-
return !isDate
|
|
248
|
+
date.isDate = isDate;
|
|
249
|
+
function isntDate(val) {
|
|
250
|
+
return !isDate(val);
|
|
251
251
|
}
|
|
252
|
-
date
|
|
252
|
+
date.isntDate = isntDate;
|
|
253
253
|
|
|
254
|
-
var _enum$
|
|
254
|
+
var _enum$1 = {};
|
|
255
255
|
|
|
256
|
-
_enum$
|
|
257
|
-
function inEnum
|
|
256
|
+
_enum$1.inEnum = void 0;
|
|
257
|
+
function inEnum(val, _enum) {
|
|
258
258
|
return Object.values(_enum).includes(val);
|
|
259
259
|
}
|
|
260
|
-
_enum$
|
|
260
|
+
_enum$1.inEnum = inEnum;
|
|
261
261
|
|
|
262
|
-
var error
|
|
262
|
+
var error = {};
|
|
263
263
|
|
|
264
|
-
error
|
|
265
|
-
function isError
|
|
264
|
+
error.isntError = error.isError = void 0;
|
|
265
|
+
function isError(val) {
|
|
266
266
|
return val instanceof Error;
|
|
267
267
|
}
|
|
268
|
-
error
|
|
269
|
-
function isntError
|
|
270
|
-
return !isError
|
|
268
|
+
error.isError = isError;
|
|
269
|
+
function isntError(val) {
|
|
270
|
+
return !isError(val);
|
|
271
271
|
}
|
|
272
|
-
error
|
|
272
|
+
error.isntError = isntError;
|
|
273
273
|
|
|
274
|
-
var falsy
|
|
274
|
+
var falsy = {};
|
|
275
275
|
|
|
276
|
-
falsy
|
|
277
|
-
function isFalsy
|
|
276
|
+
falsy.isntFalsy = falsy.isFalsy = void 0;
|
|
277
|
+
function isFalsy(val) {
|
|
278
278
|
return !val;
|
|
279
279
|
}
|
|
280
|
-
falsy
|
|
281
|
-
function isntFalsy
|
|
282
|
-
return !isFalsy
|
|
280
|
+
falsy.isFalsy = isFalsy;
|
|
281
|
+
function isntFalsy(val) {
|
|
282
|
+
return !isFalsy(val);
|
|
283
283
|
}
|
|
284
|
-
falsy
|
|
284
|
+
falsy.isntFalsy = isntFalsy;
|
|
285
285
|
|
|
286
|
-
var iterable
|
|
286
|
+
var iterable = {};
|
|
287
287
|
|
|
288
|
-
iterable
|
|
289
|
-
const null_1$
|
|
290
|
-
const undefined_1
|
|
291
|
-
const function_1$
|
|
292
|
-
function isIterable
|
|
293
|
-
return (0, null_1$
|
|
294
|
-
&& (0, undefined_1
|
|
295
|
-
&& (0, function_1$
|
|
288
|
+
iterable.isntIterable = iterable.isIterable = void 0;
|
|
289
|
+
const null_1$1 = _null;
|
|
290
|
+
const undefined_1 = _undefined;
|
|
291
|
+
const function_1$1 = _function;
|
|
292
|
+
function isIterable(val) {
|
|
293
|
+
return (0, null_1$1.isntNull)(val)
|
|
294
|
+
&& (0, undefined_1.isntUndefined)(val)
|
|
295
|
+
&& (0, function_1$1.isFunction)(val[Symbol.iterator]);
|
|
296
296
|
}
|
|
297
|
-
iterable
|
|
298
|
-
function isntIterable
|
|
299
|
-
return !isIterable
|
|
297
|
+
iterable.isIterable = isIterable;
|
|
298
|
+
function isntIterable(val) {
|
|
299
|
+
return !isIterable(val);
|
|
300
300
|
}
|
|
301
|
-
iterable
|
|
301
|
+
iterable.isntIterable = isntIterable;
|
|
302
302
|
|
|
303
|
-
var json$
|
|
303
|
+
var json$2 = {};
|
|
304
304
|
|
|
305
|
-
var number
|
|
305
|
+
var number = {};
|
|
306
306
|
|
|
307
|
-
number
|
|
308
|
-
function isNumber
|
|
307
|
+
number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
|
|
308
|
+
function isNumber(val) {
|
|
309
309
|
return typeof val === 'number';
|
|
310
310
|
}
|
|
311
|
-
number
|
|
312
|
-
function isntNumber
|
|
313
|
-
return !isNumber
|
|
311
|
+
number.isNumber = isNumber;
|
|
312
|
+
function isntNumber(val) {
|
|
313
|
+
return !isNumber(val);
|
|
314
314
|
}
|
|
315
|
-
number
|
|
316
|
-
function isFinite
|
|
315
|
+
number.isntNumber = isntNumber;
|
|
316
|
+
function isFinite(val) {
|
|
317
317
|
return Number.isFinite(val);
|
|
318
318
|
}
|
|
319
|
-
number
|
|
320
|
-
function isPositiveInfinity
|
|
319
|
+
number.isFinite = isFinite;
|
|
320
|
+
function isPositiveInfinity(val) {
|
|
321
321
|
return val === Infinity;
|
|
322
322
|
}
|
|
323
|
-
number
|
|
324
|
-
function isNegativeInfinity
|
|
323
|
+
number.isPositiveInfinity = isPositiveInfinity;
|
|
324
|
+
function isNegativeInfinity(val) {
|
|
325
325
|
return val === -Infinity;
|
|
326
326
|
}
|
|
327
|
-
number
|
|
328
|
-
function isNaN
|
|
327
|
+
number.isNegativeInfinity = isNegativeInfinity;
|
|
328
|
+
function isNaN(val) {
|
|
329
329
|
return Number.isNaN(val);
|
|
330
330
|
}
|
|
331
|
-
number
|
|
332
|
-
function isntNaN
|
|
333
|
-
return !isNaN
|
|
331
|
+
number.isNaN = isNaN;
|
|
332
|
+
function isntNaN(val) {
|
|
333
|
+
return !isNaN(val);
|
|
334
334
|
}
|
|
335
|
-
number
|
|
335
|
+
number.isntNaN = isntNaN;
|
|
336
336
|
|
|
337
|
-
var object
|
|
337
|
+
var object = {};
|
|
338
338
|
|
|
339
339
|
/** Detect free variable `global` from Node.js. */
|
|
340
340
|
|
|
@@ -562,7 +562,7 @@
|
|
|
562
562
|
* _.isPlainObject(Object.create(null));
|
|
563
563
|
* // => true
|
|
564
564
|
*/
|
|
565
|
-
function isPlainObject$
|
|
565
|
+
function isPlainObject$1(value) {
|
|
566
566
|
if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
|
|
567
567
|
return false;
|
|
568
568
|
}
|
|
@@ -575,59 +575,59 @@
|
|
|
575
575
|
funcToString.call(Ctor) == objectCtorString;
|
|
576
576
|
}
|
|
577
577
|
|
|
578
|
-
var isPlainObject_1$
|
|
578
|
+
var isPlainObject_1$1 = isPlainObject$1;
|
|
579
579
|
|
|
580
|
-
var __importDefault$
|
|
580
|
+
var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
581
581
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
582
|
-
};object
|
|
583
|
-
const isPlainObject_1
|
|
584
|
-
function isObject
|
|
582
|
+
};object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
|
|
583
|
+
const isPlainObject_1 = __importDefault$1(isPlainObject_1$1);
|
|
584
|
+
function isObject(val) {
|
|
585
585
|
return val !== null
|
|
586
586
|
&& typeof val === 'object';
|
|
587
587
|
}
|
|
588
|
-
object
|
|
589
|
-
function isntObject
|
|
590
|
-
return !isObject
|
|
588
|
+
object.isObject = isObject;
|
|
589
|
+
function isntObject(val) {
|
|
590
|
+
return !isObject(val);
|
|
591
591
|
}
|
|
592
|
-
object
|
|
593
|
-
function isPlainObject
|
|
594
|
-
return (0, isPlainObject_1
|
|
592
|
+
object.isntObject = isntObject;
|
|
593
|
+
function isPlainObject(val) {
|
|
594
|
+
return (0, isPlainObject_1.default)(val);
|
|
595
595
|
}
|
|
596
|
-
object
|
|
597
|
-
function isntPlainObject
|
|
598
|
-
return !isPlainObject
|
|
596
|
+
object.isPlainObject = isPlainObject;
|
|
597
|
+
function isntPlainObject(val) {
|
|
598
|
+
return !isPlainObject(val);
|
|
599
599
|
}
|
|
600
|
-
object
|
|
601
|
-
function isEmptyObject
|
|
600
|
+
object.isntPlainObject = isntPlainObject;
|
|
601
|
+
function isEmptyObject(val) {
|
|
602
602
|
return Object.keys(val).length === 0;
|
|
603
603
|
}
|
|
604
|
-
object
|
|
605
|
-
function isntEmptyObject
|
|
604
|
+
object.isEmptyObject = isEmptyObject;
|
|
605
|
+
function isntEmptyObject(val) {
|
|
606
606
|
return Object.keys(val).length !== 0;
|
|
607
607
|
}
|
|
608
|
-
object
|
|
609
|
-
|
|
610
|
-
json$
|
|
611
|
-
const null_1
|
|
612
|
-
const boolean_1
|
|
613
|
-
const string_1
|
|
614
|
-
const number_1
|
|
615
|
-
const array_1
|
|
616
|
-
const object_1$
|
|
617
|
-
function isJson
|
|
618
|
-
return (0, null_1
|
|
619
|
-
|| (0, boolean_1
|
|
620
|
-
|| (0, string_1
|
|
621
|
-
|| (0, number_1
|
|
622
|
-
|| ((0, array_1
|
|
623
|
-
|| ((0, object_1$
|
|
624
|
-
}
|
|
625
|
-
json$
|
|
626
|
-
function isntJson
|
|
627
|
-
return !isJson
|
|
628
|
-
}
|
|
629
|
-
json$
|
|
630
|
-
function isJsonable
|
|
608
|
+
object.isntEmptyObject = isntEmptyObject;
|
|
609
|
+
|
|
610
|
+
json$2.isntJsonable = json$2.isJsonable = json$2.isntJson = json$2.isJson = void 0;
|
|
611
|
+
const null_1 = _null;
|
|
612
|
+
const boolean_1 = boolean;
|
|
613
|
+
const string_1 = string;
|
|
614
|
+
const number_1 = number;
|
|
615
|
+
const array_1 = array;
|
|
616
|
+
const object_1$1 = object;
|
|
617
|
+
function isJson(val) {
|
|
618
|
+
return (0, null_1.isNull)(val)
|
|
619
|
+
|| (0, boolean_1.isBoolean)(val)
|
|
620
|
+
|| (0, string_1.isString)(val)
|
|
621
|
+
|| (0, number_1.isNumber)(val)
|
|
622
|
+
|| ((0, array_1.isArray)(val) && val.every(isJson))
|
|
623
|
+
|| ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
|
|
624
|
+
}
|
|
625
|
+
json$2.isJson = isJson;
|
|
626
|
+
function isntJson(val) {
|
|
627
|
+
return !isJson(val);
|
|
628
|
+
}
|
|
629
|
+
json$2.isntJson = isntJson;
|
|
630
|
+
function isJsonable(val) {
|
|
631
631
|
try {
|
|
632
632
|
JSON.stringify(val);
|
|
633
633
|
return true;
|
|
@@ -636,39 +636,39 @@
|
|
|
636
636
|
return false;
|
|
637
637
|
}
|
|
638
638
|
}
|
|
639
|
-
json$
|
|
640
|
-
function isntJsonable
|
|
641
|
-
return !isntJsonable
|
|
639
|
+
json$2.isJsonable = isJsonable;
|
|
640
|
+
function isntJsonable(val) {
|
|
641
|
+
return !isntJsonable();
|
|
642
642
|
}
|
|
643
|
-
json$
|
|
643
|
+
json$2.isntJsonable = isntJsonable;
|
|
644
644
|
|
|
645
|
-
var promise
|
|
645
|
+
var promise = {};
|
|
646
646
|
|
|
647
|
-
promise
|
|
648
|
-
const object_1
|
|
649
|
-
const function_1
|
|
650
|
-
function isPromise
|
|
647
|
+
promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
|
|
648
|
+
const object_1 = object;
|
|
649
|
+
const function_1 = _function;
|
|
650
|
+
function isPromise(val) {
|
|
651
651
|
return val instanceof Promise;
|
|
652
652
|
}
|
|
653
|
-
promise
|
|
654
|
-
function isntPromise
|
|
655
|
-
return !isPromise
|
|
653
|
+
promise.isPromise = isPromise;
|
|
654
|
+
function isntPromise(val) {
|
|
655
|
+
return !isPromise(val);
|
|
656
656
|
}
|
|
657
|
-
promise
|
|
658
|
-
function isntPromiseLike
|
|
659
|
-
return !isPromiseLike
|
|
657
|
+
promise.isntPromise = isntPromise;
|
|
658
|
+
function isntPromiseLike(val) {
|
|
659
|
+
return !isPromiseLike(val);
|
|
660
660
|
}
|
|
661
|
-
promise
|
|
662
|
-
function isPromiseLike
|
|
663
|
-
return (0, object_1
|
|
664
|
-
&& (0, function_1
|
|
661
|
+
promise.isntPromiseLike = isntPromiseLike;
|
|
662
|
+
function isPromiseLike(val) {
|
|
663
|
+
return (0, object_1.isObject)(val)
|
|
664
|
+
&& (0, function_1.isFunction)(val.then);
|
|
665
665
|
}
|
|
666
|
-
promise
|
|
666
|
+
promise.isPromiseLike = isPromiseLike;
|
|
667
667
|
|
|
668
|
-
var url$
|
|
668
|
+
var url$2 = {};
|
|
669
669
|
|
|
670
|
-
url$
|
|
671
|
-
function isAbsoluteURL
|
|
670
|
+
url$2.isAbsoluteURL = void 0;
|
|
671
|
+
function isAbsoluteURL(str) {
|
|
672
672
|
try {
|
|
673
673
|
new URL(str);
|
|
674
674
|
return true;
|
|
@@ -677,31 +677,31 @@
|
|
|
677
677
|
return false;
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
|
-
url$
|
|
680
|
+
url$2.isAbsoluteURL = isAbsoluteURL;
|
|
681
681
|
|
|
682
|
-
var regexp
|
|
682
|
+
var regexp = {};
|
|
683
683
|
|
|
684
|
-
regexp
|
|
685
|
-
function isRegExp
|
|
684
|
+
regexp.isntRegExp = regexp.isRegExp = void 0;
|
|
685
|
+
function isRegExp(val) {
|
|
686
686
|
return val instanceof RegExp;
|
|
687
687
|
}
|
|
688
|
-
regexp
|
|
689
|
-
function isntRegExp
|
|
690
|
-
return !isRegExp
|
|
688
|
+
regexp.isRegExp = isRegExp;
|
|
689
|
+
function isntRegExp(val) {
|
|
690
|
+
return !isRegExp(val);
|
|
691
691
|
}
|
|
692
|
-
regexp
|
|
692
|
+
regexp.isntRegExp = isntRegExp;
|
|
693
693
|
|
|
694
|
-
var symbol
|
|
694
|
+
var symbol = {};
|
|
695
695
|
|
|
696
|
-
symbol
|
|
697
|
-
function isSymbol
|
|
696
|
+
symbol.isntSymbol = symbol.isSymbol = void 0;
|
|
697
|
+
function isSymbol(val) {
|
|
698
698
|
return typeof val === 'symbol';
|
|
699
699
|
}
|
|
700
|
-
symbol
|
|
701
|
-
function isntSymbol
|
|
702
|
-
return !isSymbol
|
|
700
|
+
symbol.isSymbol = isSymbol;
|
|
701
|
+
function isntSymbol(val) {
|
|
702
|
+
return !isSymbol(val);
|
|
703
703
|
}
|
|
704
|
-
symbol
|
|
704
|
+
symbol.isntSymbol = isntSymbol;
|
|
705
705
|
|
|
706
706
|
(function (exports) {
|
|
707
707
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -717,33 +717,33 @@
|
|
|
717
717
|
}));
|
|
718
718
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
719
719
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
720
|
-
};__exportStar(array
|
|
721
|
-
__exportStar(asyncIterable
|
|
722
|
-
__exportStar(bigint
|
|
723
|
-
__exportStar(boolean
|
|
724
|
-
__exportStar(char
|
|
725
|
-
__exportStar(date
|
|
726
|
-
__exportStar(_enum$
|
|
727
|
-
__exportStar(error
|
|
728
|
-
__exportStar(falsy
|
|
729
|
-
__exportStar(_function
|
|
730
|
-
__exportStar(iterable
|
|
731
|
-
__exportStar(json$
|
|
732
|
-
__exportStar(_null
|
|
733
|
-
__exportStar(number
|
|
734
|
-
__exportStar(object
|
|
735
|
-
__exportStar(promise
|
|
736
|
-
__exportStar(string
|
|
737
|
-
__exportStar(_undefined
|
|
738
|
-
__exportStar(url$
|
|
739
|
-
__exportStar(regexp
|
|
740
|
-
__exportStar(symbol
|
|
720
|
+
};__exportStar(array, exports);
|
|
721
|
+
__exportStar(asyncIterable, exports);
|
|
722
|
+
__exportStar(bigint, exports);
|
|
723
|
+
__exportStar(boolean, exports);
|
|
724
|
+
__exportStar(char, exports);
|
|
725
|
+
__exportStar(date, exports);
|
|
726
|
+
__exportStar(_enum$1, exports);
|
|
727
|
+
__exportStar(error, exports);
|
|
728
|
+
__exportStar(falsy, exports);
|
|
729
|
+
__exportStar(_function, exports);
|
|
730
|
+
__exportStar(iterable, exports);
|
|
731
|
+
__exportStar(json$2, exports);
|
|
732
|
+
__exportStar(_null, exports);
|
|
733
|
+
__exportStar(number, exports);
|
|
734
|
+
__exportStar(object, exports);
|
|
735
|
+
__exportStar(promise, exports);
|
|
736
|
+
__exportStar(string, exports);
|
|
737
|
+
__exportStar(_undefined, exports);
|
|
738
|
+
__exportStar(url$2, exports);
|
|
739
|
+
__exportStar(regexp, exports);
|
|
740
|
+
__exportStar(symbol, exports);
|
|
741
741
|
|
|
742
|
-
} (es2018$
|
|
742
|
+
} (es2018$a));
|
|
743
743
|
|
|
744
744
|
request$1.del = request$1.patch = request$1.put = request$1.post = request$1.head = request$1.get = void 0;
|
|
745
|
-
const extra_fetch_1$7 = es2018$
|
|
746
|
-
const types_1$m = es2018$
|
|
745
|
+
const extra_fetch_1$7 = es2018$c;
|
|
746
|
+
const types_1$m = es2018$a;
|
|
747
747
|
function get(...transformers) {
|
|
748
748
|
return request('GET', ...transformers);
|
|
749
749
|
}
|
|
@@ -800,14 +800,14 @@
|
|
|
800
800
|
};__exportStar(types, exports);
|
|
801
801
|
__exportStar(request$1, exports);
|
|
802
802
|
|
|
803
|
-
} (es2018$
|
|
803
|
+
} (es2018$b));
|
|
804
804
|
|
|
805
805
|
var transformers = {};
|
|
806
806
|
|
|
807
|
-
var url$
|
|
807
|
+
var url$1 = {};
|
|
808
808
|
|
|
809
|
-
url$
|
|
810
|
-
function url
|
|
809
|
+
url$1.url = void 0;
|
|
810
|
+
function url(...urls) {
|
|
811
811
|
return (options) => {
|
|
812
812
|
const url = new URL(urls.reduce((acc, cur) => new URL(cur, acc).href));
|
|
813
813
|
return {
|
|
@@ -816,12 +816,12 @@
|
|
|
816
816
|
};
|
|
817
817
|
};
|
|
818
818
|
}
|
|
819
|
-
url$
|
|
819
|
+
url$1.url = url;
|
|
820
820
|
|
|
821
821
|
var text$1 = {};
|
|
822
822
|
|
|
823
823
|
text$1.text = void 0;
|
|
824
|
-
const extra_fetch_1$6 = es2018$
|
|
824
|
+
const extra_fetch_1$6 = es2018$c;
|
|
825
825
|
function text(payload) {
|
|
826
826
|
return (options) => {
|
|
827
827
|
const headers = new extra_fetch_1$6.Headers(options.headers);
|
|
@@ -835,11 +835,11 @@
|
|
|
835
835
|
}
|
|
836
836
|
text$1.text = text;
|
|
837
837
|
|
|
838
|
-
var json$
|
|
838
|
+
var json$1 = {};
|
|
839
839
|
|
|
840
|
-
json$
|
|
841
|
-
const extra_fetch_1$5 = es2018$
|
|
842
|
-
function json
|
|
840
|
+
json$1.json = void 0;
|
|
841
|
+
const extra_fetch_1$5 = es2018$c;
|
|
842
|
+
function json(payload) {
|
|
843
843
|
return (options) => {
|
|
844
844
|
const headers = new extra_fetch_1$5.Headers(options.headers);
|
|
845
845
|
headers.set('Content-Type', 'application/json');
|
|
@@ -850,7 +850,7 @@
|
|
|
850
850
|
};
|
|
851
851
|
};
|
|
852
852
|
}
|
|
853
|
-
json$
|
|
853
|
+
json$1.json = json;
|
|
854
854
|
|
|
855
855
|
var csv$1 = {};
|
|
856
856
|
|
|
@@ -2725,17 +2725,17 @@
|
|
|
2725
2725
|
}));
|
|
2726
2726
|
} (papaparse));
|
|
2727
2727
|
|
|
2728
|
-
var es2018$
|
|
2728
|
+
var es2018$9 = {};
|
|
2729
2729
|
|
|
2730
2730
|
var customError$1 = {};
|
|
2731
2731
|
|
|
2732
|
-
var es2018$
|
|
2732
|
+
var es2018$8 = {};
|
|
2733
2733
|
|
|
2734
2734
|
var middleware = {};
|
|
2735
2735
|
|
|
2736
2736
|
var chunkAsync = {};
|
|
2737
2737
|
|
|
2738
|
-
var es2018$
|
|
2738
|
+
var es2018$7 = {};
|
|
2739
2739
|
|
|
2740
2740
|
var go$1 = {};
|
|
2741
2741
|
|
|
@@ -2764,11 +2764,11 @@
|
|
|
2764
2764
|
|
|
2765
2765
|
var goMacrotask$1 = {};
|
|
2766
2766
|
|
|
2767
|
-
var es2018$
|
|
2767
|
+
var es2018$6 = {};
|
|
2768
2768
|
|
|
2769
2769
|
var exponentialBackoff = {};
|
|
2770
2770
|
|
|
2771
|
-
var es2018$
|
|
2771
|
+
var es2018$5 = {};
|
|
2772
2772
|
|
|
2773
2773
|
var random$1 = {};
|
|
2774
2774
|
|
|
@@ -2780,572 +2780,173 @@
|
|
|
2780
2780
|
|
|
2781
2781
|
var randomInt$1 = {};
|
|
2782
2782
|
|
|
2783
|
-
randomInt$1.randomInt = void 0;
|
|
2784
|
-
function randomInt(min, max) {
|
|
2785
|
-
min = Math.ceil(min);
|
|
2786
|
-
max = Math.floor(max);
|
|
2787
|
-
return Math.floor(Math.random() * (max - min)) + min;
|
|
2788
|
-
}
|
|
2789
|
-
randomInt$1.randomInt = randomInt;
|
|
2790
|
-
|
|
2791
|
-
var randomIntInclusive$1 = {};
|
|
2792
|
-
|
|
2793
|
-
randomIntInclusive$1.randomIntInclusive = void 0;
|
|
2794
|
-
function randomIntInclusive(min, max) {
|
|
2795
|
-
min = Math.ceil(min);
|
|
2796
|
-
max = Math.floor(max);
|
|
2797
|
-
return Math.floor(Math.random() * (max - min + 1)) + min;
|
|
2798
|
-
}
|
|
2799
|
-
randomIntInclusive$1.randomIntInclusive = randomIntInclusive;
|
|
2800
|
-
|
|
2801
|
-
(function (exports) {
|
|
2802
|
-
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2803
|
-
if (k2 === undefined) k2 = k;
|
|
2804
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2805
|
-
}) : (function(o, m, k, k2) {
|
|
2806
|
-
if (k2 === undefined) k2 = k;
|
|
2807
|
-
o[k2] = m[k];
|
|
2808
|
-
}));
|
|
2809
|
-
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2810
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2811
|
-
};__exportStar(random$1, exports);
|
|
2812
|
-
__exportStar(randomInt$1, exports);
|
|
2813
|
-
__exportStar(randomIntInclusive$1, exports);
|
|
2814
|
-
|
|
2815
|
-
} (es2018$6));
|
|
2816
|
-
|
|
2817
|
-
exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
|
|
2818
|
-
const extra_rand_1 = es2018$6;
|
|
2819
|
-
function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
|
|
2820
|
-
const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
|
|
2821
|
-
if (jitter) {
|
|
2822
|
-
return (0, extra_rand_1.randomIntInclusive)(0, timeout);
|
|
2823
|
-
}
|
|
2824
|
-
else {
|
|
2825
|
-
return timeout;
|
|
2826
|
-
}
|
|
2827
|
-
}
|
|
2828
|
-
exponentialBackoff.calculateExponentialBackoffTimeout = calculateExponentialBackoffTimeout;
|
|
2829
|
-
|
|
2830
|
-
var setTimeout$2 = {};
|
|
2831
|
-
|
|
2832
|
-
setTimeout$2.setTimeout = void 0;
|
|
2833
|
-
function setTimeout$1(timeout, cb) {
|
|
2834
|
-
const timer = globalThis.setTimeout(cb, timeout);
|
|
2835
|
-
return () => clearTimeout(timer);
|
|
2836
|
-
}
|
|
2837
|
-
setTimeout$2.setTimeout = setTimeout$1;
|
|
2838
|
-
|
|
2839
|
-
var setSchedule$1 = {};
|
|
2840
|
-
|
|
2841
|
-
setSchedule$1.setSchedule = void 0;
|
|
2842
|
-
const set_timeout_1$3 = setTimeout$2;
|
|
2843
|
-
function setSchedule(timestamp, cb) {
|
|
2844
|
-
const timeout = timestamp - Date.now();
|
|
2845
|
-
return (0, set_timeout_1$3.setTimeout)(timeout, cb);
|
|
2846
|
-
}
|
|
2847
|
-
setSchedule$1.setSchedule = setSchedule;
|
|
2848
|
-
|
|
2849
|
-
var setInterval$1 = {};
|
|
2850
|
-
|
|
2851
|
-
setInterval$1.setInterval = void 0;
|
|
2852
|
-
function setInterval(timeout, cb) {
|
|
2853
|
-
const timer = globalThis.setInterval(cb, timeout);
|
|
2854
|
-
return () => clearInterval(timer);
|
|
2855
|
-
}
|
|
2856
|
-
setInterval$1.setInterval = setInterval;
|
|
2857
|
-
|
|
2858
|
-
var setImmediate$1 = {};
|
|
2859
|
-
|
|
2860
|
-
setImmediate$1.setImmediate = void 0;
|
|
2861
|
-
const set_timeout_1$2 = setTimeout$2;
|
|
2862
|
-
function setImmediate(cb) {
|
|
2863
|
-
if (globalThis.setImmediate) {
|
|
2864
|
-
const timer = globalThis.setImmediate(cb);
|
|
2865
|
-
return () => clearImmediate(timer);
|
|
2866
|
-
}
|
|
2867
|
-
else {
|
|
2868
|
-
return (0, set_timeout_1$2.setTimeout)(0, cb);
|
|
2869
|
-
}
|
|
2870
|
-
}
|
|
2871
|
-
setImmediate$1.setImmediate = setImmediate;
|
|
2872
|
-
|
|
2873
|
-
var setTimeoutLoop$1 = {};
|
|
2874
|
-
|
|
2875
|
-
setTimeoutLoop$1.setTimeoutLoop = void 0;
|
|
2876
|
-
const set_timeout_1$1 = setTimeout$2;
|
|
2877
|
-
function setTimeoutLoop(timeout, cb) {
|
|
2878
|
-
let isCancelled = false;
|
|
2879
|
-
let cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2880
|
-
return () => {
|
|
2881
|
-
isCancelled = true;
|
|
2882
|
-
cancel();
|
|
2883
|
-
};
|
|
2884
|
-
async function loop() {
|
|
2885
|
-
await cb();
|
|
2886
|
-
if (!isCancelled) {
|
|
2887
|
-
cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2888
|
-
}
|
|
2889
|
-
}
|
|
2890
|
-
}
|
|
2891
|
-
setTimeoutLoop$1.setTimeoutLoop = setTimeoutLoop;
|
|
2892
|
-
|
|
2893
|
-
var setDynamicTimeoutLoop$1 = {};
|
|
2894
|
-
|
|
2895
|
-
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = void 0;
|
|
2896
|
-
const set_timeout_1 = setTimeout$2;
|
|
2897
|
-
function setDynamicTimeoutLoop(timeout, cb) {
|
|
2898
|
-
let isCancelled = false;
|
|
2899
|
-
let cancel = (0, set_timeout_1.setTimeout)(timeout, loop);
|
|
2900
|
-
return () => {
|
|
2901
|
-
isCancelled = true;
|
|
2902
|
-
cancel();
|
|
2903
|
-
};
|
|
2904
|
-
async function loop() {
|
|
2905
|
-
const start = Date.now();
|
|
2906
|
-
await cb();
|
|
2907
|
-
const elapsed = Date.now() - start;
|
|
2908
|
-
if (!isCancelled) {
|
|
2909
|
-
cancel = (0, set_timeout_1.setTimeout)(Math.max(timeout - elapsed, 0), loop);
|
|
2910
|
-
}
|
|
2911
|
-
}
|
|
2912
|
-
}
|
|
2913
|
-
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = setDynamicTimeoutLoop;
|
|
2914
|
-
|
|
2915
|
-
(function (exports) {
|
|
2916
|
-
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2917
|
-
if (k2 === undefined) k2 = k;
|
|
2918
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2919
|
-
}) : (function(o, m, k, k2) {
|
|
2920
|
-
if (k2 === undefined) k2 = k;
|
|
2921
|
-
o[k2] = m[k];
|
|
2922
|
-
}));
|
|
2923
|
-
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2924
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2925
|
-
};__exportStar(exponentialBackoff, exports);
|
|
2926
|
-
__exportStar(setTimeout$2, exports);
|
|
2927
|
-
__exportStar(setSchedule$1, exports);
|
|
2928
|
-
__exportStar(setInterval$1, exports);
|
|
2929
|
-
__exportStar(setImmediate$1, exports);
|
|
2930
|
-
__exportStar(setTimeoutLoop$1, exports);
|
|
2931
|
-
__exportStar(setDynamicTimeoutLoop$1, exports);
|
|
2932
|
-
|
|
2933
|
-
} (es2018$7));
|
|
2934
|
-
|
|
2935
|
-
goMacrotask$1.goMacrotask = void 0;
|
|
2936
|
-
const extra_timers_1 = es2018$7;
|
|
2937
|
-
function goMacrotask(fn) {
|
|
2938
|
-
return new Promise((resolve, reject) => {
|
|
2939
|
-
(0, extra_timers_1.setImmediate)(async () => {
|
|
2940
|
-
try {
|
|
2941
|
-
resolve(await fn());
|
|
2942
|
-
}
|
|
2943
|
-
catch (e) {
|
|
2944
|
-
reject(e);
|
|
2945
|
-
}
|
|
2946
|
-
});
|
|
2947
|
-
});
|
|
2948
|
-
}
|
|
2949
|
-
goMacrotask$1.goMacrotask = goMacrotask;
|
|
2950
|
-
|
|
2951
|
-
(function (exports) {
|
|
2952
|
-
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2953
|
-
if (k2 === undefined) k2 = k;
|
|
2954
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2955
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2956
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
2957
|
-
}
|
|
2958
|
-
Object.defineProperty(o, k2, desc);
|
|
2959
|
-
}) : (function(o, m, k, k2) {
|
|
2960
|
-
if (k2 === undefined) k2 = k;
|
|
2961
|
-
o[k2] = m[k];
|
|
2962
|
-
}));
|
|
2963
|
-
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2964
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2965
|
-
};__exportStar(go$1, exports);
|
|
2966
|
-
__exportStar(goMicrotask$1, exports);
|
|
2967
|
-
__exportStar(goMacrotask$1, exports);
|
|
2968
|
-
|
|
2969
|
-
} (es2018$8));
|
|
2970
|
-
|
|
2971
|
-
var hasRequiredChunkAsync;
|
|
2972
|
-
|
|
2973
|
-
function requireChunkAsync () {
|
|
2974
|
-
if (hasRequiredChunkAsync) return chunkAsync;
|
|
2975
|
-
hasRequiredChunkAsync = 1;
|
|
2976
|
-
chunkAsync.chunkAsync = void 0;
|
|
2977
|
-
const go_1 = es2018$8;
|
|
2978
|
-
const errors_1 = requireEs2018();
|
|
2979
|
-
function chunkAsync$1(iterable, size) {
|
|
2980
|
-
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
2981
|
-
(0, errors_1.assert)(size > 0, 'The parameter size must be greater than 0');
|
|
2982
|
-
return (0, go_1.go)(async function* () {
|
|
2983
|
-
let buffer = [];
|
|
2984
|
-
for await (const element of iterable) {
|
|
2985
|
-
buffer.push(element);
|
|
2986
|
-
if (buffer.length >= size) {
|
|
2987
|
-
yield buffer;
|
|
2988
|
-
buffer = [];
|
|
2989
|
-
}
|
|
2990
|
-
}
|
|
2991
|
-
if (buffer.length)
|
|
2992
|
-
yield buffer;
|
|
2993
|
-
});
|
|
2994
|
-
}
|
|
2995
|
-
chunkAsync.chunkAsync = chunkAsync$1;
|
|
2996
|
-
|
|
2997
|
-
return chunkAsync;
|
|
2998
|
-
}
|
|
2999
|
-
|
|
3000
|
-
var chunkByAsync$1 = {};
|
|
3001
|
-
|
|
3002
|
-
var es2018$5 = {};
|
|
3003
|
-
|
|
3004
|
-
var array = {};
|
|
3005
|
-
|
|
3006
|
-
array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
|
|
3007
|
-
function isArray(val) {
|
|
3008
|
-
return Array.isArray(val);
|
|
3009
|
-
}
|
|
3010
|
-
array.isArray = isArray;
|
|
3011
|
-
function isntArray(val) {
|
|
3012
|
-
return !isArray(val);
|
|
3013
|
-
}
|
|
3014
|
-
array.isntArray = isntArray;
|
|
3015
|
-
function isEmptyArray(val) {
|
|
3016
|
-
return val.length === 0;
|
|
3017
|
-
}
|
|
3018
|
-
array.isEmptyArray = isEmptyArray;
|
|
3019
|
-
function isntEmptyArray(val) {
|
|
3020
|
-
return val.length !== 0;
|
|
3021
|
-
}
|
|
3022
|
-
array.isntEmptyArray = isntEmptyArray;
|
|
3023
|
-
|
|
3024
|
-
var asyncIterable = {};
|
|
3025
|
-
|
|
3026
|
-
var _null = {};
|
|
3027
|
-
|
|
3028
|
-
_null.isntNull = _null.isNull = void 0;
|
|
3029
|
-
function isNull(val) {
|
|
3030
|
-
return val === null;
|
|
3031
|
-
}
|
|
3032
|
-
_null.isNull = isNull;
|
|
3033
|
-
function isntNull(val) {
|
|
3034
|
-
return !isNull(val);
|
|
3035
|
-
}
|
|
3036
|
-
_null.isntNull = isntNull;
|
|
3037
|
-
|
|
3038
|
-
var _undefined = {};
|
|
3039
|
-
|
|
3040
|
-
_undefined.isntUndefined = _undefined.isUndefined = void 0;
|
|
3041
|
-
function isUndefined(val) {
|
|
3042
|
-
return val === undefined;
|
|
3043
|
-
}
|
|
3044
|
-
_undefined.isUndefined = isUndefined;
|
|
3045
|
-
function isntUndefined(val) {
|
|
3046
|
-
return !isUndefined(val);
|
|
3047
|
-
}
|
|
3048
|
-
_undefined.isntUndefined = isntUndefined;
|
|
3049
|
-
|
|
3050
|
-
var _function = {};
|
|
3051
|
-
|
|
3052
|
-
_function.isntFunction = _function.isFunction = void 0;
|
|
3053
|
-
function isFunction(val) {
|
|
3054
|
-
return typeof val === 'function';
|
|
3055
|
-
}
|
|
3056
|
-
_function.isFunction = isFunction;
|
|
3057
|
-
function isntFunction(val) {
|
|
3058
|
-
return !isFunction(val);
|
|
3059
|
-
}
|
|
3060
|
-
_function.isntFunction = isntFunction;
|
|
3061
|
-
|
|
3062
|
-
asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
|
|
3063
|
-
const null_1$2 = _null;
|
|
3064
|
-
const undefined_1$1 = _undefined;
|
|
3065
|
-
const function_1$2 = _function;
|
|
3066
|
-
function isAsyncIterable(val) {
|
|
3067
|
-
return (0, null_1$2.isntNull)(val)
|
|
3068
|
-
&& (0, undefined_1$1.isntUndefined)(val)
|
|
3069
|
-
&& (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
|
|
3070
|
-
}
|
|
3071
|
-
asyncIterable.isAsyncIterable = isAsyncIterable;
|
|
3072
|
-
function isntAsyncIterable(val) {
|
|
3073
|
-
return !isAsyncIterable(val);
|
|
3074
|
-
}
|
|
3075
|
-
asyncIterable.isntAsyncIterable = isntAsyncIterable;
|
|
3076
|
-
|
|
3077
|
-
var bigint = {};
|
|
3078
|
-
|
|
3079
|
-
bigint.isntBigInt = bigint.isBigInt = void 0;
|
|
3080
|
-
function isBigInt(val) {
|
|
3081
|
-
return typeof val === 'bigint';
|
|
3082
|
-
}
|
|
3083
|
-
bigint.isBigInt = isBigInt;
|
|
3084
|
-
function isntBigInt(val) {
|
|
3085
|
-
return !isBigInt(val);
|
|
3086
|
-
}
|
|
3087
|
-
bigint.isntBigInt = isntBigInt;
|
|
3088
|
-
|
|
3089
|
-
var boolean = {};
|
|
3090
|
-
|
|
3091
|
-
boolean.isntBoolean = boolean.isBoolean = void 0;
|
|
3092
|
-
function isBoolean(val) {
|
|
3093
|
-
return typeof val === 'boolean';
|
|
3094
|
-
}
|
|
3095
|
-
boolean.isBoolean = isBoolean;
|
|
3096
|
-
function isntBoolean(val) {
|
|
3097
|
-
return !isBoolean(val);
|
|
3098
|
-
}
|
|
3099
|
-
boolean.isntBoolean = isntBoolean;
|
|
3100
|
-
|
|
3101
|
-
var char = {};
|
|
3102
|
-
|
|
3103
|
-
var string = {};
|
|
3104
|
-
|
|
3105
|
-
string.isntString = string.isString = void 0;
|
|
3106
|
-
function isString(val) {
|
|
3107
|
-
return typeof val === 'string';
|
|
3108
|
-
}
|
|
3109
|
-
string.isString = isString;
|
|
3110
|
-
function isntString(val) {
|
|
3111
|
-
return !isString(val);
|
|
3112
|
-
}
|
|
3113
|
-
string.isntString = isntString;
|
|
3114
|
-
|
|
3115
|
-
char.isntChar = char.isChar = void 0;
|
|
3116
|
-
const string_1$1 = string;
|
|
3117
|
-
function isChar(val) {
|
|
3118
|
-
return (0, string_1$1.isString)(val)
|
|
3119
|
-
&& val.length === 1;
|
|
3120
|
-
}
|
|
3121
|
-
char.isChar = isChar;
|
|
3122
|
-
function isntChar(val) {
|
|
3123
|
-
return !isChar(val);
|
|
3124
|
-
}
|
|
3125
|
-
char.isntChar = isntChar;
|
|
3126
|
-
|
|
3127
|
-
var date = {};
|
|
3128
|
-
|
|
3129
|
-
date.isntDate = date.isDate = void 0;
|
|
3130
|
-
function isDate(val) {
|
|
3131
|
-
return val instanceof Date;
|
|
3132
|
-
}
|
|
3133
|
-
date.isDate = isDate;
|
|
3134
|
-
function isntDate(val) {
|
|
3135
|
-
return !isDate(val);
|
|
3136
|
-
}
|
|
3137
|
-
date.isntDate = isntDate;
|
|
3138
|
-
|
|
3139
|
-
var _enum$1 = {};
|
|
3140
|
-
|
|
3141
|
-
_enum$1.inEnum = void 0;
|
|
3142
|
-
function inEnum(val, _enum) {
|
|
3143
|
-
return Object.values(_enum).includes(val);
|
|
3144
|
-
}
|
|
3145
|
-
_enum$1.inEnum = inEnum;
|
|
3146
|
-
|
|
3147
|
-
var error = {};
|
|
3148
|
-
|
|
3149
|
-
error.isntError = error.isError = void 0;
|
|
3150
|
-
function isError(val) {
|
|
3151
|
-
return val instanceof Error;
|
|
3152
|
-
}
|
|
3153
|
-
error.isError = isError;
|
|
3154
|
-
function isntError(val) {
|
|
3155
|
-
return !isError(val);
|
|
3156
|
-
}
|
|
3157
|
-
error.isntError = isntError;
|
|
3158
|
-
|
|
3159
|
-
var falsy = {};
|
|
3160
|
-
|
|
3161
|
-
falsy.isntFalsy = falsy.isFalsy = void 0;
|
|
3162
|
-
function isFalsy(val) {
|
|
3163
|
-
return !val;
|
|
3164
|
-
}
|
|
3165
|
-
falsy.isFalsy = isFalsy;
|
|
3166
|
-
function isntFalsy(val) {
|
|
3167
|
-
return !isFalsy(val);
|
|
3168
|
-
}
|
|
3169
|
-
falsy.isntFalsy = isntFalsy;
|
|
3170
|
-
|
|
3171
|
-
var iterable = {};
|
|
3172
|
-
|
|
3173
|
-
iterable.isntIterable = iterable.isIterable = void 0;
|
|
3174
|
-
const null_1$1 = _null;
|
|
3175
|
-
const undefined_1 = _undefined;
|
|
3176
|
-
const function_1$1 = _function;
|
|
3177
|
-
function isIterable(val) {
|
|
3178
|
-
return (0, null_1$1.isntNull)(val)
|
|
3179
|
-
&& (0, undefined_1.isntUndefined)(val)
|
|
3180
|
-
&& (0, function_1$1.isFunction)(val[Symbol.iterator]);
|
|
3181
|
-
}
|
|
3182
|
-
iterable.isIterable = isIterable;
|
|
3183
|
-
function isntIterable(val) {
|
|
3184
|
-
return !isIterable(val);
|
|
3185
|
-
}
|
|
3186
|
-
iterable.isntIterable = isntIterable;
|
|
3187
|
-
|
|
3188
|
-
var json = {};
|
|
3189
|
-
|
|
3190
|
-
var number = {};
|
|
3191
|
-
|
|
3192
|
-
number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
|
|
3193
|
-
function isNumber(val) {
|
|
3194
|
-
return typeof val === 'number';
|
|
3195
|
-
}
|
|
3196
|
-
number.isNumber = isNumber;
|
|
3197
|
-
function isntNumber(val) {
|
|
3198
|
-
return !isNumber(val);
|
|
3199
|
-
}
|
|
3200
|
-
number.isntNumber = isntNumber;
|
|
3201
|
-
function isFinite(val) {
|
|
3202
|
-
return Number.isFinite(val);
|
|
3203
|
-
}
|
|
3204
|
-
number.isFinite = isFinite;
|
|
3205
|
-
function isPositiveInfinity(val) {
|
|
3206
|
-
return val === Infinity;
|
|
3207
|
-
}
|
|
3208
|
-
number.isPositiveInfinity = isPositiveInfinity;
|
|
3209
|
-
function isNegativeInfinity(val) {
|
|
3210
|
-
return val === -Infinity;
|
|
3211
|
-
}
|
|
3212
|
-
number.isNegativeInfinity = isNegativeInfinity;
|
|
3213
|
-
function isNaN(val) {
|
|
3214
|
-
return Number.isNaN(val);
|
|
3215
|
-
}
|
|
3216
|
-
number.isNaN = isNaN;
|
|
3217
|
-
function isntNaN(val) {
|
|
3218
|
-
return !isNaN(val);
|
|
3219
|
-
}
|
|
3220
|
-
number.isntNaN = isntNaN;
|
|
3221
|
-
|
|
3222
|
-
var object = {};
|
|
3223
|
-
|
|
3224
|
-
var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
3225
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
3226
|
-
};object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
|
|
3227
|
-
const isPlainObject_1 = __importDefault$1(isPlainObject_1$2);
|
|
3228
|
-
function isObject(val) {
|
|
3229
|
-
return val !== null
|
|
3230
|
-
&& typeof val === 'object';
|
|
3231
|
-
}
|
|
3232
|
-
object.isObject = isObject;
|
|
3233
|
-
function isntObject(val) {
|
|
3234
|
-
return !isObject(val);
|
|
3235
|
-
}
|
|
3236
|
-
object.isntObject = isntObject;
|
|
3237
|
-
function isPlainObject(val) {
|
|
3238
|
-
return (0, isPlainObject_1.default)(val);
|
|
3239
|
-
}
|
|
3240
|
-
object.isPlainObject = isPlainObject;
|
|
3241
|
-
function isntPlainObject(val) {
|
|
3242
|
-
return !isPlainObject(val);
|
|
3243
|
-
}
|
|
3244
|
-
object.isntPlainObject = isntPlainObject;
|
|
3245
|
-
function isEmptyObject(val) {
|
|
3246
|
-
return Object.keys(val).length === 0;
|
|
3247
|
-
}
|
|
3248
|
-
object.isEmptyObject = isEmptyObject;
|
|
3249
|
-
function isntEmptyObject(val) {
|
|
3250
|
-
return Object.keys(val).length !== 0;
|
|
3251
|
-
}
|
|
3252
|
-
object.isntEmptyObject = isntEmptyObject;
|
|
3253
|
-
|
|
3254
|
-
json.isntJsonable = json.isJsonable = json.isntJson = json.isJson = void 0;
|
|
3255
|
-
const null_1 = _null;
|
|
3256
|
-
const boolean_1 = boolean;
|
|
3257
|
-
const string_1 = string;
|
|
3258
|
-
const number_1 = number;
|
|
3259
|
-
const array_1 = array;
|
|
3260
|
-
const object_1$1 = object;
|
|
3261
|
-
function isJson(val) {
|
|
3262
|
-
return (0, null_1.isNull)(val)
|
|
3263
|
-
|| (0, boolean_1.isBoolean)(val)
|
|
3264
|
-
|| (0, string_1.isString)(val)
|
|
3265
|
-
|| (0, number_1.isNumber)(val)
|
|
3266
|
-
|| ((0, array_1.isArray)(val) && val.every(isJson))
|
|
3267
|
-
|| ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
|
|
2783
|
+
randomInt$1.randomInt = void 0;
|
|
2784
|
+
function randomInt(min, max) {
|
|
2785
|
+
min = Math.ceil(min);
|
|
2786
|
+
max = Math.floor(max);
|
|
2787
|
+
return Math.floor(Math.random() * (max - min)) + min;
|
|
3268
2788
|
}
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
2789
|
+
randomInt$1.randomInt = randomInt;
|
|
2790
|
+
|
|
2791
|
+
var randomIntInclusive$1 = {};
|
|
2792
|
+
|
|
2793
|
+
randomIntInclusive$1.randomIntInclusive = void 0;
|
|
2794
|
+
function randomIntInclusive(min, max) {
|
|
2795
|
+
min = Math.ceil(min);
|
|
2796
|
+
max = Math.floor(max);
|
|
2797
|
+
return Math.floor(Math.random() * (max - min + 1)) + min;
|
|
3272
2798
|
}
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
2799
|
+
randomIntInclusive$1.randomIntInclusive = randomIntInclusive;
|
|
2800
|
+
|
|
2801
|
+
(function (exports) {
|
|
2802
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2803
|
+
if (k2 === undefined) k2 = k;
|
|
2804
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2805
|
+
}) : (function(o, m, k, k2) {
|
|
2806
|
+
if (k2 === undefined) k2 = k;
|
|
2807
|
+
o[k2] = m[k];
|
|
2808
|
+
}));
|
|
2809
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2810
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2811
|
+
};__exportStar(random$1, exports);
|
|
2812
|
+
__exportStar(randomInt$1, exports);
|
|
2813
|
+
__exportStar(randomIntInclusive$1, exports);
|
|
2814
|
+
|
|
2815
|
+
} (es2018$5));
|
|
2816
|
+
|
|
2817
|
+
exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
|
|
2818
|
+
const extra_rand_1 = es2018$5;
|
|
2819
|
+
function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
|
|
2820
|
+
const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
|
|
2821
|
+
if (jitter) {
|
|
2822
|
+
return (0, extra_rand_1.randomIntInclusive)(0, timeout);
|
|
3278
2823
|
}
|
|
3279
|
-
|
|
3280
|
-
return
|
|
2824
|
+
else {
|
|
2825
|
+
return timeout;
|
|
3281
2826
|
}
|
|
3282
2827
|
}
|
|
3283
|
-
|
|
3284
|
-
function isntJsonable(val) {
|
|
3285
|
-
return !isntJsonable();
|
|
3286
|
-
}
|
|
3287
|
-
json.isntJsonable = isntJsonable;
|
|
2828
|
+
exponentialBackoff.calculateExponentialBackoffTimeout = calculateExponentialBackoffTimeout;
|
|
3288
2829
|
|
|
3289
|
-
var
|
|
2830
|
+
var setTimeout$2 = {};
|
|
3290
2831
|
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
return val instanceof Promise;
|
|
3296
|
-
}
|
|
3297
|
-
promise.isPromise = isPromise;
|
|
3298
|
-
function isntPromise(val) {
|
|
3299
|
-
return !isPromise(val);
|
|
2832
|
+
setTimeout$2.setTimeout = void 0;
|
|
2833
|
+
function setTimeout$1(timeout, cb) {
|
|
2834
|
+
const timer = globalThis.setTimeout(cb, timeout);
|
|
2835
|
+
return () => clearTimeout(timer);
|
|
3300
2836
|
}
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
2837
|
+
setTimeout$2.setTimeout = setTimeout$1;
|
|
2838
|
+
|
|
2839
|
+
var setSchedule$1 = {};
|
|
2840
|
+
|
|
2841
|
+
setSchedule$1.setSchedule = void 0;
|
|
2842
|
+
const set_timeout_1$3 = setTimeout$2;
|
|
2843
|
+
function setSchedule(timestamp, cb) {
|
|
2844
|
+
const timeout = timestamp - Date.now();
|
|
2845
|
+
return (0, set_timeout_1$3.setTimeout)(timeout, cb);
|
|
3304
2846
|
}
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
2847
|
+
setSchedule$1.setSchedule = setSchedule;
|
|
2848
|
+
|
|
2849
|
+
var setInterval$1 = {};
|
|
2850
|
+
|
|
2851
|
+
setInterval$1.setInterval = void 0;
|
|
2852
|
+
function setInterval(timeout, cb) {
|
|
2853
|
+
const timer = globalThis.setInterval(cb, timeout);
|
|
2854
|
+
return () => clearInterval(timer);
|
|
3309
2855
|
}
|
|
3310
|
-
|
|
2856
|
+
setInterval$1.setInterval = setInterval;
|
|
3311
2857
|
|
|
3312
|
-
var
|
|
2858
|
+
var setImmediate$1 = {};
|
|
3313
2859
|
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
2860
|
+
setImmediate$1.setImmediate = void 0;
|
|
2861
|
+
const set_timeout_1$2 = setTimeout$2;
|
|
2862
|
+
function setImmediate(cb) {
|
|
2863
|
+
if (globalThis.setImmediate) {
|
|
2864
|
+
const timer = globalThis.setImmediate(cb);
|
|
2865
|
+
return () => clearImmediate(timer);
|
|
3319
2866
|
}
|
|
3320
|
-
|
|
3321
|
-
return
|
|
2867
|
+
else {
|
|
2868
|
+
return (0, set_timeout_1$2.setTimeout)(0, cb);
|
|
3322
2869
|
}
|
|
3323
2870
|
}
|
|
3324
|
-
|
|
2871
|
+
setImmediate$1.setImmediate = setImmediate;
|
|
3325
2872
|
|
|
3326
|
-
var
|
|
2873
|
+
var setTimeoutLoop$1 = {};
|
|
3327
2874
|
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
2875
|
+
setTimeoutLoop$1.setTimeoutLoop = void 0;
|
|
2876
|
+
const set_timeout_1$1 = setTimeout$2;
|
|
2877
|
+
function setTimeoutLoop(timeout, cb) {
|
|
2878
|
+
let isCancelled = false;
|
|
2879
|
+
let cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2880
|
+
return () => {
|
|
2881
|
+
isCancelled = true;
|
|
2882
|
+
cancel();
|
|
2883
|
+
};
|
|
2884
|
+
async function loop() {
|
|
2885
|
+
await cb();
|
|
2886
|
+
if (!isCancelled) {
|
|
2887
|
+
cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2888
|
+
}
|
|
2889
|
+
}
|
|
3335
2890
|
}
|
|
3336
|
-
|
|
2891
|
+
setTimeoutLoop$1.setTimeoutLoop = setTimeoutLoop;
|
|
3337
2892
|
|
|
3338
|
-
var
|
|
2893
|
+
var setDynamicTimeoutLoop$1 = {};
|
|
3339
2894
|
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
2895
|
+
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = void 0;
|
|
2896
|
+
const set_timeout_1 = setTimeout$2;
|
|
2897
|
+
function setDynamicTimeoutLoop(timeout, cb) {
|
|
2898
|
+
let isCancelled = false;
|
|
2899
|
+
let cancel = (0, set_timeout_1.setTimeout)(timeout, loop);
|
|
2900
|
+
return () => {
|
|
2901
|
+
isCancelled = true;
|
|
2902
|
+
cancel();
|
|
2903
|
+
};
|
|
2904
|
+
async function loop() {
|
|
2905
|
+
const start = Date.now();
|
|
2906
|
+
await cb();
|
|
2907
|
+
const elapsed = Date.now() - start;
|
|
2908
|
+
if (!isCancelled) {
|
|
2909
|
+
cancel = (0, set_timeout_1.setTimeout)(Math.max(timeout - elapsed, 0), loop);
|
|
2910
|
+
}
|
|
2911
|
+
}
|
|
3343
2912
|
}
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
2913
|
+
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = setDynamicTimeoutLoop;
|
|
2914
|
+
|
|
2915
|
+
(function (exports) {
|
|
2916
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2917
|
+
if (k2 === undefined) k2 = k;
|
|
2918
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2919
|
+
}) : (function(o, m, k, k2) {
|
|
2920
|
+
if (k2 === undefined) k2 = k;
|
|
2921
|
+
o[k2] = m[k];
|
|
2922
|
+
}));
|
|
2923
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2924
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2925
|
+
};__exportStar(exponentialBackoff, exports);
|
|
2926
|
+
__exportStar(setTimeout$2, exports);
|
|
2927
|
+
__exportStar(setSchedule$1, exports);
|
|
2928
|
+
__exportStar(setInterval$1, exports);
|
|
2929
|
+
__exportStar(setImmediate$1, exports);
|
|
2930
|
+
__exportStar(setTimeoutLoop$1, exports);
|
|
2931
|
+
__exportStar(setDynamicTimeoutLoop$1, exports);
|
|
2932
|
+
|
|
2933
|
+
} (es2018$6));
|
|
2934
|
+
|
|
2935
|
+
goMacrotask$1.goMacrotask = void 0;
|
|
2936
|
+
const extra_timers_1 = es2018$6;
|
|
2937
|
+
function goMacrotask(fn) {
|
|
2938
|
+
return new Promise((resolve, reject) => {
|
|
2939
|
+
(0, extra_timers_1.setImmediate)(async () => {
|
|
2940
|
+
try {
|
|
2941
|
+
resolve(await fn());
|
|
2942
|
+
}
|
|
2943
|
+
catch (e) {
|
|
2944
|
+
reject(e);
|
|
2945
|
+
}
|
|
2946
|
+
});
|
|
2947
|
+
});
|
|
3347
2948
|
}
|
|
3348
|
-
|
|
2949
|
+
goMacrotask$1.goMacrotask = goMacrotask;
|
|
3349
2950
|
|
|
3350
2951
|
(function (exports) {
|
|
3351
2952
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -3361,32 +2962,45 @@
|
|
|
3361
2962
|
}));
|
|
3362
2963
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
3363
2964
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3364
|
-
};__exportStar(
|
|
3365
|
-
__exportStar(
|
|
3366
|
-
__exportStar(
|
|
3367
|
-
__exportStar(boolean, exports);
|
|
3368
|
-
__exportStar(char, exports);
|
|
3369
|
-
__exportStar(date, exports);
|
|
3370
|
-
__exportStar(_enum$1, exports);
|
|
3371
|
-
__exportStar(error, exports);
|
|
3372
|
-
__exportStar(falsy, exports);
|
|
3373
|
-
__exportStar(_function, exports);
|
|
3374
|
-
__exportStar(iterable, exports);
|
|
3375
|
-
__exportStar(json, exports);
|
|
3376
|
-
__exportStar(_null, exports);
|
|
3377
|
-
__exportStar(number, exports);
|
|
3378
|
-
__exportStar(object, exports);
|
|
3379
|
-
__exportStar(promise, exports);
|
|
3380
|
-
__exportStar(string, exports);
|
|
3381
|
-
__exportStar(_undefined, exports);
|
|
3382
|
-
__exportStar(url, exports);
|
|
3383
|
-
__exportStar(regexp, exports);
|
|
3384
|
-
__exportStar(symbol, exports);
|
|
2965
|
+
};__exportStar(go$1, exports);
|
|
2966
|
+
__exportStar(goMicrotask$1, exports);
|
|
2967
|
+
__exportStar(goMacrotask$1, exports);
|
|
3385
2968
|
|
|
3386
|
-
} (es2018$
|
|
2969
|
+
} (es2018$7));
|
|
2970
|
+
|
|
2971
|
+
var hasRequiredChunkAsync;
|
|
2972
|
+
|
|
2973
|
+
function requireChunkAsync () {
|
|
2974
|
+
if (hasRequiredChunkAsync) return chunkAsync;
|
|
2975
|
+
hasRequiredChunkAsync = 1;
|
|
2976
|
+
chunkAsync.chunkAsync = void 0;
|
|
2977
|
+
const go_1 = es2018$7;
|
|
2978
|
+
const errors_1 = requireEs2018();
|
|
2979
|
+
function chunkAsync$1(iterable, size) {
|
|
2980
|
+
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
2981
|
+
(0, errors_1.assert)(size > 0, 'The parameter size must be greater than 0');
|
|
2982
|
+
return (0, go_1.go)(async function* () {
|
|
2983
|
+
let buffer = [];
|
|
2984
|
+
for await (const element of iterable) {
|
|
2985
|
+
buffer.push(element);
|
|
2986
|
+
if (buffer.length >= size) {
|
|
2987
|
+
yield buffer;
|
|
2988
|
+
buffer = [];
|
|
2989
|
+
}
|
|
2990
|
+
}
|
|
2991
|
+
if (buffer.length)
|
|
2992
|
+
yield buffer;
|
|
2993
|
+
});
|
|
2994
|
+
}
|
|
2995
|
+
chunkAsync.chunkAsync = chunkAsync$1;
|
|
2996
|
+
|
|
2997
|
+
return chunkAsync;
|
|
2998
|
+
}
|
|
2999
|
+
|
|
3000
|
+
var chunkByAsync$1 = {};
|
|
3387
3001
|
|
|
3388
3002
|
chunkByAsync$1.chunkByAsync = void 0;
|
|
3389
|
-
const types_1$l = es2018$
|
|
3003
|
+
const types_1$l = es2018$a;
|
|
3390
3004
|
function chunkByAsync(iterable, predicate) {
|
|
3391
3005
|
if ((0, types_1$l.isAsyncIterable)(iterable)) {
|
|
3392
3006
|
return chunkByAsyncIterable(iterable, predicate);
|
|
@@ -3452,7 +3066,7 @@
|
|
|
3452
3066
|
if (hasRequiredChunk) return chunk;
|
|
3453
3067
|
hasRequiredChunk = 1;
|
|
3454
3068
|
chunk.chunk = void 0;
|
|
3455
|
-
const go_1 = es2018$
|
|
3069
|
+
const go_1 = es2018$7;
|
|
3456
3070
|
const errors_1 = requireEs2018();
|
|
3457
3071
|
function chunk$1(iterable, size) {
|
|
3458
3072
|
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -3478,8 +3092,8 @@
|
|
|
3478
3092
|
var concatAsync$1 = {};
|
|
3479
3093
|
|
|
3480
3094
|
concatAsync$1.concatAsync = void 0;
|
|
3481
|
-
const types_1$k = es2018$
|
|
3482
|
-
const go_1$1 = es2018$
|
|
3095
|
+
const types_1$k = es2018$a;
|
|
3096
|
+
const go_1$1 = es2018$7;
|
|
3483
3097
|
function concatAsync(iterable, ...otherIterables) {
|
|
3484
3098
|
return (0, go_1$1.go)(async function* () {
|
|
3485
3099
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -3501,7 +3115,7 @@
|
|
|
3501
3115
|
var concat$1 = {};
|
|
3502
3116
|
|
|
3503
3117
|
concat$1.concat = void 0;
|
|
3504
|
-
const go_1 = es2018$
|
|
3118
|
+
const go_1 = es2018$7;
|
|
3505
3119
|
function concat(iterable, ...otherIterables) {
|
|
3506
3120
|
return (0, go_1.go)(function* () {
|
|
3507
3121
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -3535,7 +3149,7 @@
|
|
|
3535
3149
|
if (hasRequiredDropAsync) return dropAsync;
|
|
3536
3150
|
hasRequiredDropAsync = 1;
|
|
3537
3151
|
dropAsync.dropAsync = void 0;
|
|
3538
|
-
const go_1 = es2018$
|
|
3152
|
+
const go_1 = es2018$7;
|
|
3539
3153
|
const utils_1 = utils$1;
|
|
3540
3154
|
const errors_1 = requireEs2018();
|
|
3541
3155
|
function dropAsync$1(iterable, count) {
|
|
@@ -3578,7 +3192,7 @@
|
|
|
3578
3192
|
if (hasRequiredDropRightAsync) return dropRightAsync;
|
|
3579
3193
|
hasRequiredDropRightAsync = 1;
|
|
3580
3194
|
dropRightAsync.dropRightAsync = void 0;
|
|
3581
|
-
const go_1 = es2018$
|
|
3195
|
+
const go_1 = es2018$7;
|
|
3582
3196
|
const utils_1 = utils$1;
|
|
3583
3197
|
const errors_1 = requireEs2018();
|
|
3584
3198
|
function dropRightAsync$1(iterable, count) {
|
|
@@ -3614,7 +3228,7 @@
|
|
|
3614
3228
|
if (hasRequiredDropRight) return dropRight;
|
|
3615
3229
|
hasRequiredDropRight = 1;
|
|
3616
3230
|
dropRight.dropRight = void 0;
|
|
3617
|
-
const go_1 = es2018$
|
|
3231
|
+
const go_1 = es2018$7;
|
|
3618
3232
|
const utils_1 = utils$1;
|
|
3619
3233
|
const errors_1 = requireEs2018();
|
|
3620
3234
|
function dropRight$1(iterable, count) {
|
|
@@ -3635,7 +3249,7 @@
|
|
|
3635
3249
|
var dropUntilAsync$1 = {};
|
|
3636
3250
|
|
|
3637
3251
|
dropUntilAsync$1.dropUntilAsync = void 0;
|
|
3638
|
-
const types_1$j = es2018$
|
|
3252
|
+
const types_1$j = es2018$a;
|
|
3639
3253
|
function dropUntilAsync(iterable, predicate) {
|
|
3640
3254
|
if ((0, types_1$j.isAsyncIterable)(iterable)) {
|
|
3641
3255
|
return dropUntilAsyncIterable(iterable, predicate);
|
|
@@ -3722,7 +3336,7 @@
|
|
|
3722
3336
|
if (hasRequiredDrop) return drop;
|
|
3723
3337
|
hasRequiredDrop = 1;
|
|
3724
3338
|
drop.drop = void 0;
|
|
3725
|
-
const go_1 = es2018$
|
|
3339
|
+
const go_1 = es2018$7;
|
|
3726
3340
|
const utils_1 = utils$1;
|
|
3727
3341
|
const errors_1 = requireEs2018();
|
|
3728
3342
|
function drop$1(iterable, count) {
|
|
@@ -3760,7 +3374,7 @@
|
|
|
3760
3374
|
var filterAsync$1 = {};
|
|
3761
3375
|
|
|
3762
3376
|
filterAsync$1.filterAsync = void 0;
|
|
3763
|
-
const types_1$i = es2018$
|
|
3377
|
+
const types_1$i = es2018$a;
|
|
3764
3378
|
function filterAsync(iterable, predicate) {
|
|
3765
3379
|
if ((0, types_1$i.isAsyncIterable)(iterable)) {
|
|
3766
3380
|
return filterAsyncIterable(iterable, predicate);
|
|
@@ -3807,7 +3421,7 @@
|
|
|
3807
3421
|
var flattenByAsync$1 = {};
|
|
3808
3422
|
|
|
3809
3423
|
flattenByAsync$1.flattenByAsync = void 0;
|
|
3810
|
-
const types_1$h = es2018$
|
|
3424
|
+
const types_1$h = es2018$a;
|
|
3811
3425
|
function flattenByAsync(iterable, predicate) {
|
|
3812
3426
|
if ((0, types_1$h.isAsyncIterable)(iterable)) {
|
|
3813
3427
|
return flattenByAsyncIterable(iterable, predicate);
|
|
@@ -3881,7 +3495,7 @@
|
|
|
3881
3495
|
var flattenBy$1 = {};
|
|
3882
3496
|
|
|
3883
3497
|
flattenBy$1.flattenBy = void 0;
|
|
3884
|
-
const types_1$g = es2018$
|
|
3498
|
+
const types_1$g = es2018$a;
|
|
3885
3499
|
function flattenBy(iterable, predicate) {
|
|
3886
3500
|
return flatten$1(iterable, predicate, 1);
|
|
3887
3501
|
}
|
|
@@ -3940,7 +3554,7 @@
|
|
|
3940
3554
|
var mapAsync$1 = {};
|
|
3941
3555
|
|
|
3942
3556
|
mapAsync$1.mapAsync = void 0;
|
|
3943
|
-
const types_1$f = es2018$
|
|
3557
|
+
const types_1$f = es2018$a;
|
|
3944
3558
|
function mapAsync(iterable, fn) {
|
|
3945
3559
|
if ((0, types_1$f.isAsyncIterable)(iterable)) {
|
|
3946
3560
|
return mapAsyncIterable(iterable, fn);
|
|
@@ -3985,7 +3599,7 @@
|
|
|
3985
3599
|
if (hasRequiredRepeatAsync) return repeatAsync;
|
|
3986
3600
|
hasRequiredRepeatAsync = 1;
|
|
3987
3601
|
repeatAsync.repeatAsync = void 0;
|
|
3988
|
-
const go_1 = es2018$
|
|
3602
|
+
const go_1 = es2018$7;
|
|
3989
3603
|
const errors_1 = requireEs2018();
|
|
3990
3604
|
function repeatAsync$1(iterable, times) {
|
|
3991
3605
|
(0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -4028,7 +3642,7 @@
|
|
|
4028
3642
|
if (hasRequiredRepeat) return repeat;
|
|
4029
3643
|
hasRequiredRepeat = 1;
|
|
4030
3644
|
repeat.repeat = void 0;
|
|
4031
|
-
const go_1 = es2018$
|
|
3645
|
+
const go_1 = es2018$7;
|
|
4032
3646
|
const errors_1 = requireEs2018();
|
|
4033
3647
|
function repeat$1(iterable, times) {
|
|
4034
3648
|
(0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -4071,7 +3685,7 @@
|
|
|
4071
3685
|
if (hasRequiredSliceAsync) return sliceAsync;
|
|
4072
3686
|
hasRequiredSliceAsync = 1;
|
|
4073
3687
|
sliceAsync.sliceAsync = void 0;
|
|
4074
|
-
const go_1 = es2018$
|
|
3688
|
+
const go_1 = es2018$7;
|
|
4075
3689
|
const errors_1 = requireEs2018();
|
|
4076
3690
|
function sliceAsync$1(iterable, start, end = Infinity) {
|
|
4077
3691
|
(0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -4102,7 +3716,7 @@
|
|
|
4102
3716
|
if (hasRequiredSlice) return slice;
|
|
4103
3717
|
hasRequiredSlice = 1;
|
|
4104
3718
|
slice.slice = void 0;
|
|
4105
|
-
const go_1 = es2018$
|
|
3719
|
+
const go_1 = es2018$7;
|
|
4106
3720
|
const errors_1 = requireEs2018();
|
|
4107
3721
|
function slice$1(iterable, start, end = Infinity) {
|
|
4108
3722
|
(0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -4146,7 +3760,7 @@
|
|
|
4146
3760
|
var splitByAsync$1 = {};
|
|
4147
3761
|
|
|
4148
3762
|
splitByAsync$1.splitByAsync = void 0;
|
|
4149
|
-
const types_1$e = es2018$
|
|
3763
|
+
const types_1$e = es2018$a;
|
|
4150
3764
|
function splitByAsync(iterable, predicate) {
|
|
4151
3765
|
if ((0, types_1$e.isAsyncIterable)(iterable)) {
|
|
4152
3766
|
return splitByAsyncIterable(iterable, predicate);
|
|
@@ -4233,7 +3847,7 @@
|
|
|
4233
3847
|
if (hasRequiredTakeAsync) return takeAsync;
|
|
4234
3848
|
hasRequiredTakeAsync = 1;
|
|
4235
3849
|
takeAsync.takeAsync = void 0;
|
|
4236
|
-
const go_1 = es2018$
|
|
3850
|
+
const go_1 = es2018$7;
|
|
4237
3851
|
const errors_1 = requireEs2018();
|
|
4238
3852
|
function takeAsync$1(iterable, count) {
|
|
4239
3853
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4262,7 +3876,7 @@
|
|
|
4262
3876
|
if (hasRequiredTakeRightAsync) return takeRightAsync;
|
|
4263
3877
|
hasRequiredTakeRightAsync = 1;
|
|
4264
3878
|
takeRightAsync.takeRightAsync = void 0;
|
|
4265
|
-
const go_1 = es2018$
|
|
3879
|
+
const go_1 = es2018$7;
|
|
4266
3880
|
const errors_1 = requireEs2018();
|
|
4267
3881
|
function takeRightAsync$1(iterable, count) {
|
|
4268
3882
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4300,7 +3914,7 @@
|
|
|
4300
3914
|
if (hasRequiredTakeRight) return takeRight;
|
|
4301
3915
|
hasRequiredTakeRight = 1;
|
|
4302
3916
|
takeRight.takeRight = void 0;
|
|
4303
|
-
const go_1 = es2018$
|
|
3917
|
+
const go_1 = es2018$7;
|
|
4304
3918
|
const errors_1 = requireEs2018();
|
|
4305
3919
|
function takeRight$1(iterable, count) {
|
|
4306
3920
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4333,7 +3947,7 @@
|
|
|
4333
3947
|
var takeUntilAsync$1 = {};
|
|
4334
3948
|
|
|
4335
3949
|
takeUntilAsync$1.takeUntilAsync = void 0;
|
|
4336
|
-
const types_1$d = es2018$
|
|
3950
|
+
const types_1$d = es2018$a;
|
|
4337
3951
|
function takeUntilAsync(iterable, predicate) {
|
|
4338
3952
|
if ((0, types_1$d.isAsyncIterable)(iterable)) {
|
|
4339
3953
|
return takeUntilAsyncIterable(iterable, predicate);
|
|
@@ -4384,7 +3998,7 @@
|
|
|
4384
3998
|
if (hasRequiredTake) return take;
|
|
4385
3999
|
hasRequiredTake = 1;
|
|
4386
4000
|
take.take = void 0;
|
|
4387
|
-
const go_1 = es2018$
|
|
4001
|
+
const go_1 = es2018$7;
|
|
4388
4002
|
const errors_1 = requireEs2018();
|
|
4389
4003
|
function take$1(iterable, count) {
|
|
4390
4004
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4408,7 +4022,7 @@
|
|
|
4408
4022
|
var tapAsync$1 = {};
|
|
4409
4023
|
|
|
4410
4024
|
tapAsync$1.tapAsync = void 0;
|
|
4411
|
-
const types_1$c = es2018$
|
|
4025
|
+
const types_1$c = es2018$a;
|
|
4412
4026
|
function tapAsync(iterable, fn) {
|
|
4413
4027
|
if ((0, types_1$c.isAsyncIterable)(iterable)) {
|
|
4414
4028
|
return tapAsyncIterable(iterable, fn);
|
|
@@ -4491,7 +4105,7 @@
|
|
|
4491
4105
|
var uniqByAsync$1 = {};
|
|
4492
4106
|
|
|
4493
4107
|
uniqByAsync$1.uniqByAsync = void 0;
|
|
4494
|
-
const types_1$b = es2018$
|
|
4108
|
+
const types_1$b = es2018$a;
|
|
4495
4109
|
function uniqByAsync(iterable, fn) {
|
|
4496
4110
|
if ((0, types_1$b.isAsyncIterable)(iterable)) {
|
|
4497
4111
|
return uniqByAsyncIterable(iterable, fn);
|
|
@@ -4560,7 +4174,7 @@
|
|
|
4560
4174
|
var zipAsync$1 = {};
|
|
4561
4175
|
|
|
4562
4176
|
zipAsync$1.zipAsync = void 0;
|
|
4563
|
-
const types_1$a = es2018$
|
|
4177
|
+
const types_1$a = es2018$a;
|
|
4564
4178
|
var Kind;
|
|
4565
4179
|
(function (Kind) {
|
|
4566
4180
|
Kind[Kind["Sync"] = 0] = "Sync";
|
|
@@ -4731,7 +4345,7 @@
|
|
|
4731
4345
|
var eachAsync$1 = {};
|
|
4732
4346
|
|
|
4733
4347
|
eachAsync$1.eachAsync = void 0;
|
|
4734
|
-
const types_1$9 = es2018$
|
|
4348
|
+
const types_1$9 = es2018$a;
|
|
4735
4349
|
function eachAsync(iterable, fn) {
|
|
4736
4350
|
if ((0, types_1$9.isAsyncIterable)(iterable)) {
|
|
4737
4351
|
return eachAsyncIterable(iterable, fn);
|
|
@@ -4771,7 +4385,7 @@
|
|
|
4771
4385
|
var everyAsync$1 = {};
|
|
4772
4386
|
|
|
4773
4387
|
everyAsync$1.everyAsync = void 0;
|
|
4774
|
-
const types_1$8 = es2018$
|
|
4388
|
+
const types_1$8 = es2018$a;
|
|
4775
4389
|
function everyAsync(iterable, predicate) {
|
|
4776
4390
|
if ((0, types_1$8.isAsyncIterable)(iterable)) {
|
|
4777
4391
|
return everyAsyncIterable(iterable, predicate);
|
|
@@ -4817,7 +4431,7 @@
|
|
|
4817
4431
|
var findAsync$1 = {};
|
|
4818
4432
|
|
|
4819
4433
|
findAsync$1.findAsync = void 0;
|
|
4820
|
-
const types_1$7 = es2018$
|
|
4434
|
+
const types_1$7 = es2018$a;
|
|
4821
4435
|
function findAsync(iterable, predicate) {
|
|
4822
4436
|
if ((0, types_1$7.isAsyncIterable)(iterable)) {
|
|
4823
4437
|
return findAsyncIterable(iterable, predicate);
|
|
@@ -4941,7 +4555,7 @@
|
|
|
4941
4555
|
var reduceAsync$1 = {};
|
|
4942
4556
|
|
|
4943
4557
|
reduceAsync$1.reduceAsync = void 0;
|
|
4944
|
-
const types_1$6 = es2018$
|
|
4558
|
+
const types_1$6 = es2018$a;
|
|
4945
4559
|
function reduceAsync(iterable, fn, initialValue) {
|
|
4946
4560
|
if ((0, types_1$6.isUndefined)(initialValue)) {
|
|
4947
4561
|
return reduceAsyncWithoutInitialValue(iterable, fn);
|
|
@@ -5037,7 +4651,7 @@
|
|
|
5037
4651
|
var reduce$1 = {};
|
|
5038
4652
|
|
|
5039
4653
|
reduce$1.reduce = void 0;
|
|
5040
|
-
const types_1$5 = es2018$
|
|
4654
|
+
const types_1$5 = es2018$a;
|
|
5041
4655
|
function reduce(iterable, fn, initialValue) {
|
|
5042
4656
|
if ((0, types_1$5.isUndefined)(initialValue)) {
|
|
5043
4657
|
return reduceWithoutInitialValue(iterable, fn);
|
|
@@ -5084,7 +4698,7 @@
|
|
|
5084
4698
|
var someAsync$1 = {};
|
|
5085
4699
|
|
|
5086
4700
|
someAsync$1.someAsync = void 0;
|
|
5087
|
-
const types_1$4 = es2018$
|
|
4701
|
+
const types_1$4 = es2018$a;
|
|
5088
4702
|
function someAsync(iterable, predicate) {
|
|
5089
4703
|
if ((0, types_1$4.isAsyncIterable)(iterable)) {
|
|
5090
4704
|
return someAsyncIterable(iterable, predicate);
|
|
@@ -5324,7 +4938,7 @@
|
|
|
5324
4938
|
var hasRequiredEs2018$1;
|
|
5325
4939
|
|
|
5326
4940
|
function requireEs2018$1 () {
|
|
5327
|
-
if (hasRequiredEs2018$1) return es2018$
|
|
4941
|
+
if (hasRequiredEs2018$1) return es2018$8;
|
|
5328
4942
|
hasRequiredEs2018$1 = 1;
|
|
5329
4943
|
(function (exports) {
|
|
5330
4944
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -5343,8 +4957,8 @@
|
|
|
5343
4957
|
};__exportStar(requireMiddleware(), exports);
|
|
5344
4958
|
__exportStar(output, exports);
|
|
5345
4959
|
|
|
5346
|
-
} (es2018$
|
|
5347
|
-
return es2018$
|
|
4960
|
+
} (es2018$8));
|
|
4961
|
+
return es2018$8;
|
|
5348
4962
|
}
|
|
5349
4963
|
|
|
5350
4964
|
var getErrorNames$1 = {};
|
|
@@ -5363,7 +4977,7 @@
|
|
|
5363
4977
|
traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
|
|
5364
4978
|
|
|
5365
4979
|
getErrorNames$1.getErrorNames = void 0;
|
|
5366
|
-
const types_1$3 = es2018$
|
|
4980
|
+
const types_1$3 = es2018$a;
|
|
5367
4981
|
const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
|
|
5368
4982
|
function* getErrorNames(err) {
|
|
5369
4983
|
var _a;
|
|
@@ -5384,7 +4998,7 @@
|
|
|
5384
4998
|
var serializableError = {};
|
|
5385
4999
|
|
|
5386
5000
|
serializableError.isSerializableError = void 0;
|
|
5387
|
-
const types_1$2 = es2018$
|
|
5001
|
+
const types_1$2 = es2018$a;
|
|
5388
5002
|
function isSerializableError(val) {
|
|
5389
5003
|
return (0, types_1$2.isObject)(val)
|
|
5390
5004
|
&& (0, types_1$2.isString)(val.name)
|
|
@@ -5402,7 +5016,7 @@
|
|
|
5402
5016
|
customError$1.CustomError = void 0;
|
|
5403
5017
|
const iterable_operator_1 = requireEs2018$1();
|
|
5404
5018
|
const get_error_names_1 = getErrorNames$1;
|
|
5405
|
-
const types_1 = es2018$
|
|
5019
|
+
const types_1 = es2018$a;
|
|
5406
5020
|
const serializable_error_1 = serializableError;
|
|
5407
5021
|
class CustomError extends Error {
|
|
5408
5022
|
get name() {
|
|
@@ -5548,7 +5162,7 @@
|
|
|
5548
5162
|
var hasRequiredEs2018;
|
|
5549
5163
|
|
|
5550
5164
|
function requireEs2018 () {
|
|
5551
|
-
if (hasRequiredEs2018) return es2018$
|
|
5165
|
+
if (hasRequiredEs2018) return es2018$9;
|
|
5552
5166
|
hasRequiredEs2018 = 1;
|
|
5553
5167
|
(function (exports) {
|
|
5554
5168
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -5573,12 +5187,12 @@
|
|
|
5573
5187
|
__exportStar(getErrorNames$1, exports);
|
|
5574
5188
|
__exportStar(traverseErrorPrototypeChain$1, exports);
|
|
5575
5189
|
|
|
5576
|
-
} (es2018$
|
|
5577
|
-
return es2018$
|
|
5190
|
+
} (es2018$9));
|
|
5191
|
+
return es2018$9;
|
|
5578
5192
|
}
|
|
5579
5193
|
|
|
5580
5194
|
csv$1.csv = void 0;
|
|
5581
|
-
const extra_fetch_1$4 = es2018$
|
|
5195
|
+
const extra_fetch_1$4 = es2018$c;
|
|
5582
5196
|
const papaparse_1$1 = papaparse.exports;
|
|
5583
5197
|
const errors_1$2 = requireEs2018();
|
|
5584
5198
|
function csv(payload) {
|
|
@@ -5615,7 +5229,7 @@
|
|
|
5615
5229
|
var header$1 = {};
|
|
5616
5230
|
|
|
5617
5231
|
header$1.header = void 0;
|
|
5618
|
-
const extra_fetch_1$3 = es2018$
|
|
5232
|
+
const extra_fetch_1$3 = es2018$c;
|
|
5619
5233
|
function header(name, value) {
|
|
5620
5234
|
return (options) => {
|
|
5621
5235
|
const headers = new extra_fetch_1$3.Headers(options.headers);
|
|
@@ -5631,7 +5245,7 @@
|
|
|
5631
5245
|
var appendHeader$1 = {};
|
|
5632
5246
|
|
|
5633
5247
|
appendHeader$1.appendHeader = void 0;
|
|
5634
|
-
const extra_fetch_1$2 = es2018$
|
|
5248
|
+
const extra_fetch_1$2 = es2018$c;
|
|
5635
5249
|
function appendHeader(name, value) {
|
|
5636
5250
|
return (options) => {
|
|
5637
5251
|
const headers = new extra_fetch_1$2.Headers(options.headers);
|
|
@@ -5647,7 +5261,7 @@
|
|
|
5647
5261
|
var headers$1 = {};
|
|
5648
5262
|
|
|
5649
5263
|
headers$1.headers = void 0;
|
|
5650
|
-
const extra_fetch_1$1 = es2018$
|
|
5264
|
+
const extra_fetch_1$1 = es2018$c;
|
|
5651
5265
|
function headers(headers) {
|
|
5652
5266
|
return (options) => {
|
|
5653
5267
|
const newHeaders = new extra_fetch_1$1.Headers(options.headers);
|
|
@@ -5787,8 +5401,8 @@
|
|
|
5787
5401
|
var formDataField$1 = {};
|
|
5788
5402
|
|
|
5789
5403
|
formDataField$1.formDataField = void 0;
|
|
5790
|
-
const extra_fetch_1 = es2018$
|
|
5791
|
-
const types_1$1 = es2018$
|
|
5404
|
+
const extra_fetch_1 = es2018$c;
|
|
5405
|
+
const types_1$1 = es2018$a;
|
|
5792
5406
|
function formDataField(name, value) {
|
|
5793
5407
|
return (options) => {
|
|
5794
5408
|
const formData = options.payload instanceof extra_fetch_1.FormData
|
|
@@ -6164,9 +5778,9 @@
|
|
|
6164
5778
|
}));
|
|
6165
5779
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
6166
5780
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
6167
|
-
};__exportStar(url$
|
|
5781
|
+
};__exportStar(url$1, exports);
|
|
6168
5782
|
__exportStar(text$1, exports);
|
|
6169
|
-
__exportStar(json$
|
|
5783
|
+
__exportStar(json$1, exports);
|
|
6170
5784
|
__exportStar(csv$1, exports);
|
|
6171
5785
|
__exportStar(signal$1, exports);
|
|
6172
5786
|
__exportStar(header$1, exports);
|
|
@@ -7008,7 +6622,7 @@
|
|
|
7008
6622
|
|
|
7009
6623
|
abortError.AbortError = void 0;
|
|
7010
6624
|
const errors_1 = requireEs2018();
|
|
7011
|
-
const types_1 = es2018$
|
|
6625
|
+
const types_1 = es2018$a;
|
|
7012
6626
|
const iterable_operator_1 = requireEs2018$1();
|
|
7013
6627
|
class AbortError extends errors_1.CustomError {
|
|
7014
6628
|
static [Symbol.hasInstance](instance) {
|
|
@@ -7129,7 +6743,7 @@
|
|
|
7129
6743
|
options.signal,
|
|
7130
6744
|
options.timeout !== false && ((_a = (options.timeout && es2018.timeoutSignal(options.timeout))) !== null && _a !== void 0 ? _a : (this.options.timeout && es2018.timeoutSignal(this.options.timeout)))
|
|
7131
6745
|
])),
|
|
7132
|
-
|
|
6746
|
+
((_b = options.keepalive) !== null && _b !== void 0 ? _b : this.options.keepalive) && transformers.keepalive(),
|
|
7133
6747
|
transformers.header('Accept-Version', expectedVersion)
|
|
7134
6748
|
];
|
|
7135
6749
|
}
|
|
@@ -7153,7 +6767,7 @@
|
|
|
7153
6767
|
options.signal,
|
|
7154
6768
|
options.timeout !== false && ((_b = (options.timeout && es2018.timeoutSignal(options.timeout))) !== null && _b !== void 0 ? _b : (this.options.timeout && es2018.timeoutSignal(this.options.timeout)))
|
|
7155
6769
|
])),
|
|
7156
|
-
|
|
6770
|
+
((_c = options.keepalive) !== null && _c !== void 0 ? _c : this.options.keepalive) && transformers.keepalive(),
|
|
7157
6771
|
transformers.header('Accept-Version', expectedVersion)
|
|
7158
6772
|
];
|
|
7159
6773
|
}
|
|
@@ -7162,8 +6776,8 @@
|
|
|
7162
6776
|
*/
|
|
7163
6777
|
append(namespace, itemId, payload, index, options = {}) {
|
|
7164
6778
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7165
|
-
const req = es2018$
|
|
7166
|
-
yield es2018$
|
|
6779
|
+
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));
|
|
6780
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7167
6781
|
});
|
|
7168
6782
|
}
|
|
7169
6783
|
/**
|
|
@@ -7171,9 +6785,9 @@
|
|
|
7171
6785
|
*/
|
|
7172
6786
|
getEvent(namespace, itemId, index, options = {}) {
|
|
7173
6787
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7174
|
-
const req = es2018$
|
|
6788
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events/${index}`));
|
|
7175
6789
|
try {
|
|
7176
|
-
return yield es2018$
|
|
6790
|
+
return yield es2018$c.fetch(req)
|
|
7177
6791
|
.then(es2018$1.ok)
|
|
7178
6792
|
.then(es2018$1.toJSON);
|
|
7179
6793
|
}
|
|
@@ -7189,9 +6803,9 @@
|
|
|
7189
6803
|
*/
|
|
7190
6804
|
getEvents(namespace, itemId, options = {}) {
|
|
7191
6805
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7192
|
-
const req = es2018$
|
|
6806
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`));
|
|
7193
6807
|
try {
|
|
7194
|
-
return yield es2018$
|
|
6808
|
+
return yield es2018$c.fetch(req)
|
|
7195
6809
|
.then(es2018$1.ok)
|
|
7196
6810
|
.then(es2018$1.toJSON);
|
|
7197
6811
|
}
|
|
@@ -7207,8 +6821,8 @@
|
|
|
7207
6821
|
*/
|
|
7208
6822
|
getSize(namespace, itemId, options = {}) {
|
|
7209
6823
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7210
|
-
const req = es2018$
|
|
7211
|
-
return yield es2018$
|
|
6824
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/size`));
|
|
6825
|
+
return yield es2018$c.fetch(req)
|
|
7212
6826
|
.then(es2018$1.ok)
|
|
7213
6827
|
.then(es2018$1.toJSON);
|
|
7214
6828
|
});
|
|
@@ -7218,9 +6832,9 @@
|
|
|
7218
6832
|
*/
|
|
7219
6833
|
has(namespace, itemId, options = {}) {
|
|
7220
6834
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7221
|
-
const req = es2018$
|
|
6835
|
+
const req = es2018$b.head(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
|
|
7222
6836
|
try {
|
|
7223
|
-
yield es2018$
|
|
6837
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7224
6838
|
return true;
|
|
7225
6839
|
}
|
|
7226
6840
|
catch (e) {
|
|
@@ -7235,8 +6849,8 @@
|
|
|
7235
6849
|
*/
|
|
7236
6850
|
del(namespace, itemId, options = {}) {
|
|
7237
6851
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7238
|
-
const req = es2018$
|
|
7239
|
-
yield es2018$
|
|
6852
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
|
|
6853
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7240
6854
|
});
|
|
7241
6855
|
}
|
|
7242
6856
|
/**
|
|
@@ -7244,8 +6858,8 @@
|
|
|
7244
6858
|
*/
|
|
7245
6859
|
clear(namespace, options = {}) {
|
|
7246
6860
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7247
|
-
const req = es2018$
|
|
7248
|
-
yield es2018$
|
|
6861
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}`));
|
|
6862
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7249
6863
|
});
|
|
7250
6864
|
}
|
|
7251
6865
|
/**
|
|
@@ -7253,8 +6867,8 @@
|
|
|
7253
6867
|
*/
|
|
7254
6868
|
getAllItemIds(namespace, options = {}) {
|
|
7255
6869
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7256
|
-
const req = es2018$
|
|
7257
|
-
return yield es2018$
|
|
6870
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items`));
|
|
6871
|
+
return yield es2018$c.fetch(req)
|
|
7258
6872
|
.then(es2018$1.ok)
|
|
7259
6873
|
.then(es2018$1.toJSON);
|
|
7260
6874
|
});
|
|
@@ -7264,8 +6878,8 @@
|
|
|
7264
6878
|
*/
|
|
7265
6879
|
getAllNamespaces(options = {}) {
|
|
7266
6880
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7267
|
-
const req = es2018$
|
|
7268
|
-
return yield es2018$
|
|
6881
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/estore'));
|
|
6882
|
+
return yield es2018$c.fetch(req)
|
|
7269
6883
|
.then(es2018$1.ok)
|
|
7270
6884
|
.then(es2018$1.toJSON);
|
|
7271
6885
|
});
|
|
@@ -7275,8 +6889,8 @@
|
|
|
7275
6889
|
*/
|
|
7276
6890
|
stats(namespace, options = {}) {
|
|
7277
6891
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7278
|
-
const req = es2018$
|
|
7279
|
-
return yield es2018$
|
|
6892
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/stats`));
|
|
6893
|
+
return yield es2018$c.fetch(req)
|
|
7280
6894
|
.then(es2018$1.ok)
|
|
7281
6895
|
.then(es2018$1.toJSON);
|
|
7282
6896
|
});
|
|
@@ -7289,8 +6903,8 @@
|
|
|
7289
6903
|
*/
|
|
7290
6904
|
getNamespaces(options = {}) {
|
|
7291
6905
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7292
|
-
const req = es2018$
|
|
7293
|
-
return yield es2018$
|
|
6906
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-json-schema'));
|
|
6907
|
+
return yield es2018$c.fetch(req)
|
|
7294
6908
|
.then(es2018$1.ok)
|
|
7295
6909
|
.then(es2018$1.toJSON);
|
|
7296
6910
|
});
|
|
@@ -7300,8 +6914,8 @@
|
|
|
7300
6914
|
*/
|
|
7301
6915
|
get(namespace, options = {}) {
|
|
7302
6916
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7303
|
-
const req = es2018$
|
|
7304
|
-
return yield es2018$
|
|
6917
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
|
|
6918
|
+
return yield es2018$c.fetch(req)
|
|
7305
6919
|
.then(es2018$1.ok)
|
|
7306
6920
|
.then(es2018$1.toJSON);
|
|
7307
6921
|
});
|
|
@@ -7311,8 +6925,8 @@
|
|
|
7311
6925
|
*/
|
|
7312
6926
|
set(namespace, schema, options = {}) {
|
|
7313
6927
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7314
|
-
const req = es2018$
|
|
7315
|
-
yield es2018$
|
|
6928
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`), transformers.json(schema));
|
|
6929
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7316
6930
|
});
|
|
7317
6931
|
}
|
|
7318
6932
|
/**
|
|
@@ -7320,8 +6934,8 @@
|
|
|
7320
6934
|
*/
|
|
7321
6935
|
remove(namespace, options = {}) {
|
|
7322
6936
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7323
|
-
const req = es2018$
|
|
7324
|
-
yield es2018$
|
|
6937
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
|
|
6938
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7325
6939
|
});
|
|
7326
6940
|
}
|
|
7327
6941
|
}
|
|
@@ -7332,8 +6946,8 @@
|
|
|
7332
6946
|
*/
|
|
7333
6947
|
getNamespaces(options = {}) {
|
|
7334
6948
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7335
|
-
const req = es2018$
|
|
7336
|
-
return yield es2018$
|
|
6949
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/blacklist'));
|
|
6950
|
+
return yield es2018$c.fetch(req)
|
|
7337
6951
|
.then(es2018$1.ok)
|
|
7338
6952
|
.then(es2018$1.toJSON);
|
|
7339
6953
|
});
|
|
@@ -7343,8 +6957,8 @@
|
|
|
7343
6957
|
*/
|
|
7344
6958
|
add(namespace, options = {}) {
|
|
7345
6959
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7346
|
-
const req = es2018$
|
|
7347
|
-
yield es2018$
|
|
6960
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
|
|
6961
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7348
6962
|
});
|
|
7349
6963
|
}
|
|
7350
6964
|
/**
|
|
@@ -7352,8 +6966,8 @@
|
|
|
7352
6966
|
*/
|
|
7353
6967
|
remove(namespace, options = {}) {
|
|
7354
6968
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7355
|
-
const req = es2018$
|
|
7356
|
-
yield es2018$
|
|
6969
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
|
|
6970
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7357
6971
|
});
|
|
7358
6972
|
}
|
|
7359
6973
|
}
|
|
@@ -7364,8 +6978,8 @@
|
|
|
7364
6978
|
*/
|
|
7365
6979
|
getNamespaces(options = {}) {
|
|
7366
6980
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7367
|
-
const req = es2018$
|
|
7368
|
-
return yield es2018$
|
|
6981
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/whitelist'));
|
|
6982
|
+
return yield es2018$c.fetch(req)
|
|
7369
6983
|
.then(es2018$1.ok)
|
|
7370
6984
|
.then(es2018$1.toJSON);
|
|
7371
6985
|
});
|
|
@@ -7375,8 +6989,8 @@
|
|
|
7375
6989
|
*/
|
|
7376
6990
|
add(namespace, options = {}) {
|
|
7377
6991
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7378
|
-
const req = es2018$
|
|
7379
|
-
yield es2018$
|
|
6992
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
|
|
6993
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7380
6994
|
});
|
|
7381
6995
|
}
|
|
7382
6996
|
/**
|
|
@@ -7384,8 +6998,8 @@
|
|
|
7384
6998
|
*/
|
|
7385
6999
|
remove(namespace, options = {}) {
|
|
7386
7000
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7387
|
-
const req = es2018$
|
|
7388
|
-
yield es2018$
|
|
7001
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
|
|
7002
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7389
7003
|
});
|
|
7390
7004
|
}
|
|
7391
7005
|
}
|
|
@@ -7396,8 +7010,8 @@
|
|
|
7396
7010
|
*/
|
|
7397
7011
|
getNamespaces(options = {}) {
|
|
7398
7012
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7399
|
-
const req = es2018$
|
|
7400
|
-
return yield es2018$
|
|
7013
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-token-policies'));
|
|
7014
|
+
return yield es2018$c.fetch(req)
|
|
7401
7015
|
.then(es2018$1.ok)
|
|
7402
7016
|
.then(es2018$1.toJSON);
|
|
7403
7017
|
});
|
|
@@ -7407,8 +7021,8 @@
|
|
|
7407
7021
|
*/
|
|
7408
7022
|
get(namespace, options = {}) {
|
|
7409
7023
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7410
|
-
const req = es2018$
|
|
7411
|
-
return yield es2018$
|
|
7024
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies`));
|
|
7025
|
+
return yield es2018$c.fetch(req)
|
|
7412
7026
|
.then(es2018$1.ok)
|
|
7413
7027
|
.then(es2018$1.toJSON);
|
|
7414
7028
|
});
|
|
@@ -7418,8 +7032,8 @@
|
|
|
7418
7032
|
*/
|
|
7419
7033
|
setWriteTokenRequired(namespace, val, options = {}) {
|
|
7420
7034
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7421
|
-
const req = es2018$
|
|
7422
|
-
yield es2018$
|
|
7035
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`), transformers.json(val));
|
|
7036
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7423
7037
|
});
|
|
7424
7038
|
}
|
|
7425
7039
|
/**
|
|
@@ -7427,8 +7041,8 @@
|
|
|
7427
7041
|
*/
|
|
7428
7042
|
removeWriteTokenRequired(namespace, options = {}) {
|
|
7429
7043
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7430
|
-
const req = es2018$
|
|
7431
|
-
yield es2018$
|
|
7044
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`));
|
|
7045
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7432
7046
|
});
|
|
7433
7047
|
}
|
|
7434
7048
|
/**
|
|
@@ -7436,8 +7050,8 @@
|
|
|
7436
7050
|
*/
|
|
7437
7051
|
setReadTokenRequired(namespace, val, options = {}) {
|
|
7438
7052
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7439
|
-
const req = es2018$
|
|
7440
|
-
yield es2018$
|
|
7053
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`), transformers.json(val));
|
|
7054
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7441
7055
|
});
|
|
7442
7056
|
}
|
|
7443
7057
|
/**
|
|
@@ -7445,8 +7059,8 @@
|
|
|
7445
7059
|
*/
|
|
7446
7060
|
removeReadTokenRequired(namespace, options = {}) {
|
|
7447
7061
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7448
|
-
const req = es2018$
|
|
7449
|
-
yield es2018$
|
|
7062
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`));
|
|
7063
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7450
7064
|
});
|
|
7451
7065
|
}
|
|
7452
7066
|
/**
|
|
@@ -7454,8 +7068,8 @@
|
|
|
7454
7068
|
*/
|
|
7455
7069
|
setDeleteTokenRequired(namespace, val, options = {}) {
|
|
7456
7070
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7457
|
-
const req = es2018$
|
|
7458
|
-
yield es2018$
|
|
7071
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`), transformers.json(val));
|
|
7072
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7459
7073
|
});
|
|
7460
7074
|
}
|
|
7461
7075
|
/**
|
|
@@ -7463,8 +7077,8 @@
|
|
|
7463
7077
|
*/
|
|
7464
7078
|
removeDeleteTokenRequired(namespace, options = {}) {
|
|
7465
7079
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7466
|
-
const req = es2018$
|
|
7467
|
-
yield es2018$
|
|
7080
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`));
|
|
7081
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7468
7082
|
});
|
|
7469
7083
|
}
|
|
7470
7084
|
}
|
|
@@ -7475,8 +7089,8 @@
|
|
|
7475
7089
|
*/
|
|
7476
7090
|
getNamespaces(options = {}) {
|
|
7477
7091
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7478
|
-
const req = es2018$
|
|
7479
|
-
return yield es2018$
|
|
7092
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-tokens'));
|
|
7093
|
+
return yield es2018$c.fetch(req)
|
|
7480
7094
|
.then(es2018$1.ok)
|
|
7481
7095
|
.then(es2018$1.toJSON);
|
|
7482
7096
|
});
|
|
@@ -7486,8 +7100,8 @@
|
|
|
7486
7100
|
*/
|
|
7487
7101
|
getTokens(namespace, options = {}) {
|
|
7488
7102
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7489
|
-
const req = es2018$
|
|
7490
|
-
return yield es2018$
|
|
7103
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens`));
|
|
7104
|
+
return yield es2018$c.fetch(req)
|
|
7491
7105
|
.then(es2018$1.ok)
|
|
7492
7106
|
.then(es2018$1.toJSON);
|
|
7493
7107
|
});
|
|
@@ -7497,8 +7111,8 @@
|
|
|
7497
7111
|
*/
|
|
7498
7112
|
addWriteToken(namespace, token, options = {}) {
|
|
7499
7113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7500
|
-
const req = es2018$
|
|
7501
|
-
yield es2018$
|
|
7114
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
|
|
7115
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7502
7116
|
});
|
|
7503
7117
|
}
|
|
7504
7118
|
/**
|
|
@@ -7506,8 +7120,8 @@
|
|
|
7506
7120
|
*/
|
|
7507
7121
|
removeWriteToken(namespace, token, options = {}) {
|
|
7508
7122
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7509
|
-
const req = es2018$
|
|
7510
|
-
yield es2018$
|
|
7123
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
|
|
7124
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7511
7125
|
});
|
|
7512
7126
|
}
|
|
7513
7127
|
/**
|
|
@@ -7515,8 +7129,8 @@
|
|
|
7515
7129
|
*/
|
|
7516
7130
|
addReadToken(namespace, token, options = {}) {
|
|
7517
7131
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7518
|
-
const req = es2018$
|
|
7519
|
-
yield es2018$
|
|
7132
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
|
|
7133
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7520
7134
|
});
|
|
7521
7135
|
}
|
|
7522
7136
|
/**
|
|
@@ -7524,8 +7138,8 @@
|
|
|
7524
7138
|
*/
|
|
7525
7139
|
removeReadToken(namespace, token, options = {}) {
|
|
7526
7140
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7527
|
-
const req = es2018$
|
|
7528
|
-
yield es2018$
|
|
7141
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
|
|
7142
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7529
7143
|
});
|
|
7530
7144
|
}
|
|
7531
7145
|
/**
|
|
@@ -7533,8 +7147,8 @@
|
|
|
7533
7147
|
*/
|
|
7534
7148
|
addDeleteToken(namespace, token, options = {}) {
|
|
7535
7149
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7536
|
-
const req = es2018$
|
|
7537
|
-
yield es2018$
|
|
7150
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
|
|
7151
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7538
7152
|
});
|
|
7539
7153
|
}
|
|
7540
7154
|
/**
|
|
@@ -7542,8 +7156,8 @@
|
|
|
7542
7156
|
*/
|
|
7543
7157
|
removeDeleteToken(namespace, token, options = {}) {
|
|
7544
7158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
7545
|
-
const req = es2018$
|
|
7546
|
-
yield es2018$
|
|
7159
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
|
|
7160
|
+
yield es2018$c.fetch(req).then(es2018$1.ok);
|
|
7547
7161
|
});
|
|
7548
7162
|
}
|
|
7549
7163
|
}
|
|
@@ -7559,7 +7173,7 @@
|
|
|
7559
7173
|
}
|
|
7560
7174
|
}
|
|
7561
7175
|
|
|
7562
|
-
exports.AbortError = es2018$
|
|
7176
|
+
exports.AbortError = es2018$c.AbortError;
|
|
7563
7177
|
exports.EStoreClient = EStoreClient;
|
|
7564
7178
|
exports.EStoreManager = EStoreManager;
|
|
7565
7179
|
exports.HTTPClientError = es2018$3.HTTPClientError;
|