@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/es2018/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import require$$0 from 'stream';
|
|
|
2
2
|
|
|
3
3
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
4
|
|
|
5
|
-
var es2018$
|
|
5
|
+
var es2018$c = {};
|
|
6
6
|
|
|
7
7
|
var fetch_browser = {};
|
|
8
8
|
|
|
@@ -73,235 +73,235 @@ eventSource_browser.EventSource = globalThis.EventSource;
|
|
|
73
73
|
__exportStar(blob_browser, exports);
|
|
74
74
|
__exportStar(eventSource_browser, exports);
|
|
75
75
|
|
|
76
|
-
} (es2018$
|
|
76
|
+
} (es2018$c));
|
|
77
77
|
|
|
78
|
-
var es2018$
|
|
78
|
+
var es2018$b = {};
|
|
79
79
|
|
|
80
80
|
var types = {};
|
|
81
81
|
|
|
82
82
|
var request$1 = {};
|
|
83
83
|
|
|
84
|
-
var es2018$
|
|
84
|
+
var es2018$a = {};
|
|
85
85
|
|
|
86
|
-
var array
|
|
86
|
+
var array = {};
|
|
87
87
|
|
|
88
|
-
array
|
|
89
|
-
function isArray
|
|
88
|
+
array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
|
|
89
|
+
function isArray(val) {
|
|
90
90
|
return Array.isArray(val);
|
|
91
91
|
}
|
|
92
|
-
array
|
|
93
|
-
function isntArray
|
|
94
|
-
return !isArray
|
|
92
|
+
array.isArray = isArray;
|
|
93
|
+
function isntArray(val) {
|
|
94
|
+
return !isArray(val);
|
|
95
95
|
}
|
|
96
|
-
array
|
|
97
|
-
function isEmptyArray
|
|
96
|
+
array.isntArray = isntArray;
|
|
97
|
+
function isEmptyArray(val) {
|
|
98
98
|
return val.length === 0;
|
|
99
99
|
}
|
|
100
|
-
array
|
|
101
|
-
function isntEmptyArray
|
|
100
|
+
array.isEmptyArray = isEmptyArray;
|
|
101
|
+
function isntEmptyArray(val) {
|
|
102
102
|
return val.length !== 0;
|
|
103
103
|
}
|
|
104
|
-
array
|
|
104
|
+
array.isntEmptyArray = isntEmptyArray;
|
|
105
105
|
|
|
106
|
-
var asyncIterable
|
|
106
|
+
var asyncIterable = {};
|
|
107
107
|
|
|
108
|
-
var _null
|
|
108
|
+
var _null = {};
|
|
109
109
|
|
|
110
|
-
_null
|
|
111
|
-
function isNull
|
|
110
|
+
_null.isntNull = _null.isNull = void 0;
|
|
111
|
+
function isNull(val) {
|
|
112
112
|
return val === null;
|
|
113
113
|
}
|
|
114
|
-
_null
|
|
115
|
-
function isntNull
|
|
116
|
-
return !isNull
|
|
114
|
+
_null.isNull = isNull;
|
|
115
|
+
function isntNull(val) {
|
|
116
|
+
return !isNull(val);
|
|
117
117
|
}
|
|
118
|
-
_null
|
|
118
|
+
_null.isntNull = isntNull;
|
|
119
119
|
|
|
120
|
-
var _undefined
|
|
120
|
+
var _undefined = {};
|
|
121
121
|
|
|
122
|
-
_undefined
|
|
123
|
-
function isUndefined
|
|
122
|
+
_undefined.isntUndefined = _undefined.isUndefined = void 0;
|
|
123
|
+
function isUndefined(val) {
|
|
124
124
|
return val === undefined;
|
|
125
125
|
}
|
|
126
|
-
_undefined
|
|
127
|
-
function isntUndefined
|
|
128
|
-
return !isUndefined
|
|
126
|
+
_undefined.isUndefined = isUndefined;
|
|
127
|
+
function isntUndefined(val) {
|
|
128
|
+
return !isUndefined(val);
|
|
129
129
|
}
|
|
130
|
-
_undefined
|
|
130
|
+
_undefined.isntUndefined = isntUndefined;
|
|
131
131
|
|
|
132
|
-
var _function
|
|
132
|
+
var _function = {};
|
|
133
133
|
|
|
134
|
-
_function
|
|
135
|
-
function isFunction
|
|
134
|
+
_function.isntFunction = _function.isFunction = void 0;
|
|
135
|
+
function isFunction(val) {
|
|
136
136
|
return typeof val === 'function';
|
|
137
137
|
}
|
|
138
|
-
_function
|
|
139
|
-
function isntFunction
|
|
140
|
-
return !isFunction
|
|
138
|
+
_function.isFunction = isFunction;
|
|
139
|
+
function isntFunction(val) {
|
|
140
|
+
return !isFunction(val);
|
|
141
141
|
}
|
|
142
|
-
_function
|
|
142
|
+
_function.isntFunction = isntFunction;
|
|
143
143
|
|
|
144
|
-
asyncIterable
|
|
145
|
-
const null_1$
|
|
146
|
-
const undefined_1$
|
|
147
|
-
const function_1$
|
|
148
|
-
function isAsyncIterable
|
|
149
|
-
return (0, null_1$
|
|
150
|
-
&& (0, undefined_1$
|
|
151
|
-
&& (0, function_1$
|
|
144
|
+
asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
|
|
145
|
+
const null_1$2 = _null;
|
|
146
|
+
const undefined_1$1 = _undefined;
|
|
147
|
+
const function_1$2 = _function;
|
|
148
|
+
function isAsyncIterable(val) {
|
|
149
|
+
return (0, null_1$2.isntNull)(val)
|
|
150
|
+
&& (0, undefined_1$1.isntUndefined)(val)
|
|
151
|
+
&& (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
|
|
152
152
|
}
|
|
153
|
-
asyncIterable
|
|
154
|
-
function isntAsyncIterable
|
|
155
|
-
return !isAsyncIterable
|
|
153
|
+
asyncIterable.isAsyncIterable = isAsyncIterable;
|
|
154
|
+
function isntAsyncIterable(val) {
|
|
155
|
+
return !isAsyncIterable(val);
|
|
156
156
|
}
|
|
157
|
-
asyncIterable
|
|
157
|
+
asyncIterable.isntAsyncIterable = isntAsyncIterable;
|
|
158
158
|
|
|
159
|
-
var bigint
|
|
159
|
+
var bigint = {};
|
|
160
160
|
|
|
161
|
-
bigint
|
|
162
|
-
function isBigInt
|
|
161
|
+
bigint.isntBigInt = bigint.isBigInt = void 0;
|
|
162
|
+
function isBigInt(val) {
|
|
163
163
|
return typeof val === 'bigint';
|
|
164
164
|
}
|
|
165
|
-
bigint
|
|
166
|
-
function isntBigInt
|
|
167
|
-
return !isBigInt
|
|
165
|
+
bigint.isBigInt = isBigInt;
|
|
166
|
+
function isntBigInt(val) {
|
|
167
|
+
return !isBigInt(val);
|
|
168
168
|
}
|
|
169
|
-
bigint
|
|
169
|
+
bigint.isntBigInt = isntBigInt;
|
|
170
170
|
|
|
171
|
-
var boolean
|
|
171
|
+
var boolean = {};
|
|
172
172
|
|
|
173
|
-
boolean
|
|
174
|
-
function isBoolean
|
|
173
|
+
boolean.isntBoolean = boolean.isBoolean = void 0;
|
|
174
|
+
function isBoolean(val) {
|
|
175
175
|
return typeof val === 'boolean';
|
|
176
176
|
}
|
|
177
|
-
boolean
|
|
178
|
-
function isntBoolean
|
|
179
|
-
return !isBoolean
|
|
177
|
+
boolean.isBoolean = isBoolean;
|
|
178
|
+
function isntBoolean(val) {
|
|
179
|
+
return !isBoolean(val);
|
|
180
180
|
}
|
|
181
|
-
boolean
|
|
181
|
+
boolean.isntBoolean = isntBoolean;
|
|
182
182
|
|
|
183
|
-
var char
|
|
183
|
+
var char = {};
|
|
184
184
|
|
|
185
|
-
var string
|
|
185
|
+
var string = {};
|
|
186
186
|
|
|
187
|
-
string
|
|
188
|
-
function isString
|
|
187
|
+
string.isntString = string.isString = void 0;
|
|
188
|
+
function isString(val) {
|
|
189
189
|
return typeof val === 'string';
|
|
190
190
|
}
|
|
191
|
-
string
|
|
192
|
-
function isntString
|
|
193
|
-
return !isString
|
|
191
|
+
string.isString = isString;
|
|
192
|
+
function isntString(val) {
|
|
193
|
+
return !isString(val);
|
|
194
194
|
}
|
|
195
|
-
string
|
|
195
|
+
string.isntString = isntString;
|
|
196
196
|
|
|
197
|
-
char
|
|
198
|
-
const string_1$
|
|
199
|
-
function isChar
|
|
200
|
-
return (0, string_1$
|
|
197
|
+
char.isntChar = char.isChar = void 0;
|
|
198
|
+
const string_1$1 = string;
|
|
199
|
+
function isChar(val) {
|
|
200
|
+
return (0, string_1$1.isString)(val)
|
|
201
201
|
&& val.length === 1;
|
|
202
202
|
}
|
|
203
|
-
char
|
|
204
|
-
function isntChar
|
|
205
|
-
return !isChar
|
|
203
|
+
char.isChar = isChar;
|
|
204
|
+
function isntChar(val) {
|
|
205
|
+
return !isChar(val);
|
|
206
206
|
}
|
|
207
|
-
char
|
|
207
|
+
char.isntChar = isntChar;
|
|
208
208
|
|
|
209
|
-
var date
|
|
209
|
+
var date = {};
|
|
210
210
|
|
|
211
|
-
date
|
|
212
|
-
function isDate
|
|
211
|
+
date.isntDate = date.isDate = void 0;
|
|
212
|
+
function isDate(val) {
|
|
213
213
|
return val instanceof Date;
|
|
214
214
|
}
|
|
215
|
-
date
|
|
216
|
-
function isntDate
|
|
217
|
-
return !isDate
|
|
215
|
+
date.isDate = isDate;
|
|
216
|
+
function isntDate(val) {
|
|
217
|
+
return !isDate(val);
|
|
218
218
|
}
|
|
219
|
-
date
|
|
219
|
+
date.isntDate = isntDate;
|
|
220
220
|
|
|
221
|
-
var _enum$
|
|
221
|
+
var _enum$1 = {};
|
|
222
222
|
|
|
223
|
-
_enum$
|
|
224
|
-
function inEnum
|
|
223
|
+
_enum$1.inEnum = void 0;
|
|
224
|
+
function inEnum(val, _enum) {
|
|
225
225
|
return Object.values(_enum).includes(val);
|
|
226
226
|
}
|
|
227
|
-
_enum$
|
|
227
|
+
_enum$1.inEnum = inEnum;
|
|
228
228
|
|
|
229
|
-
var error
|
|
229
|
+
var error = {};
|
|
230
230
|
|
|
231
|
-
error
|
|
232
|
-
function isError
|
|
231
|
+
error.isntError = error.isError = void 0;
|
|
232
|
+
function isError(val) {
|
|
233
233
|
return val instanceof Error;
|
|
234
234
|
}
|
|
235
|
-
error
|
|
236
|
-
function isntError
|
|
237
|
-
return !isError
|
|
235
|
+
error.isError = isError;
|
|
236
|
+
function isntError(val) {
|
|
237
|
+
return !isError(val);
|
|
238
238
|
}
|
|
239
|
-
error
|
|
239
|
+
error.isntError = isntError;
|
|
240
240
|
|
|
241
|
-
var falsy
|
|
241
|
+
var falsy = {};
|
|
242
242
|
|
|
243
|
-
falsy
|
|
244
|
-
function isFalsy
|
|
243
|
+
falsy.isntFalsy = falsy.isFalsy = void 0;
|
|
244
|
+
function isFalsy(val) {
|
|
245
245
|
return !val;
|
|
246
246
|
}
|
|
247
|
-
falsy
|
|
248
|
-
function isntFalsy
|
|
249
|
-
return !isFalsy
|
|
247
|
+
falsy.isFalsy = isFalsy;
|
|
248
|
+
function isntFalsy(val) {
|
|
249
|
+
return !isFalsy(val);
|
|
250
250
|
}
|
|
251
|
-
falsy
|
|
251
|
+
falsy.isntFalsy = isntFalsy;
|
|
252
252
|
|
|
253
|
-
var iterable
|
|
253
|
+
var iterable = {};
|
|
254
254
|
|
|
255
|
-
iterable
|
|
256
|
-
const null_1$
|
|
257
|
-
const undefined_1
|
|
258
|
-
const function_1$
|
|
259
|
-
function isIterable
|
|
260
|
-
return (0, null_1$
|
|
261
|
-
&& (0, undefined_1
|
|
262
|
-
&& (0, function_1$
|
|
255
|
+
iterable.isntIterable = iterable.isIterable = void 0;
|
|
256
|
+
const null_1$1 = _null;
|
|
257
|
+
const undefined_1 = _undefined;
|
|
258
|
+
const function_1$1 = _function;
|
|
259
|
+
function isIterable(val) {
|
|
260
|
+
return (0, null_1$1.isntNull)(val)
|
|
261
|
+
&& (0, undefined_1.isntUndefined)(val)
|
|
262
|
+
&& (0, function_1$1.isFunction)(val[Symbol.iterator]);
|
|
263
263
|
}
|
|
264
|
-
iterable
|
|
265
|
-
function isntIterable
|
|
266
|
-
return !isIterable
|
|
264
|
+
iterable.isIterable = isIterable;
|
|
265
|
+
function isntIterable(val) {
|
|
266
|
+
return !isIterable(val);
|
|
267
267
|
}
|
|
268
|
-
iterable
|
|
268
|
+
iterable.isntIterable = isntIterable;
|
|
269
269
|
|
|
270
|
-
var json$
|
|
270
|
+
var json$2 = {};
|
|
271
271
|
|
|
272
|
-
var number
|
|
272
|
+
var number = {};
|
|
273
273
|
|
|
274
|
-
number
|
|
275
|
-
function isNumber
|
|
274
|
+
number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
|
|
275
|
+
function isNumber(val) {
|
|
276
276
|
return typeof val === 'number';
|
|
277
277
|
}
|
|
278
|
-
number
|
|
279
|
-
function isntNumber
|
|
280
|
-
return !isNumber
|
|
278
|
+
number.isNumber = isNumber;
|
|
279
|
+
function isntNumber(val) {
|
|
280
|
+
return !isNumber(val);
|
|
281
281
|
}
|
|
282
|
-
number
|
|
283
|
-
function isFinite
|
|
282
|
+
number.isntNumber = isntNumber;
|
|
283
|
+
function isFinite(val) {
|
|
284
284
|
return Number.isFinite(val);
|
|
285
285
|
}
|
|
286
|
-
number
|
|
287
|
-
function isPositiveInfinity
|
|
286
|
+
number.isFinite = isFinite;
|
|
287
|
+
function isPositiveInfinity(val) {
|
|
288
288
|
return val === Infinity;
|
|
289
289
|
}
|
|
290
|
-
number
|
|
291
|
-
function isNegativeInfinity
|
|
290
|
+
number.isPositiveInfinity = isPositiveInfinity;
|
|
291
|
+
function isNegativeInfinity(val) {
|
|
292
292
|
return val === -Infinity;
|
|
293
293
|
}
|
|
294
|
-
number
|
|
295
|
-
function isNaN
|
|
294
|
+
number.isNegativeInfinity = isNegativeInfinity;
|
|
295
|
+
function isNaN(val) {
|
|
296
296
|
return Number.isNaN(val);
|
|
297
297
|
}
|
|
298
|
-
number
|
|
299
|
-
function isntNaN
|
|
300
|
-
return !isNaN
|
|
298
|
+
number.isNaN = isNaN;
|
|
299
|
+
function isntNaN(val) {
|
|
300
|
+
return !isNaN(val);
|
|
301
301
|
}
|
|
302
|
-
number
|
|
302
|
+
number.isntNaN = isntNaN;
|
|
303
303
|
|
|
304
|
-
var object
|
|
304
|
+
var object = {};
|
|
305
305
|
|
|
306
306
|
/** Detect free variable `global` from Node.js. */
|
|
307
307
|
|
|
@@ -529,7 +529,7 @@ var objectCtorString = funcToString.call(Object);
|
|
|
529
529
|
* _.isPlainObject(Object.create(null));
|
|
530
530
|
* // => true
|
|
531
531
|
*/
|
|
532
|
-
function isPlainObject$
|
|
532
|
+
function isPlainObject$1(value) {
|
|
533
533
|
if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
|
|
534
534
|
return false;
|
|
535
535
|
}
|
|
@@ -542,59 +542,59 @@ function isPlainObject$2(value) {
|
|
|
542
542
|
funcToString.call(Ctor) == objectCtorString;
|
|
543
543
|
}
|
|
544
544
|
|
|
545
|
-
var isPlainObject_1$
|
|
545
|
+
var isPlainObject_1$1 = isPlainObject$1;
|
|
546
546
|
|
|
547
|
-
var __importDefault$
|
|
547
|
+
var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
548
548
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
549
|
-
};object
|
|
550
|
-
const isPlainObject_1
|
|
551
|
-
function isObject
|
|
549
|
+
};object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
|
|
550
|
+
const isPlainObject_1 = __importDefault$1(isPlainObject_1$1);
|
|
551
|
+
function isObject(val) {
|
|
552
552
|
return val !== null
|
|
553
553
|
&& typeof val === 'object';
|
|
554
554
|
}
|
|
555
|
-
object
|
|
556
|
-
function isntObject
|
|
557
|
-
return !isObject
|
|
555
|
+
object.isObject = isObject;
|
|
556
|
+
function isntObject(val) {
|
|
557
|
+
return !isObject(val);
|
|
558
558
|
}
|
|
559
|
-
object
|
|
560
|
-
function isPlainObject
|
|
561
|
-
return (0, isPlainObject_1
|
|
559
|
+
object.isntObject = isntObject;
|
|
560
|
+
function isPlainObject(val) {
|
|
561
|
+
return (0, isPlainObject_1.default)(val);
|
|
562
562
|
}
|
|
563
|
-
object
|
|
564
|
-
function isntPlainObject
|
|
565
|
-
return !isPlainObject
|
|
563
|
+
object.isPlainObject = isPlainObject;
|
|
564
|
+
function isntPlainObject(val) {
|
|
565
|
+
return !isPlainObject(val);
|
|
566
566
|
}
|
|
567
|
-
object
|
|
568
|
-
function isEmptyObject
|
|
567
|
+
object.isntPlainObject = isntPlainObject;
|
|
568
|
+
function isEmptyObject(val) {
|
|
569
569
|
return Object.keys(val).length === 0;
|
|
570
570
|
}
|
|
571
|
-
object
|
|
572
|
-
function isntEmptyObject
|
|
571
|
+
object.isEmptyObject = isEmptyObject;
|
|
572
|
+
function isntEmptyObject(val) {
|
|
573
573
|
return Object.keys(val).length !== 0;
|
|
574
574
|
}
|
|
575
|
-
object
|
|
576
|
-
|
|
577
|
-
json$
|
|
578
|
-
const null_1
|
|
579
|
-
const boolean_1
|
|
580
|
-
const string_1
|
|
581
|
-
const number_1
|
|
582
|
-
const array_1
|
|
583
|
-
const object_1$
|
|
584
|
-
function isJson
|
|
585
|
-
return (0, null_1
|
|
586
|
-
|| (0, boolean_1
|
|
587
|
-
|| (0, string_1
|
|
588
|
-
|| (0, number_1
|
|
589
|
-
|| ((0, array_1
|
|
590
|
-
|| ((0, object_1$
|
|
591
|
-
}
|
|
592
|
-
json$
|
|
593
|
-
function isntJson
|
|
594
|
-
return !isJson
|
|
595
|
-
}
|
|
596
|
-
json$
|
|
597
|
-
function isJsonable
|
|
575
|
+
object.isntEmptyObject = isntEmptyObject;
|
|
576
|
+
|
|
577
|
+
json$2.isntJsonable = json$2.isJsonable = json$2.isntJson = json$2.isJson = void 0;
|
|
578
|
+
const null_1 = _null;
|
|
579
|
+
const boolean_1 = boolean;
|
|
580
|
+
const string_1 = string;
|
|
581
|
+
const number_1 = number;
|
|
582
|
+
const array_1 = array;
|
|
583
|
+
const object_1$1 = object;
|
|
584
|
+
function isJson(val) {
|
|
585
|
+
return (0, null_1.isNull)(val)
|
|
586
|
+
|| (0, boolean_1.isBoolean)(val)
|
|
587
|
+
|| (0, string_1.isString)(val)
|
|
588
|
+
|| (0, number_1.isNumber)(val)
|
|
589
|
+
|| ((0, array_1.isArray)(val) && val.every(isJson))
|
|
590
|
+
|| ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
|
|
591
|
+
}
|
|
592
|
+
json$2.isJson = isJson;
|
|
593
|
+
function isntJson(val) {
|
|
594
|
+
return !isJson(val);
|
|
595
|
+
}
|
|
596
|
+
json$2.isntJson = isntJson;
|
|
597
|
+
function isJsonable(val) {
|
|
598
598
|
try {
|
|
599
599
|
JSON.stringify(val);
|
|
600
600
|
return true;
|
|
@@ -603,39 +603,39 @@ function isJsonable$1(val) {
|
|
|
603
603
|
return false;
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
|
-
json$
|
|
607
|
-
function isntJsonable
|
|
608
|
-
return !isntJsonable
|
|
606
|
+
json$2.isJsonable = isJsonable;
|
|
607
|
+
function isntJsonable(val) {
|
|
608
|
+
return !isntJsonable();
|
|
609
609
|
}
|
|
610
|
-
json$
|
|
610
|
+
json$2.isntJsonable = isntJsonable;
|
|
611
611
|
|
|
612
|
-
var promise
|
|
612
|
+
var promise = {};
|
|
613
613
|
|
|
614
|
-
promise
|
|
615
|
-
const object_1
|
|
616
|
-
const function_1
|
|
617
|
-
function isPromise
|
|
614
|
+
promise.isPromiseLike = promise.isntPromiseLike = promise.isntPromise = promise.isPromise = void 0;
|
|
615
|
+
const object_1 = object;
|
|
616
|
+
const function_1 = _function;
|
|
617
|
+
function isPromise(val) {
|
|
618
618
|
return val instanceof Promise;
|
|
619
619
|
}
|
|
620
|
-
promise
|
|
621
|
-
function isntPromise
|
|
622
|
-
return !isPromise
|
|
620
|
+
promise.isPromise = isPromise;
|
|
621
|
+
function isntPromise(val) {
|
|
622
|
+
return !isPromise(val);
|
|
623
623
|
}
|
|
624
|
-
promise
|
|
625
|
-
function isntPromiseLike
|
|
626
|
-
return !isPromiseLike
|
|
624
|
+
promise.isntPromise = isntPromise;
|
|
625
|
+
function isntPromiseLike(val) {
|
|
626
|
+
return !isPromiseLike(val);
|
|
627
627
|
}
|
|
628
|
-
promise
|
|
629
|
-
function isPromiseLike
|
|
630
|
-
return (0, object_1
|
|
631
|
-
&& (0, function_1
|
|
628
|
+
promise.isntPromiseLike = isntPromiseLike;
|
|
629
|
+
function isPromiseLike(val) {
|
|
630
|
+
return (0, object_1.isObject)(val)
|
|
631
|
+
&& (0, function_1.isFunction)(val.then);
|
|
632
632
|
}
|
|
633
|
-
promise
|
|
633
|
+
promise.isPromiseLike = isPromiseLike;
|
|
634
634
|
|
|
635
|
-
var url$
|
|
635
|
+
var url$2 = {};
|
|
636
636
|
|
|
637
|
-
url$
|
|
638
|
-
function isAbsoluteURL
|
|
637
|
+
url$2.isAbsoluteURL = void 0;
|
|
638
|
+
function isAbsoluteURL(str) {
|
|
639
639
|
try {
|
|
640
640
|
new URL(str);
|
|
641
641
|
return true;
|
|
@@ -644,31 +644,31 @@ function isAbsoluteURL$1(str) {
|
|
|
644
644
|
return false;
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
|
-
url$
|
|
647
|
+
url$2.isAbsoluteURL = isAbsoluteURL;
|
|
648
648
|
|
|
649
|
-
var regexp
|
|
649
|
+
var regexp = {};
|
|
650
650
|
|
|
651
|
-
regexp
|
|
652
|
-
function isRegExp
|
|
651
|
+
regexp.isntRegExp = regexp.isRegExp = void 0;
|
|
652
|
+
function isRegExp(val) {
|
|
653
653
|
return val instanceof RegExp;
|
|
654
654
|
}
|
|
655
|
-
regexp
|
|
656
|
-
function isntRegExp
|
|
657
|
-
return !isRegExp
|
|
655
|
+
regexp.isRegExp = isRegExp;
|
|
656
|
+
function isntRegExp(val) {
|
|
657
|
+
return !isRegExp(val);
|
|
658
658
|
}
|
|
659
|
-
regexp
|
|
659
|
+
regexp.isntRegExp = isntRegExp;
|
|
660
660
|
|
|
661
|
-
var symbol
|
|
661
|
+
var symbol = {};
|
|
662
662
|
|
|
663
|
-
symbol
|
|
664
|
-
function isSymbol
|
|
663
|
+
symbol.isntSymbol = symbol.isSymbol = void 0;
|
|
664
|
+
function isSymbol(val) {
|
|
665
665
|
return typeof val === 'symbol';
|
|
666
666
|
}
|
|
667
|
-
symbol
|
|
668
|
-
function isntSymbol
|
|
669
|
-
return !isSymbol
|
|
667
|
+
symbol.isSymbol = isSymbol;
|
|
668
|
+
function isntSymbol(val) {
|
|
669
|
+
return !isSymbol(val);
|
|
670
670
|
}
|
|
671
|
-
symbol
|
|
671
|
+
symbol.isntSymbol = isntSymbol;
|
|
672
672
|
|
|
673
673
|
(function (exports) {
|
|
674
674
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -684,33 +684,33 @@ symbol$1.isntSymbol = isntSymbol$1;
|
|
|
684
684
|
}));
|
|
685
685
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
686
686
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
687
|
-
};__exportStar(array
|
|
688
|
-
__exportStar(asyncIterable
|
|
689
|
-
__exportStar(bigint
|
|
690
|
-
__exportStar(boolean
|
|
691
|
-
__exportStar(char
|
|
692
|
-
__exportStar(date
|
|
693
|
-
__exportStar(_enum$
|
|
694
|
-
__exportStar(error
|
|
695
|
-
__exportStar(falsy
|
|
696
|
-
__exportStar(_function
|
|
697
|
-
__exportStar(iterable
|
|
698
|
-
__exportStar(json$
|
|
699
|
-
__exportStar(_null
|
|
700
|
-
__exportStar(number
|
|
701
|
-
__exportStar(object
|
|
702
|
-
__exportStar(promise
|
|
703
|
-
__exportStar(string
|
|
704
|
-
__exportStar(_undefined
|
|
705
|
-
__exportStar(url$
|
|
706
|
-
__exportStar(regexp
|
|
707
|
-
__exportStar(symbol
|
|
687
|
+
};__exportStar(array, exports);
|
|
688
|
+
__exportStar(asyncIterable, exports);
|
|
689
|
+
__exportStar(bigint, exports);
|
|
690
|
+
__exportStar(boolean, exports);
|
|
691
|
+
__exportStar(char, exports);
|
|
692
|
+
__exportStar(date, exports);
|
|
693
|
+
__exportStar(_enum$1, exports);
|
|
694
|
+
__exportStar(error, exports);
|
|
695
|
+
__exportStar(falsy, exports);
|
|
696
|
+
__exportStar(_function, exports);
|
|
697
|
+
__exportStar(iterable, exports);
|
|
698
|
+
__exportStar(json$2, exports);
|
|
699
|
+
__exportStar(_null, exports);
|
|
700
|
+
__exportStar(number, exports);
|
|
701
|
+
__exportStar(object, exports);
|
|
702
|
+
__exportStar(promise, exports);
|
|
703
|
+
__exportStar(string, exports);
|
|
704
|
+
__exportStar(_undefined, exports);
|
|
705
|
+
__exportStar(url$2, exports);
|
|
706
|
+
__exportStar(regexp, exports);
|
|
707
|
+
__exportStar(symbol, exports);
|
|
708
708
|
|
|
709
|
-
} (es2018$
|
|
709
|
+
} (es2018$a));
|
|
710
710
|
|
|
711
711
|
request$1.del = request$1.patch = request$1.put = request$1.post = request$1.head = request$1.get = void 0;
|
|
712
|
-
const extra_fetch_1$7 = es2018$
|
|
713
|
-
const types_1$m = es2018$
|
|
712
|
+
const extra_fetch_1$7 = es2018$c;
|
|
713
|
+
const types_1$m = es2018$a;
|
|
714
714
|
function get(...transformers) {
|
|
715
715
|
return request('GET', ...transformers);
|
|
716
716
|
}
|
|
@@ -767,14 +767,14 @@ function request(method, ...transformers) {
|
|
|
767
767
|
};__exportStar(types, exports);
|
|
768
768
|
__exportStar(request$1, exports);
|
|
769
769
|
|
|
770
|
-
} (es2018$
|
|
770
|
+
} (es2018$b));
|
|
771
771
|
|
|
772
772
|
var transformers = {};
|
|
773
773
|
|
|
774
|
-
var url$
|
|
774
|
+
var url$1 = {};
|
|
775
775
|
|
|
776
|
-
url$
|
|
777
|
-
function url
|
|
776
|
+
url$1.url = void 0;
|
|
777
|
+
function url(...urls) {
|
|
778
778
|
return (options) => {
|
|
779
779
|
const url = new URL(urls.reduce((acc, cur) => new URL(cur, acc).href));
|
|
780
780
|
return {
|
|
@@ -783,12 +783,12 @@ function url$1(...urls) {
|
|
|
783
783
|
};
|
|
784
784
|
};
|
|
785
785
|
}
|
|
786
|
-
url$
|
|
786
|
+
url$1.url = url;
|
|
787
787
|
|
|
788
788
|
var text$1 = {};
|
|
789
789
|
|
|
790
790
|
text$1.text = void 0;
|
|
791
|
-
const extra_fetch_1$6 = es2018$
|
|
791
|
+
const extra_fetch_1$6 = es2018$c;
|
|
792
792
|
function text(payload) {
|
|
793
793
|
return (options) => {
|
|
794
794
|
const headers = new extra_fetch_1$6.Headers(options.headers);
|
|
@@ -802,11 +802,11 @@ function text(payload) {
|
|
|
802
802
|
}
|
|
803
803
|
text$1.text = text;
|
|
804
804
|
|
|
805
|
-
var json$
|
|
805
|
+
var json$1 = {};
|
|
806
806
|
|
|
807
|
-
json$
|
|
808
|
-
const extra_fetch_1$5 = es2018$
|
|
809
|
-
function json
|
|
807
|
+
json$1.json = void 0;
|
|
808
|
+
const extra_fetch_1$5 = es2018$c;
|
|
809
|
+
function json(payload) {
|
|
810
810
|
return (options) => {
|
|
811
811
|
const headers = new extra_fetch_1$5.Headers(options.headers);
|
|
812
812
|
headers.set('Content-Type', 'application/json');
|
|
@@ -817,7 +817,7 @@ function json$1(payload) {
|
|
|
817
817
|
};
|
|
818
818
|
};
|
|
819
819
|
}
|
|
820
|
-
json$
|
|
820
|
+
json$1.json = json;
|
|
821
821
|
|
|
822
822
|
var csv$1 = {};
|
|
823
823
|
|
|
@@ -2692,17 +2692,17 @@ License: MIT
|
|
|
2692
2692
|
}));
|
|
2693
2693
|
} (papaparse));
|
|
2694
2694
|
|
|
2695
|
-
var es2018$
|
|
2695
|
+
var es2018$9 = {};
|
|
2696
2696
|
|
|
2697
2697
|
var customError$1 = {};
|
|
2698
2698
|
|
|
2699
|
-
var es2018$
|
|
2699
|
+
var es2018$8 = {};
|
|
2700
2700
|
|
|
2701
2701
|
var middleware = {};
|
|
2702
2702
|
|
|
2703
2703
|
var chunkAsync = {};
|
|
2704
2704
|
|
|
2705
|
-
var es2018$
|
|
2705
|
+
var es2018$7 = {};
|
|
2706
2706
|
|
|
2707
2707
|
var go$1 = {};
|
|
2708
2708
|
|
|
@@ -2731,11 +2731,11 @@ goMicrotask$1.goMicrotask = goMicrotask;
|
|
|
2731
2731
|
|
|
2732
2732
|
var goMacrotask$1 = {};
|
|
2733
2733
|
|
|
2734
|
-
var es2018$
|
|
2734
|
+
var es2018$6 = {};
|
|
2735
2735
|
|
|
2736
2736
|
var exponentialBackoff = {};
|
|
2737
2737
|
|
|
2738
|
-
var es2018$
|
|
2738
|
+
var es2018$5 = {};
|
|
2739
2739
|
|
|
2740
2740
|
var random$1 = {};
|
|
2741
2741
|
|
|
@@ -2747,572 +2747,173 @@ random$1.random = random;
|
|
|
2747
2747
|
|
|
2748
2748
|
var randomInt$1 = {};
|
|
2749
2749
|
|
|
2750
|
-
randomInt$1.randomInt = void 0;
|
|
2751
|
-
function randomInt(min, max) {
|
|
2752
|
-
min = Math.ceil(min);
|
|
2753
|
-
max = Math.floor(max);
|
|
2754
|
-
return Math.floor(Math.random() * (max - min)) + min;
|
|
2755
|
-
}
|
|
2756
|
-
randomInt$1.randomInt = randomInt;
|
|
2757
|
-
|
|
2758
|
-
var randomIntInclusive$1 = {};
|
|
2759
|
-
|
|
2760
|
-
randomIntInclusive$1.randomIntInclusive = void 0;
|
|
2761
|
-
function randomIntInclusive(min, max) {
|
|
2762
|
-
min = Math.ceil(min);
|
|
2763
|
-
max = Math.floor(max);
|
|
2764
|
-
return Math.floor(Math.random() * (max - min + 1)) + min;
|
|
2765
|
-
}
|
|
2766
|
-
randomIntInclusive$1.randomIntInclusive = randomIntInclusive;
|
|
2767
|
-
|
|
2768
|
-
(function (exports) {
|
|
2769
|
-
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2770
|
-
if (k2 === undefined) k2 = k;
|
|
2771
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2772
|
-
}) : (function(o, m, k, k2) {
|
|
2773
|
-
if (k2 === undefined) k2 = k;
|
|
2774
|
-
o[k2] = m[k];
|
|
2775
|
-
}));
|
|
2776
|
-
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2777
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2778
|
-
};__exportStar(random$1, exports);
|
|
2779
|
-
__exportStar(randomInt$1, exports);
|
|
2780
|
-
__exportStar(randomIntInclusive$1, exports);
|
|
2781
|
-
|
|
2782
|
-
} (es2018$6));
|
|
2783
|
-
|
|
2784
|
-
exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
|
|
2785
|
-
const extra_rand_1 = es2018$6;
|
|
2786
|
-
function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
|
|
2787
|
-
const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
|
|
2788
|
-
if (jitter) {
|
|
2789
|
-
return (0, extra_rand_1.randomIntInclusive)(0, timeout);
|
|
2790
|
-
}
|
|
2791
|
-
else {
|
|
2792
|
-
return timeout;
|
|
2793
|
-
}
|
|
2794
|
-
}
|
|
2795
|
-
exponentialBackoff.calculateExponentialBackoffTimeout = calculateExponentialBackoffTimeout;
|
|
2796
|
-
|
|
2797
|
-
var setTimeout$2 = {};
|
|
2798
|
-
|
|
2799
|
-
setTimeout$2.setTimeout = void 0;
|
|
2800
|
-
function setTimeout$1(timeout, cb) {
|
|
2801
|
-
const timer = globalThis.setTimeout(cb, timeout);
|
|
2802
|
-
return () => clearTimeout(timer);
|
|
2803
|
-
}
|
|
2804
|
-
setTimeout$2.setTimeout = setTimeout$1;
|
|
2805
|
-
|
|
2806
|
-
var setSchedule$1 = {};
|
|
2807
|
-
|
|
2808
|
-
setSchedule$1.setSchedule = void 0;
|
|
2809
|
-
const set_timeout_1$3 = setTimeout$2;
|
|
2810
|
-
function setSchedule(timestamp, cb) {
|
|
2811
|
-
const timeout = timestamp - Date.now();
|
|
2812
|
-
return (0, set_timeout_1$3.setTimeout)(timeout, cb);
|
|
2813
|
-
}
|
|
2814
|
-
setSchedule$1.setSchedule = setSchedule;
|
|
2815
|
-
|
|
2816
|
-
var setInterval$1 = {};
|
|
2817
|
-
|
|
2818
|
-
setInterval$1.setInterval = void 0;
|
|
2819
|
-
function setInterval(timeout, cb) {
|
|
2820
|
-
const timer = globalThis.setInterval(cb, timeout);
|
|
2821
|
-
return () => clearInterval(timer);
|
|
2822
|
-
}
|
|
2823
|
-
setInterval$1.setInterval = setInterval;
|
|
2824
|
-
|
|
2825
|
-
var setImmediate$1 = {};
|
|
2826
|
-
|
|
2827
|
-
setImmediate$1.setImmediate = void 0;
|
|
2828
|
-
const set_timeout_1$2 = setTimeout$2;
|
|
2829
|
-
function setImmediate(cb) {
|
|
2830
|
-
if (globalThis.setImmediate) {
|
|
2831
|
-
const timer = globalThis.setImmediate(cb);
|
|
2832
|
-
return () => clearImmediate(timer);
|
|
2833
|
-
}
|
|
2834
|
-
else {
|
|
2835
|
-
return (0, set_timeout_1$2.setTimeout)(0, cb);
|
|
2836
|
-
}
|
|
2837
|
-
}
|
|
2838
|
-
setImmediate$1.setImmediate = setImmediate;
|
|
2839
|
-
|
|
2840
|
-
var setTimeoutLoop$1 = {};
|
|
2841
|
-
|
|
2842
|
-
setTimeoutLoop$1.setTimeoutLoop = void 0;
|
|
2843
|
-
const set_timeout_1$1 = setTimeout$2;
|
|
2844
|
-
function setTimeoutLoop(timeout, cb) {
|
|
2845
|
-
let isCancelled = false;
|
|
2846
|
-
let cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2847
|
-
return () => {
|
|
2848
|
-
isCancelled = true;
|
|
2849
|
-
cancel();
|
|
2850
|
-
};
|
|
2851
|
-
async function loop() {
|
|
2852
|
-
await cb();
|
|
2853
|
-
if (!isCancelled) {
|
|
2854
|
-
cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2855
|
-
}
|
|
2856
|
-
}
|
|
2857
|
-
}
|
|
2858
|
-
setTimeoutLoop$1.setTimeoutLoop = setTimeoutLoop;
|
|
2859
|
-
|
|
2860
|
-
var setDynamicTimeoutLoop$1 = {};
|
|
2861
|
-
|
|
2862
|
-
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = void 0;
|
|
2863
|
-
const set_timeout_1 = setTimeout$2;
|
|
2864
|
-
function setDynamicTimeoutLoop(timeout, cb) {
|
|
2865
|
-
let isCancelled = false;
|
|
2866
|
-
let cancel = (0, set_timeout_1.setTimeout)(timeout, loop);
|
|
2867
|
-
return () => {
|
|
2868
|
-
isCancelled = true;
|
|
2869
|
-
cancel();
|
|
2870
|
-
};
|
|
2871
|
-
async function loop() {
|
|
2872
|
-
const start = Date.now();
|
|
2873
|
-
await cb();
|
|
2874
|
-
const elapsed = Date.now() - start;
|
|
2875
|
-
if (!isCancelled) {
|
|
2876
|
-
cancel = (0, set_timeout_1.setTimeout)(Math.max(timeout - elapsed, 0), loop);
|
|
2877
|
-
}
|
|
2878
|
-
}
|
|
2879
|
-
}
|
|
2880
|
-
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = setDynamicTimeoutLoop;
|
|
2881
|
-
|
|
2882
|
-
(function (exports) {
|
|
2883
|
-
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2884
|
-
if (k2 === undefined) k2 = k;
|
|
2885
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2886
|
-
}) : (function(o, m, k, k2) {
|
|
2887
|
-
if (k2 === undefined) k2 = k;
|
|
2888
|
-
o[k2] = m[k];
|
|
2889
|
-
}));
|
|
2890
|
-
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2891
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2892
|
-
};__exportStar(exponentialBackoff, exports);
|
|
2893
|
-
__exportStar(setTimeout$2, exports);
|
|
2894
|
-
__exportStar(setSchedule$1, exports);
|
|
2895
|
-
__exportStar(setInterval$1, exports);
|
|
2896
|
-
__exportStar(setImmediate$1, exports);
|
|
2897
|
-
__exportStar(setTimeoutLoop$1, exports);
|
|
2898
|
-
__exportStar(setDynamicTimeoutLoop$1, exports);
|
|
2899
|
-
|
|
2900
|
-
} (es2018$7));
|
|
2901
|
-
|
|
2902
|
-
goMacrotask$1.goMacrotask = void 0;
|
|
2903
|
-
const extra_timers_1 = es2018$7;
|
|
2904
|
-
function goMacrotask(fn) {
|
|
2905
|
-
return new Promise((resolve, reject) => {
|
|
2906
|
-
(0, extra_timers_1.setImmediate)(async () => {
|
|
2907
|
-
try {
|
|
2908
|
-
resolve(await fn());
|
|
2909
|
-
}
|
|
2910
|
-
catch (e) {
|
|
2911
|
-
reject(e);
|
|
2912
|
-
}
|
|
2913
|
-
});
|
|
2914
|
-
});
|
|
2915
|
-
}
|
|
2916
|
-
goMacrotask$1.goMacrotask = goMacrotask;
|
|
2917
|
-
|
|
2918
|
-
(function (exports) {
|
|
2919
|
-
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2920
|
-
if (k2 === undefined) k2 = k;
|
|
2921
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2922
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2923
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
2924
|
-
}
|
|
2925
|
-
Object.defineProperty(o, k2, desc);
|
|
2926
|
-
}) : (function(o, m, k, k2) {
|
|
2927
|
-
if (k2 === undefined) k2 = k;
|
|
2928
|
-
o[k2] = m[k];
|
|
2929
|
-
}));
|
|
2930
|
-
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2931
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2932
|
-
};__exportStar(go$1, exports);
|
|
2933
|
-
__exportStar(goMicrotask$1, exports);
|
|
2934
|
-
__exportStar(goMacrotask$1, exports);
|
|
2935
|
-
|
|
2936
|
-
} (es2018$8));
|
|
2937
|
-
|
|
2938
|
-
var hasRequiredChunkAsync;
|
|
2939
|
-
|
|
2940
|
-
function requireChunkAsync () {
|
|
2941
|
-
if (hasRequiredChunkAsync) return chunkAsync;
|
|
2942
|
-
hasRequiredChunkAsync = 1;
|
|
2943
|
-
chunkAsync.chunkAsync = void 0;
|
|
2944
|
-
const go_1 = es2018$8;
|
|
2945
|
-
const errors_1 = requireEs2018();
|
|
2946
|
-
function chunkAsync$1(iterable, size) {
|
|
2947
|
-
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
2948
|
-
(0, errors_1.assert)(size > 0, 'The parameter size must be greater than 0');
|
|
2949
|
-
return (0, go_1.go)(async function* () {
|
|
2950
|
-
let buffer = [];
|
|
2951
|
-
for await (const element of iterable) {
|
|
2952
|
-
buffer.push(element);
|
|
2953
|
-
if (buffer.length >= size) {
|
|
2954
|
-
yield buffer;
|
|
2955
|
-
buffer = [];
|
|
2956
|
-
}
|
|
2957
|
-
}
|
|
2958
|
-
if (buffer.length)
|
|
2959
|
-
yield buffer;
|
|
2960
|
-
});
|
|
2961
|
-
}
|
|
2962
|
-
chunkAsync.chunkAsync = chunkAsync$1;
|
|
2963
|
-
|
|
2964
|
-
return chunkAsync;
|
|
2965
|
-
}
|
|
2966
|
-
|
|
2967
|
-
var chunkByAsync$1 = {};
|
|
2968
|
-
|
|
2969
|
-
var es2018$5 = {};
|
|
2970
|
-
|
|
2971
|
-
var array = {};
|
|
2972
|
-
|
|
2973
|
-
array.isntEmptyArray = array.isEmptyArray = array.isntArray = array.isArray = void 0;
|
|
2974
|
-
function isArray(val) {
|
|
2975
|
-
return Array.isArray(val);
|
|
2976
|
-
}
|
|
2977
|
-
array.isArray = isArray;
|
|
2978
|
-
function isntArray(val) {
|
|
2979
|
-
return !isArray(val);
|
|
2980
|
-
}
|
|
2981
|
-
array.isntArray = isntArray;
|
|
2982
|
-
function isEmptyArray(val) {
|
|
2983
|
-
return val.length === 0;
|
|
2984
|
-
}
|
|
2985
|
-
array.isEmptyArray = isEmptyArray;
|
|
2986
|
-
function isntEmptyArray(val) {
|
|
2987
|
-
return val.length !== 0;
|
|
2988
|
-
}
|
|
2989
|
-
array.isntEmptyArray = isntEmptyArray;
|
|
2990
|
-
|
|
2991
|
-
var asyncIterable = {};
|
|
2992
|
-
|
|
2993
|
-
var _null = {};
|
|
2994
|
-
|
|
2995
|
-
_null.isntNull = _null.isNull = void 0;
|
|
2996
|
-
function isNull(val) {
|
|
2997
|
-
return val === null;
|
|
2998
|
-
}
|
|
2999
|
-
_null.isNull = isNull;
|
|
3000
|
-
function isntNull(val) {
|
|
3001
|
-
return !isNull(val);
|
|
3002
|
-
}
|
|
3003
|
-
_null.isntNull = isntNull;
|
|
3004
|
-
|
|
3005
|
-
var _undefined = {};
|
|
3006
|
-
|
|
3007
|
-
_undefined.isntUndefined = _undefined.isUndefined = void 0;
|
|
3008
|
-
function isUndefined(val) {
|
|
3009
|
-
return val === undefined;
|
|
3010
|
-
}
|
|
3011
|
-
_undefined.isUndefined = isUndefined;
|
|
3012
|
-
function isntUndefined(val) {
|
|
3013
|
-
return !isUndefined(val);
|
|
3014
|
-
}
|
|
3015
|
-
_undefined.isntUndefined = isntUndefined;
|
|
3016
|
-
|
|
3017
|
-
var _function = {};
|
|
3018
|
-
|
|
3019
|
-
_function.isntFunction = _function.isFunction = void 0;
|
|
3020
|
-
function isFunction(val) {
|
|
3021
|
-
return typeof val === 'function';
|
|
3022
|
-
}
|
|
3023
|
-
_function.isFunction = isFunction;
|
|
3024
|
-
function isntFunction(val) {
|
|
3025
|
-
return !isFunction(val);
|
|
3026
|
-
}
|
|
3027
|
-
_function.isntFunction = isntFunction;
|
|
3028
|
-
|
|
3029
|
-
asyncIterable.isntAsyncIterable = asyncIterable.isAsyncIterable = void 0;
|
|
3030
|
-
const null_1$2 = _null;
|
|
3031
|
-
const undefined_1$1 = _undefined;
|
|
3032
|
-
const function_1$2 = _function;
|
|
3033
|
-
function isAsyncIterable(val) {
|
|
3034
|
-
return (0, null_1$2.isntNull)(val)
|
|
3035
|
-
&& (0, undefined_1$1.isntUndefined)(val)
|
|
3036
|
-
&& (0, function_1$2.isFunction)(val[Symbol.asyncIterator]);
|
|
3037
|
-
}
|
|
3038
|
-
asyncIterable.isAsyncIterable = isAsyncIterable;
|
|
3039
|
-
function isntAsyncIterable(val) {
|
|
3040
|
-
return !isAsyncIterable(val);
|
|
3041
|
-
}
|
|
3042
|
-
asyncIterable.isntAsyncIterable = isntAsyncIterable;
|
|
3043
|
-
|
|
3044
|
-
var bigint = {};
|
|
3045
|
-
|
|
3046
|
-
bigint.isntBigInt = bigint.isBigInt = void 0;
|
|
3047
|
-
function isBigInt(val) {
|
|
3048
|
-
return typeof val === 'bigint';
|
|
3049
|
-
}
|
|
3050
|
-
bigint.isBigInt = isBigInt;
|
|
3051
|
-
function isntBigInt(val) {
|
|
3052
|
-
return !isBigInt(val);
|
|
3053
|
-
}
|
|
3054
|
-
bigint.isntBigInt = isntBigInt;
|
|
3055
|
-
|
|
3056
|
-
var boolean = {};
|
|
3057
|
-
|
|
3058
|
-
boolean.isntBoolean = boolean.isBoolean = void 0;
|
|
3059
|
-
function isBoolean(val) {
|
|
3060
|
-
return typeof val === 'boolean';
|
|
3061
|
-
}
|
|
3062
|
-
boolean.isBoolean = isBoolean;
|
|
3063
|
-
function isntBoolean(val) {
|
|
3064
|
-
return !isBoolean(val);
|
|
3065
|
-
}
|
|
3066
|
-
boolean.isntBoolean = isntBoolean;
|
|
3067
|
-
|
|
3068
|
-
var char = {};
|
|
3069
|
-
|
|
3070
|
-
var string = {};
|
|
3071
|
-
|
|
3072
|
-
string.isntString = string.isString = void 0;
|
|
3073
|
-
function isString(val) {
|
|
3074
|
-
return typeof val === 'string';
|
|
3075
|
-
}
|
|
3076
|
-
string.isString = isString;
|
|
3077
|
-
function isntString(val) {
|
|
3078
|
-
return !isString(val);
|
|
3079
|
-
}
|
|
3080
|
-
string.isntString = isntString;
|
|
3081
|
-
|
|
3082
|
-
char.isntChar = char.isChar = void 0;
|
|
3083
|
-
const string_1$1 = string;
|
|
3084
|
-
function isChar(val) {
|
|
3085
|
-
return (0, string_1$1.isString)(val)
|
|
3086
|
-
&& val.length === 1;
|
|
3087
|
-
}
|
|
3088
|
-
char.isChar = isChar;
|
|
3089
|
-
function isntChar(val) {
|
|
3090
|
-
return !isChar(val);
|
|
3091
|
-
}
|
|
3092
|
-
char.isntChar = isntChar;
|
|
3093
|
-
|
|
3094
|
-
var date = {};
|
|
3095
|
-
|
|
3096
|
-
date.isntDate = date.isDate = void 0;
|
|
3097
|
-
function isDate(val) {
|
|
3098
|
-
return val instanceof Date;
|
|
3099
|
-
}
|
|
3100
|
-
date.isDate = isDate;
|
|
3101
|
-
function isntDate(val) {
|
|
3102
|
-
return !isDate(val);
|
|
3103
|
-
}
|
|
3104
|
-
date.isntDate = isntDate;
|
|
3105
|
-
|
|
3106
|
-
var _enum$1 = {};
|
|
3107
|
-
|
|
3108
|
-
_enum$1.inEnum = void 0;
|
|
3109
|
-
function inEnum(val, _enum) {
|
|
3110
|
-
return Object.values(_enum).includes(val);
|
|
3111
|
-
}
|
|
3112
|
-
_enum$1.inEnum = inEnum;
|
|
3113
|
-
|
|
3114
|
-
var error = {};
|
|
3115
|
-
|
|
3116
|
-
error.isntError = error.isError = void 0;
|
|
3117
|
-
function isError(val) {
|
|
3118
|
-
return val instanceof Error;
|
|
3119
|
-
}
|
|
3120
|
-
error.isError = isError;
|
|
3121
|
-
function isntError(val) {
|
|
3122
|
-
return !isError(val);
|
|
3123
|
-
}
|
|
3124
|
-
error.isntError = isntError;
|
|
3125
|
-
|
|
3126
|
-
var falsy = {};
|
|
3127
|
-
|
|
3128
|
-
falsy.isntFalsy = falsy.isFalsy = void 0;
|
|
3129
|
-
function isFalsy(val) {
|
|
3130
|
-
return !val;
|
|
3131
|
-
}
|
|
3132
|
-
falsy.isFalsy = isFalsy;
|
|
3133
|
-
function isntFalsy(val) {
|
|
3134
|
-
return !isFalsy(val);
|
|
3135
|
-
}
|
|
3136
|
-
falsy.isntFalsy = isntFalsy;
|
|
3137
|
-
|
|
3138
|
-
var iterable = {};
|
|
3139
|
-
|
|
3140
|
-
iterable.isntIterable = iterable.isIterable = void 0;
|
|
3141
|
-
const null_1$1 = _null;
|
|
3142
|
-
const undefined_1 = _undefined;
|
|
3143
|
-
const function_1$1 = _function;
|
|
3144
|
-
function isIterable(val) {
|
|
3145
|
-
return (0, null_1$1.isntNull)(val)
|
|
3146
|
-
&& (0, undefined_1.isntUndefined)(val)
|
|
3147
|
-
&& (0, function_1$1.isFunction)(val[Symbol.iterator]);
|
|
3148
|
-
}
|
|
3149
|
-
iterable.isIterable = isIterable;
|
|
3150
|
-
function isntIterable(val) {
|
|
3151
|
-
return !isIterable(val);
|
|
3152
|
-
}
|
|
3153
|
-
iterable.isntIterable = isntIterable;
|
|
3154
|
-
|
|
3155
|
-
var json = {};
|
|
3156
|
-
|
|
3157
|
-
var number = {};
|
|
3158
|
-
|
|
3159
|
-
number.isntNaN = number.isNaN = number.isNegativeInfinity = number.isPositiveInfinity = number.isFinite = number.isntNumber = number.isNumber = void 0;
|
|
3160
|
-
function isNumber(val) {
|
|
3161
|
-
return typeof val === 'number';
|
|
3162
|
-
}
|
|
3163
|
-
number.isNumber = isNumber;
|
|
3164
|
-
function isntNumber(val) {
|
|
3165
|
-
return !isNumber(val);
|
|
3166
|
-
}
|
|
3167
|
-
number.isntNumber = isntNumber;
|
|
3168
|
-
function isFinite(val) {
|
|
3169
|
-
return Number.isFinite(val);
|
|
3170
|
-
}
|
|
3171
|
-
number.isFinite = isFinite;
|
|
3172
|
-
function isPositiveInfinity(val) {
|
|
3173
|
-
return val === Infinity;
|
|
3174
|
-
}
|
|
3175
|
-
number.isPositiveInfinity = isPositiveInfinity;
|
|
3176
|
-
function isNegativeInfinity(val) {
|
|
3177
|
-
return val === -Infinity;
|
|
3178
|
-
}
|
|
3179
|
-
number.isNegativeInfinity = isNegativeInfinity;
|
|
3180
|
-
function isNaN(val) {
|
|
3181
|
-
return Number.isNaN(val);
|
|
3182
|
-
}
|
|
3183
|
-
number.isNaN = isNaN;
|
|
3184
|
-
function isntNaN(val) {
|
|
3185
|
-
return !isNaN(val);
|
|
3186
|
-
}
|
|
3187
|
-
number.isntNaN = isntNaN;
|
|
3188
|
-
|
|
3189
|
-
var object = {};
|
|
3190
|
-
|
|
3191
|
-
var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
3192
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
3193
|
-
};object.isntEmptyObject = object.isEmptyObject = object.isntPlainObject = object.isPlainObject = object.isntObject = object.isObject = void 0;
|
|
3194
|
-
const isPlainObject_1 = __importDefault$1(isPlainObject_1$2);
|
|
3195
|
-
function isObject(val) {
|
|
3196
|
-
return val !== null
|
|
3197
|
-
&& typeof val === 'object';
|
|
3198
|
-
}
|
|
3199
|
-
object.isObject = isObject;
|
|
3200
|
-
function isntObject(val) {
|
|
3201
|
-
return !isObject(val);
|
|
3202
|
-
}
|
|
3203
|
-
object.isntObject = isntObject;
|
|
3204
|
-
function isPlainObject(val) {
|
|
3205
|
-
return (0, isPlainObject_1.default)(val);
|
|
3206
|
-
}
|
|
3207
|
-
object.isPlainObject = isPlainObject;
|
|
3208
|
-
function isntPlainObject(val) {
|
|
3209
|
-
return !isPlainObject(val);
|
|
3210
|
-
}
|
|
3211
|
-
object.isntPlainObject = isntPlainObject;
|
|
3212
|
-
function isEmptyObject(val) {
|
|
3213
|
-
return Object.keys(val).length === 0;
|
|
3214
|
-
}
|
|
3215
|
-
object.isEmptyObject = isEmptyObject;
|
|
3216
|
-
function isntEmptyObject(val) {
|
|
3217
|
-
return Object.keys(val).length !== 0;
|
|
3218
|
-
}
|
|
3219
|
-
object.isntEmptyObject = isntEmptyObject;
|
|
3220
|
-
|
|
3221
|
-
json.isntJsonable = json.isJsonable = json.isntJson = json.isJson = void 0;
|
|
3222
|
-
const null_1 = _null;
|
|
3223
|
-
const boolean_1 = boolean;
|
|
3224
|
-
const string_1 = string;
|
|
3225
|
-
const number_1 = number;
|
|
3226
|
-
const array_1 = array;
|
|
3227
|
-
const object_1$1 = object;
|
|
3228
|
-
function isJson(val) {
|
|
3229
|
-
return (0, null_1.isNull)(val)
|
|
3230
|
-
|| (0, boolean_1.isBoolean)(val)
|
|
3231
|
-
|| (0, string_1.isString)(val)
|
|
3232
|
-
|| (0, number_1.isNumber)(val)
|
|
3233
|
-
|| ((0, array_1.isArray)(val) && val.every(isJson))
|
|
3234
|
-
|| ((0, object_1$1.isPlainObject)(val) && Object.values(val).every(isJson));
|
|
2750
|
+
randomInt$1.randomInt = void 0;
|
|
2751
|
+
function randomInt(min, max) {
|
|
2752
|
+
min = Math.ceil(min);
|
|
2753
|
+
max = Math.floor(max);
|
|
2754
|
+
return Math.floor(Math.random() * (max - min)) + min;
|
|
3235
2755
|
}
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
2756
|
+
randomInt$1.randomInt = randomInt;
|
|
2757
|
+
|
|
2758
|
+
var randomIntInclusive$1 = {};
|
|
2759
|
+
|
|
2760
|
+
randomIntInclusive$1.randomIntInclusive = void 0;
|
|
2761
|
+
function randomIntInclusive(min, max) {
|
|
2762
|
+
min = Math.ceil(min);
|
|
2763
|
+
max = Math.floor(max);
|
|
2764
|
+
return Math.floor(Math.random() * (max - min + 1)) + min;
|
|
3239
2765
|
}
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
2766
|
+
randomIntInclusive$1.randomIntInclusive = randomIntInclusive;
|
|
2767
|
+
|
|
2768
|
+
(function (exports) {
|
|
2769
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2770
|
+
if (k2 === undefined) k2 = k;
|
|
2771
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2772
|
+
}) : (function(o, m, k, k2) {
|
|
2773
|
+
if (k2 === undefined) k2 = k;
|
|
2774
|
+
o[k2] = m[k];
|
|
2775
|
+
}));
|
|
2776
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2777
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2778
|
+
};__exportStar(random$1, exports);
|
|
2779
|
+
__exportStar(randomInt$1, exports);
|
|
2780
|
+
__exportStar(randomIntInclusive$1, exports);
|
|
2781
|
+
|
|
2782
|
+
} (es2018$5));
|
|
2783
|
+
|
|
2784
|
+
exponentialBackoff.calculateExponentialBackoffTimeout = void 0;
|
|
2785
|
+
const extra_rand_1 = es2018$5;
|
|
2786
|
+
function calculateExponentialBackoffTimeout({ baseTimeout, retries, maxTimeout = Infinity, factor = 2, jitter = true }) {
|
|
2787
|
+
const timeout = Math.min(factor ** retries * baseTimeout, maxTimeout);
|
|
2788
|
+
if (jitter) {
|
|
2789
|
+
return (0, extra_rand_1.randomIntInclusive)(0, timeout);
|
|
3245
2790
|
}
|
|
3246
|
-
|
|
3247
|
-
return
|
|
2791
|
+
else {
|
|
2792
|
+
return timeout;
|
|
3248
2793
|
}
|
|
3249
2794
|
}
|
|
3250
|
-
|
|
3251
|
-
function isntJsonable(val) {
|
|
3252
|
-
return !isntJsonable();
|
|
3253
|
-
}
|
|
3254
|
-
json.isntJsonable = isntJsonable;
|
|
2795
|
+
exponentialBackoff.calculateExponentialBackoffTimeout = calculateExponentialBackoffTimeout;
|
|
3255
2796
|
|
|
3256
|
-
var
|
|
2797
|
+
var setTimeout$2 = {};
|
|
3257
2798
|
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
const
|
|
3261
|
-
|
|
3262
|
-
return val instanceof Promise;
|
|
3263
|
-
}
|
|
3264
|
-
promise.isPromise = isPromise;
|
|
3265
|
-
function isntPromise(val) {
|
|
3266
|
-
return !isPromise(val);
|
|
2799
|
+
setTimeout$2.setTimeout = void 0;
|
|
2800
|
+
function setTimeout$1(timeout, cb) {
|
|
2801
|
+
const timer = globalThis.setTimeout(cb, timeout);
|
|
2802
|
+
return () => clearTimeout(timer);
|
|
3267
2803
|
}
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
2804
|
+
setTimeout$2.setTimeout = setTimeout$1;
|
|
2805
|
+
|
|
2806
|
+
var setSchedule$1 = {};
|
|
2807
|
+
|
|
2808
|
+
setSchedule$1.setSchedule = void 0;
|
|
2809
|
+
const set_timeout_1$3 = setTimeout$2;
|
|
2810
|
+
function setSchedule(timestamp, cb) {
|
|
2811
|
+
const timeout = timestamp - Date.now();
|
|
2812
|
+
return (0, set_timeout_1$3.setTimeout)(timeout, cb);
|
|
3271
2813
|
}
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
2814
|
+
setSchedule$1.setSchedule = setSchedule;
|
|
2815
|
+
|
|
2816
|
+
var setInterval$1 = {};
|
|
2817
|
+
|
|
2818
|
+
setInterval$1.setInterval = void 0;
|
|
2819
|
+
function setInterval(timeout, cb) {
|
|
2820
|
+
const timer = globalThis.setInterval(cb, timeout);
|
|
2821
|
+
return () => clearInterval(timer);
|
|
3276
2822
|
}
|
|
3277
|
-
|
|
2823
|
+
setInterval$1.setInterval = setInterval;
|
|
3278
2824
|
|
|
3279
|
-
var
|
|
2825
|
+
var setImmediate$1 = {};
|
|
3280
2826
|
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
2827
|
+
setImmediate$1.setImmediate = void 0;
|
|
2828
|
+
const set_timeout_1$2 = setTimeout$2;
|
|
2829
|
+
function setImmediate(cb) {
|
|
2830
|
+
if (globalThis.setImmediate) {
|
|
2831
|
+
const timer = globalThis.setImmediate(cb);
|
|
2832
|
+
return () => clearImmediate(timer);
|
|
3286
2833
|
}
|
|
3287
|
-
|
|
3288
|
-
return
|
|
2834
|
+
else {
|
|
2835
|
+
return (0, set_timeout_1$2.setTimeout)(0, cb);
|
|
3289
2836
|
}
|
|
3290
2837
|
}
|
|
3291
|
-
|
|
2838
|
+
setImmediate$1.setImmediate = setImmediate;
|
|
3292
2839
|
|
|
3293
|
-
var
|
|
2840
|
+
var setTimeoutLoop$1 = {};
|
|
3294
2841
|
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
2842
|
+
setTimeoutLoop$1.setTimeoutLoop = void 0;
|
|
2843
|
+
const set_timeout_1$1 = setTimeout$2;
|
|
2844
|
+
function setTimeoutLoop(timeout, cb) {
|
|
2845
|
+
let isCancelled = false;
|
|
2846
|
+
let cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2847
|
+
return () => {
|
|
2848
|
+
isCancelled = true;
|
|
2849
|
+
cancel();
|
|
2850
|
+
};
|
|
2851
|
+
async function loop() {
|
|
2852
|
+
await cb();
|
|
2853
|
+
if (!isCancelled) {
|
|
2854
|
+
cancel = (0, set_timeout_1$1.setTimeout)(timeout, loop);
|
|
2855
|
+
}
|
|
2856
|
+
}
|
|
3302
2857
|
}
|
|
3303
|
-
|
|
2858
|
+
setTimeoutLoop$1.setTimeoutLoop = setTimeoutLoop;
|
|
3304
2859
|
|
|
3305
|
-
var
|
|
2860
|
+
var setDynamicTimeoutLoop$1 = {};
|
|
3306
2861
|
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
2862
|
+
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = void 0;
|
|
2863
|
+
const set_timeout_1 = setTimeout$2;
|
|
2864
|
+
function setDynamicTimeoutLoop(timeout, cb) {
|
|
2865
|
+
let isCancelled = false;
|
|
2866
|
+
let cancel = (0, set_timeout_1.setTimeout)(timeout, loop);
|
|
2867
|
+
return () => {
|
|
2868
|
+
isCancelled = true;
|
|
2869
|
+
cancel();
|
|
2870
|
+
};
|
|
2871
|
+
async function loop() {
|
|
2872
|
+
const start = Date.now();
|
|
2873
|
+
await cb();
|
|
2874
|
+
const elapsed = Date.now() - start;
|
|
2875
|
+
if (!isCancelled) {
|
|
2876
|
+
cancel = (0, set_timeout_1.setTimeout)(Math.max(timeout - elapsed, 0), loop);
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
3310
2879
|
}
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
2880
|
+
setDynamicTimeoutLoop$1.setDynamicTimeoutLoop = setDynamicTimeoutLoop;
|
|
2881
|
+
|
|
2882
|
+
(function (exports) {
|
|
2883
|
+
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2884
|
+
if (k2 === undefined) k2 = k;
|
|
2885
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
2886
|
+
}) : (function(o, m, k, k2) {
|
|
2887
|
+
if (k2 === undefined) k2 = k;
|
|
2888
|
+
o[k2] = m[k];
|
|
2889
|
+
}));
|
|
2890
|
+
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
2891
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
2892
|
+
};__exportStar(exponentialBackoff, exports);
|
|
2893
|
+
__exportStar(setTimeout$2, exports);
|
|
2894
|
+
__exportStar(setSchedule$1, exports);
|
|
2895
|
+
__exportStar(setInterval$1, exports);
|
|
2896
|
+
__exportStar(setImmediate$1, exports);
|
|
2897
|
+
__exportStar(setTimeoutLoop$1, exports);
|
|
2898
|
+
__exportStar(setDynamicTimeoutLoop$1, exports);
|
|
2899
|
+
|
|
2900
|
+
} (es2018$6));
|
|
2901
|
+
|
|
2902
|
+
goMacrotask$1.goMacrotask = void 0;
|
|
2903
|
+
const extra_timers_1 = es2018$6;
|
|
2904
|
+
function goMacrotask(fn) {
|
|
2905
|
+
return new Promise((resolve, reject) => {
|
|
2906
|
+
(0, extra_timers_1.setImmediate)(async () => {
|
|
2907
|
+
try {
|
|
2908
|
+
resolve(await fn());
|
|
2909
|
+
}
|
|
2910
|
+
catch (e) {
|
|
2911
|
+
reject(e);
|
|
2912
|
+
}
|
|
2913
|
+
});
|
|
2914
|
+
});
|
|
3314
2915
|
}
|
|
3315
|
-
|
|
2916
|
+
goMacrotask$1.goMacrotask = goMacrotask;
|
|
3316
2917
|
|
|
3317
2918
|
(function (exports) {
|
|
3318
2919
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -3328,32 +2929,45 @@ symbol.isntSymbol = isntSymbol;
|
|
|
3328
2929
|
}));
|
|
3329
2930
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
3330
2931
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
3331
|
-
};__exportStar(
|
|
3332
|
-
__exportStar(
|
|
3333
|
-
__exportStar(
|
|
3334
|
-
__exportStar(boolean, exports);
|
|
3335
|
-
__exportStar(char, exports);
|
|
3336
|
-
__exportStar(date, exports);
|
|
3337
|
-
__exportStar(_enum$1, exports);
|
|
3338
|
-
__exportStar(error, exports);
|
|
3339
|
-
__exportStar(falsy, exports);
|
|
3340
|
-
__exportStar(_function, exports);
|
|
3341
|
-
__exportStar(iterable, exports);
|
|
3342
|
-
__exportStar(json, exports);
|
|
3343
|
-
__exportStar(_null, exports);
|
|
3344
|
-
__exportStar(number, exports);
|
|
3345
|
-
__exportStar(object, exports);
|
|
3346
|
-
__exportStar(promise, exports);
|
|
3347
|
-
__exportStar(string, exports);
|
|
3348
|
-
__exportStar(_undefined, exports);
|
|
3349
|
-
__exportStar(url, exports);
|
|
3350
|
-
__exportStar(regexp, exports);
|
|
3351
|
-
__exportStar(symbol, exports);
|
|
2932
|
+
};__exportStar(go$1, exports);
|
|
2933
|
+
__exportStar(goMicrotask$1, exports);
|
|
2934
|
+
__exportStar(goMacrotask$1, exports);
|
|
3352
2935
|
|
|
3353
|
-
} (es2018$
|
|
2936
|
+
} (es2018$7));
|
|
2937
|
+
|
|
2938
|
+
var hasRequiredChunkAsync;
|
|
2939
|
+
|
|
2940
|
+
function requireChunkAsync () {
|
|
2941
|
+
if (hasRequiredChunkAsync) return chunkAsync;
|
|
2942
|
+
hasRequiredChunkAsync = 1;
|
|
2943
|
+
chunkAsync.chunkAsync = void 0;
|
|
2944
|
+
const go_1 = es2018$7;
|
|
2945
|
+
const errors_1 = requireEs2018();
|
|
2946
|
+
function chunkAsync$1(iterable, size) {
|
|
2947
|
+
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
2948
|
+
(0, errors_1.assert)(size > 0, 'The parameter size must be greater than 0');
|
|
2949
|
+
return (0, go_1.go)(async function* () {
|
|
2950
|
+
let buffer = [];
|
|
2951
|
+
for await (const element of iterable) {
|
|
2952
|
+
buffer.push(element);
|
|
2953
|
+
if (buffer.length >= size) {
|
|
2954
|
+
yield buffer;
|
|
2955
|
+
buffer = [];
|
|
2956
|
+
}
|
|
2957
|
+
}
|
|
2958
|
+
if (buffer.length)
|
|
2959
|
+
yield buffer;
|
|
2960
|
+
});
|
|
2961
|
+
}
|
|
2962
|
+
chunkAsync.chunkAsync = chunkAsync$1;
|
|
2963
|
+
|
|
2964
|
+
return chunkAsync;
|
|
2965
|
+
}
|
|
2966
|
+
|
|
2967
|
+
var chunkByAsync$1 = {};
|
|
3354
2968
|
|
|
3355
2969
|
chunkByAsync$1.chunkByAsync = void 0;
|
|
3356
|
-
const types_1$l = es2018$
|
|
2970
|
+
const types_1$l = es2018$a;
|
|
3357
2971
|
function chunkByAsync(iterable, predicate) {
|
|
3358
2972
|
if ((0, types_1$l.isAsyncIterable)(iterable)) {
|
|
3359
2973
|
return chunkByAsyncIterable(iterable, predicate);
|
|
@@ -3419,7 +3033,7 @@ function requireChunk () {
|
|
|
3419
3033
|
if (hasRequiredChunk) return chunk;
|
|
3420
3034
|
hasRequiredChunk = 1;
|
|
3421
3035
|
chunk.chunk = void 0;
|
|
3422
|
-
const go_1 = es2018$
|
|
3036
|
+
const go_1 = es2018$7;
|
|
3423
3037
|
const errors_1 = requireEs2018();
|
|
3424
3038
|
function chunk$1(iterable, size) {
|
|
3425
3039
|
(0, errors_1.assert)(Number.isInteger(size), 'The parameter size must be an integer');
|
|
@@ -3445,8 +3059,8 @@ chunk.chunk = void 0;
|
|
|
3445
3059
|
var concatAsync$1 = {};
|
|
3446
3060
|
|
|
3447
3061
|
concatAsync$1.concatAsync = void 0;
|
|
3448
|
-
const types_1$k = es2018$
|
|
3449
|
-
const go_1$1 = es2018$
|
|
3062
|
+
const types_1$k = es2018$a;
|
|
3063
|
+
const go_1$1 = es2018$7;
|
|
3450
3064
|
function concatAsync(iterable, ...otherIterables) {
|
|
3451
3065
|
return (0, go_1$1.go)(async function* () {
|
|
3452
3066
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -3468,7 +3082,7 @@ concatAsync$1.concatAsync = concatAsync;
|
|
|
3468
3082
|
var concat$1 = {};
|
|
3469
3083
|
|
|
3470
3084
|
concat$1.concat = void 0;
|
|
3471
|
-
const go_1 = es2018$
|
|
3085
|
+
const go_1 = es2018$7;
|
|
3472
3086
|
function concat(iterable, ...otherIterables) {
|
|
3473
3087
|
return (0, go_1.go)(function* () {
|
|
3474
3088
|
for (const iter of [iterable, ...otherIterables]) {
|
|
@@ -3502,7 +3116,7 @@ function requireDropAsync () {
|
|
|
3502
3116
|
if (hasRequiredDropAsync) return dropAsync;
|
|
3503
3117
|
hasRequiredDropAsync = 1;
|
|
3504
3118
|
dropAsync.dropAsync = void 0;
|
|
3505
|
-
const go_1 = es2018$
|
|
3119
|
+
const go_1 = es2018$7;
|
|
3506
3120
|
const utils_1 = utils$1;
|
|
3507
3121
|
const errors_1 = requireEs2018();
|
|
3508
3122
|
function dropAsync$1(iterable, count) {
|
|
@@ -3545,7 +3159,7 @@ function requireDropRightAsync () {
|
|
|
3545
3159
|
if (hasRequiredDropRightAsync) return dropRightAsync;
|
|
3546
3160
|
hasRequiredDropRightAsync = 1;
|
|
3547
3161
|
dropRightAsync.dropRightAsync = void 0;
|
|
3548
|
-
const go_1 = es2018$
|
|
3162
|
+
const go_1 = es2018$7;
|
|
3549
3163
|
const utils_1 = utils$1;
|
|
3550
3164
|
const errors_1 = requireEs2018();
|
|
3551
3165
|
function dropRightAsync$1(iterable, count) {
|
|
@@ -3581,7 +3195,7 @@ function requireDropRight () {
|
|
|
3581
3195
|
if (hasRequiredDropRight) return dropRight;
|
|
3582
3196
|
hasRequiredDropRight = 1;
|
|
3583
3197
|
dropRight.dropRight = void 0;
|
|
3584
|
-
const go_1 = es2018$
|
|
3198
|
+
const go_1 = es2018$7;
|
|
3585
3199
|
const utils_1 = utils$1;
|
|
3586
3200
|
const errors_1 = requireEs2018();
|
|
3587
3201
|
function dropRight$1(iterable, count) {
|
|
@@ -3602,7 +3216,7 @@ dropRight.dropRight = void 0;
|
|
|
3602
3216
|
var dropUntilAsync$1 = {};
|
|
3603
3217
|
|
|
3604
3218
|
dropUntilAsync$1.dropUntilAsync = void 0;
|
|
3605
|
-
const types_1$j = es2018$
|
|
3219
|
+
const types_1$j = es2018$a;
|
|
3606
3220
|
function dropUntilAsync(iterable, predicate) {
|
|
3607
3221
|
if ((0, types_1$j.isAsyncIterable)(iterable)) {
|
|
3608
3222
|
return dropUntilAsyncIterable(iterable, predicate);
|
|
@@ -3689,7 +3303,7 @@ function requireDrop () {
|
|
|
3689
3303
|
if (hasRequiredDrop) return drop;
|
|
3690
3304
|
hasRequiredDrop = 1;
|
|
3691
3305
|
drop.drop = void 0;
|
|
3692
|
-
const go_1 = es2018$
|
|
3306
|
+
const go_1 = es2018$7;
|
|
3693
3307
|
const utils_1 = utils$1;
|
|
3694
3308
|
const errors_1 = requireEs2018();
|
|
3695
3309
|
function drop$1(iterable, count) {
|
|
@@ -3727,7 +3341,7 @@ drop.drop = void 0;
|
|
|
3727
3341
|
var filterAsync$1 = {};
|
|
3728
3342
|
|
|
3729
3343
|
filterAsync$1.filterAsync = void 0;
|
|
3730
|
-
const types_1$i = es2018$
|
|
3344
|
+
const types_1$i = es2018$a;
|
|
3731
3345
|
function filterAsync(iterable, predicate) {
|
|
3732
3346
|
if ((0, types_1$i.isAsyncIterable)(iterable)) {
|
|
3733
3347
|
return filterAsyncIterable(iterable, predicate);
|
|
@@ -3774,7 +3388,7 @@ var flattenDeepAsync = {};
|
|
|
3774
3388
|
var flattenByAsync$1 = {};
|
|
3775
3389
|
|
|
3776
3390
|
flattenByAsync$1.flattenByAsync = void 0;
|
|
3777
|
-
const types_1$h = es2018$
|
|
3391
|
+
const types_1$h = es2018$a;
|
|
3778
3392
|
function flattenByAsync(iterable, predicate) {
|
|
3779
3393
|
if ((0, types_1$h.isAsyncIterable)(iterable)) {
|
|
3780
3394
|
return flattenByAsyncIterable(iterable, predicate);
|
|
@@ -3848,7 +3462,7 @@ flattenAsync.flattenAsync = void 0;
|
|
|
3848
3462
|
var flattenBy$1 = {};
|
|
3849
3463
|
|
|
3850
3464
|
flattenBy$1.flattenBy = void 0;
|
|
3851
|
-
const types_1$g = es2018$
|
|
3465
|
+
const types_1$g = es2018$a;
|
|
3852
3466
|
function flattenBy(iterable, predicate) {
|
|
3853
3467
|
return flatten$1(iterable, predicate, 1);
|
|
3854
3468
|
}
|
|
@@ -3907,7 +3521,7 @@ flatten.flatten = void 0;
|
|
|
3907
3521
|
var mapAsync$1 = {};
|
|
3908
3522
|
|
|
3909
3523
|
mapAsync$1.mapAsync = void 0;
|
|
3910
|
-
const types_1$f = es2018$
|
|
3524
|
+
const types_1$f = es2018$a;
|
|
3911
3525
|
function mapAsync(iterable, fn) {
|
|
3912
3526
|
if ((0, types_1$f.isAsyncIterable)(iterable)) {
|
|
3913
3527
|
return mapAsyncIterable(iterable, fn);
|
|
@@ -3952,7 +3566,7 @@ function requireRepeatAsync () {
|
|
|
3952
3566
|
if (hasRequiredRepeatAsync) return repeatAsync;
|
|
3953
3567
|
hasRequiredRepeatAsync = 1;
|
|
3954
3568
|
repeatAsync.repeatAsync = void 0;
|
|
3955
|
-
const go_1 = es2018$
|
|
3569
|
+
const go_1 = es2018$7;
|
|
3956
3570
|
const errors_1 = requireEs2018();
|
|
3957
3571
|
function repeatAsync$1(iterable, times) {
|
|
3958
3572
|
(0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -3995,7 +3609,7 @@ function requireRepeat () {
|
|
|
3995
3609
|
if (hasRequiredRepeat) return repeat;
|
|
3996
3610
|
hasRequiredRepeat = 1;
|
|
3997
3611
|
repeat.repeat = void 0;
|
|
3998
|
-
const go_1 = es2018$
|
|
3612
|
+
const go_1 = es2018$7;
|
|
3999
3613
|
const errors_1 = requireEs2018();
|
|
4000
3614
|
function repeat$1(iterable, times) {
|
|
4001
3615
|
(0, errors_1.assert)(times === Infinity || Number.isInteger(times), 'The parameter times must be an integer');
|
|
@@ -4038,7 +3652,7 @@ function requireSliceAsync () {
|
|
|
4038
3652
|
if (hasRequiredSliceAsync) return sliceAsync;
|
|
4039
3653
|
hasRequiredSliceAsync = 1;
|
|
4040
3654
|
sliceAsync.sliceAsync = void 0;
|
|
4041
|
-
const go_1 = es2018$
|
|
3655
|
+
const go_1 = es2018$7;
|
|
4042
3656
|
const errors_1 = requireEs2018();
|
|
4043
3657
|
function sliceAsync$1(iterable, start, end = Infinity) {
|
|
4044
3658
|
(0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -4069,7 +3683,7 @@ function requireSlice () {
|
|
|
4069
3683
|
if (hasRequiredSlice) return slice;
|
|
4070
3684
|
hasRequiredSlice = 1;
|
|
4071
3685
|
slice.slice = void 0;
|
|
4072
|
-
const go_1 = es2018$
|
|
3686
|
+
const go_1 = es2018$7;
|
|
4073
3687
|
const errors_1 = requireEs2018();
|
|
4074
3688
|
function slice$1(iterable, start, end = Infinity) {
|
|
4075
3689
|
(0, errors_1.assert)(Number.isInteger(start), 'The parameter start must be an integer');
|
|
@@ -4113,7 +3727,7 @@ splitAsync$1.splitAsync = splitAsync;
|
|
|
4113
3727
|
var splitByAsync$1 = {};
|
|
4114
3728
|
|
|
4115
3729
|
splitByAsync$1.splitByAsync = void 0;
|
|
4116
|
-
const types_1$e = es2018$
|
|
3730
|
+
const types_1$e = es2018$a;
|
|
4117
3731
|
function splitByAsync(iterable, predicate) {
|
|
4118
3732
|
if ((0, types_1$e.isAsyncIterable)(iterable)) {
|
|
4119
3733
|
return splitByAsyncIterable(iterable, predicate);
|
|
@@ -4200,7 +3814,7 @@ function requireTakeAsync () {
|
|
|
4200
3814
|
if (hasRequiredTakeAsync) return takeAsync;
|
|
4201
3815
|
hasRequiredTakeAsync = 1;
|
|
4202
3816
|
takeAsync.takeAsync = void 0;
|
|
4203
|
-
const go_1 = es2018$
|
|
3817
|
+
const go_1 = es2018$7;
|
|
4204
3818
|
const errors_1 = requireEs2018();
|
|
4205
3819
|
function takeAsync$1(iterable, count) {
|
|
4206
3820
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4229,7 +3843,7 @@ function requireTakeRightAsync () {
|
|
|
4229
3843
|
if (hasRequiredTakeRightAsync) return takeRightAsync;
|
|
4230
3844
|
hasRequiredTakeRightAsync = 1;
|
|
4231
3845
|
takeRightAsync.takeRightAsync = void 0;
|
|
4232
|
-
const go_1 = es2018$
|
|
3846
|
+
const go_1 = es2018$7;
|
|
4233
3847
|
const errors_1 = requireEs2018();
|
|
4234
3848
|
function takeRightAsync$1(iterable, count) {
|
|
4235
3849
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4267,7 +3881,7 @@ function requireTakeRight () {
|
|
|
4267
3881
|
if (hasRequiredTakeRight) return takeRight;
|
|
4268
3882
|
hasRequiredTakeRight = 1;
|
|
4269
3883
|
takeRight.takeRight = void 0;
|
|
4270
|
-
const go_1 = es2018$
|
|
3884
|
+
const go_1 = es2018$7;
|
|
4271
3885
|
const errors_1 = requireEs2018();
|
|
4272
3886
|
function takeRight$1(iterable, count) {
|
|
4273
3887
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4300,7 +3914,7 @@ takeRight.takeRight = void 0;
|
|
|
4300
3914
|
var takeUntilAsync$1 = {};
|
|
4301
3915
|
|
|
4302
3916
|
takeUntilAsync$1.takeUntilAsync = void 0;
|
|
4303
|
-
const types_1$d = es2018$
|
|
3917
|
+
const types_1$d = es2018$a;
|
|
4304
3918
|
function takeUntilAsync(iterable, predicate) {
|
|
4305
3919
|
if ((0, types_1$d.isAsyncIterable)(iterable)) {
|
|
4306
3920
|
return takeUntilAsyncIterable(iterable, predicate);
|
|
@@ -4351,7 +3965,7 @@ function requireTake () {
|
|
|
4351
3965
|
if (hasRequiredTake) return take;
|
|
4352
3966
|
hasRequiredTake = 1;
|
|
4353
3967
|
take.take = void 0;
|
|
4354
|
-
const go_1 = es2018$
|
|
3968
|
+
const go_1 = es2018$7;
|
|
4355
3969
|
const errors_1 = requireEs2018();
|
|
4356
3970
|
function take$1(iterable, count) {
|
|
4357
3971
|
(0, errors_1.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
@@ -4375,7 +3989,7 @@ take.take = void 0;
|
|
|
4375
3989
|
var tapAsync$1 = {};
|
|
4376
3990
|
|
|
4377
3991
|
tapAsync$1.tapAsync = void 0;
|
|
4378
|
-
const types_1$c = es2018$
|
|
3992
|
+
const types_1$c = es2018$a;
|
|
4379
3993
|
function tapAsync(iterable, fn) {
|
|
4380
3994
|
if ((0, types_1$c.isAsyncIterable)(iterable)) {
|
|
4381
3995
|
return tapAsyncIterable(iterable, fn);
|
|
@@ -4458,7 +4072,7 @@ uniqAsync$1.uniqAsync = uniqAsync;
|
|
|
4458
4072
|
var uniqByAsync$1 = {};
|
|
4459
4073
|
|
|
4460
4074
|
uniqByAsync$1.uniqByAsync = void 0;
|
|
4461
|
-
const types_1$b = es2018$
|
|
4075
|
+
const types_1$b = es2018$a;
|
|
4462
4076
|
function uniqByAsync(iterable, fn) {
|
|
4463
4077
|
if ((0, types_1$b.isAsyncIterable)(iterable)) {
|
|
4464
4078
|
return uniqByAsyncIterable(iterable, fn);
|
|
@@ -4527,7 +4141,7 @@ uniq$1.uniq = uniq;
|
|
|
4527
4141
|
var zipAsync$1 = {};
|
|
4528
4142
|
|
|
4529
4143
|
zipAsync$1.zipAsync = void 0;
|
|
4530
|
-
const types_1$a = es2018$
|
|
4144
|
+
const types_1$a = es2018$a;
|
|
4531
4145
|
var Kind;
|
|
4532
4146
|
(function (Kind) {
|
|
4533
4147
|
Kind[Kind["Sync"] = 0] = "Sync";
|
|
@@ -4698,7 +4312,7 @@ consume$1.consume = consume;
|
|
|
4698
4312
|
var eachAsync$1 = {};
|
|
4699
4313
|
|
|
4700
4314
|
eachAsync$1.eachAsync = void 0;
|
|
4701
|
-
const types_1$9 = es2018$
|
|
4315
|
+
const types_1$9 = es2018$a;
|
|
4702
4316
|
function eachAsync(iterable, fn) {
|
|
4703
4317
|
if ((0, types_1$9.isAsyncIterable)(iterable)) {
|
|
4704
4318
|
return eachAsyncIterable(iterable, fn);
|
|
@@ -4738,7 +4352,7 @@ each$1.each = each;
|
|
|
4738
4352
|
var everyAsync$1 = {};
|
|
4739
4353
|
|
|
4740
4354
|
everyAsync$1.everyAsync = void 0;
|
|
4741
|
-
const types_1$8 = es2018$
|
|
4355
|
+
const types_1$8 = es2018$a;
|
|
4742
4356
|
function everyAsync(iterable, predicate) {
|
|
4743
4357
|
if ((0, types_1$8.isAsyncIterable)(iterable)) {
|
|
4744
4358
|
return everyAsyncIterable(iterable, predicate);
|
|
@@ -4784,7 +4398,7 @@ every$1.every = every;
|
|
|
4784
4398
|
var findAsync$1 = {};
|
|
4785
4399
|
|
|
4786
4400
|
findAsync$1.findAsync = void 0;
|
|
4787
|
-
const types_1$7 = es2018$
|
|
4401
|
+
const types_1$7 = es2018$a;
|
|
4788
4402
|
function findAsync(iterable, predicate) {
|
|
4789
4403
|
if ((0, types_1$7.isAsyncIterable)(iterable)) {
|
|
4790
4404
|
return findAsyncIterable(iterable, predicate);
|
|
@@ -4908,7 +4522,7 @@ match$1.match = match;
|
|
|
4908
4522
|
var reduceAsync$1 = {};
|
|
4909
4523
|
|
|
4910
4524
|
reduceAsync$1.reduceAsync = void 0;
|
|
4911
|
-
const types_1$6 = es2018$
|
|
4525
|
+
const types_1$6 = es2018$a;
|
|
4912
4526
|
function reduceAsync(iterable, fn, initialValue) {
|
|
4913
4527
|
if ((0, types_1$6.isUndefined)(initialValue)) {
|
|
4914
4528
|
return reduceAsyncWithoutInitialValue(iterable, fn);
|
|
@@ -5004,7 +4618,7 @@ function reduceAsyncWithoutInitialValue(iterable, fn) {
|
|
|
5004
4618
|
var reduce$1 = {};
|
|
5005
4619
|
|
|
5006
4620
|
reduce$1.reduce = void 0;
|
|
5007
|
-
const types_1$5 = es2018$
|
|
4621
|
+
const types_1$5 = es2018$a;
|
|
5008
4622
|
function reduce(iterable, fn, initialValue) {
|
|
5009
4623
|
if ((0, types_1$5.isUndefined)(initialValue)) {
|
|
5010
4624
|
return reduceWithoutInitialValue(iterable, fn);
|
|
@@ -5051,7 +4665,7 @@ function reduceWithoutInitialValue(iterable, fn) {
|
|
|
5051
4665
|
var someAsync$1 = {};
|
|
5052
4666
|
|
|
5053
4667
|
someAsync$1.someAsync = void 0;
|
|
5054
|
-
const types_1$4 = es2018$
|
|
4668
|
+
const types_1$4 = es2018$a;
|
|
5055
4669
|
function someAsync(iterable, predicate) {
|
|
5056
4670
|
if ((0, types_1$4.isAsyncIterable)(iterable)) {
|
|
5057
4671
|
return someAsyncIterable(iterable, predicate);
|
|
@@ -5291,7 +4905,7 @@ groupByAsync$1.groupByAsync = groupByAsync;
|
|
|
5291
4905
|
var hasRequiredEs2018$1;
|
|
5292
4906
|
|
|
5293
4907
|
function requireEs2018$1 () {
|
|
5294
|
-
if (hasRequiredEs2018$1) return es2018$
|
|
4908
|
+
if (hasRequiredEs2018$1) return es2018$8;
|
|
5295
4909
|
hasRequiredEs2018$1 = 1;
|
|
5296
4910
|
(function (exports) {
|
|
5297
4911
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -5310,8 +4924,8 @@ function requireEs2018$1 () {
|
|
|
5310
4924
|
};__exportStar(requireMiddleware(), exports);
|
|
5311
4925
|
__exportStar(output, exports);
|
|
5312
4926
|
|
|
5313
|
-
} (es2018$
|
|
5314
|
-
return es2018$
|
|
4927
|
+
} (es2018$8));
|
|
4928
|
+
return es2018$8;
|
|
5315
4929
|
}
|
|
5316
4930
|
|
|
5317
4931
|
var getErrorNames$1 = {};
|
|
@@ -5330,7 +4944,7 @@ function* traverseErrorPrototypeChain(err) {
|
|
|
5330
4944
|
traverseErrorPrototypeChain$1.traverseErrorPrototypeChain = traverseErrorPrototypeChain;
|
|
5331
4945
|
|
|
5332
4946
|
getErrorNames$1.getErrorNames = void 0;
|
|
5333
|
-
const types_1$3 = es2018$
|
|
4947
|
+
const types_1$3 = es2018$a;
|
|
5334
4948
|
const traverse_error_prototype_chain_1 = traverseErrorPrototypeChain$1;
|
|
5335
4949
|
function* getErrorNames(err) {
|
|
5336
4950
|
var _a;
|
|
@@ -5351,7 +4965,7 @@ getErrorNames$1.getErrorNames = getErrorNames;
|
|
|
5351
4965
|
var serializableError = {};
|
|
5352
4966
|
|
|
5353
4967
|
serializableError.isSerializableError = void 0;
|
|
5354
|
-
const types_1$2 = es2018$
|
|
4968
|
+
const types_1$2 = es2018$a;
|
|
5355
4969
|
function isSerializableError(val) {
|
|
5356
4970
|
return (0, types_1$2.isObject)(val)
|
|
5357
4971
|
&& (0, types_1$2.isString)(val.name)
|
|
@@ -5369,7 +4983,7 @@ function requireCustomError () {
|
|
|
5369
4983
|
customError$1.CustomError = void 0;
|
|
5370
4984
|
const iterable_operator_1 = requireEs2018$1();
|
|
5371
4985
|
const get_error_names_1 = getErrorNames$1;
|
|
5372
|
-
const types_1 = es2018$
|
|
4986
|
+
const types_1 = es2018$a;
|
|
5373
4987
|
const serializable_error_1 = serializableError;
|
|
5374
4988
|
class CustomError extends Error {
|
|
5375
4989
|
get name() {
|
|
@@ -5515,7 +5129,7 @@ assert$2.assert = void 0;
|
|
|
5515
5129
|
var hasRequiredEs2018;
|
|
5516
5130
|
|
|
5517
5131
|
function requireEs2018 () {
|
|
5518
|
-
if (hasRequiredEs2018) return es2018$
|
|
5132
|
+
if (hasRequiredEs2018) return es2018$9;
|
|
5519
5133
|
hasRequiredEs2018 = 1;
|
|
5520
5134
|
(function (exports) {
|
|
5521
5135
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -5540,12 +5154,12 @@ function requireEs2018 () {
|
|
|
5540
5154
|
__exportStar(getErrorNames$1, exports);
|
|
5541
5155
|
__exportStar(traverseErrorPrototypeChain$1, exports);
|
|
5542
5156
|
|
|
5543
|
-
} (es2018$
|
|
5544
|
-
return es2018$
|
|
5157
|
+
} (es2018$9));
|
|
5158
|
+
return es2018$9;
|
|
5545
5159
|
}
|
|
5546
5160
|
|
|
5547
5161
|
csv$1.csv = void 0;
|
|
5548
|
-
const extra_fetch_1$4 = es2018$
|
|
5162
|
+
const extra_fetch_1$4 = es2018$c;
|
|
5549
5163
|
const papaparse_1$1 = papaparse.exports;
|
|
5550
5164
|
const errors_1$2 = requireEs2018();
|
|
5551
5165
|
function csv(payload) {
|
|
@@ -5582,7 +5196,7 @@ signal$1.signal = signal;
|
|
|
5582
5196
|
var header$1 = {};
|
|
5583
5197
|
|
|
5584
5198
|
header$1.header = void 0;
|
|
5585
|
-
const extra_fetch_1$3 = es2018$
|
|
5199
|
+
const extra_fetch_1$3 = es2018$c;
|
|
5586
5200
|
function header(name, value) {
|
|
5587
5201
|
return (options) => {
|
|
5588
5202
|
const headers = new extra_fetch_1$3.Headers(options.headers);
|
|
@@ -5598,7 +5212,7 @@ header$1.header = header;
|
|
|
5598
5212
|
var appendHeader$1 = {};
|
|
5599
5213
|
|
|
5600
5214
|
appendHeader$1.appendHeader = void 0;
|
|
5601
|
-
const extra_fetch_1$2 = es2018$
|
|
5215
|
+
const extra_fetch_1$2 = es2018$c;
|
|
5602
5216
|
function appendHeader(name, value) {
|
|
5603
5217
|
return (options) => {
|
|
5604
5218
|
const headers = new extra_fetch_1$2.Headers(options.headers);
|
|
@@ -5614,7 +5228,7 @@ appendHeader$1.appendHeader = appendHeader;
|
|
|
5614
5228
|
var headers$1 = {};
|
|
5615
5229
|
|
|
5616
5230
|
headers$1.headers = void 0;
|
|
5617
|
-
const extra_fetch_1$1 = es2018$
|
|
5231
|
+
const extra_fetch_1$1 = es2018$c;
|
|
5618
5232
|
function headers(headers) {
|
|
5619
5233
|
return (options) => {
|
|
5620
5234
|
const newHeaders = new extra_fetch_1$1.Headers(options.headers);
|
|
@@ -5754,8 +5368,8 @@ appendSearchParam$1.appendSearchParam = appendSearchParam;
|
|
|
5754
5368
|
var formDataField$1 = {};
|
|
5755
5369
|
|
|
5756
5370
|
formDataField$1.formDataField = void 0;
|
|
5757
|
-
const extra_fetch_1 = es2018$
|
|
5758
|
-
const types_1$1 = es2018$
|
|
5371
|
+
const extra_fetch_1 = es2018$c;
|
|
5372
|
+
const types_1$1 = es2018$a;
|
|
5759
5373
|
function formDataField(name, value) {
|
|
5760
5374
|
return (options) => {
|
|
5761
5375
|
const formData = options.payload instanceof extra_fetch_1.FormData
|
|
@@ -6131,9 +5745,9 @@ keepalive$1.keepalive = keepalive;
|
|
|
6131
5745
|
}));
|
|
6132
5746
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
6133
5747
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
6134
|
-
};__exportStar(url$
|
|
5748
|
+
};__exportStar(url$1, exports);
|
|
6135
5749
|
__exportStar(text$1, exports);
|
|
6136
|
-
__exportStar(json$
|
|
5750
|
+
__exportStar(json$1, exports);
|
|
6137
5751
|
__exportStar(csv$1, exports);
|
|
6138
5752
|
__exportStar(signal$1, exports);
|
|
6139
5753
|
__exportStar(header$1, exports);
|
|
@@ -6975,7 +6589,7 @@ var abortError = {};
|
|
|
6975
6589
|
|
|
6976
6590
|
abortError.AbortError = void 0;
|
|
6977
6591
|
const errors_1 = requireEs2018();
|
|
6978
|
-
const types_1 = es2018$
|
|
6592
|
+
const types_1 = es2018$a;
|
|
6979
6593
|
const iterable_operator_1 = requireEs2018$1();
|
|
6980
6594
|
class AbortError extends errors_1.CustomError {
|
|
6981
6595
|
static [Symbol.hasInstance](instance) {
|
|
@@ -7096,7 +6710,7 @@ class EStoreManagerBase {
|
|
|
7096
6710
|
options.signal,
|
|
7097
6711
|
options.timeout !== false && ((_a = (options.timeout && es2018.timeoutSignal(options.timeout))) !== null && _a !== void 0 ? _a : (this.options.timeout && es2018.timeoutSignal(this.options.timeout)))
|
|
7098
6712
|
])),
|
|
7099
|
-
|
|
6713
|
+
((_b = options.keepalive) !== null && _b !== void 0 ? _b : this.options.keepalive) && transformers.keepalive(),
|
|
7100
6714
|
transformers.header('Accept-Version', expectedVersion)
|
|
7101
6715
|
];
|
|
7102
6716
|
}
|
|
@@ -7120,7 +6734,7 @@ class EStoreClient {
|
|
|
7120
6734
|
options.signal,
|
|
7121
6735
|
options.timeout !== false && ((_b = (options.timeout && es2018.timeoutSignal(options.timeout))) !== null && _b !== void 0 ? _b : (this.options.timeout && es2018.timeoutSignal(this.options.timeout)))
|
|
7122
6736
|
])),
|
|
7123
|
-
|
|
6737
|
+
((_c = options.keepalive) !== null && _c !== void 0 ? _c : this.options.keepalive) && transformers.keepalive(),
|
|
7124
6738
|
transformers.header('Accept-Version', expectedVersion)
|
|
7125
6739
|
];
|
|
7126
6740
|
}
|
|
@@ -7128,16 +6742,16 @@ class EStoreClient {
|
|
|
7128
6742
|
* @throws {AbortError}
|
|
7129
6743
|
*/
|
|
7130
6744
|
async append(namespace, itemId, payload, index, options = {}) {
|
|
7131
|
-
const req = es2018$
|
|
7132
|
-
await es2018$
|
|
6745
|
+
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));
|
|
6746
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7133
6747
|
}
|
|
7134
6748
|
/**
|
|
7135
6749
|
* @throws {AbortError}
|
|
7136
6750
|
*/
|
|
7137
6751
|
async getEvent(namespace, itemId, index, options = {}) {
|
|
7138
|
-
const req = es2018$
|
|
6752
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events/${index}`));
|
|
7139
6753
|
try {
|
|
7140
|
-
return await es2018$
|
|
6754
|
+
return await es2018$c.fetch(req)
|
|
7141
6755
|
.then(es2018$1.ok)
|
|
7142
6756
|
.then(es2018$1.toJSON);
|
|
7143
6757
|
}
|
|
@@ -7151,9 +6765,9 @@ class EStoreClient {
|
|
|
7151
6765
|
* @throws {AbortError}
|
|
7152
6766
|
*/
|
|
7153
6767
|
async getEvents(namespace, itemId, options = {}) {
|
|
7154
|
-
const req = es2018$
|
|
6768
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/events`));
|
|
7155
6769
|
try {
|
|
7156
|
-
return await es2018$
|
|
6770
|
+
return await es2018$c.fetch(req)
|
|
7157
6771
|
.then(es2018$1.ok)
|
|
7158
6772
|
.then(es2018$1.toJSON);
|
|
7159
6773
|
}
|
|
@@ -7167,8 +6781,8 @@ class EStoreClient {
|
|
|
7167
6781
|
* @throws {AbortError}
|
|
7168
6782
|
*/
|
|
7169
6783
|
async getSize(namespace, itemId, options = {}) {
|
|
7170
|
-
const req = es2018$
|
|
7171
|
-
return await es2018$
|
|
6784
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}/size`));
|
|
6785
|
+
return await es2018$c.fetch(req)
|
|
7172
6786
|
.then(es2018$1.ok)
|
|
7173
6787
|
.then(es2018$1.toJSON);
|
|
7174
6788
|
}
|
|
@@ -7176,9 +6790,9 @@ class EStoreClient {
|
|
|
7176
6790
|
* @throws {AbortError}
|
|
7177
6791
|
*/
|
|
7178
6792
|
async has(namespace, itemId, options = {}) {
|
|
7179
|
-
const req = es2018$
|
|
6793
|
+
const req = es2018$b.head(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
|
|
7180
6794
|
try {
|
|
7181
|
-
await es2018$
|
|
6795
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7182
6796
|
return true;
|
|
7183
6797
|
}
|
|
7184
6798
|
catch (e) {
|
|
@@ -7191,22 +6805,22 @@ class EStoreClient {
|
|
|
7191
6805
|
* @throws {AbortError}
|
|
7192
6806
|
*/
|
|
7193
6807
|
async del(namespace, itemId, options = {}) {
|
|
7194
|
-
const req = es2018$
|
|
7195
|
-
await es2018$
|
|
6808
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items/${itemId}`));
|
|
6809
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7196
6810
|
}
|
|
7197
6811
|
/**
|
|
7198
6812
|
* @throws {AbortError}
|
|
7199
6813
|
*/
|
|
7200
6814
|
async clear(namespace, options = {}) {
|
|
7201
|
-
const req = es2018$
|
|
7202
|
-
await es2018$
|
|
6815
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}`));
|
|
6816
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7203
6817
|
}
|
|
7204
6818
|
/**
|
|
7205
6819
|
* @throws {AbortError}
|
|
7206
6820
|
*/
|
|
7207
6821
|
async getAllItemIds(namespace, options = {}) {
|
|
7208
|
-
const req = es2018$
|
|
7209
|
-
return await es2018$
|
|
6822
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/items`));
|
|
6823
|
+
return await es2018$c.fetch(req)
|
|
7210
6824
|
.then(es2018$1.ok)
|
|
7211
6825
|
.then(es2018$1.toJSON);
|
|
7212
6826
|
}
|
|
@@ -7214,8 +6828,8 @@ class EStoreClient {
|
|
|
7214
6828
|
* @throws {AbortError}
|
|
7215
6829
|
*/
|
|
7216
6830
|
async getAllNamespaces(options = {}) {
|
|
7217
|
-
const req = es2018$
|
|
7218
|
-
return await es2018$
|
|
6831
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/estore'));
|
|
6832
|
+
return await es2018$c.fetch(req)
|
|
7219
6833
|
.then(es2018$1.ok)
|
|
7220
6834
|
.then(es2018$1.toJSON);
|
|
7221
6835
|
}
|
|
@@ -7223,8 +6837,8 @@ class EStoreClient {
|
|
|
7223
6837
|
* @throws {AbortError}
|
|
7224
6838
|
*/
|
|
7225
6839
|
async stats(namespace, options = {}) {
|
|
7226
|
-
const req = es2018$
|
|
7227
|
-
return await es2018$
|
|
6840
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/estore/${namespace}/stats`));
|
|
6841
|
+
return await es2018$c.fetch(req)
|
|
7228
6842
|
.then(es2018$1.ok)
|
|
7229
6843
|
.then(es2018$1.toJSON);
|
|
7230
6844
|
}
|
|
@@ -7235,8 +6849,8 @@ class JsonSchemaClient extends EStoreManagerBase {
|
|
|
7235
6849
|
* @throws {AbortError}
|
|
7236
6850
|
*/
|
|
7237
6851
|
async getNamespaces(options = {}) {
|
|
7238
|
-
const req = es2018$
|
|
7239
|
-
return await es2018$
|
|
6852
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-json-schema'));
|
|
6853
|
+
return await es2018$c.fetch(req)
|
|
7240
6854
|
.then(es2018$1.ok)
|
|
7241
6855
|
.then(es2018$1.toJSON);
|
|
7242
6856
|
}
|
|
@@ -7244,8 +6858,8 @@ class JsonSchemaClient extends EStoreManagerBase {
|
|
|
7244
6858
|
* @throws {AbortError}
|
|
7245
6859
|
*/
|
|
7246
6860
|
async get(namespace, options = {}) {
|
|
7247
|
-
const req = es2018$
|
|
7248
|
-
return await es2018$
|
|
6861
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
|
|
6862
|
+
return await es2018$c.fetch(req)
|
|
7249
6863
|
.then(es2018$1.ok)
|
|
7250
6864
|
.then(es2018$1.toJSON);
|
|
7251
6865
|
}
|
|
@@ -7253,15 +6867,15 @@ class JsonSchemaClient extends EStoreManagerBase {
|
|
|
7253
6867
|
* @throws {AbortError}
|
|
7254
6868
|
*/
|
|
7255
6869
|
async set(namespace, schema, options = {}) {
|
|
7256
|
-
const req = es2018$
|
|
7257
|
-
await es2018$
|
|
6870
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`), transformers.json(schema));
|
|
6871
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7258
6872
|
}
|
|
7259
6873
|
/**
|
|
7260
6874
|
* @throws {AbortError}
|
|
7261
6875
|
*/
|
|
7262
6876
|
async remove(namespace, options = {}) {
|
|
7263
|
-
const req = es2018$
|
|
7264
|
-
await es2018$
|
|
6877
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/json-schema`));
|
|
6878
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7265
6879
|
}
|
|
7266
6880
|
}
|
|
7267
6881
|
|
|
@@ -7270,8 +6884,8 @@ class BlacklistClient extends EStoreManagerBase {
|
|
|
7270
6884
|
* @throws {AbortError}
|
|
7271
6885
|
*/
|
|
7272
6886
|
async getNamespaces(options = {}) {
|
|
7273
|
-
const req = es2018$
|
|
7274
|
-
return await es2018$
|
|
6887
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/blacklist'));
|
|
6888
|
+
return await es2018$c.fetch(req)
|
|
7275
6889
|
.then(es2018$1.ok)
|
|
7276
6890
|
.then(es2018$1.toJSON);
|
|
7277
6891
|
}
|
|
@@ -7279,15 +6893,15 @@ class BlacklistClient extends EStoreManagerBase {
|
|
|
7279
6893
|
* @throws {AbortError}
|
|
7280
6894
|
*/
|
|
7281
6895
|
async add(namespace, options = {}) {
|
|
7282
|
-
const req = es2018$
|
|
7283
|
-
await es2018$
|
|
6896
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
|
|
6897
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7284
6898
|
}
|
|
7285
6899
|
/**
|
|
7286
6900
|
* @throws {AbortError}
|
|
7287
6901
|
*/
|
|
7288
6902
|
async remove(namespace, options = {}) {
|
|
7289
|
-
const req = es2018$
|
|
7290
|
-
await es2018$
|
|
6903
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/blacklist/${namespace}`));
|
|
6904
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7291
6905
|
}
|
|
7292
6906
|
}
|
|
7293
6907
|
|
|
@@ -7296,8 +6910,8 @@ class WhitelistClient extends EStoreManagerBase {
|
|
|
7296
6910
|
* @throws {AbortError}
|
|
7297
6911
|
*/
|
|
7298
6912
|
async getNamespaces(options = {}) {
|
|
7299
|
-
const req = es2018$
|
|
7300
|
-
return await es2018$
|
|
6913
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/whitelist'));
|
|
6914
|
+
return await es2018$c.fetch(req)
|
|
7301
6915
|
.then(es2018$1.ok)
|
|
7302
6916
|
.then(es2018$1.toJSON);
|
|
7303
6917
|
}
|
|
@@ -7305,15 +6919,15 @@ class WhitelistClient extends EStoreManagerBase {
|
|
|
7305
6919
|
* @throws {AbortError}
|
|
7306
6920
|
*/
|
|
7307
6921
|
async add(namespace, options = {}) {
|
|
7308
|
-
const req = es2018$
|
|
7309
|
-
await es2018$
|
|
6922
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
|
|
6923
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7310
6924
|
}
|
|
7311
6925
|
/**
|
|
7312
6926
|
* @throws {AbortError}
|
|
7313
6927
|
*/
|
|
7314
6928
|
async remove(namespace, options = {}) {
|
|
7315
|
-
const req = es2018$
|
|
7316
|
-
await es2018$
|
|
6929
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/whitelist/${namespace}`));
|
|
6930
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7317
6931
|
}
|
|
7318
6932
|
}
|
|
7319
6933
|
|
|
@@ -7322,8 +6936,8 @@ class TokenPolicyClient extends EStoreManagerBase {
|
|
|
7322
6936
|
* @throws {AbortError}
|
|
7323
6937
|
*/
|
|
7324
6938
|
async getNamespaces(options = {}) {
|
|
7325
|
-
const req = es2018$
|
|
7326
|
-
return await es2018$
|
|
6939
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-token-policies'));
|
|
6940
|
+
return await es2018$c.fetch(req)
|
|
7327
6941
|
.then(es2018$1.ok)
|
|
7328
6942
|
.then(es2018$1.toJSON);
|
|
7329
6943
|
}
|
|
@@ -7331,8 +6945,8 @@ class TokenPolicyClient extends EStoreManagerBase {
|
|
|
7331
6945
|
* @throws {AbortError}
|
|
7332
6946
|
*/
|
|
7333
6947
|
async get(namespace, options = {}) {
|
|
7334
|
-
const req = es2018$
|
|
7335
|
-
return await es2018$
|
|
6948
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies`));
|
|
6949
|
+
return await es2018$c.fetch(req)
|
|
7336
6950
|
.then(es2018$1.ok)
|
|
7337
6951
|
.then(es2018$1.toJSON);
|
|
7338
6952
|
}
|
|
@@ -7340,43 +6954,43 @@ class TokenPolicyClient extends EStoreManagerBase {
|
|
|
7340
6954
|
* @throws {AbortError}
|
|
7341
6955
|
*/
|
|
7342
6956
|
async setWriteTokenRequired(namespace, val, options = {}) {
|
|
7343
|
-
const req = es2018$
|
|
7344
|
-
await es2018$
|
|
6957
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`), transformers.json(val));
|
|
6958
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7345
6959
|
}
|
|
7346
6960
|
/**
|
|
7347
6961
|
* @throws {AbortError}
|
|
7348
6962
|
*/
|
|
7349
6963
|
async removeWriteTokenRequired(namespace, options = {}) {
|
|
7350
|
-
const req = es2018$
|
|
7351
|
-
await es2018$
|
|
6964
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/write-token-required`));
|
|
6965
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7352
6966
|
}
|
|
7353
6967
|
/**
|
|
7354
6968
|
* @throws {AbortError}
|
|
7355
6969
|
*/
|
|
7356
6970
|
async setReadTokenRequired(namespace, val, options = {}) {
|
|
7357
|
-
const req = es2018$
|
|
7358
|
-
await es2018$
|
|
6971
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`), transformers.json(val));
|
|
6972
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7359
6973
|
}
|
|
7360
6974
|
/**
|
|
7361
6975
|
* @throws {AbortError}
|
|
7362
6976
|
*/
|
|
7363
6977
|
async removeReadTokenRequired(namespace, options = {}) {
|
|
7364
|
-
const req = es2018$
|
|
7365
|
-
await es2018$
|
|
6978
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/read-token-required`));
|
|
6979
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7366
6980
|
}
|
|
7367
6981
|
/**
|
|
7368
6982
|
* @throws {AbortError}
|
|
7369
6983
|
*/
|
|
7370
6984
|
async setDeleteTokenRequired(namespace, val, options = {}) {
|
|
7371
|
-
const req = es2018$
|
|
7372
|
-
await es2018$
|
|
6985
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`), transformers.json(val));
|
|
6986
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7373
6987
|
}
|
|
7374
6988
|
/**
|
|
7375
6989
|
* @throws {AbortError}
|
|
7376
6990
|
*/
|
|
7377
6991
|
async removeDeleteTokenRequired(namespace, options = {}) {
|
|
7378
|
-
const req = es2018$
|
|
7379
|
-
await es2018$
|
|
6992
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/token-policies/delete-token-required`));
|
|
6993
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7380
6994
|
}
|
|
7381
6995
|
}
|
|
7382
6996
|
|
|
@@ -7385,8 +6999,8 @@ class TokenClient extends EStoreManagerBase {
|
|
|
7385
6999
|
* @throws {AbortError}
|
|
7386
7000
|
*/
|
|
7387
7001
|
async getNamespaces(options = {}) {
|
|
7388
|
-
const req = es2018$
|
|
7389
|
-
return await es2018$
|
|
7002
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname('/admin/estore-with-tokens'));
|
|
7003
|
+
return await es2018$c.fetch(req)
|
|
7390
7004
|
.then(es2018$1.ok)
|
|
7391
7005
|
.then(es2018$1.toJSON);
|
|
7392
7006
|
}
|
|
@@ -7394,8 +7008,8 @@ class TokenClient extends EStoreManagerBase {
|
|
|
7394
7008
|
* @throws {AbortError}
|
|
7395
7009
|
*/
|
|
7396
7010
|
async getTokens(namespace, options = {}) {
|
|
7397
|
-
const req = es2018$
|
|
7398
|
-
return await es2018$
|
|
7011
|
+
const req = es2018$b.get(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens`));
|
|
7012
|
+
return await es2018$c.fetch(req)
|
|
7399
7013
|
.then(es2018$1.ok)
|
|
7400
7014
|
.then(es2018$1.toJSON);
|
|
7401
7015
|
}
|
|
@@ -7403,43 +7017,43 @@ class TokenClient extends EStoreManagerBase {
|
|
|
7403
7017
|
* @throws {AbortError}
|
|
7404
7018
|
*/
|
|
7405
7019
|
async addWriteToken(namespace, token, options = {}) {
|
|
7406
|
-
const req = es2018$
|
|
7407
|
-
await es2018$
|
|
7020
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
|
|
7021
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7408
7022
|
}
|
|
7409
7023
|
/**
|
|
7410
7024
|
* @throws {AbortError}
|
|
7411
7025
|
*/
|
|
7412
7026
|
async removeWriteToken(namespace, token, options = {}) {
|
|
7413
|
-
const req = es2018$
|
|
7414
|
-
await es2018$
|
|
7027
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/write`));
|
|
7028
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7415
7029
|
}
|
|
7416
7030
|
/**
|
|
7417
7031
|
* @throws {AbortError}
|
|
7418
7032
|
*/
|
|
7419
7033
|
async addReadToken(namespace, token, options = {}) {
|
|
7420
|
-
const req = es2018$
|
|
7421
|
-
await es2018$
|
|
7034
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
|
|
7035
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7422
7036
|
}
|
|
7423
7037
|
/**
|
|
7424
7038
|
* @throws {AbortError}
|
|
7425
7039
|
*/
|
|
7426
7040
|
async removeReadToken(namespace, token, options = {}) {
|
|
7427
|
-
const req = es2018$
|
|
7428
|
-
await es2018$
|
|
7041
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/read`));
|
|
7042
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7429
7043
|
}
|
|
7430
7044
|
/**
|
|
7431
7045
|
* @throws {AbortError}
|
|
7432
7046
|
*/
|
|
7433
7047
|
async addDeleteToken(namespace, token, options = {}) {
|
|
7434
|
-
const req = es2018$
|
|
7435
|
-
await es2018$
|
|
7048
|
+
const req = es2018$b.put(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
|
|
7049
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7436
7050
|
}
|
|
7437
7051
|
/**
|
|
7438
7052
|
* @throws {AbortError}
|
|
7439
7053
|
*/
|
|
7440
7054
|
async removeDeleteToken(namespace, token, options = {}) {
|
|
7441
|
-
const req = es2018$
|
|
7442
|
-
await es2018$
|
|
7055
|
+
const req = es2018$b.del(...this.getCommonTransformers(options), transformers.pathname(`/admin/estore/${namespace}/tokens/${token}/delete`));
|
|
7056
|
+
await es2018$c.fetch(req).then(es2018$1.ok);
|
|
7443
7057
|
}
|
|
7444
7058
|
}
|
|
7445
7059
|
|
|
@@ -7454,7 +7068,7 @@ class EStoreManager {
|
|
|
7454
7068
|
}
|
|
7455
7069
|
}
|
|
7456
7070
|
|
|
7457
|
-
var AbortError$1 = es2018$
|
|
7071
|
+
var AbortError$1 = es2018$c.AbortError;
|
|
7458
7072
|
var HTTPClientError$1 = es2018$3.HTTPClientError;
|
|
7459
7073
|
var HTTPError$1 = es2018$1.HTTPError;
|
|
7460
7074
|
export { AbortError$1 as AbortError, EStoreClient, EStoreManager, HTTPClientError$1 as HTTPClientError, HTTPError$1 as HTTPError };
|